/* =========================================
   Variables & General Reset
   ========================================= */
:root {
    --primary-color: #FFC107;
    --primary-hover: #FFA000;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --text-main: #F5F5F5;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(30, 30, 30, 0.7);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    /* Güvenlik: Metin kopyalamayı engelleme */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a, .phone-number {
    -webkit-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   Buttons UI
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-speed);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.btn-outline {
    border-color: var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: #000;
}

.btn-dark {
    background-color: var(--bg-dark);
    color: var(--primary-color);
}

/* =========================================
   Header & Navigation
   ========================================= */
.main-header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color var(--transition-speed);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.support-text {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
}

.phone-number {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* =========================================
   Hero Section Layout
   ========================================= */
.hero-section {
    margin-top: 80px;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(18,18,18,0.85), rgba(18,18,18,0.5)), url('WhatsApp Image 2026-06-23 at 12.56.59 (1).jpeg') center/cover no-repeat;
    position: relative;
}

.badge {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* =========================================
   Features Bar (Glassmorphism)
   ========================================= */
.features-bar {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* =========================================
   Services Section Grid
   ========================================= */
.services-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform var(--transition-speed);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.service-icon-font {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery-section {
    padding: 80px 0;
    background-color: #0A0A0A; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    aspect-ratio: 4/3; 
    background-color: var(--bg-card);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(255, 193, 7, 0.15), transparent);
    opacity: 0;
    transition: opacity var(--transition-speed);
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* =========================================
   About & Contact CTA
   ========================================= */
.about-cta-section {
    padding: 80px 0;
    background-color: #0A0A0A;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section-title-light {
    font-size: 2rem;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.cta-box {
    background-color: var(--primary-color);
    color: #000;
    padding: 40px;
    border-radius: 8px;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.cta-phone i {
    font-size: 2.5rem;
}

.phone-details strong {
    font-size: 1.8rem;
    display: block;
}

/* =========================================
   Footer UI
   ========================================= */
.site-footer {
    text-align: center;
    padding: 25px 0;
    background-color: #050505;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer strong {
    color: var(--primary-color);
}

/* =========================================
   Floating WhatsApp Button
   ========================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all var(--transition-speed);
    text-decoration: none;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    color: #FFF;
}

/* =========================================
   Image Lightbox Modal Settings
   ========================================= */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    max-width: 92%;
    max-height: 86%;
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.25);
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--primary-color);
}

/* =========================================
   100% RESPONSIVE EKRAN AYARLARI (GELİŞMİŞ)
   ========================================= */

/* Tablet ve Küçük Bilgisayar Ekranları İçin */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-title {
        font-size: 3rem;
    }
}

/* Telefonlar ve Dikey Tabletler İçin */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav ul {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transition: left 0.4s ease;
        border-bottom: 2px solid var(--primary-color);
    }

    .main-nav ul.active {
        left: 0;
    }

    /* Sağ üstteki iletişim bilgisini telefonda gizler, menüyü bozmamasını sağlar */
    .header-contact {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Butonları telefonda alt alta ve geniş yap */
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    /* Özellikler çubuğu tasarımını telefona göre ayarla */
    .features-bar {
        margin-top: 0;
        border-radius: 0;
        border: none;
        padding: 30px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Yüzen WhatsApp butonunu telefonda biraz küçült */
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 32px;
    }
    
    .gallery-grid {
        /* Telefonda resimler aşırı küçülmesin diye tek veya iki sütun ayarı */
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Ekstra Küçük Ekranlar İçin (iPhone SE, Dar Androidler) */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Çok küçük telefonda resimler tam genişlikte alt alta */
    }
    
    .services-grid {
        grid-template-columns: 1fr; /* Hizmetler tek sütun alt alta */
    }

    .cta-phone i {
        font-size: 2rem;
    }

    .phone-details strong {
        font-size: 1.5rem;
    }
}