/* Custom CSS for Cycles of Life Counseling */

:root {
    --charcoal-dark: #1a1a1a;
    --charcoal: #2d2d2d;
    --charcoal-light: #4a4a4a;
    --charcoal-lighter: #6b6b6b;
    --coral: #ff6b5c;
    --coral-dark: #e85a4d;
    --coral-light: #ff8a7d;
    --white: #ffffff;
    --off-white: #fafafa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

/* Custom Colors */
.text-charcoal-dark { color: var(--charcoal-dark); }
.text-charcoal { color: var(--charcoal); }
.text-charcoal-light { color: var(--charcoal-light); }
.text-charcoal-lighter { color: var(--charcoal-lighter); }
.text-coral { color: var(--coral); }
.text-coral-dark { color: var(--coral-dark); }
.bg-charcoal-dark { background-color: var(--charcoal-dark); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-coral { background-color: var(--coral); }
.bg-coral-dark { background-color: var(--coral-dark); }

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: var(--charcoal-dark) !important;
}

.nav-scrolled .nav-link:hover {
    color: var(--coral) !important;
}

.nav-scrolled .logo-text {
    color: var(--charcoal-dark) !important;
}

/* Mobile Menu */
.mobile-link {
    position: relative;
}

/* Service Cards */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Button hover effects */
button, a {
    cursor: pointer;
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Smooth transitions */
a, button, .service-card, .group {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--charcoal-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--coral);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-dark);
}

/* Selection color */
::selection {
    background: var(--coral);
    color: var(--white);
}

/* Mobile menu animations */
.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 6;
}

/* Form styles */
input::placeholder,
textarea::placeholder {
    color: var(--charcoal-lighter);
}

/* Image hover */
img {
    transition: transform 0.5s ease;
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
