@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Poppins:wght@600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: linear-gradient(to bottom, #fefefe, #f3e9dc);
    color: #333;
}

.container {
    max-width: 900px;
    margin: 3rem auto;
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    letter-spacing: 1.5px;
    color: #800000;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

th {
    background-color: #fafafa;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #444;
    padding: 16px;
}

td {
    background: #fff;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 2.1rem;
    font-weight: 700;
}

tr {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

tr:hover td {
    background: #fef6e4;
    transition: background 0.3s ease;
}

#guncellemeZamani {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #777;
}

.fark-ok {
    font-size: 2rem;
    animation: fadeOut 10s forwards;
}

.green-ok {
    color: green;
}

.red-ok {
    color: red;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.phone-btn {
    background-color: #800000;
    color: white;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.instagram-btn {
    background-color: #e1306c;
    color: white;
}

.action-button img {
    height: 28px;
    margin-right: 12px;
}

.drawer {
    position: relative;
    z-index: 10000;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    background: #800000;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10001;
}

.drawer-nav {
    position: fixed;
    top: 0;
    left: -250px;
    width: 220px;
    height: 100%;
    background: #fff5f5;
    border-right: 2px solid #800000;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    padding-top: 60px;
    transition: left 0.3s ease-in-out;
}

.drawer-nav.open {
    left: 0;
}

.drawer-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #800000;
    font-weight: 600;
    border-bottom: 1px solid #e1cfcf;
}

.drawer-nav a:hover {
    background: #ffeaea;
}

/* Mesai dışı uyarı animasyonu */
@keyframes pulseUyari {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    .action-button {
        font-size: 0.9rem !important;
        padding: 10px 14px !important;
        min-width: unset;
    }

    .action-button img {
        height: 18px;
        margin-right: 6px;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    tr {
        margin-bottom: 1rem;
    }

    td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        font-size: 1.7rem;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 1rem;
        font-weight: bold;
        text-align: left;
        color: #999;
        font-size: 1.3rem;
    }

    th {
        display: none;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .drawer {
        position: relative;
        z-index: 10000;
    }

    .menu-toggle {
        position: fixed;
        top: 10px;
        left: 10px;
        font-size: 1.2rem;
        background: #800000;
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 6px;
        cursor: pointer;
        z-index: 10001;
    }

    .drawer-nav {
        position: fixed;
        top: 0;
        left: -250px;
        width: 200px;
        height: 100%;
        background: #fff5f5;
        border-right: 2px solid #800000;
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 60px;
        transition: left 0.3s ease-in-out;
    }

    .drawer-nav.open {
        left: 0;
    }

    .drawer-nav a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: #800000;
        font-weight: 600;
        border-bottom: 1px solid #e1cfcf;
    }

    .drawer-nav a:hover {
        background: #ffeaea;
    }
}

.zekat-button {
    display: inline-block;
    padding: 1.4rem 2.4rem;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    margin-bottom: 1rem;
}

.varlik-button {
    display: inline-block;
    padding: 1.4rem 2.4rem;
    background-color: #c89e50;
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    margin-bottom: 1rem;
}

.gecmisfiyat-button {
    display: inline-block;
    padding: 1.4rem 2.4rem;
    background-color: #d0ebff;
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    margin-bottom: 1rem;
}

.acilis-bildirim {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: linear-gradient(135deg, #fff9e6, #ffeecb);
    color: #333;
    padding: 2rem 3rem;
    border: 3px solid #c89e50;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    transition: all 0.6s ease;
    text-align: center;
    max-width: 90%;
    line-height: 1.6;
}

.mesai-uyari-kapsayici {
    display: none;
    text-align: center;
    margin: 2rem auto;
    max-width: 900px;
}

.mesai-uyari-icerik {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    border: 2px solid #f1c40f;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    animation: pulseUyari 2s infinite;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    font-weight: 600;
    color: #856404;
}

#guncellemeZamani {
    text-align: center;
    margin: 3rem 0 1rem 0;
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.fiyat-aciklama {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-top: 2rem;
}

.hakkimizda-kutu {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: #fffdf7;
    border: 1px solid #eee;
    border-radius: 12px;
    text-align: center;
}

.hakkimizda-baslik {
    color: #c89e50;
    margin-bottom: 1rem;
}

.hakkimizda-metin {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
}

.iletisim-kutu {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

.iletisim-baslik {
    margin-bottom: 0.8rem;
    color: #c89e50;
}

.iletisim-satir {
    margin: 0.2rem 0;
}

.iletisim-harita a {
    text-decoration: none;
    color: #007bff;
}

.iletisim-harita {
    margin-top: 1rem;
}

.gecmis-kutular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.gecmis-kutu {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: #fffef5;
    border: 1px solid #e6ce7f;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 0.8rem;
}

.gecmis-baslik {
    text-align: center;
    color: #c89e50;
}

.gecmis-tablo {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.gecmis-thead {
    background: #fff3cd;
}

.gecmis-hucre {
    border: 1px solid #ddd;
    padding: 3px;
    font-size: 0.8rem;
}

.iletisim-menu {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.a2hs-buton {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 24px;
    font-size: 1.4rem;
    border: none;
    border-radius: 35px;
    background-color: #c89e50;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    display: none;
}

.bolum-kapsayici {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: #fffdf7;
    border: 1px solid #eee;
    border-radius: 12px;
    text-align: center;
}

.bolum-baslik {
    color: #c89e50;
    margin-bottom: 1rem;
}

.bolum-icerik {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
}

.bolum-vurgu {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
}

.iletisim-bolumu {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

.iletisim-baslik {
    margin-bottom: 0.8rem;
    color: #c89e50;
}

.iletisim-detay {
    margin: 0.2rem 0;
}

.iletisim-detay-pazar {
    margin: 0.2rem 0;
    color: #b00;
}

.iletisim-harita {
    margin-top: 1rem;
}

.iletisim-harita a {
    text-decoration: none;
    color: #007bff;
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #c89e50 0%, #a47e34 100%);
}

.text-gold {
    color: #c89e50 !important;
}

.spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Altın degrade arka plan */
.bg-gold-gradient {
    background: linear-gradient(135deg, #c89e50 0%, #a47e34 100%);
}

.text-gold {
    color: #c89e50 !important;
}

.spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Fiyat kartları */
td {
    background: #fff;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 2.1rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

td:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(200, 158, 80, 0.2);
}

/* Responsive ayar (isteğe bağlı) */
@media (max-width: 768px) {
    h1.display-5 {
        font-size: 2rem;
    }

    td {
        font-size: 1.5rem;
        padding: 16px;
    }
}

/* === Karanlık Mod Stilleri === */
body.dark-mode {
    background-color: #1e1e1e !important;
    color: #f5f5f5 !important;
}

body.dark-mode .navbar,
body.dark-mode .bg-white {
    background-color: #2c2c2c !important;
}

body.dark-mode .text-gold {
    color: #ffdd7a !important;
}

body.dark-mode footer {
    background-color: #111 !important;
}

body.dark-mode a,
body.dark-mode .btn,
body.dark-mode .nav-link {
    color: #ffdd7a !important;
}

body.dark-mode td {
    background-color: #2c2c2c;
    color: #fff;
    border-color: #444;
}

body.dark-mode .btn-outline-primary {
    border-color: #ffdd7a;
    color: #ffdd7a;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
    /* ya da #333 açık temada */
}