/* Custom styles for Second Chance Counseling Services */

:root {
    --navy-900: #080f1a;
    --navy-950: #050a12;
    --gold-400: #d4a853;
    --gold-500: #c9952a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #e8e8e8;
    background: var(--navy-950);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Hero overlay gradient */
.hero-overlay {
    background: linear-gradient(135deg, rgba(8,15,26,0.92) 0%, rgba(15,28,46,0.78) 60%, rgba(8,15,26,0.88) 100%);
}

/* Gold gradient text effect */
.gold-gradient-text {
    background: linear-gradient(135deg, #d4a853 0%, #f0d68a 50%, #c9952a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold decorative line */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4a853 50%, transparent 100%);
}

/* Card hover effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(212,168,83,0.15);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a853;
    transition: width 0.3s ease;
}

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

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(20px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold button styles */
.btn-gold {
    background: linear-gradient(135deg, #c9952a 0%, #d4a853 100%);
    color: #080f1a;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d4a853 0%, #f0d68a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,168,83,0.3);
}

/* Outline button styles */
.btn-outline {
    border: 1px solid #d4a853;
    color: #d4a853;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(212,168,83,0.1);
    transform: translateY(-2px);
}

/* Mobile menu styles */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

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

::-webkit-scrollbar-track {
    background: #080f1a;
}

::-webkit-scrollbar-thumb {
    background: #d4a853;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c9952a;
}

/* Form input focus styles */
input:focus,
textarea:focus {
    border-color: #d4a853 !important;
    box-shadow: 0 0 0 3px rgba(212,168,83,0.1);
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(180deg, rgba(8,15,26,0.95) 0%, rgba(15,28,46,0.85) 50%, rgba(8,15,26,0.95) 100%);
    }
}

/* Print styles */
@media print {
    .hero-overlay,
    .mobile-menu,
    .btn-gold,
    .btn-outline {
        background: none !important;
        color: #000 !important;
    }
}
