/**
 * Saray Spa Salonu - Ultra Premium Theme
 * Luxury Black & Gold Design - Google Ads Optimized
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - Luxury Black & Gold Palette */
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --accent-black: #2a2a2a;
    --gold: #d4af37;
    --gold-light: #e8c547;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --off-white: #f8f8f8;
    --cream: #faf9f6;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    --text-muted: #999999;
    --border-gold: rgba(212, 175, 55, 0.3);
    --border-light: rgba(255, 255, 255, 0.1);

    /* Typography - Luxury Fonts */
    --font-primary: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-accent: 'Cinzel', Georgia, serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    /* Border Radius */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    /* Shadows - Elegant */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--primary-black);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
    line-height: 1.8;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-alt {
    background: var(--cream);
}

.section-dark {
    background: var(--primary-black);
    color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-accent);
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-xs) 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-align: center;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-black);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1rem;
}

.btn-call {
    background: var(--gold);
    color: var(--primary-black);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    box-shadow: var(--shadow-gold);
}

.btn-call:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 80px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.75) 0%, rgba(26, 26, 26, 0.65) 100%);
}

@media (max-width: 768px) {
    .slide::before {
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 26, 26, 0.80) 100%);
    }
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.slide-content h1 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.slide-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--gold);
}

.slide-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.35rem;
    margin-bottom: var(--spacing-xl);
    max-width: 650px;
    line-height: 1.8;
}

.slide-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--gold);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 2rem;
    font-weight: 300;
}

.slider-arrow:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 40px;
}

.slider-arrow.next {
    right: 40px;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.trust-badge {
    background: rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-gold);
}

.trust-badge:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
}

.trust-badge-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.trust-badge-text h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.trust-badge-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card-content {
    padding: var(--spacing-lg);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--gold);
}

.service-card h3 {
    color: var(--primary-black);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    font-family: var(--font-heading);
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

/* ===== STATS SECTION ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.floating-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 2px solid var(--gold);
}

.floating-btn:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-xl);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-black);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer h3 {
    color: var(--gold);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.75);
    line-height: 2;
}

.footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-light);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.content-section p {
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
    line-height: 1.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-black);
        flex-direction: column;
        padding: var(--spacing-xl);
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        align-items: flex-start;
        border-top: 1px solid var(--border-gold);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-slider {
        height: 80vh;
        min-height: 600px;
    }

    .slide-content {
        text-align: center;
    }

    .slide-content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .slide-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .slide-cta {
        justify-content: center;
    }

    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .slider-arrow.prev {
        left: 20px;
    }

    .slider-arrow.next {
        right: 20px;
    }

    .floating-buttons {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
    }

    .floating-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-on-scroll:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-on-scroll:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-on-scroll:nth-child(4) {
    animation-delay: 0.4s;
}

.animate-on-scroll:nth-child(5) {
    animation-delay: 0.5s;
}

.animate-on-scroll:nth-child(6) {
    animation-delay: 0.6s;
}

/* Fix nav menu button alignment */
.nav-menu .btn {
    border-bottom: none !important;
    padding: 10px 20px;
    margin-left: 10px;
}

.nav-menu .btn:hover {
    border-bottom: none !important;
}


/* Mobile Slider Fix */
@media (max-width: 768px) {
    .slide-content {
        padding: 20px !important;
    }
    
    .slide-content h1 {
        font-size: 1.75rem !important;
    }
    
    .slide-content p {
        font-size: 1rem !important;
    }
    
    /* Hide trust badges on mobile */
    .trust-badges {
        display: none !important;
    }
}
