/* 
 * Dijital QR Menüm - Ana Stil Dosyası
 * Bütün sayfaların stilleri bu dosyada toplanmıştır.
 */

:root {
    --primary: #D09E45;
    --primary-hover: #b88632;
    --navy: #0e1b2e;
    --light-gray: #f1f5f9;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 16px;
    overflow-x: hidden;
}

/* Header / Navbar */
.site-navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.8rem 1rem;
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    color: #334155 !important;
    font-weight: 500;
    padding: 0.5rem 0.8rem !important;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Screen-size adjustments to prevent menu wrapping */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-link {
        padding: 0.5rem 0.5rem !important;
        font-size: 13.5px;
    }
    .btn-navy-outline, .btn-gold {
        font-size: 13px !important;
        padding: 0.4rem 1rem !important;
    }
    .navbar-brand img {
        max-height: 40px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .nav-link {
        padding: 0.5rem 0.7rem !important;
        font-size: 14.5px;
    }
    .btn-navy-outline, .btn-gold {
        font-size: 14px !important;
        padding: 0.45rem 1.15rem !important;
    }
}

/* Hover Dropdown on Desktop */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 0;
    }
    .navbar-nav .dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
    }
}

.dropdown-menu {
    border: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 8px;
    margin-top: 10px;
}

.dropdown-item {
    color: #334155;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8fafc;
    color: var(--primary);
}

/* Butonlar */
.btn-gold {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    border: 0;
}

.btn-gold:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(208, 158, 69, 0.3);
}

.btn-navy-outline {
    color: var(--navy);
    border: 2px solid var(--navy);
    font-weight: 600;
    border-radius: 30px;
    padding: 0.4rem 1.4rem;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-navy-outline:hover {
    background-color: var(--navy);
    color: #ffffff;
    text-decoration: none;
}

/* Hero / Bölüm Tasarımları */
.section-padding {
    padding: 80px 0;
}

.hero-section {
    background: radial-gradient(circle at 90% 10%, rgba(208, 158, 69, 0.08) 0%, rgba(255, 255, 255, 0) 60%), #ffffff;
    padding: 100px 0 80px 0;
    border-bottom: 1px solid #f1f5f9;
}

.card-custom {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.text-navy {
    color: var(--navy);
}

.text-gold {
    color: var(--primary);
}

.text-primary {
    color: #d09e45 !important;
}

.bg-primary {
    background-color: #d09e45 !important;
}

/* Yardımcı Sınıflar (Helper Classes) */
.max-w-600 {
    max-width: 600px;
}

.lead-content {
    font-size: 1.05rem;
}

.small-text-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; }
.fs-48 { font-size: 48px; }

.icon-box-feature {
    background-color: rgba(208, 158, 69, 0.1);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.border-gold {
    border-color: rgba(208, 158, 69, 0.4) !important;
}

/* Telefon Mockup Arayüzü (Home Sayfası) */
.phone-mockup {
    width: 290px;
    height: 580px;
    border: 12px solid var(--navy);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 22px;
    background: var(--navy);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 20;
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.overlay-glass {
    background: rgba(14, 27, 46, 0.85);
    backdrop-filter: blur(10px);
    width: 90%;
    margin: 0 auto 20px auto;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.absolute-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
}

/* Accordion Custom Icon Rotations (Home & SSS Sayfaları) */
.btn-link[aria-expanded="true"] i {
    transform: rotate(45deg);
    transition: transform 0.2s ease-in-out;
}
.btn-link i {
    transition: transform 0.2s ease-in-out;
}

/* Nedir Sayfası Canlı Bildirim Pulse Efekti */
.live-pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    top: 25px;
    right: 25px;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Nasıl Çalışır Sayfası Dikey Akış Tasarımı */
.steps-flow-vertical {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.steps-flow-vertical::before {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(208, 158, 69, 0.1) 100%);
    top: 35px;
    bottom: 35px;
    left: 28px;
    z-index: 1;
}

.step-flow-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.step-flow-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--navy);
    color: #ffffff;
    border: 4px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    margin-right: 25px;
}

.step-flow-content {
    flex-grow: 1;
    border-radius: 16px !important;
}

@media (max-width: 576px) {
    .steps-flow-vertical::before {
        left: 20px;
    }
    .step-flow-number {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin-right: 15px;
    }
}

/* Dinamik Bilgi Sayfası (sayfa.php) */
.sayfa-icerik {
    font-size: 1.1rem;
    line-height: 1.8;
}
.sayfa-icerik p {
    margin-bottom: 1.5rem;
}
.sayfa-icerik h2, .sayfa-icerik h3, .sayfa-icerik h4 {
    color: #0E1B2E;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Footer & Sabit İletişim Butonları (footer.php) */
.hover-gold:hover {
    color: var(--primary) !important;
    transition: color 0.2s ease-in-out;
}

.footer-menu-links a {
    transition: all 0.2s ease-in-out;
}

.footer-menu-links a:hover {
    color: #ffffff !important;
    padding-left: 4px;
}

.text-gold {
    color: var(--primary) !important;
}

/* Sol Sabit Butonlar (Arama ve WhatsApp) */
.btn-fixed-call, .btn-fixed-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff !important;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    text-decoration: none !important;
    position: relative;
    transition: all 0.3s ease;
}

.btn-fixed-call {
    background-color: #0e1b2e; /* Navy theme */
}

.btn-fixed-call:hover {
    background-color: var(--primary);
    transform: scale(1.05);
}

.btn-fixed-whatsapp {
    background-color: #25D366; /* WhatsApp Green */
}

.btn-fixed-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

/* WhatsApp ve Arama Butonu Kayarak Açılan Yazıları */
.btn-fixed-call .btn-text, .btn-fixed-whatsapp .btn-text {
    position: absolute;
    left: 65px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.btn-fixed-call:hover .btn-text, .btn-fixed-whatsapp:hover .btn-text {
    opacity: 1;
    visibility: visible;
    left: 60px;
}

/* Pulse / Ripple Effect Animasyonu */
.ripple-effect::after {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid;
    animation: ripple 2s infinite ease-out;
    opacity: 0;
    pointer-events: none;
}

.btn-fixed-call::after {
    border-color: #0e1b2e;
}

.btn-fixed-whatsapp::after {
    border-color: #25D366;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Yukarı Çık Butonu (Back to Top) */
.btn-back-to-top {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #fff;
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
}

.btn-back-to-top:hover {
    background-color: #0e1b2e;
    transform: translateY(-3px);
}

/* İletişim Sayfası Harita Stili */
.map-container iframe {
    width: 100% !important;
    height: 400px !important;
    border: 0 !important;
}

/* Quill Editör Biçimlendirme Destek Sınıfları */
.sayfa-icerik .ql-align-center {
    text-align: center;
}
.sayfa-icerik .ql-align-right {
    text-align: right;
}
.sayfa-icerik .ql-align-justify {
    text-align: justify;
}
.sayfa-icerik .ql-align-left {
    text-align: left;
}
.sayfa-icerik .ql-font-serif {
    font-family: Georgia, Times New Roman, serif;
}
.sayfa-icerik .ql-font-monospace {
    font-family: Monaco, Courier New, monospace;
}
.sayfa-icerik .ql-size-small {
    font-size: 0.75em;
}
.sayfa-icerik .ql-size-large {
    font-size: 1.5em;
}
.sayfa-icerik .ql-size-huge {
    font-size: 2.5em;
}
.sayfa-icerik .ql-indent-1 { padding-left: 3em; }
.sayfa-icerik .ql-indent-2 { padding-left: 6em; }
.sayfa-icerik .ql-indent-3 { padding-left: 9em; }
.sayfa-icerik .ql-indent-4 { padding-left: 12em; }
.sayfa-icerik .ql-indent-5 { padding-left: 15em; }
.sayfa-icerik .ql-indent-6 { padding-left: 18em; }
.sayfa-icerik .ql-indent-7 { padding-left: 21em; }
.sayfa-icerik .ql-indent-8 { padding-left: 24em; }
.sayfa-icerik blockquote {
    border-left: 4px solid #ccc;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 16px;
}
.sayfa-icerik ul, .sayfa-icerik ol {
    padding-left: 1.5em;
}

/* SSS İç Sayfası Kart Özelleştirmeleri */
.faq-page-card {
    border-left: 4px solid var(--primary) !important;
    background-color: #f1f5f9 !important; /* Clean gray background (#f1f5f9) */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.faq-page-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
    background-color: #e2e8f0 !important; /* Slightly darker gray (#e2e8f0) on hover */
}

.faq-page-card .btn-link {
    transition: color 0.2s ease;
}

.faq-page-card .btn-link:not(.collapsed) {
    color: var(--primary) !important;
}

.faq-page-card .btn-link:not(.collapsed) i {
    transform: rotate(45deg);
    color: var(--primary) !important;
}

.faq-page-card .btn-link i {
    transition: transform 0.3s ease, color 0.2s ease;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1400px;
    }
}


