@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/**
 * TemizHalı - Premium Frontend Design & Luxury Service UI
 * Backend unchanged - Frontend strictly redesigned
 */

:root {
    /* Premium Petrol Blue Palette */
    --primary-50: #f0f5f7;
    --primary-100: #d6e4ea;
    --primary-200: #b0ced9;
    --primary-300: #81b1c3;
    --primary-400: #5892a9;
    --primary-500: #3c778f;
    --primary-600: #336177;
    --primary-700: #2d4f61;
    --primary-800: #2a4351;
    --primary-900: #0f1c24; /* Deep Petrol / Navy */

    /* Champagne / Soft Gold Accent */
    --gold-100: #fdfaf3;
    --gold-200: #faebd3;
    --gold-300: #f4d4a8;
    --gold-400: #edb876;
    --gold-500: #c5974a; /* Classic Soft Gold */
    --gold-600: #a67c3b;
    --gold-700: #855f2f;

    /* Warm Beige & Neutral Whites */
    --beige-50: #faf9f6;
    --beige-100: #f2efe9;
    --beige-200: #e8e3da;

    /* Grays for Typography */
    --gray-50: #fcfcfc;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;

    /* Semantic */
    --success-500: #2b7754;
    --success-600: #1f5a3e;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Radiuses */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Shadows - Premium & Soft */
    --shadow-sm: 0 2px 4px rgba(15, 28, 36, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 28, 36, 0.06);
    --shadow-lg: 0 10px 30px rgba(15, 28, 36, 0.08);
    --shadow-xl: 0 20px 40px rgba(15, 28, 36, 0.12);
    --shadow-gold: 0 8px 25px rgba(197, 151, 74, 0.25);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================
   RESET & BASE TYPOGRAPHY
   =================================== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background-color: var(--beige-50);
    line-height: 1.6;
    font-size: 1rem;
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading);
    color: var(--primary-900);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: var(--transition-base);
}
a:hover {
    color: var(--gold-500);
}

::selection {
    background: var(--gold-200);
    color: var(--primary-900);
}

/* ===================================
   UTILITIES & TYPOGRAPHY
   =================================== */
.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-500);
    display: inline-block;
}

.lead {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-600);
    font-size: 1.15rem;
}

.text-primary { color: var(--primary-700) !important; }
.bg-primary { background-color: var(--primary-900) !important; }
.text-muted { color: var(--gray-500) !important; }
.bg-light { background-color: var(--beige-100) !important; }

/* ===================================
   BUTTONS (LUXURY CTA)
   =================================== */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    padding: 0.75rem 2rem;
    transition: var(--transition-base);
}

.btn-primary {
    background-color: var(--primary-900);
    border: 1px solid var(--primary-900);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--gold-500);
    border-color: var(--gold-500);
    color: #fff;
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 1px solid var(--primary-900);
    color: var(--primary-900);
}
.btn-outline-primary:hover {
    background-color: var(--primary-900);
    color: #fff;
}

.btn-gold {
    background-color: var(--gold-500);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-md);
}
.btn-gold:hover {
    background-color: var(--gold-600);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
}
.btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-900);
}

/* ===================================
   HEADER & NAVBAR
   =================================== */
.top-bar {
    background-color: var(--primary-900);
    padding: 0.6rem 0;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.7);
}
.top-bar a:hover {
    color: var(--gold-500);
}

.top-bar i {
    color: var(--gold-500);
    margin-right: 4px;
}

.top-social .btn-whatsapp-top {
    color: #fff;
    background-color: var(--success-500);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-weight: 500;
}
.top-social .btn-whatsapp-top:hover {
    background-color: var(--success-600);
    color: #fff;
}

.navbar {
    background-color: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 28, 36, 0.05);
    transition: var(--transition-base);
}

.navbar,
.navbar.sticky-top {
    position: static !important;
    top: auto !important;
}

.top-bar,
.top-bar.sticky-top,
.top-bar.fixed-top {
    position: static !important;
    top: auto !important;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
    background-color: rgba(250, 249, 246, 0.98) !important;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-900) !important;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 0%;
    height: 1px;
    background-color: var(--gold-500);
    transition: var(--transition-base);
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition-base);
}
.navbar.scrolled .navbar-brand img {
    height: 40px;
}

/* ===================================
   HERO SLIDER
   =================================== */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slider .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15, 28, 36, 0.5) 0%, rgba(15, 28, 36, 0.85) 100%);
    z-index: 1;
}

.hero-slider .slide-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
}

.slide-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.slide-description {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.slide-badge {
    color: var(--gold-400);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--gold-500);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-base);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--gold-500);
    color: #fff;
    transform: scale(1.05);
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem;
}
.swiper-pagination-bullet { display: none; }

/* ===================================
   SERVICES CARDS
   =================================== */
.service-card-modern {
    background-color: #fff;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
    border: 1px solid rgba(15,28,36,0.03);
    border-bottom: 4px solid var(--primary-300); /* Su/Temizlik hissi */
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--gold-500);
}

.service-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,28,36,0) 40%, rgba(15,28,36,0.5) 100%);
}

.service-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.service-card-modern:hover .service-image {
    transform: scale(1.05);
}

.service-content-modern {
    padding: 2rem;
    position: relative;
    background: #fff;
}

.service-title-modern {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-900);
}

.service-price-modern {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--gold-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-service-modern {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-900);
    display: inline-flex;
    align-items: center;
    border-bottom: 1px solid var(--primary-900);
    padding-bottom: 0.2rem;
    transition: var(--transition-base);
}
.btn-service-modern i {
    margin-left: 0.5rem;
    transition: transform var(--transition-base);
}
.btn-service-modern:hover {
    color: var(--gold-500);
    border-bottom-color: var(--gold-500);
}
.btn-service-modern:hover i {
    transform: translateX(4px);
}

/* ===================================
   PROCESS / HOW IT WORKS
   =================================== */
.process-section {
    background-color: var(--beige-100) !important;
}

.process-step-card {
    background-color: #fff !important;
    border: 1px solid rgba(15,28,36,0.03);
    border-radius: var(--radius-2xl) !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 3rem 2rem !important;
}
.process-step-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-md) !important;
}

.step-number-badge {
    background: var(--primary-50) !important;
    box-shadow: none !important;
    width: 60px !important; height: 60px !important;
}
.step-number-badge span {
    color: var(--primary-900) !important;
    font-family: var(--font-heading);
    font-size: 1.5rem !important;
}

.step-icon i { color: var(--gold-500) !important; font-size: 2rem !important; }

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonial-card {
    border: 1px solid rgba(15,28,36,0.05) !important;
    box-shadow: var(--shadow-sm) !important;
    border-radius: var(--radius-2xl) !important;
    padding: 2.5rem !important;
}

.testimonial-rating .bi-star-fill, .testimonial-rating .bi-star {
    color: var(--gold-500) !important;
    font-size: 1rem;
}

.testimonial-comment {
    font-family: var(--font-heading);
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: var(--primary-900) !important;
    font-style: italic;
}

/* ===================================
   ABOUT PAGE & SECTIONS
   =================================== */
.about-image-wrapper img {
    border-radius: var(--radius-2xl) !important;
    box-shadow: var(--shadow-lg);
}

/* ===================================
   CONTACT INFO CARDS
   =================================== */
.contact-form-wrapper, .contact-card {
    border-radius: var(--radius-2xl) !important;
    border: 1px solid rgba(15,28,36,0.04);
    box-shadow: var(--shadow-md) !important;
}

.contact-icon {
    background: var(--primary-50) !important;
    color: var(--primary-900) !important;
}

.form-control, .form-select {
    border-radius: var(--radius-xl) !important;
    border: 1px solid var(--gray-200) !important;
    padding: 0.8rem 1.2rem !important;
    background-color: var(--gray-50);
    font-family: var(--font-body);
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold-400) !important;
    box-shadow: 0 0 0 4px rgba(197, 151, 74, 0.1) !important;
    background-color: #fff;
}

/* ===================================
   COMMON PAGE HEADER
   =================================== */
.page-header {
    background-color: var(--primary-900) !important;
    background-image: none !important;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at right, rgba(197, 151, 74, 0.05) 0%, transparent 60%);
}
.page-header .page-title {
    color: var(--gold-500);
}
.page-header .page-description {
    color: rgba(255,255,255,0.8);
    font-family: var(--font-body);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--primary-900) !important;
    color: rgba(255,255,255,0.6) !important;
    border-top: 5px solid var(--gold-500);
    padding-top: 5rem !important;
}
.footer h5 {
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.footer a {
    color: rgba(255,255,255,0.6) !important;
}
.footer a:hover {
    color: var(--gold-500) !important;
}
.footer .social-links a {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: var(--gold-500) !important;
}
.footer .social-links a:hover {
    background: var(--gold-500) !important;
    color: #fff !important;
    border-color: var(--gold-500) !important;
}

/* ===================================
   WIDGETS (WHATSAPP & SCROLL TOP)
   =================================== */
.fixed-whatsapp-btn {
    position: fixed;
    bottom: 30px; 
    right: 30px;
    background-color: var(--success-500) !important;
    color: #fff !important;
    box-shadow: var(--shadow-xl) !important;
    width: 60px; 
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 1050;
    transition: var(--transition-base);
}
.fixed-whatsapp-btn:hover {
    background-color: var(--success-600) !important;
    transform: scale(1.1) translateY(-5px) !important;
    color: #fff !important;
}

.scroll-to-top {
    position: fixed;
    background: var(--primary-900) !important;
    color: var(--gold-500) !important;
    bottom: 100px;
    right: 35px;
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1050;
    box-shadow: var(--shadow-md) !important;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    text-decoration: none;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background: var(--gold-500) !important;
    color: #fff !important;
    transform: translateY(-4px);
}
