/* =====================================================
   MS HAIR DESIGN - PREMIUM STYLING
   Rose Gold & Elegant Theme
   ===================================================== */

/* =====================================================
   PREMIUM BEAUTY SALON PRELOADER
   ===================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f4f6 0%, #fdf9fa 50%, #f5f0f2 100%);
    z-index: 9999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Rose Gold Background Pattern */
.preloader-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0.1;
    /* TÜM CİHAZLARDA AYNI HIZ: Normal animasyon */
    animation: float 6s ease-in-out infinite;
}

.rose-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.rose-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation-delay: -2s;
}

.rose-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 10%;
    animation-delay: -4s;
}

.rose-4 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 20%;
    animation-delay: -1s;
}

.rose-5 {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.2;
    }
}

/* Preloader Content */
.preloader-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

/* MS Logo Animation */
.logo-animation {
    margin-bottom: 3rem;
}

.logo-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text-animated {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    z-index: 5;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
}

.ring-1 {
    width: 80px;
    height: 80px;
    animation: rotate 4s linear infinite;
}

.ring-2 {
    width: 100px;
    height: 100px;
    animation: rotate 6s linear infinite reverse;
}

.ring-3 {
    width: 120px;
    height: 120px;
    animation: rotate 8s linear infinite;
}

.logo-subtext-animated {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.5s both;
}

@keyframes logoGlow {
    0% {
        text-shadow: 0 0 10px rgba(183, 110, 121, 0.3);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 20px rgba(183, 110, 121, 0.6);
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Beauty Icons Animation */
.beauty-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 1s both;
}

.beauty-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

.icon-1 { animation-delay: 0s; }
.icon-2 { animation-delay: 0.2s; }
.icon-3 { animation-delay: 0.4s; }
.icon-4 { animation-delay: 0.6s; }

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

/* Loading Container */
.loading-container {
    animation: fadeInUp 1s ease 1.5s both;
}

.loading-text {
    margin-bottom: 1.5rem;
}

.loading-word {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin: 0 0.5rem;
    display: inline-block;
    animation: fadeInScale 0.8s ease infinite alternate;
}

.loading-word:nth-child(1) { animation-delay: 0s; }
.loading-word:nth-child(2) { animation-delay: 0.4s; }

@keyframes fadeInScale {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading Bar */
.loading-bar {
    position: relative;
    width: 200px;
    height: 4px;
    background: rgba(183, 110, 121, 0.2);
    border-radius: 10px;
    margin: 1rem auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    animation: progressGlow 2s ease-in-out infinite;
}

.loading-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(183, 110, 121, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(183, 110, 121, 0.6);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.loading-percentage {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Decorative Sparkles */
.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 1rem;
    animation: sparkleFloat 3s ease-in-out infinite;
    opacity: 0.6;
}

.sparkle-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 25%;
    right: 15%;
    animation-delay: 0.5s;
}

.sparkle-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 1s;
}

.sparkle-4 {
    bottom: 20%;
    right: 30%;
    animation-delay: 1.5s;
}

.sparkle-5 {
    top: 40%;
    left: 10%;
    animation-delay: 2s;
}

.sparkle-6 {
    top: 60%;
    right: 20%;
    animation-delay: 2.5s;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-15px) rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .logo-text-animated {
        font-size: 2.5rem;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .ring-1 { width: 70px; height: 70px; }
    .ring-2 { width: 85px; height: 85px; }
    .ring-3 { width: 100px; height: 100px; }
    
    .beauty-icons {
        gap: 1.5rem;
    }
    
    .beauty-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .loading-bar {
        width: 150px;
    }
    
    .floating-element {
        /* MOBİL: Floating elementler gösterilsin ama daha az opacity */
        opacity: 0.05;
        animation-duration: 8s; /* Mobilde biraz daha yavaş */
    }
}

/* =====================================================
   GLOBAL STYLES & VARIABLES
   ===================================================== */
:root {
    /* Rose Gold Color Palette */
    --primary-color: #B76E79;      /* Rose Gold */
    --primary-light: #E8B4B8;      /* Light Rose */
    --primary-dark: #975A65;       /* Dark Rose */
    --secondary-color: #FFB6C1;    /* Light Pink */
    --accent-color: #D4A574;       /* Gold Accent */
    
    /* Neutral Colors */
    --text-dark: #2C2C2C;
    --text-light: #6B6B6B;
    --text-muted: #999999;
    --bg-light: #FFF9FA;
    --bg-gray: #F5F5F5;
    --white: #FFFFFF;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #B76E79 0%, #E8B4B8 100%);
    --gradient-gold: linear-gradient(135deg, #D4A574 0%, #F4E4C1 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.24);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   HEADER STYLES
   ===================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1001; /* Header hero üstünde ama mobile menu altında */
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.logo-subtext {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-appointment {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* PREMIUM HAMBURGER MENU TOGGLE */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 30px;
    height: 30px;
    justify-content: center;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    transform-origin: center;
    position: relative;
}

/* PREMIUM HAMBURGER ANIMATIONS */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--primary-dark);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--primary-dark);
}

/* HOVER EFFECTS */
.menu-toggle:hover span {
    background: var(--primary-dark);
    transform: scaleX(1.1);
}

.menu-toggle.active:hover span:nth-child(1),
.menu-toggle.active:hover span:nth-child(3) {
    background: var(--primary-color);
}

/* =====================================================
   CLEAN MOBILE MENU SYSTEM
   ===================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999999 !important;
    display: none;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 350px;
    height: 100vh;
    background: white;
    border: none;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 999999 !important;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(183, 110, 121, 0.1);
    background: var(--gradient-primary);
    color: white;
}

.mobile-logo .logo-text {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.mobile-logo .logo-subtext {
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 2px;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-nav {
    padding: 2rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(183, 110, 121, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
    background: rgba(183, 110, 121, 0.05);
    padding-left: 2rem;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.mobile-nav-link.appointment-link {
    margin: 1rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    border-radius: 25px;
    border: none;
}

.mobile-nav-link.appointment-link:hover {
    background: var(--gradient-primary);
    color: white;
    padding-left: 1.5rem;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle Button States */
.menu-toggle {
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    z-index: 1; /* KRİTİK: Hero mobile menüden düşük z-index */
}

/* Hero Video Styles - Mobile First */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Mobile video optimizations */
    poster: none;
    preload: metadata;
}

/* Fallback image support */
.hero-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Legacy hero-image support */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.5) 50%, 
        rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 .highlight {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.info-item i {
    color: var(--secondary-color);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

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

/* =====================================================
   SECTIONS
   ===================================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* =====================================================
   SERVICES PREVIEW
   ===================================================== */
.services-preview {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.service-duration {
    font-size: 0.9rem;
    color: var(--text-light);
    background: rgba(183, 110, 121, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.service-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.service-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    border: 2px solid transparent;
    min-height: 44px;
    text-align: center;
}

.service-link:hover {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(183, 110, 121, 0.3);
}

.service-link::after {
    content: '→';
    font-weight: bold;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* Mobile Responsive Service Cards */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        max-width: 100%;
    }
    
    .service-link {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .service-duration {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .service-content h3 {
        font-size: 1.1rem;
    }
    
    .service-price {
        font-size: 1rem;
    }
    
    .service-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* =====================================================
   PAGE HERO (Services, Gallery, Reviews Pages)
   ===================================================== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    z-index: 1;
}

.page-hero .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.page-hero .hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero .hero-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.6) 100%);
    z-index: -1;
}

.page-hero .hero-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 600px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: var(--white);
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    color: var(--white);
    margin-bottom: 0;
}

/* Mobile Page Hero */
@media (max-width: 768px) {
    .page-hero {
        height: 40vh;
        min-height: 300px;
        margin-top: 70px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .page-hero .hero-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 35vh;
        min-height: 250px;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .page-hero p {
        font-size: 0.95rem;
    }
}

/* =====================================================
   WHY US SECTION
   ===================================================== */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.why-us-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.why-us-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

/* =====================================================
   REVIEWS SECTION
   ===================================================== */
.reviews-preview {
    background: var(--bg-light);
}

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

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.reviewer-info .service {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.review-rating {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
}

/* =====================================================
   INSTAGRAM FEED
   ===================================================== */
.instagram-feed {
    padding: 3rem 0;
    background: var(--white);
}

.instagram-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.instagram-link:hover {
    color: var(--primary-dark);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.instagram-post {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-post:hover img {
    transform: scale(1.1);
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-logo {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.working-hours li,
.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   TOP SCROLL BUTTON
   ===================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 100;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    /* GELİŞTİRİLMİŞ CLICK HANDLING */
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-gold);
}

.scroll-to-top:active {
    transform: translateY(-1px) scale(0.95);
    transition: all 0.1s ease;
}

.scroll-to-top:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* =====================================================
   MODAL
   ===================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--bg-gray);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

/* =====================================================
   APPOINTMENT FORM
   ===================================================== */
.appointment-form {
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--bg-gray);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* =====================================================
   MOBILE BOTTOM NAVIGATION
   ===================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.75rem;
    transition: var(--transition);
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--primary-color);
}

.mobile-bottom-nav .nav-appointment {
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 10px;
    margin: 0.25rem;
    position: relative;
}

.mobile-bottom-nav .nav-appointment::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-actions .btn-appointment {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Typography */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Hero */
    .hero {
        height: 80vh;
        margin-top: 60px;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    /* Why Us */
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-us-images {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Bottom Nav */
    .mobile-bottom-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 80px;
    }
    
    /* Top Scroll Button - Mobile */
    .scroll-to-top {
        bottom: 100px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .reviews-slider {
        grid-template-columns: 1fr;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}