/* style.css - V3.0 Final Luxury Edition */

:root {
    --bg-color: #0f0f0f;
    /* Daha derin siyah */
    --card-bg: #1e1e1e;
    --text-color: #f0f0f0;
    --gold-primary: #d4af37;
    /* Gerçek Altın Rengi */
    --gold-dark: #aa8c2c;
    --gold-light: #f9df8a;
    --border-color: rgba(212, 175, 55, 0.3);
    --trend-up: #4cd964;
    --trend-down: #ff3b30;
    --erzurum-blue: #1E3A8A;
}

body {
    margin: 0;
    padding: 0;
    color: var(--text-color);
    font-family: 'Lora', serif;
    background: radial-gradient(circle at top center, #2a2a2a 0%, #0f0f0f 80%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === HEADER & NAV === */
.main-header {
    background-color: rgba(15, 15, 15, 0.95);
    border-bottom: 2px solid var(--gold-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a,
.main-nav button {
    color: #fff;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    padding: 8px 12px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.main-nav a:hover,
.main-nav button:hover {
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.main-nav a i,
.main-nav button i {
    margin-right: 8px;
}

/* === MAIN CONTENT === */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* KARTLAR */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: linear-gradient(145deg, #252525, #1a1a1a);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
}

.card h2 {
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.card table {
    width: 100%;
    border-collapse: collapse;
}

.card table td {
    padding: 10px 0;
    font-size: 1.2rem;
}

.card table td.label {
    text-align: left;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #ccc;
}

.card table td:not(.label) {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-align: right;
}

/* === FOOTER V2 === */
.main-footer-v2 {
    background-color: #0a0a0a;
    border-top: 3px solid var(--gold-primary);
    margin-top: auto;
    padding-top: 50px;
    color: #999;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-bottom-bar {
    background-color: #000;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #222;
}

/* === MODAL STYLES (GENEL) === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #1e1e1e;
    border: 2px solid var(--gold-primary);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
}

.modal-content h2 {
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    text-align: center;
    margin-top: 0;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.modal-close-btn:hover {
    color: var(--gold-primary);
}

/* === YÜZÜK ÖLÇÜSÜ ÖZEL STİLLERİ === */
.ring-step {
    text-align: center;
}

.step-desc {
    font-weight: bold;
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.step-info {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
}

.calibration-area,
.measurement-area {
    height: 250px;
    background-color: #2a2a2a;
    border: 1px dashed #555;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-box {
    background: linear-gradient(45deg, #1E3A8A, #3b82f6);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    /* JS ile width/height atanacak */
}

.ring-circle {
    border: 3px solid var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    /* JS ile width/height atanacak */
}

.gold-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #333;
    outline: none;
}

.gold-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gold-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.ring-result-display {
    position: absolute;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 15px;
    border-radius: 20px;
}

/* === BUTTONS & INPUTS === */
.calc-button-inside {
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-dark));
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: 'Cinzel', serif;
}

.calc-button-inside:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.total-calculator-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
    z-index: 900;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.total-calculator-fab:hover {
    transform: rotate(15deg) scale(1.1);
}

/* === MOBIL UYUMLULUK === */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
    }

    .main-nav li {
        margin: 5px 0;
    }

    .calibration-area,
    .measurement-area {
        height: 200px;
    }

    .card-box {
        transform: scale(0.8);
    }

    /* Mobilde sığması için */
    .total-calculator-fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
/* === ACİL KURTARMA VE DÜZENLEME KODLARI === */

/* 1. Tüm resimleri kapsayıcıya sığdır (Patlamayı Önler) */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* 2. Dükkan Fotoğrafını Sınırla */
.header-row,
.store-photo {
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 20px auto;
}

/* 3. Tepedeki Logoyu Sınırla */
.top-logo {
    width: 80px !important;
    /* Logoyu küçültür */
    height: 80px !important;
    border-radius: 50%;
    border: 2px solid #d4af37;
    margin: 0 auto;
    display: block;
}

/* 4. Başlıkları Ortalayıp Düzelt */
h1.main-title {
    font-size: 2rem !important;
    /* Mobilde çok büyümesin */
    margin-top: 10px;
    text-align: center;
}

/* 5. Altın Fiyat Kutularını Hizala */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 10px;
}

/* === EFSANE BUTON TASARIMI === */

/* Hesapla Butonları - KÜLÇE ALTIN GÖRÜNÜMÜ */
.toggle-calc-button {
    background: linear-gradient(180deg, #f0c978 0%, #d4af37 50%, #a08226 100%);
    color: #1a1a1a;
    font-family: 'Cinzel', serif; /* Marka Fontu */
    font-weight: 800;
    font-size: 0.95rem;
    padding: 10px 0;
    width: 100%; /* Kutuya tam otursun */
    border: 1px solid #8a6d1c;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

/* Üzerine gelince parlama efekti */
.toggle-calc-button:hover {
    background: linear-gradient(180deg, #ffe09e 0%, #eac242 50%, #b89635 100%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6), inset 0 0 10px rgba(255,255,255,0.3);
    transform: translateY(-2px);
    color: #000;
}

/* Tıklayınca içe göçme efekti */
.toggle-calc-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Hesap Makinesi Açılınca Gelen Kutu */
.calc-container {
    background-color: #222;
    border: 1px solid #d4af37;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 15px;
    margin-top: -5px; /* Butonla birleşsin */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    display: none; /* JS ile açılacak */
}

/* Hesap Makinesi İçindeki Inputlar */
.calc-container input {
    width: 100%;
    background: #111;
    border: 1px solid #555;
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-size: 1.1rem;
}
.calc-container input:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

/* Hesap Sonucu */
.calc-result {
    color: #d4af37;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    padding-top: 5px;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

/* === HESAPLAMA KUTUSU ACİL DÜZELTME === */

/* 1. Kartın boyunun uzamasına izin ver */
.card {
    height: auto !important;
    overflow: visible !important; /* İçerik taşarsa gizleme */
}

/* 2. Hesaplama Kutusunu GÖRÜNÜR YAP */
.calc-container {
    /* Varsayılan gizli kalabilir ama JS açınca kesin görünsün */
    background-color: #1a1a1a !important;
    border: 1px solid #d4af37 !important;
    border-radius: 8px;
    padding: 15px !important;
    margin-top: 15px !important;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 99;
}

/* JS 'display: block' eklediğinde bu kurallar devreye girsin */
.calc-container[style*="display: block"], 
.calc-container.active {
    display: block !important;
    min-height: 50px; /* İçerik geç gelse bile kutu görünsün */
    animation: fadeIn 0.3s ease;
}

/* 3. İçindeki yazı ve kutuları düzelt */
.calc-container input, .calc-container select {
    width: 100% !important;
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #555;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 5px;
}

.calc-result {
    color: #d4af37 !important;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-top: 1px dashed #444;
    margin-top: 10px;
}

/* === MOBİL MENÜ KESİN ÇÖZÜM (V5.0) === */

/* Genel Header Ayarı */
.header-container {
    position: relative;
    z-index: 1001;
}

/* MASAÜSTÜNDE (Bilgisayarda) GÖRÜNÜM */
.mobile-top-bar {
    display: none; /* Mobildeki barı gizle */
}
.nav-wrapper {
    display: block; /* Menüyü göster */
}

/* MOBİLDE (Telefonda) GÖRÜNÜM */
@media (max-width: 768px) {
    
    /* 1. Üst Barı Göster (Logo ve Hamburger) */
    .mobile-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: #0f0f0f;
        border-bottom: 1px solid #333;
    }

    .mobile-logo-text {
        font-family: 'Cinzel', serif;
        color: #d4af37;
        font-size: 1.4rem;
        font-weight: bold;
    }

    /* 2. Hamburger Butonu */
    .hamburger-menu {
        background: transparent;
        border: 2px solid #d4af37;
        color: #d4af37;
        font-size: 1.4rem;
        padding: 5px 12px;
        border-radius: 5px;
        cursor: pointer;
    }

    /* 3. MENÜYÜ ZORLA GİZLE (Sorunun Çözümü Burası) */
    .nav-wrapper {
        display: none !important; /* Varsayılan olarak KESİN GİZLE */
        background-color: #111;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 9999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.9);
        border-top: 1px solid #d4af37;
    }

    /* 4. Sadece 'open' sınıfı varsa GÖSTER */
    .nav-wrapper.open {
        display: block !important; /* Açılınca GÖSTER */
    }

    /* Menü Linkleri */
    .main-nav {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #222;
        margin: 0;
    }
    .main-nav a, .main-nav button {
        padding: 15px;
        text-align: center;
        width: 100%;
        display: block;
    }
}


/* === TELEFONU ÇEVİR UYARISI (LANDSCAPE MODE) === */
#orientation-warning {
    display: none; /* Varsayılan gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0f0f0f;
    z-index: 99999; /* Her şeyin üstünde */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #d4af37;
}

#orientation-warning i {
    font-size: 50px;
    margin-bottom: 20px;
    animation: rotate-phone 2s infinite ease-in-out;
}

#orientation-warning h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

#orientation-warning p {
    color: #ccc;
    font-family: 'Roboto', sans-serif;
    max-width: 80%;
}

@keyframes rotate-phone {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(90deg); }
    100% { transform: rotate(0deg); }
}

/* Yüzük Modalı Açıkken ve Ekran Dikse Uyarıyı Göster */
@media screen and (orientation: portrait) {
    body.ring-mode-active #orientation-warning {
        display: flex !important;
    }
    
    /* Arkadaki modalı gizle ki karışmasın */
    body.ring-mode-active #ringCalculatorModal {
        visibility: hidden;
    }
}

/* === EFSANE HESAPLAMA KARTI TASARIMI (V5.5) === */

/* Kapsayıcı Ayarı */
.calc-container {
    background: #111 !important;
    border: 1px solid #d4af37;
    padding: 15px !important;
    border-radius: 0 0 12px 12px;
    margin-top: -5px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    display: none;
    /* JS açacak */
    animation: slideDown 0.3s ease;
}

/* 1. Sekmeler (Tabs) - Satın Al / Bozdur */
.calc-tabs {
    display: flex;
    background: #000;
    border-radius: 8px;
    padding: 3px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

.calc-tab {
    flex: 1;
    background: transparent;
    color: #888;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.calc-tab.active {
    background: #d4af37;
    color: #000;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.calc-tab:hover:not(.active) {
    color: #fff;
}

/* 2. Input Alanı */
.input-area {
    position: relative;
    margin-bottom: 15px;
}

.calc-input {
    width: 100% !important;
    background: #222 !important;
    border: 1px solid #444 !important;
    color: #fff !important;
    padding: 12px 15px !important;
    font-size: 1.2rem !important;
    border-radius: 8px !important;
    outline: none;
    text-align: left;
    /* Sayı solda */
}

.calc-input:focus {
    border-color: #d4af37 !important;
    background: #000 !important;
}

.unit-label {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 0.9rem;
    pointer-events: none;
}

/* 3. Sonuç Alanı */
.result-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(212, 175, 55, 0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed #d4af37;
}

.result-label {
    color: #ccc;
    font-size: 0.9rem;
}

.result-value {
    color: #d4af37;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* === YÜZÜK İÇİN TELEFONU ÇEVİR PERDESİ (KESİN ÇÖZÜM) === */
#orientation-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    /* Tam siyah */
    z-index: 999999;
    /* Her şeyin üstü */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#orientation-warning i {
    font-size: 60px;
    color: #d4af37;
    margin-bottom: 20px;
    animation: rotate-phone 2s infinite ease-in-out;
}

#orientation-warning h3 {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin: 0;
}

#orientation-warning p {
    color: #fff;
    margin-top: 10px;
    font-family: sans-serif;
}

/* Sadece Yüzük Modu Aktifse VE Ekran Dikse Göster */
@media screen and (orientation: portrait) {
    body.ring-mode-active #orientation-warning {
        display: flex !important;
    }

    /* Modalı gizle ki alttan gözükmesin */
    body.ring-mode-active #ringCalculatorModal {
        opacity: 0;
    }
}

/* style.css - V8.0 PREMIUM (Ticker Cleaned) */

:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --gold-primary: #d4af37;
    --text-color: #f0f0f0;
}

body {
    margin: 0; padding: 0;
    font-family: 'Lora', serif;
    background: radial-gradient(circle at top, #1a1a1a 0%, #000 100%);
    color: var(--text-color);
    overflow-x: hidden;
}

/* === HEADER (Ticker Yok) === */
.main-header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid var(--gold-primary);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.header-container {
    width: 100%; max-width: 1300px; margin: 0 auto;
    display: flex; justify-content: center; /* Masaüstünde ortala */
}

.main-nav {
    display: flex; list-style: none; margin: 0; padding: 15px 0;
}
.main-nav li { margin: 0 15px; }
.main-nav a, .main-nav button {
    color: #fff; text-decoration: none; font-family: 'Cinzel', serif;
    background: none; border: none; font-size: 1.1rem; cursor: pointer;
    transition: color 0.3s;
}
.main-nav a:hover, .main-nav button:hover { color: var(--gold-primary); }

/* MOBİL GÖRÜNÜM */
.mobile-top-bar { display: none; }

@media (max-width: 768px) {
    .header-container { display: block; }
    .mobile-top-bar {
        display: flex; justify-content: space-between; align-items: center;
        padding: 15px 20px; background: #000;
    }
    .mobile-logo-text { color: var(--gold-primary); font-family: 'Cinzel', serif; font-size: 1.4rem; }
    .hamburger-menu { color: var(--gold-primary); border: 1px solid var(--gold-primary); padding: 5px 10px; border-radius: 4px; background: none; }
    
    .nav-wrapper {
        display: none; /* Gizli */
        background: #111; position: absolute; top: 100%; left: 0; width: 100%;
        border-bottom: 2px solid var(--gold-primary);
    }
    .nav-wrapper.open { display: block; animation: slideDown 0.3s; }
    .main-nav { flex-direction: column; padding: 0; }
    .main-nav li { margin: 0; border-bottom: 1px solid #333; }
    .main-nav a, .main-nav button { display: block; padding: 15px; width: 100%; text-align: center; }
}

@keyframes slideDown { from {opacity:0; transform:translateY(-10px);} to {opacity:1; transform:translateY(0);} }

/* === KARTLAR & GRID === */
.container { max-width: 1300px; margin: 20px auto; padding: 0 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.card {
    background: var(--card-bg); border: 1px solid #333; border-radius: 12px;
    padding: 20px; text-align: center; position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    height: auto !important; overflow: visible !important; /* Hesap makinesi taşmasın */
}
.card h2 { color: var(--gold-primary); font-family: 'Cinzel', serif; margin-top: 0; border-bottom: 1px solid #333; padding-bottom: 10px; }
.card table { width: 100%; margin-bottom: 15px; }
.card td { padding: 8px 0; font-size: 1.1rem; }
.price-value { font-weight: bold; }

/* === PREMIUM HESAP MAKİNESİ (Kutular) === */
.toggle-calc-button {
    width: 100%; padding: 12px; background: linear-gradient(to bottom, #d4af37, #aa8c2c);
    border: none; border-radius: 6px; color: #000; font-weight: bold; font-family: 'Cinzel', serif;
    cursor: pointer; margin-top: 10px; transition: transform 0.2s;
}
.toggle-calc-button:hover { transform: translateY(-2px); filter: brightness(1.1); }

.calc-container {
    display: none; background: #000; border: 1px solid var(--gold-primary);
    padding: 15px; border-radius: 0 0 10px 10px; margin-top: -5px;
    position: relative; z-index: 50;
}
.calc-container.active { display: block; animation: fadeIn 0.3s; }

.modern-calc-wrapper { border-bottom: 1px dashed #333; padding-bottom: 15px; margin-bottom: 15px; }
.modern-calc-wrapper:last-child { border: none; margin: 0; padding: 0; }

.calc-tabs { display: flex; background: #222; padding: 3px; border-radius: 6px; margin-bottom: 10px; }
.calc-tab { flex: 1; background: none; border: none; color: #888; padding: 8px; cursor: pointer; border-radius: 4px; font-weight: bold; }
.calc-tab.active { background: var(--gold-primary); color: #000; }

.calc-input {
    width: 100%; background: #1a1a1a; border: 1px solid #444; color: #fff;
    padding: 10px; border-radius: 6px; font-size: 1.1rem; box-sizing: border-box;
}
.calc-input:focus { outline: none; border-color: var(--gold-primary); }

.result-area {
    margin-top: 10px; background: #111; padding: 10px; border-radius: 6px; border: 1px solid #333;
}
.res-value { color: var(--gold-primary); font-size: 1.3rem; font-weight: bold; display: block; margin-top: 5px; }

/* Akıllı Asistan (Yeşil/Kırmızı kutular) */
.advisor-box { margin-top: 10px; font-size: 0.9rem; text-align: left; }
.advisor-item { padding: 8px; background: rgba(255,255,255,0.05); margin-bottom: 5px; border-radius: 4px; display: flex; gap: 10px; align-items: center; }
.advisor-item.good { border-left: 3px solid #4cd964; }
.advisor-item.target { border-left: 3px solid #ff3b30; }

/* === ZORUNLU EKRAN DÖNDÜRME (YÜZÜK) === */
#rotate-warning-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 999999; justify-content: center; align-items: center;
    text-align: center; color: var(--gold-primary);
}
.rotate-content i { font-size: 60px; animation: spinPhone 2s infinite; margin-bottom: 20px; }
@keyframes spinPhone { 0% {transform: rotate(0deg);} 50% {transform: rotate(90deg);} 100% {transform: rotate(90deg);} }

/* Yüzük Modalı */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 2000; justify-content: center; align-items: center;
}
.modal-overlay.visible { display: flex; }
.modal-content {
    background: #1a1a1a; border: 2px solid var(--gold-primary); padding: 20px;
    width: 90%; max-width: 500px; border-radius: 10px; position: relative;
    max-height: 90vh; overflow-y: auto;
}
.calibration-area, .measurement-area { background: #fff; height: 250px; display: flex; justify-content: center; align-items: center; border-radius: 8px; margin: 15px 0; overflow: hidden; }
.card-box { background: linear-gradient(135deg, #0d47a1, #1976d2); color: #fff; display: flex; justify-content: center; align-items: center; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.ring-circle { border: 4px solid var(--gold-primary); border-radius: 50%; width: 50px; height: 50px; background: rgba(212, 175, 55, 0.2); }
.gold-slider { width: 100%; -webkit-appearance: none; height: 8px; background: #444; border-radius: 4px; }
.gold-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--gold-primary); border-radius: 50%; cursor: pointer; }

/* === FOOTER === */
.main-footer-v2 { background: #000; border-top: 3px solid var(--gold-primary); padding: 40px 0; margin-top: 50px; color: #888; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.footer-col h4 { color: var(--gold-primary); border-bottom: 1px solid #333; padding-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #888; text-decoration: none; }
.footer-col a:hover { color: #fff; }

.total-calculator-fab {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background: var(--gold-primary); border-radius: 50%; border: none;
    font-size: 24px; cursor: pointer; z-index: 1500;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
}

@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }


/* === EFSANE GENEL HESAPLAYICI (PORTFÖY) TASARIMI === */

/* Modalın Kendisi */
#totalCalculatorModal .modal-content {
    background: #111;
    border: 2px solid #d4af37;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
    width: 95%;
    max-width: 600px;
}

#totalCalculatorModal h2 {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* İşlem Türü Seçimi (Satın Al / Bozdur) */
.calc-transaction-type {
    display: flex;
    background: #000;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 20px;
}

.calc-transaction-type input { display: none; }

.calc-transaction-type label {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    color: #666;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s;
}

.calc-transaction-type input:checked + label {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Giriş Alanları */
.total-calc-form select, .total-calc-form input[type="number"] {
    background: #1a1a1a !important;
    border: 1px solid #444 !important;
    color: #fff !important;
    padding: 15px !important;
    font-size: 1.1rem !important;
    border-radius: 8px !important;
    outline: none;
}

.total-calc-form select:focus, .total-calc-form input:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Liste (Sepet) Görünümü - EFSANE KISIM */
.total-calc-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    max-height: 250px;
    overflow-y: auto;
}

.total-calc-list li {
    background: linear-gradient(90deg, #1a1a1a, #222);
    border-left: 4px solid #d4af37;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.total-calc-list li span {
    font-family: 'Roboto', sans-serif;
    color: #eee;
}

.total-calc-list li strong {
    color: #d4af37;
    font-size: 1.1rem;
    margin-right: 15px;
}

.remove-item-btn {
    background: #330000;
    color: #ff5555;
    border: 1px solid #550000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}
.remove-item-btn:hover { background: #ff0000; color: #fff; }

/* Toplam Tutar Barı */
.total-calc-total {
    margin-top: 20px;
    background: #d4af37;
    color: #000;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.4rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}
.total-calc-total span { color: #000; font-family: 'Roboto', sans-serif; }

/* === ESKİ KALINTILARI TEMİZLEME (KILL SWITCH) === */
.gold-ticker-wrap, 
#liveTicker, 
.ticker-content,
.ticker-item {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Sayfa başındaki gereksiz boşlukları al */
body { padding-top: 0 !important; margin-top: 0 !important; }