/* ==========================================================================
   PNR Otomasyon - Premium CSS Stil Sayfası (Lüks Villa Konsepti)
   ========================================================================== */

/* 1. Tasarım Değişkenleri & Tokenler */
:root {
    --bg-primary: #07090e;      /* En koyu arka plan */
    --bg-secondary: #0d111b;    /* Koyu gri/lacivert kart arka planı */
    --bg-tertiary: #131929;     /* Açık koyu ton */
    --accent: #a88b57;          /* Lüks altın/bronz rengi */
    --accent-light: #c5a875;    /* Açık altın */
    --text-primary: #f1f5f9;    /* Parlak beyaz metin */
    --text-secondary: #94a3b8;  /* Gri metin */
    --text-muted: #64748b;      /* Soluk gri metin */
    --cyan: #00f0ff;            /* Teknoloji mavisi */
    --cyan-glow: rgba(0, 240, 255, 0.4);
    --yellow: #ffb700;          /* Sıcak ışık rengi */
    --yellow-glow: rgba(255, 183, 0, 0.4);
    --red: #ff3c00;             /* Tehlike/Ateş rengi */
    
    /* Cam Efekti (Glassmorphism) */
    --glass-bg: rgba(13, 17, 27, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Temel Sıfırlamalar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img, svg {
    max-width: 100%;
    height: auto;
}

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

/* 3. Global Ortak Bileşenler */
.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 139, 87, 0.15);
    border: 1px solid rgba(168, 139, 87, 0.3);
    color: var(--accent-light);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #836735 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(168, 139, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 139, 87, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Bölüm Başlığı Düzeni */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .sub-title {
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header .section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.title-bar {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.title-bar.small {
    margin: 10px auto 30px;
    width: 40px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
}

/* 4. Header & Navigasyon Tasarımı */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1320px;
    padding-left: 18px;
    padding-right: 18px;
}

/* Logo Stili */
.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo-mark-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(213, 164, 0, 0.22));
}

.logo-wordmark {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-text-pnr {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    color: #fff;
    letter-spacing: -0.03em;
}

.logo-text-otomasyon {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 20px;
    color: var(--accent-light);
    letter-spacing: 0.1em;
}

.logo-subtext {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: -3px;
    font-weight: 500;
}

/* Menü Linkleri */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.cta-btn-outline:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 10px rgba(168, 139, 87, 0.4);
}

.cta-btn-whatsapp {
    background: #25d366;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.cta-btn-whatsapp:hover {
    background: #128c7e;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* 5. Hero Bölümü Tasarımı (Tam Ekran Simülatör) */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #07090e;
    z-index: 5;
}

/* Kurumsal Giriş / Tanıtım Bölümü */
.intro-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #07090e, #0c0f17);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 6;
}

.intro-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.intro-text .section-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 15px;
    margin-bottom: 25px;
    text-align: left;
}

.intro-text .section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.6;
    text-align: left;
    max-width: none;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* 6. İnteraktif Villa Odası Simülatör Panel Stilleri */
.hero-dashboard-card {
    position: absolute;
    bottom: 40px;
    right: 5%;
    width: 42%;
    max-width: 580px;
    background: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transition: var(--transition-smooth);
}

.hero-dashboard-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.sim-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: simPulse 2s infinite;
}

@keyframes simPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.sim-status {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    color: var(--cyan);
    font-weight: 600;
}

/* Oda Kutusu (Tam Ekran Simülatör) */
.room-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('luxury_villa_room.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
    transition: var(--transition-smooth);
}

.room-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(7, 9, 14, 0.05) 0%, rgba(7, 9, 14, 0.28) 45%, rgba(7, 9, 14, 0.5) 100%),
        linear-gradient(0deg, rgba(7, 9, 14, 0.48) 0%, transparent 44%);
    pointer-events: none;
    z-index: 2;
}

/* =====================================================
   TEK KANATLI MOTORLU PERDE (Sağdan sola kapanır)
   Resimdeki cam cephe: sol: 0% — sağ: ~65%
   ===================================================== */

/* Perde çerçevesi — CAM PENCERE ALANI: sol %2, üst %5, sag %68, alt %87 */
.curtain-track {
    position: absolute;
    left: 2%;         /* Cam çerçevesinin başlangıcı */
    top: 5%;          /* İlk cam çerçevesi */
    width: 66%;       /* 2% -> 68% arasi */
    height: 82%;      /* 5% -> 87% arasi */
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
    display: none;
}

/* Üst ray bandı */
.curtain-rail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom,
        rgba(60,50,40,0.85) 0%,
        rgba(90,75,60,0.6)  60%,
        transparent 100%
    );
    z-index: 6;
}

/* Ana perde kumaşı — yukarıdan aşağıya iner (rol stor perde gibi) */
.curtain-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(0);          /* Açık: tamamen yukarıda toplu */
    transform-origin: top center;  /* Yukarıdan inecek */
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);   /* Yavaş ve yumuşak */
    pointer-events: auto;
    cursor: pointer;
    /* Gerçekçi krem/bej keten doku — dikey katlanma çizgileri */
    background: repeating-linear-gradient(
        to right,
        rgba(245, 240, 228, 0.98) 0px,
        rgba(228, 222, 208, 0.94) 18px,
        rgba(250, 246, 236, 0.99) 34px,
        rgba(233, 227, 212, 0.93) 50px,
        rgba(245, 240, 228, 0.98) 66px,
        rgba(225, 218, 202, 0.92) 82px,
        rgba(250, 246, 236, 0.99) 98px,
        rgba(238, 232, 218, 0.95) 114px
    );
    box-shadow: 0 8px 40px rgba(0,0,0,0.3), inset 0 -6px 20px rgba(0,0,0,0.08);
    z-index: 5;
}

/* Kapalı durum: perde tamamen aşağı iner → pencereyi örter */
.curtain-panel.closed {
    transform: scaleY(1);
}

/* Şömine Alev Maskesi — Grid'e göre: left 73%, top 83%, w 21%, h 6% */
.fireplace-mask {
    position: absolute;
    top: 79%;
    left: 72%;
    width: 23%;
    height: 10%;
    background: radial-gradient(ellipse at center, rgba(255, 146, 45, 0.65) 0%, rgba(255, 77, 18, 0.25) 45%, transparent 72%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 9;
    pointer-events: none;
    box-shadow: 0 0 38px rgba(255, 116, 38, 0.42);
}

.fireplace-mask.off {
    opacity: 0;
}

.fireplace-mask:not(.off) {
    opacity: 0.85;
}

/* Ses Sistemi Ses Dalgaları (Sehpanın sol yanında görünür) */
.sound-wave-overlay {
    position: absolute;
    top: 61%;
    left: 5.5%;
    width: 28px;
    height: 36px;
    display: none;    /* Sadece aktifken görünür */
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    z-index: 9;
    pointer-events: none;
}

.sound-wave-overlay.active {
    display: flex;
}

.sound-bar {
    width: 4px;
    border-radius: 3px 3px 0 0;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
    animation: soundBarAnim 0.8s ease-in-out infinite alternate;
}

.sound-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.sound-bar:nth-child(2) { height: 75%; animation-delay: 0.12s; }
.sound-bar:nth-child(3) { height: 100%; animation-delay: 0.24s; }
.sound-bar:nth-child(4) { height: 65%; animation-delay: 0.36s; }
.sound-bar:nth-child(5) { height: 35%; animation-delay: 0.48s; }

@keyframes soundBarAnim {
    from { transform: scaleY(0.4); opacity: 0.6; }
    to   { transform: scaleY(1);   opacity: 1; }
}

/* Akıllı Multimedya / Ayna Ekranı (TV Alanı) */
.tv-screen-overlay {
    position: absolute;
    top: 43.5%;
    left: 83.5%;
    width: 13%;
    height: 20%;
    background: rgba(10, 10, 15, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tv-screen-overlay.on {
    opacity: 1;
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.3);
    background: linear-gradient(135deg, rgba(7, 12, 28, 0.95) 0%, rgba(20, 10, 35, 0.95) 100%);
}

.tv-media-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 8px;
    text-align: center;
    padding: 5px;
}

.tv-media-content i {
    font-size: 14px;
    color: var(--cyan);
}

.pulse-audio {
    animation: pulseAudio 1.2s infinite ease-in-out;
}

@keyframes pulseAudio {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; color: var(--accent-light); }
}

/* Dinamik Aydınlatma Efektleri (Işık Konileri) */
.light-glow-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.chandelier-glow {
    background: radial-gradient(circle at 29% 25%, rgba(255, 183, 0, 0.45) 0%, transparent 35%), radial-gradient(circle at 71% 25%, rgba(255, 183, 0, 0.45) 0%, transparent 35%);
}

.floor-lamp-glow {
    background: radial-gradient(circle at 19% 71%, rgba(255, 230, 180, 0.45) 0%, transparent 30%), radial-gradient(circle at 81% 71%, rgba(255, 230, 180, 0.45) 0%, transparent 30%);
}

.track-light-glow {
    background: radial-gradient(ellipse at 50% 10%, rgba(255, 220, 150, 0.35) 0%, transparent 50%);
}

/* Oda Karartma Katmanı (Dimmer) */
.room-dimmer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
    transition: opacity 0.5s ease;
    z-index: 8;
}

/* Akıllı Intercom Duvar Paneli Stilleri */
.intercom-panel {
    position: absolute;
    left: 25px;
    top: 120px;
    width: 260px;
    background: rgba(10, 12, 22, 0.82);
    border: 2px solid rgba(168, 139, 87, 0.25);
    border-radius: 14px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85), inset 0 0 15px rgba(255, 255, 255, 0.05);
    z-index: 12;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    overflow: visible;
}

.intercom-panel.collapsed {
    transform: translateX(-285px);
}

.intercom-toggle {
    position: absolute;
    right: -45px;
    top: 20px;
    width: 36px;
    height: 36px;
    background: rgba(10, 12, 22, 0.95);
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    z-index: 15;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: none;
}

.intercom-toggle:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent);
}

.intercom-panel.collapsed .intercom-toggle {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent);
}

.intercom-screen {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.intercom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.intercom-logo {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-light);
    font-family: var(--font-heading);
}

.intercom-time {
    font-size: 11px;
    color: var(--text-muted);
}

.intercom-status-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.intercom-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.intercom-status-item i {
    font-size: 14px;
    color: var(--text-muted);
    width: 20px;
    text-align: center;
}

.status-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.status-label {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-value {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

/* Active States */
.intercom-status-item.active i {
    color: var(--cyan);
    text-shadow: 0 0 8px var(--cyan);
}

.intercom-status-item.active .status-value {
    color: var(--cyan);
}

.intercom-actions {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 5px;
}

.int-action-btn {
    flex: 1;
    min-height: 34px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.int-action-btn:hover {
    background: var(--accent);
    border-color: var(--accent-light);
    color: #fff;
}

.intercom-scene-banner {
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--cyan);
}

/* Oda Sıcaklık Aurası */
.room-temp-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 70px rgba(0, 240, 255, 0);
    transition: box-shadow 0.8s ease;
    z-index: 3;
}

.ac-wind-overlay {
    position: absolute;
    inset: 0;
    z-index: 17;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.ac-wind-overlay.active {
    opacity: 1;
}

.ac-wind-overlay::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 42%;
    height: 42%;
    background: radial-gradient(circle at 82% 16%, rgba(0, 240, 255, 0.28), rgba(0, 240, 255, 0.09) 34%, transparent 68%);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.ac-wind-overlay.active::before {
    opacity: 1;
    animation: acCoolMist 2.6s ease-in-out infinite;
}

.ac-wind-overlay span {
    position: absolute;
    top: 16%;
    right: 3%;
    width: 46%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(213, 252, 255, 0.98), rgba(0, 240, 255, 0.72), transparent);
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.9));
    transform: rotate(148deg) translateX(-10%);
    animation: acWindFlow 1.95s ease-in-out infinite;
}

.ac-wind-overlay span:nth-child(2) {
    top: 24%;
    right: 9%;
    width: 40%;
    height: 3px;
    animation-delay: 0.22s;
}

.ac-wind-overlay span:nth-child(3) {
    top: 32%;
    right: 0;
    width: 54%;
    height: 4px;
    animation-delay: 0.44s;
}

.ac-wind-overlay span:nth-child(4) {
    top: 41%;
    right: 14%;
    width: 34%;
    height: 3px;
    animation-delay: 0.66s;
}

@keyframes acWindFlow {
    0% {
        opacity: 0;
        transform: rotate(148deg) translateX(-4%) scaleX(0.32);
    }
    35% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(148deg) translateX(105%) scaleX(1.08);
    }
}

@keyframes acCoolMist {
    0%, 100% {
        transform: translate(0, 0) scale(0.92);
        opacity: 0.55;
    }
    50% {
        transform: translate(-8%, 8%) scale(1.08);
        opacity: 1;
    }
}

/* İnteraktif Otomasyon Rozeti Butonları */
.room-badge {
    position: absolute;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    cursor: pointer;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42), inset 0 0 12px rgba(255,255,255,0.08);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 15;   /* Perdeden (5), dimmer'dan (8) ve tüm katmanlardan üstte */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    gap: 0;
}

.badge-label {
    display: none;
}

.room-badge:hover {
    transform: translateY(-2px) scale(1.08);
    background: rgba(168, 139, 87, 0.82);
    border-color: var(--accent-light);
    box-shadow: 0 0 20px rgba(168,139,87,0.6), inset 0 0 8px rgba(255,255,255,0.1);
}

.room-badge.active {
    background: rgba(0, 200, 220, 0.25);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.5);
}

#badgeLED.active {
    background: rgba(0, 210, 255, 0.3);
    border-color: rgba(140, 246, 255, 0.95);
    color: #b9fbff;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.72), inset 0 0 16px rgba(0, 240, 255, 0.14);
}

.room-badge.active .badge-label {
    color: var(--cyan);
}

/* Rozet pulse animasyonu (aktifken) */
.room-badge.active::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid var(--cyan);
    animation: badgePulse 1.8s ease-out infinite;
    opacity: 0.6;
}

#badgeCamera,
#badgeLED,
#badgeAC,
#badgeSound,
#badgeTV,
#badgeFireplace {
    transform: translate(-50%, -50%);
}

.automation-network {
    position: absolute;
    inset: 100px 4% 36px;
    z-index: 16;
    pointer-events: none;
}

.network-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.network-lines line {
    stroke: rgba(255, 255, 255, 0.62);
    stroke-width: 0.16;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.42));
}

.network-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(328px, 32vw);
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(8, 10, 16, 0.2);
    box-shadow: 0 0 42px rgba(255, 255, 255, 0.12), inset 0 0 34px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
}

.network-home {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 22px rgba(213, 164, 0, 0.16), inset 0 0 18px rgba(255, 255, 255, 0.04);
}

.network-home img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.22));
}

.network-kicker {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.18em;
}

.network-center h1 {
    margin: 6px 0 8px;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.network-center .sim-status {
    margin-bottom: 8px;
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.18);
}

.light-dimmer-control {
    width: min(174px, 88%);
    margin: -1px 0 9px;
    padding: 6px 8px 7px;
    border: 1px solid rgba(0, 240, 255, 0.16);
    border-radius: 8px;
    background: rgba(7, 9, 14, 0.44);
    box-shadow: inset 0 0 18px rgba(0, 240, 255, 0.04);
}

.dimmer-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

.dimmer-topline strong {
    color: var(--cyan);
    font-size: 9px;
}

.light-dimmer-control input[type="range"] {
    width: 100%;
    height: 3px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.95), rgba(168, 139, 87, 0.95));
    outline: none;
    cursor: pointer;
    display: block;
}

.light-dimmer-control input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.72);
}

.light-dimmer-control input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.72);
}

.center-scenes {
    width: 100%;
    max-width: 214px;
    pointer-events: auto;
    gap: 8px;
}

.center-scenes .btn-scene {
    background: rgba(7, 9, 14, 0.48);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.82);
    padding: 7px 5px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38);
}

.center-scenes .btn-scene.active {
    background: rgba(168, 139, 87, 0.95);
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.network-node {
    position: absolute;
    pointer-events: auto;
}

.node-light { top: 17%; left: 50%; }
.node-camera { top: 24%; left: 23%; }
.node-ac { top: 24%; left: 77%; }
.node-sound { top: 58%; left: 20%; }
.node-tv { top: 58%; left: 80%; }
.node-fireplace { top: 82%; left: 50%; }

@keyframes badgePulse {
    0%   { transform: scale(1);    opacity: 0.6; }
    70%  { transform: scale(1.5);  opacity: 0; }
    100% { transform: scale(1.5);  opacity: 0; }
}

/* Alt Kontrol Paneli (Dashboard) */
.simulator-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
    margin-top: 16px;
}

.dashboard-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.control-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.text-yellow { color: var(--yellow); }
.text-cyan { color: var(--cyan); }

/* Dimmer Kaydırıcısı */
.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-val-lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.sim-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-light);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s;
}

.sim-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Termostat Buton Grubu */
.temp-control-buttons {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 3px;
}

.btn-temp {
    background: none;
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.btn-temp:hover {
    background: rgba(255, 255, 255, 0.1);
}

.temp-display {
    flex: 1;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

/* Senaryo Butonları */
.scene-buttons {
    display: flex;
    gap: 6px;
}

.btn-scene {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 6px 4px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-scene:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-scene.active {
    background: var(--accent);
    border-color: var(--accent-light);
    color: #fff;
    box-shadow: 0 0 10px rgba(168, 139, 87, 0.3);
}

/* 7. CCTV Canlı Kamera Modal Stilleri */
.cctv-modal {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 320px;
    background: rgba(7, 9, 14, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    backdrop-filter: blur(15px);
    z-index: 90;
    overflow: hidden;
    display: none; /* JS ile açılacak */
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
}

.cctv-modal.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cctv-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.cctv-title {
    font-size: 11px;
    font-weight: 700;
    color: #ff3c00;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cctv-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cctv-close:hover {
    color: #fff;
}

.cctv-body {
    padding: 12px;
    position: relative;
}

.cctv-rec-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.rec-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ff0000;
    animation: cameraBlink 1s infinite;
}

.cctv-video-sim {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px stroke rgba(255,255,255,0.05);
}

.cctv-feed-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: saturate(0.78) contrast(1.15) brightness(0.82);
}

.cctv-feed-image:not([src]),
.cctv-feed-image[src=""] {
    display: none;
}

.cctv-grid-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 140, 37, 0.05) 50%, rgba(0,0,0,0) 50%), linear-gradient(90deg, rgba(18, 140, 37, 0.05) 50%, rgba(0,0,0,0) 50%);
    background-size: 8px 8px;
    pointer-events: none;
    z-index: 3;
}

.cctv-timestamp {
    position: absolute;
    bottom: 8px;
    right: 8px;
    color: #a3cca3;
    font-family: monospace;
    font-size: 9px;
    background: rgba(0,0,0,0.5);
    padding: 1px 4px;
    border-radius: 2px;
    z-index: 4;
}

.cctv-camera-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    color: #a3cca3;
    font-family: monospace;
    font-size: 9px;
    z-index: 4;
}

.cctv-svg {
    position: relative;
    z-index: 2;
}

.cctv-scan-light {
    animation: cctvScanLight 5s infinite alternate ease-in-out;
}

@keyframes cctvScanLight {
    0% { cx: 160px; cy: 60px; r: 12px; }
    100% { cx: 250px; cy: 150px; r: 25px; }
}

.cctv-footer-info {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* 8. Hizmetlerimiz Bölümü Stilleri */
.services-section {
    background-color: var(--bg-secondary);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--cyan) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 139, 87, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 139, 87, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(168, 139, 87, 0.1);
    color: var(--accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(168, 139, 87, 0.15);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-bullets {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.service-bullets li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-bullets li i {
    color: var(--accent-light);
    font-size: 12px;
}

/* 9. Çözümlerimiz ve Teslim Edilen Projeler */
.solutions-section {
    background-color: var(--bg-primary);
    padding: 100px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    position: relative;
    min-height: 285px;
    padding: 34px 28px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    overflow: hidden;
}

.solution-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    opacity: 0.75;
}

.solution-number {
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
}

.solution-card i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 1px solid rgba(168, 139, 87, 0.2);
    border-radius: 10px;
    background: rgba(168, 139, 87, 0.1);
    color: var(--accent-light);
    font-size: 22px;
}

.solution-card h3 {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

.projects-section {
    background-color: var(--bg-secondary);
    padding: 100px 0;
}

.project-highlight-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 24px;
}

.project-highlight-card {
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(7, 9, 14, 0.62);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.project-highlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 240, 255, 0.05), transparent 45%),
        linear-gradient(135deg, rgba(168, 139, 87, 0.18), transparent 48%);
    opacity: 0.9;
}

.project-highlight-card > * {
    position: relative;
    z-index: 1;
}

.project-highlight-card.featured {
    background: linear-gradient(135deg, rgba(168, 139, 87, 0.24), rgba(7, 9, 14, 0.72));
}

.project-tag {
    align-self: flex-start;
    padding: 6px 10px;
    border: 1px solid rgba(168, 139, 87, 0.28);
    border-radius: 999px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: auto;
    background: rgba(7, 9, 14, 0.44);
}

.project-highlight-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.project-highlight-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.project-highlight-card span:not(.project-tag) {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
}

.projects-cta-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.page-hero {
    min-height: 420px;
    padding: 150px 0 80px;
    background:
        linear-gradient(90deg, rgba(7, 9, 14, 0.96), rgba(7, 9, 14, 0.62)),
        url('luxury_villa_room.png') center / cover;
    border-bottom: 1px solid var(--glass-border);
}

.page-hero-content {
    max-width: 760px;
}

.page-eyebrow {
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.page-hero h1 {
    font-size: 52px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    max-width: 680px;
}

.project-page-section {
    padding: 90px 0;
    background-color: var(--bg-primary);
}

.project-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    background: var(--glass-bg);
    min-height: 310px;
    display: flex;
    flex-direction: column;
}

.project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.project-card-kicker {
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-card-status {
    color: #85f2c7;
    border: 1px solid rgba(133, 242, 199, 0.24);
    background: rgba(133, 242, 199, 0.08);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.project-card h2 {
    font-size: 26px;
    margin-bottom: 14px;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 22px;
}

.project-deliverables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin-top: auto;
}

.project-deliverables li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

.project-deliverables i {
    color: var(--accent-light);
}

.project-contact-strip {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 54px 0;
}

.project-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.project-contact-inner h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.project-contact-inner p {
    color: var(--text-secondary);
}

/* 10. Çözüm Ortakları (Kayan Logo Marquee) Stilleri */
.brands-section {
    background-color: var(--bg-primary);
    padding: 60px 0;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.brands-section-title {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.marquee-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    overflow: clip;
    position: relative;
    padding: 20px 0;
}

/* Sağ ve Sol Karartma Gölgeleri (Sonsuz kayma efekti için) */
.marquee-wrapper::before, .marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary) 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}

.brand-item {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    cursor: default;
}

.brand-item:hover {
    color: var(--accent-light);
    text-shadow: 0 0 10px rgba(168, 139, 87, 0.3);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.affiliates-section {
    background-color: var(--bg-secondary);
    padding: 100px 0;
    border-bottom: 1px solid var(--glass-border);
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.affiliate-card {
    min-height: 250px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 34px;
    background:
        linear-gradient(135deg, rgba(168, 139, 87, 0.14), transparent 46%),
        rgba(7, 9, 14, 0.58);
    position: relative;
    overflow: hidden;
}

.affiliate-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--accent));
}

.affiliate-mark {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 240, 255, 0.18);
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.affiliate-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.affiliate-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
}

/* 11. Hakkımızda Bölümü Tasarımı */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.about-card-back {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
    border-radius: 20px;
    filter: blur(2px);
    opacity: 0.15;
    z-index: 1;
}

.about-card-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 95%;
    height: 95%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--glass-glow);
    backdrop-filter: blur(20px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-card-front .accent-title {
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.about-card-front h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-card-front p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 15px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feat-item {
    display: flex;
    gap: 15px;
}

.about-feat-item i {
    width: 40px;
    height: 40px;
    background: rgba(168, 139, 87, 0.15);
    color: var(--accent-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.about-feat-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.about-feat-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.about-text-content {
    padding-left: 20px;
}

.about-main-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-text-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 25px;
}

.quote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 35px;
    font-size: 15px;
}

.about-achievements {
    display: flex;
    gap: 30px;
}

.ach-item {
    flex: 1;
}

.ach-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.ach-lbl {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* 12. İletişim Bölümü Stilleri */
.contact-section {
    background-color: var(--bg-secondary);
    padding: 100px 0 60px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 35px;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 15px;
}

.info-item i {
    width: 44px;
    height: 44px;
    background: rgba(168, 139, 87, 0.1);
    color: var(--accent-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.info-item p {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 0;
}

.info-item a:hover {
    color: var(--accent-light);
}

.social-channels {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #fff;
}

.social-icon.wa:hover {
    background-color: #25d366;
    border-color: #25d366;
    box-shadow: 0 0 10px rgba(37,211,102,0.4);
}

.social-icon.mail:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(168,139,87,0.4);
}

.social-icon.phone:hover {
    background-color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0,240,255,0.4);
}

/* İletişim Form Kartı */
.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--glass-glow);
    backdrop-filter: blur(20px);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.form-sub {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-hidden {
    display: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 8px rgba(168, 139, 87, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select option {
    background-color: var(--bg-secondary);
    color: #fff;
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent) 0%, #836735 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 139, 87, 0.3);
    margin-top: 10px;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 139, 87, 0.5);
}

.btn-submit i {
    font-size: 14px;
}

/* 13. Footer / Alt Bilgi */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-designer {
    font-weight: 500;
    color: var(--accent-light);
}

/* ==========================================================================
   14. Mobil Uyumluluk (Responsive Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding-top: 120px;
        padding-bottom: 50px;
        background: #07090e;
    }
    
    .room-container {
        position: relative;
        order: 1;
        width: 95%;
        margin: 30px auto;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        height: auto;
    }

    .automation-network {
        inset: 0;
    }

    .network-center {
        width: min(300px, 42vw);
    }

    .intercom-panel {
        position: relative;
        order: 2;
        left: auto;
        top: auto;
        width: 95%;
        max-width: 640px;
        margin: 0 auto 15px;
        transform: none;
    }

    .intercom-panel.collapsed {
        transform: none;
    }

    .intercom-toggle {
        right: 16px;
        top: -18px;
    }
    
    .hero-dashboard-card {
        position: relative;
        order: 3;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 95%;
        max-width: none;
        margin: 15px auto;
        box-shadow: var(--glass-glow);
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .solutions-grid,
    .project-highlight-grid,
    .project-page-grid,
    .affiliate-grid {
        grid-template-columns: 1fr;
    }

    .intro-container {
        grid-template-columns: 1fr;
    }

    .intro-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text-content {
        padding-left: 0;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .project-contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 76px;
        gap: 12px;
    }

    .logo-text-pnr {
        font-size: 21px;
    }

    .logo-text-otomasyon {
        font-size: 16px;
        letter-spacing: 0.08em;
    }

    .logo-mark-img {
        width: 34px;
        height: 34px;
    }

    .logo-subtext {
        max-width: 210px;
        line-height: 1.35;
    }

    .nav-menu {
        display: none; /* Mobilde hamburger menü ile açılacak */
    }

    .nav-actions {
        gap: 8px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .intro-stats {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .simulator-dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intercom-screen {
        padding: 16px;
    }

    .intercom-status-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .intercom-status-item {
        padding: 9px;
    }

    .intercom-actions {
        gap: 6px;
    }
}

@media (max-width: 520px) {
    .container {
        padding: 0 16px;
    }

    .header {
        background: rgba(7, 9, 14, 0.9);
    }

    .nav-actions .cta-btn-outline,
    .nav-actions .cta-btn-whatsapp {
        display: inline-flex;
        align-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 10px;
        justify-content: center;
        font-size: 0;
        flex: 0 0 44px;
        overflow: hidden;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    }

    .nav-actions .cta-btn-outline i,
    .nav-actions .cta-btn-whatsapp i {
        font-size: 18px;
        margin: 0;
        line-height: 1;
    }

    .cta-btn-outline {
        background: rgba(168, 139, 87, 0.08);
    }

    .cta-btn-whatsapp {
        background: linear-gradient(135deg, #39d97b 0%, #23b95f 100%);
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-section {
        min-height: auto;
        padding-top: 96px;
        padding-bottom: 26px;
    }

    .room-container {
        width: calc(100% - 24px);
        margin: 18px auto 0;
        aspect-ratio: 4 / 5;
        background-position: 63% center;
    }

    .intro-section,
    .services-section,
    .solutions-section,
    .projects-section,
    .project-page-section,
    .affiliates-section,
    .about-section,
    .contact-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .intro-text .section-title,
    .section-header .section-title,
    .about-main-title,
    .page-hero h1,
    .contact-info h2 {
        font-size: 30px;
        line-height: 1.18;
        letter-spacing: 0;
    }

    .page-hero {
        min-height: 360px;
        padding: 122px 0 56px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .solution-card,
    .project-highlight-card,
    .project-card,
    .affiliate-card {
        padding: 24px;
        min-height: auto;
    }

    .affiliate-card h3 {
        font-size: 25px;
    }

    .project-deliverables {
        grid-template-columns: 1fr;
    }

    .intro-desc,
    .section-desc,
    .about-text-content p,
    .contact-info p {
        font-size: 15px;
        line-height: 1.65;
    }

    .about-container {
        gap: 36px;
    }

    .about-visual {
        aspect-ratio: auto;
        max-width: none;
    }

    .about-card-back {
        inset: 10px;
        width: auto;
        height: auto;
    }

    .about-card-front {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 26px;
        justify-content: flex-start;
    }

    .about-card-front h2 {
        font-size: 26px;
        line-height: 1.22;
    }

    .about-card-front p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .about-features {
        gap: 18px;
    }

    .about-feat-item {
        align-items: flex-start;
    }

    .about-feat-item h4 {
        font-size: 15px;
        line-height: 1.3;
    }

    .about-feat-item p {
        font-size: 13px;
        line-height: 1.55;
    }

    .about-achievements {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ach-item {
        padding: 16px;
        border: 1px solid var(--glass-border);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.02);
    }

    .ach-num {
        font-size: 30px;
    }

    .room-badge {
        width: 46px;
        height: 46px;
        font-size: 16px;
    }

    .network-center {
        width: 206px;
        min-height: 206px;
        padding: 18px;
    }

    .network-home {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .network-home img {
        width: 40px;
        height: 40px;
    }

    .network-kicker {
        font-size: 8px;
        margin-top: 4px;
        line-height: 1.2;
    }

    .network-center h1 {
        font-size: 16px;
        line-height: 1.18;
        margin: 6px 0 7px;
    }

    .network-center .sim-status {
        margin-bottom: 7px;
        padding: 5px 10px;
        line-height: 1.2;
    }

    .light-dimmer-control {
        width: 142px;
        margin-bottom: 7px;
        padding: 5px 7px 6px;
    }

    .dimmer-topline {
        margin-bottom: 3px;
        font-size: 7px;
    }

    .dimmer-topline strong {
        font-size: 8px;
    }

    .center-scenes {
        max-width: 166px;
        gap: 4px;
    }

    .center-scenes .btn-scene {
        font-size: 9px;
        padding: 6px 3px;
    }

    .network-lines line {
        stroke-width: 0.22;
    }

    .node-camera { top: 24%; left: 19%; }
    .node-ac { top: 24%; left: 81%; }
    .node-sound { top: 58%; left: 16%; }
    .node-tv { top: 58%; left: 84%; }

    .intercom-panel,
    .hero-dashboard-card {
        width: calc(100% - 24px);
    }

    .intercom-status-list {
        grid-template-columns: 1fr;
    }

    .intercom-status-item {
        min-height: 46px;
    }

    .hero-dashboard-card {
        padding: 18px;
    }

    .simulator-header {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .scene-buttons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobil Menü Aktif Durumu */
.nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--glass-border);
    padding: 24px;
    gap: 20px;
    z-index: 99;
}
