/* -------------------------------------------------------------
   🎨 GLOBAL PROPERTIES & CSS VARIABLES
------------------------------------------------------------- */
:root {
    --primary: #1A73E8;
    --primary-hover: #1557b0;
    --secondary: #00D2FF;
    --dark: #0F172A;
    --light: #F8FAFC;
    --text: #334155;
    --text-light: #64748B;
    --white: #FFFFFF;
    --gold: #F59E0B;
    --font: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------
   RESET & BASE STYLES
------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
}

.section-padding {
    padding: 100px 0;
}

.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }
.text-white { color: var(--white); }
.color-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.w-100 { width: 100%; }

/* Layout Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

.text-white h1, .text-white h2, .text-white h3 { color: var(--white); }

.section-title {
    margin-bottom: 48px;
}
.section-title.text-center { text-align: center; }

.sub-title {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid rgba(15, 23, 42, 0.1);
}
.btn-secondary:hover {
    background-color: var(--dark);
    color: var(--white);
}

/* -------------------------------------------------------------
   🌟 INTRO LOADER
------------------------------------------------------------- */
.intro-loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.intro-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.loader-spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------
   📱 FIXED ACTIONS (WHATSAPP & PHONE)
------------------------------------------------------------- */
.fixed-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}
.action-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: var(--transition);
    text-decoration: none;
}
.action-btn:hover { transform: scale(1.1) translateY(-3px); }
.phone-btn { background-color: var(--primary); }
.whatsapp-btn { background-color: #25D366; }

/* -------------------------------------------------------------
   🧭 HEADER & NAVIGATION
------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 99;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.main-header.scrolled {
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.logo-text { font-weight: 800; font-size: 1.3rem; color: var(--primary); letter-spacing: 1px;}
.logo-sub { font-size: 0.7rem; font-weight: 600; color: var(--dark); letter-spacing: 2px; margin-top: -4px;}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}
.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.btn-nav {
    background-color: var(--dark);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 30px;
}
.btn-nav:hover { background-color: var(--primary); }

.menu-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 6px;
}
.menu-toggle span {
    width: 28px; height: 3px; background-color: var(--dark);
    transition: var(--transition);
}

/* -------------------------------------------------------------
   🚀 HERO SECTION
------------------------------------------------------------- */
.hero-section {
    padding: 180px 0 100px 0;
    background: radial-gradient(circle at 90% 10%, rgba(0, 210, 255, 0.08) 0%, rgba(255,255,255,0) 60%);
}
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(26, 115, 232, 0.08);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 24px; }
.hero-content p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; }

.hero-image-wrap {
    height: 480px;
    background-image: url('./assets/yatak.jpeg'); /* Yedek premium imaj */
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.hero-card-stats {
    position: absolute;
    bottom: 30px; left: -30px;
    background-color: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* -------------------------------------------------------------
   🏢 ABOUT SECTION
------------------------------------------------------------- */
.feature-inline {
    display: flex; gap: 16px; margin-top: 24px;
}
.feature-inline i { color: var(--primary); font-size: 1.5rem; margin-top: 4px; }
.feature-inline h4 { margin-bottom: 4px; }
.feature-inline p { color: var(--text-light); font-size: 0.95rem; }

/* -------------------------------------------------------------
   🛠️ SERVICES SECTION
------------------------------------------------------------- */
.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.08);
    border-color: rgba(26, 115, 232, 0.1);
}
.card-icon {
    width: 64px; height: 64px;
    background-color: rgba(26, 115, 232, 0.05);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}
.service-card:hover .card-icon {
    background-color: var(--primary); color: var(--white);
}
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* -------------------------------------------------------------
   🌓 BEFORE / AFTER SLIDER
------------------------------------------------------------- */
.ba-slider-container {
    max-width: 800px; margin: 0 auto;
}
.ba-slider {
    position: relative; width: 100%; height: 450px;
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.ba-slider .img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
}
.after-img { width: 50%; border-right: 2px solid var(--white); }
.ba-range-slider {
    position: absolute; -webkit-appearance: none; appearance: none;
    width: 100%; height: 100%; background: transparent;
    outline: none; margin: 0; z-index: 10; cursor: ew-resize;
}
.ba-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 40px; height: 40px; background-color: var(--primary);
    border: 4px solid var(--white); border-radius: 50%; cursor: ew-resize;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* -------------------------------------------------------------
   🖼️ GALLERY SECTION
------------------------------------------------------------- */
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.gallery-item {
    border-radius: 16px; overflow: hidden; height: 280px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}
.img-holder {
    width: 100%; height: 100%; background-size: cover; background-position: center;
    transition: var(--transition);
}
.gallery-item:hover .img-holder { transform: scale(1.08); }

/* -------------------------------------------------------------
   💬 TESTIMONIALS SECTION
------------------------------------------------------------- */
.comment-card {
    background-color: var(--white); padding: 32px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
}
.stars { color: var(--gold); margin-bottom: 16px; font-size: 0.9rem;}
.comment-card p { font-style: italic; color: var(--text); margin-bottom: 20px; font-size: 0.95rem; }
.user-info { display: flex; flex-direction: column; }
.user-info strong { color: var(--dark); font-size: 0.95rem; }
.user-info span { color: var(--text-light); font-size: 0.85rem; }

/* -------------------------------------------------------------
   ✉️ CONTACT SECTION & FORM
------------------------------------------------------------- */
.contact-list { list-style: none; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 1.1rem; }
.contact-list i { font-size: 1.25rem; }

.contact-form {
    background-color: rgba(255,255,255,0.03);
    padding: 40px; border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
}
.form-group { margin-bottom: 20px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 14px 20px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; color: var(--white);
    font-family: var(--font); font-size: 0.95rem;
    transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--primary); background-color: rgba(255,255,255,0.08);
}
.contact-form select option { background-color: var(--dark); color: var(--white); }

/* -------------------------------------------------------------
   🏁 FOOTER
------------------------------------------------------------- */
.main-footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.05); background-color: var(--dark); color: var(--text-light); font-size: 0.9rem;}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }

/* -------------------------------------------------------------
   ✨ ANIMATIONS (SCROLL REVEAL)
------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------
   📱 RESPONSIVE DESIGN (MEDIA QUERIES)
------------------------------------------------------------- */
@media (max-width: 992px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-actions { justify-content: center; }
    .hero-image-wrap { height: 350px; }
    .hero-card-stats { left: 20px; }
    
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background-color: var(--white); padding: 40px; transition: var(--transition);
    }
    .main-nav.open { left: 0; }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 24px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}













