/* ============================================
   GULF COAST URGENT CARE — Custom Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
    --terra-50: #fdf0eb;
    --terra-100: #f9ddd3;
    --terra-500: #d4522a;
    --terra-600: #c23d1e;
    --sand-300: #f5e5a8;
    --sand-400: #edcf72;
    --cream: #FDF8F0;
}

/* --- Base --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--cream);
}

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 82, 42, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: -100px;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(237, 207, 114, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: -80px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(212, 82, 42, 0.04);
    top: 60%;
    right: 5%;
    transform: rotate(15deg);
}

.shape-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(212, 82, 42, 0.08) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 40%;
    left: 3%;
    opacity: 0.6;
}

/* --- Hero Geometric Shapes --- */
.hero-geo {
    position: absolute;
    pointer-events: none;
}

.geo-circle {
    border-radius: 50%;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    top: -100px;
    right: -100px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    bottom: 10%;
    left: -50px;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    background: rgba(251, 191, 36, 0.15);
    top: 30%;
    right: 5%;
}

.geo-square {
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
}

.geo-square-2 {
    width: 50px;
    height: 50px;
    bottom: 25%;
    right: 15%;
    transform: rotate(20deg);
    background: rgba(255, 255, 255, 0.05);
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 14px 14px;
    bottom: 20%;
    left: 10%;
}

/* --- Navbar --- */
.nav-header {
    background: rgba(253, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-header.scrolled {
    background: rgba(253, 248, 240, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
}

/* --- Service Cards --- */
.service-card {
    perspective: 1000px;
}

.service-card:hover .service-card-inner {
    transform: translateY(-4px);
}

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

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

/* --- Mobile Menu --- */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .geo-shape,
    .hero-geo {
        animation: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .shape-circle-1,
    .shape-circle-2,
    .shape-triangle,
    .shape-dots {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-geo.geo-circle-1 {
        width: 350px;
        height: 350px;
    }
}
