/* =========================================
   PROLOM BEAUTY CARE - SVIJETLA VERZIJA
   ========================================= */

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

:root { 
    --bg-deep: #F8FAFC; /* Čista, vrlo svijetlo siva pozadina */
    --bg-navy: #1A2255; /* Originalna tamno plava iz tvog brenda */
    --glass-bg: rgba(255, 255, 255, 0.85); /* Bijelo staklo */
    --glass-border: rgba(0, 0, 0, 0.05); /* Jedva vidljiva ivica */
    --text-light: #0F172A; /* Tamno plavo/siva za glavni tekst */
    --text-muted: #64748B; /* Svjetlija siva za opise */
    --accent-glow: rgba(26, 34, 85, 0.05); /* Suptilan sjenka-odsjaj */
    --accent-color: #38bdf8; /* Plava za akcente */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Outfit', sans-serif; 
}

body { 
    background-color: var(--bg-deep); 
    color: var(--text-light); 
    overflow-x: hidden; 
    background-image: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.1) 0%, transparent 60%); 
}

/* --- HEADER I NAVIGACIJA --- */
header { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border); z-index: 100; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.header-container { max-width: 1300px; margin: 0 auto; padding: 20px; display: flex; justify-content: space-between; align-items: center; }

/* VAŽNO: Uklonjen filter za invertovanje kako bi originalni logo bio vidljiv */
.logo img { height: 40px; display: block; }

.nav-actions { display: flex; gap: 20px; align-items: center; }
.nav-link { color: var(--text-light); text-decoration: none; font-size: 14px; font-weight: 600; transition: var(--transition); }
.nav-link:hover { color: var(--accent-color); }
.btn-outline { background: transparent; color: var(--bg-navy); border: 1px solid var(--bg-navy); padding: 10px 25px; border-radius: 30px; font-size: 14px; cursor: pointer; transition: var(--transition); text-decoration: none; font-weight: 600; display: inline-block; }
.btn-outline:hover { background: var(--bg-navy); color: #fff; box-shadow: 0 5px 15px rgba(26, 34, 85, 0.2); }

/* --- BREADCRUMBS --- */
.breadcrumbs { max-width: 1300px; margin: 120px auto 20px; padding: 0 20px; font-size: 13px; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.breadcrumbs a:hover { color: var(--bg-navy); }
.breadcrumbs span { margin: 0 8px; opacity: 0.5; }

/* --- POČETNA STRANICA (HERO I KARTICE) --- */
.hero { padding: 180px 20px 100px; text-align: center; max-width: 800px; margin: 0 auto; position: relative; }
.hero::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; background: rgba(56, 189, 248, 0.15); filter: blur(100px); z-index: -1; border-radius: 50%; }
.hero-badge { display: inline-block; padding: 6px 15px; background: #fff; border: 1px solid var(--glass-border); border-radius: 20px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--bg-navy); margin-bottom: 30px; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 25px; color: var(--bg-navy); }
.hero p { font-size: 18px; color: var(--text-muted); line-height: 1.6; }

.collection { max-width: 1300px; margin: 0 auto 100px; padding: 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.glass-card { background: #fff; border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.glass-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(56, 189, 248, 0.2); }
.card-img { height: 280px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; position: relative; z-index: 2; background: #F8FAFC; border-radius: 20px; padding: 20px; }
.card-img img { max-height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1)); transition: var(--transition); }
.glass-card:hover .card-img img { transform: scale(1.05); }
.card-info { position: relative; z-index: 2; flex-grow: 1; display: flex; flex-direction: column; }
.card-category { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-color); margin-bottom: 10px; font-weight: 800; }
.card-title { font-size: 22px; font-weight: 800; margin-bottom: 15px; color: var(--bg-navy); }
.card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #E2E8F0; padding-top: 20px; }
.price { font-size: 20px; font-weight: 800; color: var(--bg-navy); }
.btn-glass { background: var(--bg-navy); color: #fff; border: none; padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); text-decoration: none; display: inline-block; }
.btn-glass:hover { background: var(--accent-color); box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3); }

/* --- STRANICA PROIZVODA (DETALJI) --- */
.product-container { max-width: 1300px; margin: 0 auto 100px; padding: 0 20px; display: flex; gap: 60px; align-items: flex-start; }
.product-gallery { flex: 1; position: sticky; top: 120px; }
.image-showcase { background: #fff; border: 1px solid var(--glass-border); border-radius: 30px; padding: 60px; display: flex; justify-content: center; align-items: center; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.04); }
.image-showcase img { width: 100%; max-width: 350px; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); }
.product-info { flex: 1; padding-top: 20px; }
.badge-category { color: var(--bg-navy); font-size: 12px; text-transform: uppercase; letter-spacing: 3px; font-weight: 800; margin-bottom: 15px; display: inline-block; background: #E2E8F0; padding: 6px 15px; border-radius: 20px; }
.product-title { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: var(--bg-navy); }
.product-price { font-size: 32px; font-weight: 800; color: var(--bg-navy); margin-bottom: 30px; display: flex; align-items: center; gap: 15px; }
.short-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; }
.purchase-actions { display: flex; gap: 20px; margin-bottom: 50px; padding-bottom: 40px; border-bottom: 1px dashed #E2E8F0; }

.qty-selector { display: flex; align-items: center; background: #fff; border: 1px solid #CBD5E1; border-radius: 30px; padding: 5px 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.qty-btn { background: transparent; border: none; color: var(--text-light); font-size: 18px; cursor: pointer; padding: 5px 10px; transition: var(--transition); position: relative; }
.qty-btn:hover { color: var(--accent-color); }
.qty-btn.loading { pointer-events: none; color: transparent !important; }
.qty-btn.loading::after { content: ''; position: absolute; width: 14px; height: 14px; left: 50%; top: 50%; margin: -7px 0 0 -7px; border: 2px solid rgba(148, 163, 184, 0.35); border-top-color: var(--accent-color); border-radius: 50%; animation: btn-spin 0.7s linear infinite; }
.qty-input { background: transparent; border: none; color: var(--text-light); width: 40px; text-align: center; font-size: 16px; font-weight: 800; outline: none; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-primary { flex-grow: 1; background: var(--bg-navy); color: #fff; border: none; border-radius: 30px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: var(--transition); display: flex; justify-content: center; align-items: center; text-decoration: none; padding: 16px; width: 100%; box-shadow: 0 10px 20px rgba(26, 34, 85, 0.15); }
.btn-primary:hover { background: var(--accent-color); transform: translateY(-2px); box-shadow: 0 15px 25px rgba(56, 189, 248, 0.25); }
.btn-primary.loading { pointer-events: none; opacity: 0.9; position: relative; color: transparent !important; }
.btn-primary.loading::after { content: ''; position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: btn-spin 0.7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* --- CART SUCCESS MODAL --- */
body.cart-modal-open { overflow: hidden; }
.cart-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.cart-modal.is-open { opacity: 1; visibility: visible; }
.cart-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cart-modal-dialog { position: relative; width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--glass-border); border-radius: 30px; padding: 40px; box-shadow: 0 30px 60px rgba(26, 34, 85, 0.15); transform: translateY(20px) scale(0.98); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.cart-modal.is-open .cart-modal-dialog { transform: translateY(0) scale(1); }
.cart-modal-dismiss { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 1px solid #E2E8F0; border-radius: 50%; background: #fff; color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.cart-modal-dismiss:hover { color: var(--bg-navy); border-color: var(--bg-navy); }
.cart-modal-success { text-align: center; margin-bottom: 28px; }
.cart-modal-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: rgba(16, 185, 129, 0.12); color: #10b981; display: flex; align-items: center; justify-content: center; }
.cart-modal-title { font-size: 24px; font-weight: 800; color: var(--bg-navy); margin-bottom: 8px; }
.cart-modal-subtitle { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.cart-modal-product { display: flex; gap: 18px; align-items: center; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 20px; padding: 18px; margin-bottom: 28px; }
.cart-modal-product-img { width: 88px; height: 88px; flex-shrink: 0; background: #fff; border: 1px solid var(--glass-border); border-radius: 15px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.cart-modal-product-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-modal-product-info { flex: 1; min-width: 0; text-align: left; }
.cart-modal-category { display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-color); font-weight: 800; margin-bottom: 6px; }
.cart-modal-product-title { font-size: 17px; font-weight: 800; color: var(--bg-navy); margin-bottom: 8px; line-height: 1.3; }
.cart-modal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.cart-modal-meta strong { color: var(--bg-navy); }
.cart-modal-price { font-size: 18px; font-weight: 800; color: var(--bg-navy); }
.cart-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cart-modal-actions .btn-primary { flex-grow: unset; padding: 14px 16px; font-size: 14px; }
.cart-modal-actions .btn-outline { text-align: center; padding: 14px 16px; font-size: 14px; border-radius: 30px; }

.info-block { background: #fff; border: 1px solid var(--glass-border); border-radius: 20px; padding: 25px 30px; margin-bottom: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.info-title { font-size: 18px; font-weight: 800; color: var(--bg-navy); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.info-title::before { content: ''; display: block; width: 8px; height: 8px; background: var(--accent-color); border-radius: 50%; box-shadow: 0 0 10px var(--accent-color); }
.info-content { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.info-content ul { padding-left: 20px; margin-top: 10px; }
.info-content li { margin-bottom: 8px; }

/* --- BODY LOADING OVERLAY --- */
body.body_loading { overflow: hidden; }
body.body_loading::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 252, 0.75);
    z-index: 9998;
    pointer-events: all;
}
body.body_loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border: 3px solid rgba(26, 34, 85, 0.15);
    border-top-color: var(--bg-navy);
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    z-index: 9999;
    pointer-events: none;
}

/* --- STRANICA KORPE (CHECKOUT) --- */
#cartContent { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.cart-container { max-width: 1300px; margin: 0 auto 100px; padding: 0 20px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: flex-start; }
.cart-container--empty { display: block; }
.cart-empty { text-align: center; padding: 60px 20px 80px; background: #fff; border: 1px solid var(--glass-border); border-radius: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.cart-empty-icon { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: #F8FAFC; border: 1px solid #E2E8F0; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.cart-empty-title { font-size: 32px; font-weight: 800; color: var(--bg-navy); margin-bottom: 12px; }
.cart-empty-text { font-size: 16px; color: var(--text-muted); line-height: 1.6; max-width: 420px; margin: 0 auto 32px; }
.cart-empty-btn { display: inline-flex; width: auto; min-width: 220px; padding: 16px 36px; }
.cart-items { padding-top: 10px; }
.page-title { font-size: 36px; font-weight: 800; line-height: 1.1; margin-bottom: 30px; color: var(--bg-navy); }
.cart-item { display: flex; align-items: center; gap: 20px; padding: 25px 0; border-bottom: 1px dashed #E2E8F0; }
.cart-item-img { width: 100px; height: 100px; background: #fff; border: 1px solid var(--glass-border); border-radius: 15px; display: flex; align-items: center; justify-content: center; padding: 10px; box-shadow: 0 5px 10px rgba(0,0,0,0.02); }
.cart-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-item-info { flex-grow: 1; }
.item-category { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-color); margin-bottom: 5px; font-weight: 800; }
.item-title { font-size: 18px; font-weight: 800; color: var(--bg-navy); margin-bottom: 10px; text-decoration: none; display: block; transition: var(--transition); }
.item-title:hover { color: var(--accent-color); }
.item-actions { display: flex; align-items: center; gap: 20px; }
.btn-remove { background: transparent; border: none; color: #ef4444; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-remove:hover { color: #dc2626; text-decoration: underline; }
.item-price { font-size: 20px; font-weight: 800; color: var(--bg-navy); text-align: right; }

.checkout-card { background: #fff; border: 1px solid var(--glass-border); border-radius: 30px; padding: 40px; position: sticky; top: 120px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.summary-title { font-size: 22px; font-weight: 800; margin-bottom: 25px; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; color: var(--bg-navy); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 15px; color: var(--text-muted); }
.summary-row.total { border-top: 1px dashed #E2E8F0; padding-top: 20px; margin-top: 5px; margin-bottom: 30px; font-size: 24px; font-weight: 800; color: var(--bg-navy); }
.free-shipping { color: #10b981; font-size: 13px; font-weight: 800; text-transform: uppercase; }

.checkout-form h4 { font-size: 16px; margin-bottom: 15px; color: var(--bg-navy); font-weight: 800; }
.payment-method { background: #F8FAFC; border: 1px solid #E2E8F0; padding: 15px; border-radius: 12px; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--bg-navy); font-weight: 600; }

/* Obrazci za unos teksta (Input) */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-input { width: 100%; background: #fff; border: 1px solid #CBD5E1; border-radius: 12px; padding: 14px 15px; color: var(--text-light); font-size: 15px; outline: none; transition: var(--transition); box-shadow: 0 2px 5px rgba(0,0,0,0.01); }
.form-input::placeholder { color: #94A3B8; }
.form-input:focus { border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* --- STRANICA KONTAKT --- */
.contact-container { max-width: 1300px; margin: 0 auto 100px; padding: 0 20px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.contact-info { padding-top: 20px; }
.contact-title { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: var(--bg-navy); }
.contact-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 50px; }
.info-list { list-style: none; }
.info-list li { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 35px; }
.info-icon { background: #fff; border: 1px solid var(--glass-border); width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--accent-color); flex-shrink: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.04); }
.info-text h4 { font-size: 18px; font-weight: 800; margin-bottom: 5px; color: var(--bg-navy); }
.info-text p { font-size: 15px; color: var(--text-muted); line-height: 1.5; }

.contact-form-card { background: #fff; border: 1px solid var(--glass-border); border-radius: 30px; padding: 50px; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.05); }
.btn-submit { width: 100%; background: var(--bg-navy); color: #fff; border: none; border-radius: 30px; padding: 18px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: var(--transition); margin-top: 10px; box-shadow: 0 10px 20px rgba(26, 34, 85, 0.15); }
.btn-submit:hover { background: var(--accent-color); transform: translateY(-2px); box-shadow: 0 15px 25px rgba(56, 189, 248, 0.25); }

/* --- STRANICA O NAMA --- */
.about-hero { max-width: 900px; margin: 40px auto 80px; text-align: center; padding: 0 20px; position: relative; }
.about-title { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 30px; color: var(--bg-navy); }
.about-subtitle { font-size: 18px; color: var(--text-muted); line-height: 1.7; max-width: 700px; margin: 0 auto; }
.story-container { max-width: 1300px; margin: 0 auto 100px; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-text h2 { font-size: 32px; font-weight: 800; margin-bottom: 25px; color: var(--bg-navy); }
.story-text p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.story-text p strong { color: var(--bg-navy); font-weight: 800; }
.story-visual { background: #fff; border: 1px solid var(--glass-border); border-radius: 30px; padding: 60px; display: flex; justify-content: center; align-items: center; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.story-visual img { width: 100%; max-width: 250px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); transition: var(--transition); }
.story-visual:hover img { transform: scale(1.05); }

.values-section { max-width: 1300px; margin: 0 auto 100px; padding: 0 20px; }
.values-header { text-align: center; margin-bottom: 50px; }
.values-header h2 { font-size: 36px; font-weight: 800; color: var(--bg-navy); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.value-card { background: #fff; border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px; text-align: center; transition: var(--transition); box-shadow: 0 10px 20px rgba(0,0,0,0.03); }
.value-card:hover { transform: translateY(-10px); border-color: rgba(56, 189, 248, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.value-icon { font-size: 40px; margin-bottom: 20px; }
.value-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 15px; color: var(--bg-navy); }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* --- TEKSTUALNE STRANICE (POLITIKA, USLOVI) --- */
.text-page-hero { max-width: 900px; margin: 20px auto 50px; text-align: center; padding: 0 20px; }
.text-page-title { font-size: 48px; font-weight: 800; line-height: 1.1; color: var(--bg-navy); }
.text-page-content { max-width: 900px; margin: 0 auto 100px; padding: 0 20px; }
.text-page-card { background: #fff; border: 1px solid var(--glass-border); border-radius: 30px; padding: 50px 60px; box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.text-page-card h1, .text-page-card h2, .text-page-card h3, .text-page-card h4 { color: var(--bg-navy); font-weight: 800; margin: 1.5em 0 0.75em; line-height: 1.3; }
.text-page-card h1:first-child, .text-page-card h2:first-child, .text-page-card h3:first-child, .text-page-card h4:first-child { margin-top: 0; }
.text-page-card p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 1em; }
.text-page-card ul, .text-page-card ol { margin: 0 0 1.25em 1.25em; color: var(--text-muted); line-height: 1.8; font-size: 16px; }
.text-page-card li { margin-bottom: 0.5em; }
.text-page-card a { color: var(--accent-color); text-decoration: underline; }
.text-page-card a:hover { color: var(--bg-navy); }
.text-page-card strong { color: var(--bg-navy); font-weight: 800; }
.text-page-empty { text-align: center; color: var(--text-muted); font-size: 16px; margin: 0; }

/* --- VIDEO SEKCIJA --- */
.video-section { 
    max-width: 1000px; 
    margin: -40px auto 100px; /* Negativna margina ga blago podiže ka tekstu iznad */
    padding: 0 20px; 
    position: relative; 
    z-index: 10; 
}
.video-wrapper { 
    background: #fff; 
    border-radius: 30px; 
    overflow: hidden; 
    box-shadow: 0 20px 50px rgba(26, 34, 85, 0.08); 
    border: 1px solid var(--glass-border); 
}
.video-wrapper video { 
    width: 100%; 
    height: auto; 
    display: block; 
    pointer-events: none; /* Sprečava apsolutno svaku interakciju, klik i hover */
}

/* --- FOOTER --- */
footer { border-top: 1px solid #E2E8F0; padding: 60px 20px 30px; background: #fff; margin-top: 50px; }
.footer-content { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-brand img { height: 35px; margin-bottom: 15px; display: block; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 300px; line-height: 1.6; }
.footer-links p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; display: block; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--bg-navy); }
.footer-bottom { text-align: center; padding-top: 40px; color: var(--text-muted); font-size: 12px; border-top: 1px solid #E2E8F0; margin-top: 40px; }

/* --- RESPONZIVNOST (MOBILNI UREĐAJI) --- */
@media (max-width: 992px) { 
    .hero h1 { font-size: 40px; }
    .product-container { flex-direction: column; } 
    .product-gallery { width: 100%; position: relative; top: 0; } 
    .product-title { font-size: 36px; } 
    .cart-container { grid-template-columns: 1fr; gap: 40px; } 
    .checkout-card { position: relative; top: 0; }
    .contact-container { grid-template-columns: 1fr; gap: 50px; } 
    .contact-title { font-size: 40px; }
    .story-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .about-title { font-size: 42px; }
    .text-page-title { font-size: 40px; }
    .text-page-card { padding: 35px 30px; }
}

@media (max-width: 768px) { 
    .header-container { padding: 15px 20px; } 
    .glass-card { padding: 30px 20px; } 
}

@media (max-width: 576px) { 
    .purchase-actions { flex-direction: column; } 
    .btn-primary { padding: 15px; } 
    .image-showcase { padding: 40px; } 
    .cart-item { flex-direction: column; align-items: flex-start; }
    .item-price { text-align: left; margin-top: 10px; }
    .checkout-card { padding: 25px; }
    .contact-form-card { padding: 30px 20px; }
    .cart-modal-dialog { padding: 28px 22px; }
    .cart-modal-actions { grid-template-columns: 1fr; }
}
/* =========================================
   MOBILNI MENI (HAMBURGER)
   ========================================= */

/* Hamburger Ikonica */
.hamburger {
    display: none; /* Sakriveno na desktopu */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 105; /* Mora biti iznad svega */
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--bg-navy);
    transition: var(--transition);
    border-radius: 2px;
}

/* Animacija ikonicu u 'X' kada je meni otvoren */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Dizajn mobilnog menija preko cijelog ekrana */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(248, 250, 252, 0.98); /* Blago providna bijela */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
    transform: translateY(-100%); /* Sakriveno gore van ekrana */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

/* Klasa koja spušta meni dole na klik */
.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav a {
    font-size: 26px;
    font-weight: 800;
    color: var(--bg-navy);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--accent-color);
}

.mobile-nav .mobile-korpa {
    background: var(--bg-navy);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 20px;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(26, 34, 85, 0.15);
}

/* Medija Kveri - Prebacivanje na mobilni prikaz */
@media (max-width: 992px) {
    .desktop-nav {
        display: none; /* Sakrij običan meni na telefonima i manjim tabletima */
    }
    .hamburger {
        display: flex; /* Prikaži tri linijice */
    }
}