/**
 * Boutique Clinical Psychologist Website
 * Premium European Therapy Clinic Design
 * 2025 Commercial-Grade
 */

/* ============================================
   DESIGN SYSTEM - BOUTIQUE PREMIUM
   ============================================ */

:root {
    /* Soft Pastel Color Palette */
    --color-cream: #FAF9F6;
    --color-ivory: #F5F3EF;
    --color-soft-beige: #E8E5DF;
    --color-sage-green: #D4D9C7;
    --color-sky-blue: #E3E8F0;
    --color-lavender: #E8E3ED;
    --color-rose: #F5E8E5;
    
    /* Text Colors */
    --color-text-primary: #2C2C2C;
    --color-text-secondary: #5A5A5A;
    --color-text-light: #8A8A8A;
    --color-text-muted: #B0B0B0;
    
    /* Accent Colors */
    --color-accent-soft: #A8B5A0;
    --color-accent-blue: #9BA8B8;
    --color-accent-rose: #D4B8B0;
    
    /* White & Backgrounds */
    --color-white: #FFFFFF;
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #FAF9F6;
    --color-bg-accent: #F5F3EF;
    
    /* Borders & Shadows */
    --color-border: #E8E5DF;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.08);
    
    /* Typography */
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-sans-alt: 'Plus Jakarta Sans', 'Inter', sans-serif;
    
    /* Spacing Scale (Modern UI Standards) */
    --space-xs: 0.5rem;      /* 8px */
    --space-sm: 0.75rem;     /* 12px */
    --space-md: 1rem;        /* 16px */
    --space-lg: 1.5rem;      /* 24px */
    --space-xl: 2rem;        /* 32px */
    --space-2xl: 3rem;       /* 48px */
    --space-3xl: 4rem;       /* 64px */
    --space-4xl: 6rem;       /* 96px */
    --space-5xl: 8rem;       /* 128px */
    
    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1400px;
    
    /* Border Radius */
    --radius-sm: 0.5rem;     /* 8px */
    --radius-md: 0.75rem;    /* 12px */
    --radius-lg: 1rem;       /* 16px */
    --radius-xl: 1.5rem;     /* 24px */
    --radius-2xl: 2rem;      /* 32px */
    
    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ============================================
   BASE RESET & TYPOGRAPHY
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #F3E8DE 0%, #E7F5F7 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    color: var(--color-text-primary);
    background: linear-gradient(90deg, #F3E8DE 0%, #E7F5F7 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
}

p {
    margin-bottom: var(--space-lg);
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* ============================================
   PREMIUM NAVBAR - STICKY TRANSPARENT
   ============================================ */

.navbar-boutique {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 229, 223, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.25rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.navbar-boutique.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--color-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 1rem 0;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .navbar-boutique {
        padding: 1rem 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .section-boutique,
    .container-boutique {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    max-width: 380px;
    background: #ffffff;
    color: var(--color-text-secondary);
    box-shadow: var(--shadow-large);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem 1.25rem 1.5rem;
    font-size: 0.9375rem;
    z-index: 998;
    display: none;
}

.cookie-banner-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.cookie-banner-text {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.cookie-banner-link {
    color: var(--color-accent-soft);
    text-decoration: underline;
}

.cookie-banner-button {
    width: 100%;
    border: none;
    border-radius: 0.75rem;
    padding: 0.6rem 1rem;
    background: var(--color-accent-soft);
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.cookie-banner-button:hover {
    background: #8fa08a;
}

.cookie-banner.visible {
    display: block;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }
}

.navbar-container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
}

.navbar-link {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
    position: relative;
    padding: var(--space-xs) 0;
    transition: var(--transition-base);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-soft);
    transition: width var(--transition-base);
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--color-text-primary);
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

/* ============================================
   PREMIUM HERO SECTION - REBUILT
   ============================================ */

.hero-boutique {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #F5F3EF;
    margin-top: 0;
    padding-top: 0;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero-boutique {
        min-height: 75vh;
        padding-top: 0;
    }
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.95) contrast(1.1) saturate(0.9);
    will-change: transform;
}

@media (max-width: 768px) {
    .hero-image {
        object-position: center 40%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.65) 40%,
        rgba(255, 255, 255, 0.50) 70%,
        rgba(255, 255, 255, 0.45) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    color: #2C2C2C;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 85vh;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
        min-height: 75vh;
        align-items: center;
        text-align: center;
    }
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5A5A5A;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.hero-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1px;
    background: #A8B5A0;
}

@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.6875rem;
        margin-bottom: 1rem;
        padding-left: 1.25rem;
    }
    
    .hero-badge::before {
        width: 0.875rem;
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
    letter-spacing: -0.02em;
    max-width: 900px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
        line-height: 1.2;
        max-width: 100%;
    }
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.75;
    color: #3A3A3A;
    max-width: 650px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: clamp(0.9375rem, 3vw, 1.125rem);
        margin-bottom: 2rem;
        max-width: 100%;
        line-height: 1.7;
    }
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-actions .btn-boutique {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   PREMIUM BUTTONS
   ============================================ */

.btn-boutique {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-boutique::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: left var(--transition-base);
    z-index: -1;
}

.btn-boutique {
    position: relative;
    z-index: 1;
}

.btn-boutique > * {
    position: relative;
    z-index: 10;
    color: inherit;
}

.btn-boutique:hover {
    border-color: var(--color-accent-soft);
    color: #2C2C2C !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-boutique:not(.btn-boutique-primary) {
    color: var(--color-text-primary);
}

.btn-boutique:not(.btn-boutique-primary):hover {
    color: #2C2C2C !important;
}

.btn-boutique:not(.btn-boutique-primary):hover *,
.btn-boutique:not(.btn-boutique-primary):hover span,
.btn-boutique:not(.btn-boutique-primary):hover i,
.btn-boutique:not(.btn-boutique-primary):hover a {
    color: #2C2C2C !important;
}

.btn-boutique:hover::before {
    left: 0;
    z-index: -1;
    background: transparent;
}

.btn-boutique-primary {
    background: var(--color-text-primary);
    color: var(--color-white);
    border-color: var(--color-text-primary);
}

.btn-boutique-primary::before {
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.btn-boutique-primary {
    z-index: 1;
}

.btn-boutique-primary > * {
    position: relative;
    z-index: 2;
}

.btn-boutique-primary:hover {
    background: var(--color-text-primary) !important;
    color: var(--color-white) !important;
    box-shadow: var(--shadow-large);
}

.btn-boutique-primary:hover::before {
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-boutique {
    padding: var(--space-5xl) 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: transparent;
}

.section-boutique-alt {
    background: transparent;
}

.container-boutique {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-4xl);
}

.section-badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    padding-left: var(--space-lg);
    position: relative;
}

.section-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--color-accent-soft);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    font-weight: 300;
}

/* ============================================
   PREMIUM CARDS
   ============================================ */

.card-boutique {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(232, 229, 223, 0.3);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card-boutique::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-soft), var(--color-accent-blue));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.card-boutique:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.card-boutique:hover::before {
    transform: scaleX(1);
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.service-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(232, 229, 223, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    background: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 249, 246, 0.95) 100%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(168, 181, 160, 0.3);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-image {
    transform: scale(1.08);
}

.service-content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(168, 181, 160, 0.1) 0%, rgba(168, 181, 160, 0.15) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-accent-soft);
    font-size: 1.375rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 181, 160, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(168, 181, 160, 0.15) 0%, rgba(168, 181, 160, 0.2) 100%);
    box-shadow: 0 4px 12px rgba(168, 181, 160, 0.2);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--color-accent-soft);
}

.service-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
    flex: 1;
    font-weight: 300;
}

/* ============================================
   PROCESS TIMELINE - HOW IT WORKS
   ============================================ */

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-4xl);
    position: relative;
}

@media (min-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--space-xl);
    }
    
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 60px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, var(--color-accent-soft), var(--color-accent-blue));
        z-index: 0;
        opacity: 0.3;
    }
}

.process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-step-number {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid var(--color-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    position: relative;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-base);
}

.process-step:hover .process-step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-large);
    border-color: var(--color-accent-blue);
}

.process-step-number span {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-soft);
    letter-spacing: -0.02em;
}

.process-step-content {
    max-width: 280px;
}

.process-step-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--color-accent-soft);
    font-size: 1.75rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.process-step:hover .process-step-icon {
    background: transparent;
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.process-step-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.process-step-description {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
}

@media (max-width: 1023px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .process-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .process-step-number {
        width: 100px;
        height: 100px;
        margin-bottom: 0;
        margin-right: var(--space-xl);
        flex-shrink: 0;
    }
    
    .process-step-number span {
        font-size: 2rem;
    }
    
    .process-step-content {
        max-width: 100%;
        flex: 1;
    }
    
    .process-step-icon {
        margin: 0 0 var(--space-md) 0;
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .process-step-number {
        margin-right: 0;
        margin-bottom: var(--space-lg);
    }
    
    .process-step-icon {
        margin: 0 auto var(--space-md);
    }
}

/* ============================================
   FORMS
   ============================================ */

.form-boutique {
    display: grid;
    gap: var(--space-xl);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-accent-soft);
    box-shadow: 0 0 0 3px rgba(168, 181, 160, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-boutique {
    background: transparent;
    padding: var(--space-5xl) 0 var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-section h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.footer-section p,
.footer-section a {
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.footer-section a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    background: linear-gradient(90deg, #F3E8DE 0%, #E7F5F7 100%);
    padding: var(--space-2xl) 0;
    margin-top: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

.footer-bottom-content {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 1;
}

.footer-copyright {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer-copyright p {
    margin: 0;
    line-height: 1.6;
}

.footer-copyright a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 500;
}

.footer-copyright a:hover {
    color: var(--color-accent-soft);
    text-decoration: underline;
}

.footer-kvkk {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.footer-kvkk h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.kvkk-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.kvkk-links a {
    color: var(--color-text-secondary);
    text-decoration: underline;
    font-size: 0.875rem;
    transition: var(--transition-base);
    white-space: nowrap;
    line-height: 1.6;
}

.kvkk-links a:hover {
    color: var(--color-accent-soft);
    text-decoration-color: var(--color-accent-soft);
}

.footer-developer {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.footer-developer p {
    margin: 0;
}

.footer-developer a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 500;
}

.footer-developer a:hover {
    color: var(--color-accent-soft);
}

@media (max-width: 768px) {
    .footer-bottom {
        padding: var(--space-xl) 0;
    }
    
    .footer-bottom-content {
        padding: 0 var(--space-lg);
    }
    
    .kvkk-links {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }
    
    .kvkk-links a {
        white-space: normal;
        text-align: center;
    }
    
    .footer-copyright p {
        font-size: 0.8125rem;
        line-height: 1.8;
    }
    
    .footer-kvkk h4 {
        font-size: 1.125rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: var(--space-xs);
    transition: var(--transition-base);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    color: var(--color-accent-soft);
    background: transparent;
}

.mobile-menu-btn:focus {
    outline: 2px solid var(--color-accent-soft);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1001 !important;
    }
    
    .navbar-links {
        display: none !important;
    }
    
    .navbar-container {
        justify-content: space-between !important;
    }
    
    .navbar-boutique .navbar-container {
        position: relative;
    }
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 85%;
    max-width: 400px;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (min-width: 769px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-link {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-primary);
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    transition: all var(--transition-base);
    display: block;
    position: relative;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: var(--color-accent-soft);
    background: transparent;
    padding-left: 1.5rem;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent-soft);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.mobile-menu-link:hover::before,
.mobile-menu-link.active::before {
    transform: scaleY(1);
}

.mobile-menu-cta {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 2px solid var(--color-border);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .hero-content {
        padding: var(--space-4xl) var(--space-lg);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }
    
    .section-boutique {
        padding: var(--space-3xl) 0;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .service-card {
        border-radius: 20px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        padding: var(--space-xl);
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.375rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-boutique {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    /* Two column layouts to single */
    .container-boutique > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: var(--space-2xl) !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}


@media (max-width: 480px) {
    :root {
        --space-5xl: 4rem;
        --space-4xl: 3rem;
        --space-3xl: 2.5rem;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .container-boutique {
        padding: 0 var(--space-lg);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .card-boutique {
        padding: var(--space-lg);
    }
    
    .btn-boutique {
        width: 100%;
        justify-content: center;
    }
    
    .navbar-container {
        padding: 0 var(--space-md);
    }
    
    .navbar-logo {
        font-size: 1.5rem;
    }
    
    .service-detail-image-section {
        height: 35vh;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* ============================================
   SERVICE BENEFIT BOXES
   ============================================ */

.service-benefit-box {
    background: transparent;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-soft);
}

.service-benefit-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

@media (max-width: 768px) {
    .service-benefit-box {
        padding: var(--space-xl);
    }
}

/* ============================================
   SERVICE DETAIL HERO (COMPACT)
   ============================================ */

.hero-service-detail {
    min-height: 42vh !important;
    max-height: 42vh !important;
    overflow: hidden !important;
}

.hero-service-detail .hero-image-wrapper {
    height: 42vh !important;
    max-height: 42vh !important;
}

.hero-service-detail .hero-image {
    height: 42vh !important;
    max-height: 42vh !important;
    object-fit: cover !important;
    object-position: center !important;
}

.hero-service-detail .hero-overlay {
    height: 42vh !important;
    max-height: 42vh !important;
}

.hero-service-detail .hero-content {
    padding: var(--space-xl) 0 !important;
    height: 42vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.hero-service-detail .hero-title {
    font-size: clamp(2.875rem, 7vw, 4.75rem) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.hero-service-detail nav[aria-label="Breadcrumb"] {
    margin-bottom: var(--space-sm) !important;
}

.hero-service-detail nav[aria-label="Breadcrumb"] ol {
    font-size: 0.875rem !important;
}

@media (max-width: 768px) {
    .hero-service-detail {
        min-height: 18vh !important;
        max-height: 18vh !important;
    }
    
    .hero-service-detail .hero-image-wrapper,
    .hero-service-detail .hero-image,
    .hero-service-detail .hero-overlay,
    .hero-service-detail .hero-content {
        height: 18vh !important;
        max-height: 18vh !important;
    }
    
    .hero-service-detail .hero-content {
        padding: var(--space-lg) 0 !important;
    }
    
    .hero-service-detail .hero-title {
        font-size: clamp(1.625rem, 3.5vw, 2.25rem) !important;
    }
}

/* ============================================
   SERVICE CARD LINK STYLES
   ============================================ */

.service-card a[href*="service-detail"] {
    color: var(--color-accent-soft);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    margin-top: auto;
    border-top: 1px solid rgba(232, 229, 223, 0.5);
    padding-top: var(--space-lg);
    transition: all 0.3s ease;
    position: relative;
}

.service-card a[href*="service-detail"]::after {
    content: '';
    position: absolute;
    bottom: var(--space-sm);
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-soft);
    transition: width 0.3s ease;
}

.service-card:hover a[href*="service-detail"] {
    color: var(--color-text-primary);
    gap: var(--space-md);
}

.service-card:hover a[href*="service-detail"]::after {
    width: 40px;
}

.service-card a[href*="service-detail"] i {
    transition: transform 0.3s ease;
}

.service-card:hover a[href*="service-detail"] i {
    transform: translateX(4px);
}

/* ============================================
   BACKGROUND DECORATION - SVG ELEMENTS
   ============================================ */

.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.decoration-svg {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
    user-select: none;
    animation: floatVertical 4s ease-in-out infinite;
}

.decoration-1 {
    top: 50%;
    right: 5%;
    transform: translateY(-50%) scale(1);
    animation-delay: 0s;
}

.decoration-2 {
    top: 50%;
    left: 5%;
    transform: translateY(-50%) scale(0.9);
    animation-delay: -2s;
}

@keyframes floatVertical {
    0%, 100% {
        transform: translateY(-50%) translateY(0px);
    }
    50% {
        transform: translateY(-50%) translateY(-30px);
    }
}

/* Decorations always visible - no hiding on scroll */

/* Ensure content is above decorations */
#main-content,
.navbar-boutique,
.footer,
.whatsapp-float {
    position: relative;
    z-index: 1;
}

/* Hide on mobile for better performance */
@media (max-width: 768px) {
    .background-decoration {
        display: none;
    }
}

