/* =====================================================
   İnşaat Dekorasyon ERP v3 - Premium Dark Theme
   Konuşan Servis Bilişim
   Renkler /theme/css'ten gelir
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

:root {
    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: 'Playfair Display', serif;
    --glass: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.08);
    --gold: #FFD700;
    --gold-light: #FFE55E;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* İç sayfalar navbar altına girmesin */
main {
    padding-top: 120px;
}
/* Ana sayfa hero tam ekran — padding kaldır */
main:has(.hero-fullscreen) {
    padding-top: 0;
}
.hero-fullscreen {
    margin-top: -120px;
}

/* ===== NAVBAR ===== */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.site-navbar .nav-link {
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    padding: 0.6rem 1.2rem !important;
    transition: all 0.3s;
    position: relative;
}
.site-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary, #FFD700);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.site-navbar .nav-link:hover::after {
    width: 60%;
}
.navbar-brand img,
.navbar-brand .site-logo {
    height: 150px;
    max-width: 300px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-navbar.scrolled .navbar-brand img,
.site-navbar.scrolled .navbar-brand .site-logo {
    height: 45px;
    max-width: 180px;
}

/* ===== HERO ===== */
.hero-fullscreen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-fullscreen .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}
.hero-fullscreen:hover .hero-bg { transform: scale(1.03); }
.hero-fullscreen .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}
.hero-fullscreen .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-fullscreen .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--primary, #FFD700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2rem;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--primary, #FFD700);
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
}
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    color: #000;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== SECTIONS ===== */
.section-dark { padding: 5rem 0; }
.section-darker { padding: 5rem 0; }
.section-glass {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}
.section-title span {
    display: inline;
}
.section-title span {
    background: linear-gradient(135deg, var(--primary, #FFD700), var(--accent, #FFE55E));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* ===== CARDS ===== */
.premium-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.premium-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s;
}
.premium-card:hover img { transform: scale(1.08); }
.premium-card .card-body {
    padding: 1.5rem;
}
.premium-card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
}
.premium-card .card-text {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.btn-gold {
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    transition: all 0.3s;
}
.btn-gold:hover {
    transform: translateY(-2px);
    color: #000;
}
.btn-outline-gold {
    background: transparent;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s;
}
.btn-outline-gold:hover {
    color: #000;
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 0 2rem;
}
.site-footer a { text-decoration: none; transition: color 0.3s; color: inherit !important; }
.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid currentColor;
    transition: all 0.3s;
}
.footer-social a:hover {
    transform: translateY(-3px);
}

/* ===== WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: wa-float-pulse 3s infinite;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); color: white; box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6); }
.whatsapp-float i { font-size: 1.5rem; }
@keyframes wa-float-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7), 0 0 0 6px rgba(37, 211, 102, 0.1); }
}

/* ===== STATS ===== */
.stat-item { text-align: center; padding: 2rem; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
}
.stat-label { opacity: 0.5; font-size: 0.9rem; margin-top: 0.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1.5rem;
        border-radius: 0 0 16px 16px;
        margin-top: 0.5rem;
        border: 1px solid rgba(255,255,255,0.05);
    }
    .hero-title { font-size: 2.5rem; }
    /* Tablet logo */
    .navbar-brand img,
    .navbar-brand .site-logo {
        height: 100px;
        max-width: 220px;
    }
    .site-navbar.scrolled .navbar-brand img,
    .site-navbar.scrolled .navbar-brand .site-logo {
        height: 40px;
        max-width: 160px;
    }
}

/* ===== MOBİL TEMA — Ayrı dosyada (mobile.css) ===== */
/* 576px altı kurallar mobile.css'te */
.mobile-bottom-nav { display: none; }

/* ===== ARAMA FAB (Hem mobil hem web — sağa yapışık) ===== */
.search-fab-wrapper {
    position: fixed;
    right: 0;
    bottom: 100px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 0;
    flex-direction: row;
}
.search-fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50% 0 0 50%;
    background: var(--primary, #FFD700);
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: -4px 4px 16px rgba(255, 215, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.search-fab-btn:hover {
    box-shadow: -6px 6px 22px rgba(255, 215, 0, 0.5);
}
.search-fab-wrapper.open .search-fab-btn {
    background: var(--accent, #FFE55E);
}
.search-fab-inline {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-fab-wrapper.open .search-fab-inline {
    opacity: 1;
    width: auto;
    overflow: visible;
}
.search-fab-inline form {
    display: flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--primary, #FFD700);
    border-right: none;
    border-radius: 50px 0 0 50px;
    overflow: hidden;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}
.search-fab-inline input {
    width: 280px;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: var(--text-color, #e0e0e0);
    font-size: 1rem;
    outline: none;
}
.search-fab-inline input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.search-fab-inline button {
    background: var(--primary, #FFD700);
    border: none;
    color: #000;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}
.search-fab-inline button:hover {
    background: var(--accent, #FFE55E);
    transform: scale(1.1);
}
/* Arama tag'ları */
.search-fab-tags {
    display: flex;
    gap: 8px;
    padding: 8px 16px 12px;
}
.search-fab-tags a {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: var(--primary, #FFD700);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.search-fab-tags a:hover {
    background: var(--primary, #FFD700);
    color: #000;
    border-color: var(--primary, #FFD700);
    transform: translateY(-1px);
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
    border-radius: 12px;
    backdrop-filter: blur(20px);
    padding: 0.5rem;
}
.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
}
.dropdown-item:hover {
    color: #fff;
}

/* ===== FOOTER MAP RESPONSIVE ===== */
.footer-map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    max-height: 200px;
}
.footer-map-wrapper iframe {
    width: 100% !important;
    height: 200px !important;
    border: 0 !important;
    border-radius: 12px;
    display: block;
}
