/* =========================================
   RATLISS PHOTOGRAPHY - BEETLEMETAL THEME
   ========================================= */

/* --- 1. GENEL AYARLAR & MOBİL UYUMLULUK TEMELİ --- */
:root {
    --neon-green: #7fff00;
    --neon-purple: #9b30ff;
    --blood-red: #cc0000;
    --metal-dark: #111111;
    --metal-light: #333333;
    --text-gray: #d0d0d0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Yatay kaymayı engeller */
    background-color: #050505; /* En derin siyah */
    /* Paslı metal dokusu ve mor/yeşil parlamalar */
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(155, 48, 255, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(127, 255, 0, 0.15), transparent 40%);
    color: var(--text-gray);
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6;
}

/* Dil gizleme mantığı */
body.en-mode .lang-tr { display: none !important; }
body.tr-mode .lang-en { display: none !important; }

/* --- 2. TİPOGRAFİ (METAL & NEON KARIŞIMI) --- */
h1, h2, .logo {
    font-family: 'Rubik Beastly', cursive;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    /* Mor ve Yeşil karışık neon gölge */
    text-shadow: 2px 2px 0px var(--neon-purple), -2px -2px 0px var(--neon-green);
}

h3.sub-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    /* Metalik alt çizgi ve kan kırmızısı vurgu */
    border-bottom: 2px solid var(--metal-light);
    border-left: 5px solid var(--blood-red);
    padding-left: 15px;
    margin: 40px 0 20px 0;
}

/* --- 3. MENÜ (NAVBAR) - MOBİL UYUMLU --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(10, 0, 0, 0.95);
    /* Beetlejuice çizgili alt sınır */
    border-bottom: 3px solid;
    border-image: repeating-linear-gradient(45deg, var(--neon-purple), var(--neon-purple) 10px, var(--neon-green) 10px, var(--neon-green) 20px) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap; /* Mobilde taşarsa alt satıra geç */
}

.logo {
    font-size: 2rem;
    /* Logoda sadece kan kırmızısı vurgu */
    text-shadow: 2px 2px 0px var(--blood-red);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-purple);
}

#lang-toggle {
    background: transparent;
    border: 2px solid var(--metal-light);
    color: var(--text-gray);
    padding: 5px 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

#lang-toggle:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-purple);
}

/* --- 4. HERO BÖLÜMÜ (BEETLEJUICE SAHNESİ) --- */
.hero-section {
    height: 85vh; /* Mobilde ekranı tam kaplamasın, biraz alttan görünsün */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Arka plan: Metal doku üzerine Beetlejuice çizgileri */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        repeating-linear-gradient(90deg, rgba(20,20,20,0.8) 0px, rgba(20,20,20,0.8) 20px, rgba(40,40,40,0.8) 20px, rgba(40,40,40,0.8) 40px),
        linear-gradient(to bottom, var(--metal-dark), #000);
    z-index: -1;
}

/* Mor ve yeşil sis efekti */
.hero-section::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(155,48,255,0.2) 0%, rgba(127,255,0,0.2) 50%, transparent 70%);
    animation: pulse 10s infinite alternate;
    z-index: 0;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    z-index: 2;
    padding: 20px;
    max-width: 90%; /* Mobilde kenarlara yapışmasın */
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    /* Daha agresif neon gölge */
    text-shadow: 3px 3px 0px var(--blood-red), 0 0 20px var(--neon-purple);
}

/* --- BUTONLAR (KAN VE NEON) --- */
.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    /* Kan kırmızısı zemin */
    background-color: var(--blood-red);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: 2px solid var(--blood-red);
    /* Metalik kenar efekti */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: transparent;
    /* Hover'da Beetlejuice renklerine dönüş */
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-purple), inset 0 0 10px var(--neon-purple);
}

/* --- 5. BÖLÜMLER VE GALERİ (MOBİL UYUMLU GRID) --- */
.section-padding {
    padding: 80px 5%;
    /* Metal ızgara arka planı */
    background-color: #080808;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.dark-bg {
    background-color: #050505;
    background-image: none; /* Hakkımda kısmında ızgarayı kaldır */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    /* Başlıklarda mor ağırlıklı gölge */
    text-shadow: 3px 3px 0px var(--metal-light), 0 0 15px var(--neon-purple);
}

.gallery-grid {
    display: grid;
    /* MOBİL İÇİN KRİTİK: En az 280px, sığmazsa 1 sütuna düş */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* METAL ÇERÇEVELER */
.placeholder-item.metal-frame {
    height: 300px;
    background-color: #111;
    /* Yıpranmış metal çerçeve */
    border: 4px solid var(--metal-light);
    box-shadow: inset 0 0 30px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-family: 'Rubik Beastly', cursive;
    font-size: 1.5rem;
    transition: all 0.4s;
    position: relative;
}

/* Üzerine gelince Beetlejuice enerjisi ve kan */
.placeholder-item.metal-frame:hover {
    border-color: var(--neon-green);
    color: #fff;
    /* Yeşil ve Mor dış parlama */
    box-shadow: 0 0 25px var(--neon-green), 0 0 10px var(--neon-purple);
    /* İçeride kan kırmızısı parlama */
    background: radial-gradient(circle, rgba(204,0,0,0.2) 0%, rgba(17,17,17,1) 80%);
}

/* --- 6. İLETİŞİM VE FOOTER --- */
.contact-box {
    text-align: center;
    border: 2px solid var(--metal-light);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(20, 0, 0, 0.3); /* Hafif kırmızımsı şeffaf zemin */
}

.email-link.metal-link {
    font-size: 1.3rem;
    color: var(--neon-green);
    text-decoration: none;
    border-bottom: 2px solid var(--neon-purple);
    transition: all 0.3s;
}

.email-link.metal-link:hover {
    color: var(--blood-red);
    border-color: var(--blood-red);
    text-shadow: 0 0 10px var(--blood-red);
}

footer {
    padding: 30px;
    text-align: center;
    background-color: #000;
    /* Footer'da ince Beetlejuice çizgisi */
    border-top: 3px solid;
    border-image: repeating-linear-gradient(45deg, var(--neon-green), var(--neon-green) 10px, var(--neon-purple) 10px, var(--neon-purple) 20px) 1;
    color: #555;
}

/* =========================================
   MOBİL CİHAZLAR İÇİN ÖZEL KURALLAR
   (Ekran 768px'den küçükse devreye girer)
   ========================================= */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        width: 100%; /* İçerik genişliğini tam yap */
        padding: 0 15px; /* Kenarlardan biraz boşluk */
    }

    .hero-content h1 {
        /* ÇÖZÜM BURADA: */
        /* 1. Boyutu sabit (rem) yerine ekran genişliğine (vw) göre ayarla */
        font-size: 8vw; 
        
        /* 2. Kelimeleri asla ortadan bölme */
        word-break: keep-all; 
        word-wrap: normal;
        
        /* 3. Satır arasını sıkılaştır */
        line-height: 1.1; 
    }

    .hero-section {
        height: auto;
        padding: 120px 0;
    }

    .section-title {
        font-size: 2rem;
        word-break: keep-all; /* Başlıklar da bölünmesin */
    }

    .section-padding {
        padding: 60px 5%;
    }
    
    .contact-box {
        padding: 20px;
    }
}
