/* ============================================
   Main Line Gynecologic Oncology - Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Custom Properties --- */
:root {
    --plum-50: #fdf4f6;
    --plum-100: #fce7eb;
    --plum-200: #fad0d9;
    --plum-300: #f5a8be;
    --plum-400: #ed7099;
    --plum-500: #e03d74;
    --plum-600: #c71f57;
    --plum-700: #a01544;
    --plum-800: #81153d;
    --plum-900: #6c1539;
    --plum-950: #3b051a;
    --amber-100: #fff3c8;
    --amber-200: #ffe787;
    --amber-300: #ffcf38;
    --amber-400: #ffc107;
    --amber-500: #e5a800;
    --amber-700: #9f6f00;
}

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

.shape-circle-1 {
    top: 15%;
    right: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--plum-400);
}

.shape-circle-2 {
    top: 45%;
    left: -8%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--amber-400);
}

.shape-square-1 {
    top: 70%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: var(--plum-300);
    transform: rotate(45deg);
}

.shape-triangle-1 {
    top: 30%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid var(--amber-300);
    opacity: 0.06;
}

.shape-circle-3 {
    bottom: 10%;
    left: 30%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--plum-200);
}

.shape-rect-1 {
    top: 55%;
    right: 15%;
    width: 120px;
    height: 200px;
    background: var(--amber-200);
    transform: rotate(15deg);
}

/* --- Navigation --- */
.nav-header {
    background: rgba(253, 244, 246, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(160, 21, 67, 0.08);
    transition: all 0.3s ease;
}

.nav-header.scrolled {
    background: rgba(253, 244, 246, 0.95);
    box-shadow: 0 4px 20px rgba(108, 21, 57, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--amber-400);
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

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

/* --- Buttons --- */
.btn-primary {
    background: var(--amber-400);
    color: var(--plum-950);
    border-radius: 9999px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    background: var(--amber-300);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    background: var(--amber-400);
    color: var(--plum-950);
    border-radius: 9999px;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.35);
}

.btn-primary-lg:hover {
    background: var(--amber-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 193, 7, 0.45);
}

.btn-secondary-lg {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary-lg:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* --- Hero --- */
.hero-section {
    position: relative;
}

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

.hero-geo-1 {
    animation-delay: 0s;
}

.hero-geo-2 {
    animation-delay: 2s;
}

.hero-geo-3 {
    animation-delay: 4s;
}

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

/* --- Services --- */
.service-card {
    opacity: 1;
}

/* --- Approach Steps --- */
.approach-step {
    opacity: 1;
}

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

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

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

/* --- Mobile Menu --- */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-nav-link {
    display: block;
}

/* --- Section Spacing --- */
.section-services,
.section-about,
.section-approach,
.section-location,
.section-cta {
    position: relative;
}

/* --- Focus Styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--amber-400);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Selection --- */
::selection {
    background: var(--plum-200);
    color: var(--plum-950);
}

/* --- Print --- */
@media print {
    .geo-shape,
    .hero-geo {
        display: none;
    }
    
    .nav-header {
        position: static;
        background: white;
    }
}
