/* ==========================================================================
   AV. METİN KILIÇ - PREMIUM DESIGN SYSTEM
   ========================================================================== */

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-color);
}

/* Typography Custom */
.text-gold {
    color: var(--secondary-color) !important;
}
.bg-gold {
    background-color: var(--secondary-color) !important;
}

/* Custom Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b38b43 100%);
    color: #ffffff !important;
    border: 0;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    transition: var(--transition);
}
.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.4);
}

.btn-premium-outline {
    background: transparent;
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color);
    padding: 10px 26px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-premium-outline:hover {
    background: var(--secondary-color);
    color: #ffffff !important;
}

/* Header & Navbar */
.top-bar {
    background-color: var(--primary-color);
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a {
    color: rgba(255, 255, 255, 0.8);
}
.top-bar a:hover {
    color: var(--secondary-color);
}

.main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    z-index: 1000;
}
.navbar-brand img {
    max-height: 55px;
    transition: var(--transition);
}
.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 25px 15px !important;
    font-size: 0.95rem;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
}
.nav-link:hover::after, .nav-item.active .nav-link::after {
    transform: scaleX(1);
}

/* Dropdown Menu Custom */
.dropdown-menu {
    border: 0;
    box-shadow: var(--card-shadow);
    border-radius: 8px;
    padding: 10px 0;
    animation: fadeIn 0.3s ease;
}
.dropdown-item {
    font-weight: 500;
    padding: 10px 20px;
    color: var(--primary-color);
}
.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    background-color: var(--primary-color);
    overflow: hidden;
}
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}
.slide-item.active {
    opacity: 1;
    z-index: 2;
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 3;
}
.slide-content {
    position: relative;
    z-index: 4;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
}
.slide-content h2 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s 0.2s ease-out;
}
.slide-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s 0.4s ease-out;
}
.slide-content .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s 0.6s ease-out;
}
.slide-item.active .slide-content h2,
.slide-item.active .slide-content p,
.slide-item.active .slide-content .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}
.section-title p {
    color: #64748b;
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Cards Premium */
.card-premium {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}
.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(197, 160, 89, 0.2);
}

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 40px 30px;
}
.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Blog / News */
.blog-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

/* Footer Premium */
.footer-premium {
    background-color: var(--footer-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px 0;
    border-top: 4px solid var(--secondary-color);
}
.footer-premium h5 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-premium h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.footer-social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* Calculators Layout */
.calculator-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border-top: 3px solid var(--secondary-color);
}
.calculator-results {
    background: var(--primary-color);
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--secondary-color);
}
.calculator-results h4 {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}
.result-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.result-row:last-child {
    border-bottom: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .nav-link {
        padding: 12px 20px !important;
    }
    .nav-link::after {
        bottom: 8px;
        left: 20px;
        right: 20px;
    }
    .slide-content h2 {
        font-size: 2.25rem;
    }
    .slide-content p {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   HYBRID PREMIUM LIGHT-DARK THEME, QUICK MENU & COMMUNICATION BUTTONS
   ========================================================================== */

/* Light Background Global Rules */
body {
    background-color: #f8fafc !important;
    color: #334155;
}

h1, h2, h3, h4, h5, h6 {
    color: #0f172a !important;
}

/* Explicit colors for dark themes to override body text color */
.main-navbar .nav-link, 
.main-navbar .navbar-brand,
.navbar-nav .nav-link,
.dropdown-item,
.footer-premium, 
.footer-premium p, 
.footer-premium span, 
.footer-premium a,
.footer-premium h5,
.slide-content, 
.slide-content h2, 
.slide-content p,
.quick-menu-card,
.quick-menu-card span {
    color: #ffffff !important;
}
.dropdown-item:hover,
.main-navbar .nav-link:hover,
.navbar-nav .nav-link:hover,
.footer-premium a:hover {
    color: var(--secondary-color) !important;
}

/* Gold highlighting */
.text-gold, .section-title h2, .font-playfair.text-gold {
    color: var(--secondary-color) !important;
}

/* Card Styling: Light cards by default */
.card-premium, .card-custom {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #334155 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    border-radius: 12px;
}
.card-premium h1, .card-premium h2, .card-premium h3, .card-premium h4, .card-premium h5, .card-premium h6,
.card-custom h1, .card-custom h2, .card-custom h3, .card-custom h4, .card-custom h5, .card-custom h6 {
    color: #0f172a !important;
}
.card-premium .text-muted, .card-custom .text-muted {
    color: #64748b !important;
}

/* Dark Card Styling (Featured slider, about wrapper, etc.) */
.bg-dark-card {
    background-color: #0f1822 !important;
    border: 1px solid rgba(197, 160, 89, 0.15) !important;
    color: #cbd5e1 !important;
    border-radius: 12px;
}
.bg-dark-card h1, .bg-dark-card h2, .bg-dark-card h3, .bg-dark-card h4, .bg-dark-card h5, .bg-dark-card h6 {
    color: #ffffff !important;
}
.bg-dark-card .text-slate-300 {
    color: #cbd5e1 !important;
}

/* Dark Input Styling */
.bg-dark-input {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(197, 160, 89, 0.15) !important;
    color: #ffffff !important;
}
.bg-dark-input:focus {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.15) !important;
}

/* Borders */
.border-gold-bottom {
    border-bottom: 2px solid var(--secondary-color) !important;
    width: fit-content;
}

.border-gold-subtle {
    border: 1px solid rgba(197, 160, 89, 0.15) !important;
}

.border-bottom-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Navbar overrides for dark theme */
.main-navbar {
    background: #0a1118 !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15) !important;
}
.navbar-brand, .nav-link {
    color: #ffffff !important;
}
.nav-link:hover {
    color: var(--secondary-color) !important;
}
.dropdown-menu {
    background-color: #0a1118 !important;
    border: 1px solid rgba(197, 160, 89, 0.15) !important;
}
.dropdown-item {
    color: #ffffff !important;
}
.dropdown-item:hover {
    background-color: rgba(197, 160, 89, 0.1) !important;
    color: var(--secondary-color) !important;
}

/* Quick Menu Grid */
.quick-menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0f1822;
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 10px;
    padding: 15px 10px;
    color: #cbd5e1 !important;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    text-decoration: none;
}
.quick-menu-card i, .quick-menu-card fab {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}
.quick-menu-card span {
    font-size: 0.85rem;
    font-weight: 500;
}
.quick-menu-card:hover, .quick-menu-card.active {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.25);
}

/* Category White Icon Box */
.category-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 24px 15px;
    color: #334155 !important;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}
.category-icon-card i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}
.category-icon-card span {
    font-size: 0.9rem;
    font-weight: 600;
}
.category-icon-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.12);
}

/* Promo Video Button */
.btn-promo {
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.btn-promo:hover {
    border-color: var(--secondary-color);
    background-color: rgba(197, 160, 89, 0.15);
}

/* Contact Info Item Styles */
.contact-info-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.btn-outline-gold {
    border: 1px solid var(--secondary-color) !important;
    color: var(--secondary-color) !important;
    background: transparent;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}
.btn-outline-gold:hover {
    background-color: var(--secondary-color) !important;
    color: #0f172a !important;
}

/* Fixed Mobile & Desktop Footer Buttons */
.fixed-mobile-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    height: 60px;
    background: rgba(6, 11, 17, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 30px;
    display: flex;
    gap: 10px;
    padding: 8px 12px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.btn-mobile-whatsapp {
    flex: 1;
    background-color: #2db742;
    color: #ffffff !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}
.btn-mobile-call {
    flex: 1;
    background-color: #a37c3f;
    color: #ffffff !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(163, 124, 63, 0.2);
}

@media (max-width: 767.98px) {
    .fixed-mobile-footer {
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        height: 70px;
        background: #060b11;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        padding: 10px 15px;
        gap: 12px;
    }
    .btn-mobile-whatsapp, .btn-mobile-call {
        border-radius: 8px;
    }
    body {
        padding-bottom: 75px !important;
    }
}
