:root {
    /* Color Palette - Navy & Orange Theme */
    --primary-color: #ff8c00;
    --primary-light: #ffa733;
    --primary-dark: #cc7000;
    --secondary-color: #1a2332;
    --secondary-dark: #0d121a;

    --text-main: #1a2332;
    --text-muted: #64748b;
    --text-light: #f8fafc;

    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #1a2332;

    /* Layout */
    --nav-height: 80px;
    --container-width: 1200px;
    --border-radius: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-norm: 0.3s ease;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Hero action buttons */
.btn-hero-wa {
    background: #25d366;
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(37,211,102,0.35);
}
.btn-hero-wa:hover { background: #1da851; transform: translateY(-2px); }

.btn-hero-randevu {
    background: #e74c3c;
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(231,76,60,0.35);
}
.btn-hero-randevu:hover { background: #c0392b; transform: translateY(-2px); }

/* =====================
   SCROLLING TICKER
   ===================== */
.feature-ticker-wrap {
    background: #fff;
    border-top: 1px solid #e8f5e9;
    border-bottom: 1px solid #e8f5e9;
    overflow: hidden;
    padding: 0;
}

.feature-ticker {
    overflow: hidden;
    position: relative;
    padding: 14px 0;
}

.feature-ticker::before,
.feature-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
}
.feature-ticker::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.feature-ticker::after { right: 0; background: linear-gradient(to left, #fff, transparent); }

.ticker-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: ticker-scroll 28s linear infinite;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-right: 2px solid #e8f5e9;
}

.ticker-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* =====================
   DISCOUNT CARDS
   ===================== */
.discount-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
}
.discount-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.dc-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e53935;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.dc-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: #fef3f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #f97316;
}

.dc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.dc-body strong { font-size: 1rem; color: #1a202c; font-weight: 700; }
.dc-body span   { font-size: 0.8rem; color: #6b7280; }

.dc-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding-top: 18px;
}
.dc-amount small { font-size: 0.65rem; color: #9ca3af; font-weight: 700; letter-spacing: 0.5px; }
.dc-amount strong { font-size: 1.6rem; font-weight: 800; color: var(--primary-color); }

/* Generic Section */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    text-decoration: none;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.navbar .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    text-align: center;
    color: var(--text-light);
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}

.hero-bg-desktop {
    display: block;
}

/* Mobile stacked image block - hidden on desktop, visible on mobile */
.hero-mobile-img-block {
    display: none;
    position: relative !important;
    width: 100%;
    height: 270px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.hero-bg-mobile {
    display: none;
}

/* Mobile intro section — hidden on desktop, appears below ticker on mobile */
.mobile-intro-section {
    display: none;
    background: #ffffff;
    padding: 32px 22px 28px;
}

.mis-top {
    margin-bottom: 22px;
}

.mis-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: #1a2332;
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.mis-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.mis-buttons {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.mis-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.mis-btn-wa {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}

.mis-btn-wa:hover { background: #1da851; transform: translateY(-2px); }

.mis-btn-edevlet {
    background: #1a2332;
    color: white;
    box-shadow: 0 4px 14px rgba(26,35,50,0.3);
}

.mis-btn-edevlet:hover { background: #0d121a; transform: translateY(-2px); }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 30, 48, 0.55) 0%, rgba(10, 15, 30, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    animation: fadeIn 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 130px;
    /* space for absolute stats bar */
}

/* Hero title - split-line animations */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Each br-separated line animates from opposite sides */
.hero-title-line-1 {
    display: block;
    animation: slideFromLeft 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-title-line-2 {
    display: block;
    animation: slideFromRight 0.9s 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 36px;
    opacity: 0.92;
    max-width: 650px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    backdrop-filter: blur(5px);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: #f6ad55;
    border-radius: 50%;
    box-shadow: 0 0 10px #f6ad55;
    animation: badge-pulse 1.5s infinite;
}

@keyframes badge-pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.hero-title .highlight {
    color: #f6ad55;
    text-shadow: none;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
    margin-bottom: 45px;
}

/* Top-left hero corner logo */
.hero-logo-corner {
    position: absolute;
    top: calc(var(--nav-height) + 22px);
    left: 32px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.hero-logo-corner img {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
.hero-logo-corner .hlc-text {
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Stats — anchored at the absolute bottom of the hero */
.hero-stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
}

.hero-stats-overlay .stat-item {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 11px 22px;
    text-align: center;
    min-width: 120px;
    flex: 0 1 150px;
    transition: background 0.3s;
}

.hero-stats-overlay .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-stats-overlay .stat-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 3px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-stats-overlay .stat-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

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

.service-card {
    background: var(--bg-main);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-norm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* =====================
   PRODUCTS
   ===================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-main);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-norm);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 220px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* About / Check List */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list {
    margin-top: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.check-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.testimonial-card .quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-main);
}

.testimonial-card .author {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: #a0aec0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #718096;
    font-size: 0.9rem;
}

/* Misc */
.text-white {
    color: white !important;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-weight: 600;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    max-width: 700px;
    margin: 40px auto;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-size: 1.8rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.close-btn:hover {
    color: var(--text-main);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile-only visibility toggles */
    .desktop-hero-content { display: none !important; }
    .mobile-intro-section { display: block !important; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: none !important;
        /* Hidden since we use mobile bottom nav */
    }

    .navbar .btn-primary {
        display: none;
    }

    /* Align logo to left on mobile */
    .nav-content {
        justify-content: flex-start;
    }

    /* Mobile-only navbar height reduction */
    .navbar {
        height: 54px;
        overflow: hidden;
    }

    /* Logo must not exceed navbar height on mobile */
    #site-logo-img, .logo img {
        max-height: 44px !important;
        height: auto !important;
        width: auto;
        object-fit: contain;
    }

    /* Reduce mobile hero height — 55vh * 1.2 = 66vh */
    .hero {
        min-height: 66vh;
        height: 66vh;
        padding-top: calc(var(--nav-height) + 10px);
        padding-bottom: 20px;
    }

    .hero-bg-desktop {
        display: none;
    }

    .hero-bg-mobile {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
    }

    /* Stats on mobile — still 3 cards row, no need to override position */
    .hero-stats-overlay {
        gap: 8px;
        padding: 12px 8px;
    }

    .hero-stats-overlay .stat-item {
        padding: 12px 8px;
        min-width: unset;
        flex: 1;
        border-radius: 12px;
    }

    .hero-stats-overlay .stat-number {
        font-size: 1.4rem;
    }

    .hero-stats-overlay .stat-text {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .section {
        padding: 50px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   FLOATING CONTACT BUTTON
   ===================== */
.floating-contact {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 9999;
}

@media (min-width: 769px) {
    .floating-contact {
        bottom: 30px;
        left: 30px;
    }
}

.fc-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d32f2f;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fc-toggle:hover {
    transform: scale(1.1);
    background-color: #b71c1c;
}

.fc-menu {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.fc-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.fc-header {
    background: #d32f2f;
    color: white;
    padding: 12px 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.fc-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--text-main);
    transition: background 0.2s;
}

.fc-item:last-child {
    border-bottom: none;
}

.fc-item:hover {
    background: #f9f9f9;
}

.fc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.bg-whatsapp {
    background-color: #25d366;
}

.bg-phone {
    background-color: #00bfa5;
}

.bg-email {
    background-color: #ff7043;
}

.fc-text {
    display: flex;
    flex-direction: column;
}

.fc-text strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.fc-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =====================
   MOBILE BOTTOM NAV
   ===================== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        border-top: 2px solid #e8e8e8;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
        padding: 6px 0 env(safe-area-inset-bottom, 6px);
        justify-content: space-around;
        align-items: center;
    }

    .mb-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        text-decoration: none;
        color: #a0aec0;
        font-size: 0.62rem;
        font-weight: 600;
        padding: 4px 4px;
        border-radius: 10px;
        transition: all 0.2s;
        flex: 1;
        max-width: 75px;
    }

    .mb-nav-item i {
        font-size: 1.1rem;
    }

    /* Highlighted center button for Ön Kayıt */
    .mb-nav-item.highlight {
        background: var(--primary-color);
        color: white !important;
        border-radius: 14px;
        padding: 8px 14px;
        box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
        margin-top: -12px;
        border: 3px solid white;
    }

    .mb-nav-item.active,
    .mb-nav-item:hover {
        color: var(--primary-color);
    }

    .mb-nav-item.highlight:hover {
        background: var(--primary-dark);
        color: white;
    }

    body {
        padding-bottom: 72px;
    }

    /* Hide the desktop hero content on mobile */
    .desktop-hero-content {
        display: none !important;
    }

    /* Show the mobile intro section below ticker */
    .mobile-intro-section {
        display: block !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    /* ===========================
       MOBILE HERO - STACKED LAYOUT
       Image on top (hero-mobile-img-block), text below
       =========================== */
    .hero {
        display: flex;
        flex-direction: column;
        height: auto !important;
        min-height: auto !important;
        padding-top: var(--nav-height);
        align-items: stretch;
    }

    /* Hide the absolute-positioned background divs on mobile */
    .hero-bg-desktop,
    .hero-bg-mobile {
        display: none !important;
    }

    /* Show the dedicated mobile image block at the top */
    .hero-mobile-img-block {
        display: block !important;
        height: 600px;
        width: 100%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
        /* Fallback gradient when no image is loaded via Firebase */
        background-color: #1a2332;
        background-image: linear-gradient(135deg, #1a2332 0%, #1a2b4b 100%);
    }

    /* Remove the dark overlay — text is NOT over image on mobile */
    .hero-overlay {
        display: none !important;
    }


    /* Stats bar — sits right below image block, full width */
    .hero-stats-overlay {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        gap: 0;
        padding: 16px 0;
        background: #1a2332;
        border: none;
        justify-content: space-around;
    }

    .hero-stats-overlay .stat-item {
        padding: 0 12px;
        min-width: auto;
        flex: 1;
        background: transparent;
        border: none;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 0;
        backdrop-filter: none;
        text-align: center;
    }

    .hero-stats-overlay .stat-item:last-child {
        border-right: none;
    }

    .hero-stats-overlay .stat-number {
        font-size: 1.5rem;
        font-weight: 800;
        color: #FF6B00;
    }

    .hero-stats-overlay .stat-text {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: rgba(255,255,255,0.85);
        font-weight: 600;
    }

    /* Make discount cards stack on mobile */
    #indirimler .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    #indirimler > .container > div:last-child {
        grid-template-columns: 1fr !important;
    }
}

/* =====================
   SMART ASSISTANT CHATBOT
   ===================== */
.smart-assistant {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (min-width: 769px) {
    .smart-assistant {
        bottom: 30px;
        right: 30px;
    }
}

/* Toggle button */
.sa-toggle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #11284b);
    color: white;
    border: none;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    animation: sa-pulse 2.5s ease-in-out infinite;
}

@keyframes sa-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4); }
    50% { box-shadow: 0 6px 30px rgba(30, 58, 95, 0.6); }
}

.sa-toggle:hover {
    transform: scale(1.08);
}

.sa-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e53935;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: sa-badge-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.6) both;
}

@keyframes sa-badge-pop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.sa-badge.hidden {
    display: none;
}

/* Chat window */
.sa-window {
    width: 340px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    margin-bottom: 14px;
    display: none;
    flex-direction: column;
    max-height: 520px;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.sa-window.open {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
    animation: sa-open 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes sa-open {
    from { transform: translateY(20px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Header */
.sa-header {
    background: linear-gradient(135deg, #1e3a5f, #11284b);
    color: white;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sa-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.sa-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sa-header-info strong {
    font-size: 1rem;
    font-weight: 700;
}

.sa-header-info span {
    font-size: 0.75rem;
    opacity: 0.85;
}

.sa-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.sa-close:hover {
    background: rgba(255,255,255,0.35);
}

/* Messages */
.sa-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
    background: #f8fdf8;
}

.sa-msg {
    display: flex;
    gap: 8px;
    animation: sa-msg-in 0.3s ease both;
}

@keyframes sa-msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sa-msg.bot { align-items: flex-start; }
.sa-msg.user { align-items: flex-end; flex-direction: row-reverse; }

.sa-msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #11284b);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.sa-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.sa-msg.bot .sa-bubble {
    background: white;
    color: #333;
    border-radius: 4px 16px 16px 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.sa-msg.user .sa-bubble {
    background: #1e3a5f;
    color: white;
    border-radius: 16px 4px 16px 16px;
}

/* Typing indicator */
.sa-typing {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.sa-typing-dots {
    background: white;
    border-radius: 4px 16px 16px 16px;
    padding: 10px 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    display: flex;
    gap: 4px;
    align-items: center;
}

.sa-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1e3a5f;
    animation: sa-dot-bounce 1.2s ease infinite;
}
.sa-dot:nth-child(2) { animation-delay: 0.2s; }
.sa-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes sa-dot-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40% { transform: translateY(-6px); opacity: 1; }
}

/* Options */
.sa-options {
    padding: 10px 16px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: #f8fdf8;
    border-top: 1px solid #e8f5e9;
}

.sa-option {
    padding: 8px 14px;
    background: white;
    border: 1.5px solid #1e3a5f;
    color: #1e3a5f;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.sa-option:hover {
    background: #1e3a5f;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

.sa-option.wa {
    background: #25d366;
    border-color: #25d366;
    color: white;
    font-size: 0.88rem;
    padding: 10px 18px;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sa-option.wa:hover {
    background: #1da851;
    border-color: #1da851;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

@media (max-width: 480px) {
    .sa-window {
        width: calc(100vw - 24px);
        right: 0;
        max-height: 480px;
    }

    .smart-assistant {
        right: 12px;
    }
}