*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a, button, input, select, h1, h2, h3, h4, h5, textarea { border: none; text-decoration: none; background: none; -webkit-font-smoothing: antialiased; }
menu, ol, ul { list-style-type: none; }
img { max-width: 100%; height: auto; display: block; }

/* Prevent zoom/flash on tap for iOS */
* { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

:root { --black: #000000; --white: #ffffff; --yellow: #FCB018; --green: #128E51; --gray: rgba(0, 0, 0, 0.5); --white-20: rgba(255, 255, 255, 0.2); --font-quicksand: 'Quicksand', sans-serif; --font-nunito: 'Nunito Sans', sans-serif; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-quicksand); background: var(--white); color: var(--black); overflow-x: hidden; }
.main-wrapper { background: var(--black); border-radius: 0 0 40px 40px; position: relative; overflow: hidden; min-height: 70vh; }

/* ===== FIXED HEADER - ALWAYS SOLID BLACK ===== */
.header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 1000; 
    padding: 12px 0; 
    background: #000000 !important;
}
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 15px; }
@media (min-width: 768px) { .container { padding: 0 30px; } }
@media (min-width: 1440px) { .container { padding: 0 160px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 32px; width: auto; }
@media (min-width: 768px) { .logo img { height: 48px; } }

/* Desktop navigation */
.nav-desktop { display: none; }
@media (min-width: 900px) { .nav-desktop { display: flex; align-items: center; gap: 30px; } }
@media (min-width: 1200px) { .nav-desktop { gap: 40px; } }

/* Nav link - white color, zoom and bold on hover */
.nav-link { 
    font-family: var(--font-quicksand); 
    font-size: 18px; 
    font-weight: 600; 
    color: var(--white); 
    transition: transform 0.2s ease, font-weight 0.2s ease; 
    cursor: pointer; 
    white-space: nowrap; 
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
}
@media (min-width: 1200px) { .nav-link { font-size: 22px; } }
.nav-link:hover { 
    transform: scale(1.05); 
    font-weight: 700; 
}
.nav-link.active { font-weight: 700; }

/* Header buttons */
.header-actions { display: flex; align-items: center; gap: 8px; }
@media (min-width: 768px) { .header-actions { gap: 15px; } }
.btn { 
    font-family: var(--font-quicksand); 
    font-size: 14px; 
    font-weight: 700; 
    padding: 8px 16px; 
    border-radius: 45px; 
    cursor: pointer; 
    transition: background 0.3s ease, color 0.3s ease; 
    white-space: nowrap; 
    -webkit-tap-highlight-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 34px;
    box-sizing: border-box;
}
@media (min-width: 768px) { .btn { font-size: 18px; padding: 10px 25px; height: 44px; } }
@media (min-width: 1200px) { .btn { font-size: 22px; padding: 8px 30px; height: 44px; } }
.btn-outline { color: var(--green); border: 2px solid var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-primary { background: var(--green); color: var(--white); border: 2px solid var(--green); }
.btn-primary:hover { background: #0e7341; border-color: #0e7341; }

/* Language button with flag - visible on all sizes */
.btn-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 34px;
    height: 23px;
    border: none;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
}
.btn-lang:hover {
    opacity: 0.9;
}
@media (min-width: 768px) {
    .btn-lang {
        width: 62px;
        height: 42px;
        border-radius: 22px;
    }
}

/* Flag image - rounded corners */
.flag-img {
    width: 34px;
    height: 23px;
    object-fit: cover;
    border-radius: 12px;
}
@media (min-width: 768px) {
    .flag-img {
        width: 62px;
        height: 42px;
        border-radius: 22px;
    }
}

.btn-order-header { display: none; }
@media (min-width: 768px) { .btn-order-header { display: flex; } }

/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; cursor: pointer; z-index: 1001; -webkit-tap-highlight-color: transparent; }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--white); transition: all 0.3s ease; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== MOBILE NAVIGATION ===== */
.nav-mobile { 
    display: none; 
    position: fixed; 
    top: 56px; 
    left: 0; 
    right: 0; 
    background: #000000 !important; 
    padding: 20px 15px; 
    flex-direction: column;
    align-items: center;
    gap: 15px; 
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile.active { display: flex !important; }
.nav-mobile .nav-link { 
    font-size: 18px; 
    padding: 10px 0; 
    color: #ffffff !important;
    font-weight: 600 !important;
    text-align: center;
}
.nav-mobile .nav-link:hover { 
    transform: scale(1.02);
    font-weight: 700 !important;
}
.nav-mobile .btn { margin-top: 10px; text-align: center; justify-content: center; }

/* ===== FOOTER ===== */
.footer { background: var(--white); padding: 40px 0 20px; }
@media (min-width: 768px) { .footer { padding: 60px 0 30px; } }

/* Footer QR Section */
.footer-qr-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 0;
}
@media (min-width: 768px) { 
    .footer-qr-section { 
        grid-template-columns: 1fr 1fr; 
        gap: 40px;
        padding-bottom: 50px;
    } 
}

.footer-qr-text h3 {
    font-family: var(--font-quicksand);
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
    line-height: 1.3;
}
@media (min-width: 768px) { .footer-qr-text h3 { font-size: 35px; line-height: 38px; margin-bottom: 20px; } }

.footer-qr-text p {
    font-family: var(--font-quicksand);
    font-size: 16px;
    font-weight: 300;
    color: var(--black);
    line-height: 1.4;
}
@media (min-width: 768px) { .footer-qr-text p { font-size: 30px; line-height: 35px; } }

.footer-qr-codes {
    display: flex;
    gap: 20px;
    justify-content: center;
}
@media (min-width: 768px) { .footer-qr-codes { gap: 22px; justify-content: flex-end; } }

.footer-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-qr-code {
    width: 120px;
    height: 120px;
    background: #d9d9d9;
    border-radius: 24px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px) { .footer-qr-code { width: 203px; height: 204px; padding: 25px; } }
.footer-qr-code svg { width: 100%; height: 100%; }

.footer-qr-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-quicksand);
    font-size: 12px;
    font-weight: 600;
    color: var(--black);
}
@media (min-width: 768px) { .footer-qr-label { font-size: 14px; gap: 8px; } }
.footer-qr-label svg { width: 18px; height: 18px; }
@media (min-width: 768px) { .footer-qr-label svg { width: 22px; height: 22px; } }

/* Click and Collect Section - Yellow Background */
.footer-click-collect {
    background: var(--yellow);
    border-radius: 40px;
    padding: 30px 20px;
    margin: 0 -15px 40px;
}
@media (min-width: 768px) { 
    .footer-click-collect { 
        padding: 40px 60px;
        margin: 0 -30px 50px;
        border-radius: 40px;
    } 
}
@media (min-width: 1440px) { 
    .footer-click-collect { 
        margin: 0 -160px 50px;
    } 
}

.click-collect-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}
@media (min-width: 992px) { .click-collect-content { grid-template-columns: 1fr 2fr; gap: 40px; } }

.click-collect-text h3 {
    font-family: var(--font-quicksand);
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}
@media (min-width: 768px) { .click-collect-text h3 { font-size: 25px; margin-bottom: 12px; } }

.click-collect-text p {
    font-family: var(--font-quicksand);
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.5;
}
@media (min-width: 768px) { .click-collect-text p { font-size: 20px; } }

.click-collect-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 768px) { .click-collect-form { flex-direction: row; align-items: center; gap: 20px; } }

.click-collect-input-wrapper { flex: 1; }

.click-collect-input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 40px;
    border: none;
    font-family: var(--font-quicksand);
    font-size: 16px;
    background: var(--white);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    outline: none;
}
@media (min-width: 768px) { .click-collect-input { padding: 15px 25px; font-size: 20px; } }
.click-collect-input::placeholder { color: var(--gray); }

.click-collect-consent {
    font-family: var(--font-quicksand);
    font-size: 11px;
    color: var(--gray);
    margin-top: 8px;
    text-align: left;
}
@media (min-width: 768px) { .click-collect-consent { font-size: 13px; margin-top: 10px; } }

/* Footer Grid */
.footer-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 30px; 
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 40px; } }

.footer-column h4 { 
    font-family: var(--font-quicksand); 
    font-size: 18px; 
    font-weight: 700; 
    color: var(--black); 
    margin-bottom: 15px; 
}
@media (min-width: 768px) { .footer-column h4 { font-size: 25px; margin-bottom: 20px; } }

.footer-column p, .footer-column a { 
    font-family: var(--font-quicksand); 
    font-size: 16px; 
    color: var(--black); 
    display: block; 
    margin-bottom: 8px; 
    transition: color 0.3s ease;
    line-height: 1.5;
    font-weight: 400;
}
@media (min-width: 768px) { .footer-column p, .footer-column a { font-size: 25px; margin-bottom: 10px; } }
.footer-column a:hover { color: var(--green); }

.footer-column-center {
    text-align: left;
}
@media (min-width: 768px) { .footer-column-center { text-align: left; } }

.working-hours-text {
    line-height: 1.6 !important;
}
.working-hours-text strong {
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 20px;
}
@media (min-width: 768px) { .footer-bottom { padding-top: 30px; } }

.footer-copyright { 
    font-family: var(--font-quicksand); 
    font-size: 14px; 
    color: var(--black);
    font-weight: 600;
}
@media (min-width: 768px) { .footer-copyright { font-size: 18px; } }

/* Back to top - just black arrow, no circle */
.back-to-top-arrow { 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.back-to-top-arrow:hover { 
    transform: translateY(-3px);
}
.back-to-top-arrow svg { 
    width: 32px; 
    height: 32px; 
    fill: var(--black);
}
@media (min-width: 768px) { .back-to-top-arrow svg { width: 40px; height: 40px; } }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Phone link styles */
.phone-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}
.phone-link:hover {
    color: var(--yellow);
}

/* ===== FOOTER PAYMENT LOGOS (OTP Bank branding requirement) ===== */
.footer-payment {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.footer-payment-label { font-family: var(--font-quicksand); font-size: 13px; font-weight: 700; color: rgba(0,0,0,0.45); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.footer-payment-box { display: flex; align-items: center; gap: 10px; background: #95969e; border-radius: 12px; padding: 12px 16px; flex-wrap: wrap; }
.footer-payment-box img { height: 36px; width: auto; display: block; }
.footer-payment-box img[alt="OTP Banka"] { height: 36px; width: auto; background: #fff; border-radius: 4px; padding: 3px 6px; }
.footer-payment-separator { width: 1px; height: 36px; background: rgba(255,255,255,0.15); flex-shrink: 0; }
.footer-payment-box a { display: flex; align-items: center; opacity: 0.9; transition: opacity 0.2s; }
.footer-payment-box a:hover { opacity: 1; }
