/* =========================================================================
   CLINIC CLEAN / PREMIUM MEDICAL AESTHETIC
   Dr. Dariana Giurescu
   ========================================================================= */

:root {
    /* Premium Color Palette */
    --primary: #ffffff;      /* Pure White */
    --surface: #fdfbf7;      /* Clean Beige - bg-soft */
    --surface-alt: #f7e8e8;  /* Soft Pink - bg-accent */
    --accent: #d8ebf9;       /* Light Blue */
    --text-dark: #2c3338;    /* Dark Charcoal for text */
    --text-muted: #6b7280;   /* Muted text */
    --border: #eaeaea;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: clamp(60px, 12vw, 160px);
    
    /* Animation */
    --transition-smooth: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */

h1, h2, h3, h4, .logo {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

h1 em {
    font-style: italic;
    color: var(--text-muted);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

p {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    margin-bottom: 24px;
    color: var(--text-muted);
}

p.large-p {
    font-size: clamp(1.25rem, 1.5vw, 1.5rem);
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* =========================================================================
   LAYOUT UTILITIES
   ========================================================================= */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5vw;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.bg-soft {
    background-color: var(--surface);
}

.bg-accent {
    background-color: var(--surface-alt);
}

.text-center {
    text-align: center;
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }

/* =========================================================================
   COMPONENTS
   ========================================================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--surface-alt);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.btn-outline {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--accent);
    background-color: var(--accent);
    color: var(--text-dark);
}

.btn-text {
    color: var(--text-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 14px 16px;
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    color: var(--text-dark);
    transition: all 0.4s var(--transition-smooth);
}

.navbar .btn-outline {
    border-color: var(--text-dark);
    color: var(--text-dark);
    padding: 10px 24px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .nav-links a:not(.btn) {
        display: none;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    align-items: center;
}

.hero-image {
    aspect-ratio: 4/5;
    background-color: var(--surface);
    border-radius: 20px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 150px;
    }
    .hero-image {
        aspect-ratio: 1/1;
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-card ul {
    list-style: none;
    margin-top: 24px;
}

.service-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.service-card ul li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 40px 30px;
    }
}

/* Benefits */
.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    font-size: clamp(1.1rem, 1.2vw, 1.25rem);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 30px;
}

.benefit-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .benefits-container {
        grid-template-columns: 1fr;
    }
}

/* Approach */
.approach-image {
    max-width: 600px;
    margin: 60px auto 0;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 40px auto 0;
    border-top: 1px solid var(--border);
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-title {
    padding: 30px 0;
    cursor: pointer;
    position: relative;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-title::after {
    content: '+';
    font-size: 1.5rem;
    font-family: var(--font-sans);
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s var(--transition-smooth);
}

.accordion-content.active {
    height: auto; 
    /* The JS will handle the precise pixel height for animation */
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.location-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
}

.location-card h3 {
    margin-bottom: 8px;
}

.phone {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 16px;
    margin-bottom: 0;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--primary);
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--text-dark);
}

.form-privacy {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    padding: 80px 0 40px;
}

.medical-disclaimer {
    font-size: 0.75rem;
    max-width: 600px;
    margin: 20px auto;
}

.copyright {
    font-size: 0.75rem;
    margin-bottom: 0;
}

/* =========================================================================
   ANIMATIONS & MAGNETIC CURSOR
   ========================================================================= */

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--text-dark);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
}

.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-dark);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-outline {
        display: none;
    }
}

/* Initial States for GSAP */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

.mask-reveal {
    clip-path: circle(0% at 50% 50%);
}

.reveal-card {
    opacity: 0;
    transform: translateY(40px);
}
