/* ===================================
   Clinic 4 Her - Styles
   Color Palette: Plum (#6B2F5B) + Amber (#D4A574)
   =================================== */

/* CSS Variables */
:root {
    --plum-900: #1a0a14;
    --plum-800: #2d1223;
    --plum-700: #4a1d3a;
    --plum-600: #6B2F5B;
    --plum-500: #8B3D72;
    --plum-400: #A85596;
    --plum-300: #C97BB0;
    --plum-200: #E0A7CA;
    --plum-100: #F5D5E8;
    --plum-50: #FDF2F8;
    
    --amber-700: #92400E;
    --amber-600: #D4A574;
    --amber-500: #E8C4A0;
    --amber-400: #F0D8BC;
    --amber-300: #F5E8D8;
    --amber-200: #FAF3EC;
    --amber-100: #FDF8F4;
    
    --neutral-900: #111827;
    --neutral-800: #1F2937;
    --neutral-700: #374151;
    --neutral-600: #4B5563;
    --neutral-500: #6B7280;
    --neutral-400: #9CA3AF;
    --neutral-300: #D1D5DB;
    --neutral-200: #E5E7EB;
    --neutral-100: #F3F4F6;
    --neutral-50: #F9FAFB;
    
    --white: #FFFFFF;
    --black: #000000;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--neutral-900);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--plum-600);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--plum-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--plum-600);
    border: 2px solid var(--plum-600);
}

.btn-secondary:hover {
    background-color: var(--plum-50);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: var(--plum-100);
    color: var(--plum-600);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-2xl);
    margin-bottom: 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--plum-600);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-logo-text {
    color: var(--plum-600);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background-color: var(--neutral-700);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.nav-link:hover {
    color: var(--plum-600);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: var(--plum-600);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 500;
}

.nav-cta:hover {
    background-color: var(--plum-700);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--plum-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 47, 91, 0.85) 0%,
        rgba(45, 18, 35, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background-color: rgba(212, 165, 116, 0.2);
    border: 1px solid rgba(212, 165, 116, 0.4);
    color: var(--amber-400);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-2xl);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title-accent {
    color: var(--amber-500);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-buttons .btn-primary {
    background-color: var(--amber-600);
    color: var(--neutral-900);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--amber-500);
}

.hero-buttons .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--plum-600);
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--neutral-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--neutral-100);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--plum-200);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--plum-100);
    color: var(--plum-600);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
}

.service-description {
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--plum-600);
    font-weight: 500;
    font-size: 0.9375rem;
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--plum-700);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 60%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

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

.about-experience-badge {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    background-color: var(--plum-600);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.about-content {
    max-width: 500px;
}

.about-text {
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--amber-200);
    color: var(--amber-700);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.about-feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--neutral-900);
}

.about-feature-text {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--plum-900);
}

.testimonials .section-tag {
    background-color: rgba(212, 165, 116, 0.2);
    color: var(--amber-400);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.testimonial-quote {
    color: var(--amber-500);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--plum-600);
    color: var(--white);
    border-radius: 50%;
}

.testimonial-author-name {
    display: block;
    color: var(--white);
    font-weight: 600;
}

.testimonial-author-location {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--neutral-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text {
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--plum-100);
    color: var(--plum-600);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.875rem;
    color: var(--neutral-500);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    color: var(--neutral-800);
    font-weight: 500;
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--plum-600);
}

.contact-detail-value a:hover {
    color: var(--plum-700);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--neutral-900);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--neutral-800);
    transition: var(--transition);
    background-color: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--plum-400);
    box-shadow: 0 0 0 3px rgba(107, 47, 91, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--neutral-400);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    color: var(--plum-600);
}

.form-success svg {
    margin: 0 auto 1.5rem;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
}

.form-success p {
    color: var(--neutral-600);
}

/* Map Section */
.map-section {
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background-color: var(--neutral-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-logo-text {
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-list a:hover {
    color: var(--amber-500);
}

.footer-list svg {
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-privacy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-privacy a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-privacy a:hover {
    color: var(--amber-500);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-cta {
        width: 100%;
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-accent {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 1rem;
    }
    
    .about-experience-badge {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-top: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .testimonial-card {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--plum-400);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-scroll,
    .map-section {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    body {
        color: var(--neutral-900);
        background: white;
    }
}
