:root { 
    --gold: #b39252; 
    --black: #0a0a0a; 
    --white: #ffffff; 
    --off-white: #f5f5f5; 
    --grey: #666666; 
    --border: #e0e0e0; 
    --transition: all 0.4s ease; 
}

/* --- RESET & OSNOVE --- */
* { margin: 0; padding: 0; box-sizing: border-box; } 
html { scroll-behavior: smooth; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--white); 
    color: var(--black); 
    line-height: 1.6; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
}
.bg-gray { background: #fafafa; } 
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 5%; }

/* --- NAVBAR --- */
.navbar { 
    position: fixed; top: 0; left: 0; width: 100%; z-index: 9000; 
    background: #ffffff !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    padding: 15px 0;
    transition: var(--transition);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; }
.logo-img { height: 45px; object-fit: contain; }
.nav-links { display: flex; align-items: center; }
.nav-links a { 
    text-decoration: none; color: var(--black); margin-left: 2rem; 
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; 
    letter-spacing: 1px; transition: 0.3s; 
}
.nav-links a:hover, .nav-links a.active-nav { color: var(--gold); }

/* Spuštanje sekcija ispod fiksiranog navbara */
.mt-nav { margin-top: 75px; }

/* --- HERO SEKCIJA (INDEX) --- */
.hero { 
    height: calc(100vh - 75px); position: relative; 
    display: flex; align-items: center; justify-content: center; 
    text-align: center; background: var(--black); 
    overflow: hidden; color: var(--white); 
}
.hero-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('../img/pozadina.jpg') center/cover; opacity: 0.3; }
.hero-content { position: relative; z-index: 2; padding: 0 5%; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 400; line-height: 1.1; margin-bottom: 2rem; color: var(--white); }
.hero-title span { display: block; color: var(--gold); font-style: italic; font-size: 0.8em; }
.hero-subtitle { font-size: 1rem; text-transform: uppercase; letter-spacing: 3px; color: #ccc; margin-bottom: 3rem; font-weight: 300; }

/* --- TAMNI HEADER (PROIZVODI) --- */
.dark-page-header { background: #0a0a0a; padding: 120px 20px 80px; text-align: center; color: #fff; }
.dark-page-header .hero-title { color: #fff; font-size: 3.5rem; margin-bottom: 10px; font-family: 'Playfair Display', serif; font-weight: 400; }
.dark-page-header .hero-title span { color: var(--gold); font-style: italic; }
.dark-page-header .hero-subtitle { color: #888; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 3px; }

/* --- DUGMIĆI --- */
.btn-primary { display: inline-block; padding: 1.2rem 3rem; background: var(--black); color: var(--white); text-decoration: none; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; border: 1px solid var(--black); cursor: pointer; transition: 0.3s; text-align: center; }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--white); transform: translateY(-3px); }
.hero-cta .btn-primary { background: var(--white); color: var(--black); border-color: var(--white); }
.hero-cta .btn-primary:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-secondary { display: inline-block; padding: 1rem 2.5rem; color: var(--black); text-decoration: none; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; border-bottom: 1px solid var(--black); transition: 0.3s; }
.btn-secondary:hover { color: var(--gold); border-color: var(--gold); }

/* --- LUKSUZNA SEKCIJA --- */
.lux-section { padding: 8rem 0; background: var(--white); }
.section-main-title { font-family: 'Playfair Display', serif; font-size: 3.5rem; text-align: center; margin-bottom: 5rem; font-weight: 400; color: var(--black); }
.section-main-title span { font-style: italic; color: var(--gold); }
.lux-tag { display: block; font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 0.5rem; font-weight: 700; }

.lux-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }
.lux-card { background: var(--white); padding-bottom: 2rem; position: relative; }
.lux-image-wrapper { position: relative; height: 450px; overflow: hidden; margin-bottom: 1.5rem; background: var(--off-white); }
.lux-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s ease; }
.lux-card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.lux-card-overlay span { color: var(--white); border: 1px solid var(--white); padding: 10px 20px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.7rem; font-weight: 600; }
.lux-card:hover .lux-card-overlay { opacity: 1; }
.lux-card:hover .lux-image-wrapper img { transform: scale(1.08); }
.lux-item-name { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 400; margin-bottom: 1rem; color: var(--black); }
.lux-link { text-decoration: none; color: var(--black); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: 0.3s; }
.lux-link:hover { color: var(--gold); }

/* --- O NAMA --- */
.about-section { padding: 8rem 0; background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { color: var(--grey); margin-bottom: 1.5rem; line-height: 1.8; font-size: 0.95rem; }
.img-frame { border: 2px solid var(--gold); padding: 15px; position: relative; }
.img-frame img { width: 100%; display: block; box-shadow: -15px 15px 30px rgba(0,0,0,0.1); }

/* --- FILTERI I PROIZVODI --- */
.all-products-section { padding: 6rem 0 10rem; }
.filters-container { display: flex; justify-content: center; gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.filter-btn { background: none; border: none; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--grey); cursor: pointer; border-bottom: 2px solid transparent; padding-bottom: 5px; transition: 0.3s; }
.filter-btn.active, .filter-btn:hover { color: var(--black); border-color: var(--gold); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; }
.product-card { text-align: center; background: var(--white); position: relative; padding-bottom: 1.5rem; overflow: hidden; border: 1px solid transparent;}
.product-card:hover { border-color: var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.product-image { position: relative; background: var(--white); padding: 2rem; margin-bottom: 1.5rem; height: 350px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); transition: 0.3s; }
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; transition: 0.6s ease; }
.product-card:hover .product-image img { transform: scale(1.08); }
.sale-badge { position: absolute; top: 10px; left: 10px; background: #d9534f; color: #fff; font-size: 0.65rem; font-weight: 700; padding: 5px 10px; text-transform: uppercase; z-index: 5; }

.product-actions { position: absolute; bottom: 0; left: 0; width: 100%; padding: 10px; transform: translateY(100%); transition: 0.3s; z-index: 10; }
.product-card:hover .product-actions { transform: translateY(0); }
.add-to-cart-btn { width: 100%; background: var(--black); color: var(--white); border: none; padding: 15px; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s; letter-spacing: 2px; }
.add-to-cart-btn:hover { background: var(--gold); }

.product-category { font-size: 0.7rem; color: var(--grey); text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 0.5rem; font-weight: 600; }
.product-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--black); margin-bottom: 0.8rem; font-weight: 600; }
.product-price { font-weight: 700; font-size: 1.1rem; color: var(--black); }
.old-price { text-decoration: line-through; color: var(--grey); margin-right: 10px; font-size: 0.9rem; font-weight: 500; }

/* --- KORPA (POTPUNO NEPROBOJNA) --- */
.cart-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 99998; opacity: 0; visibility: hidden; pointer-events: none; transition: 0.4s; }
.cart-overlay.active { opacity: 1; visibility: visible; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: -450px; width: 400px; max-width: 100%; height: 100vh; background: #fff; z-index: 99999; display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: -5px 0 30px rgba(0,0,0,0.1); }
.cart-drawer.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--black); }
.close-cart { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--black); transition: 0.3s; }
.close-cart:hover { color: var(--gold); transform: rotate(90deg); }
.cart-items-container { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.empty-cart-msg { text-align: center; color: var(--grey); font-size: 0.95rem; margin-top: 2rem; font-weight: 500; }
.cart-item { display: flex; gap: 15px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 70px; height: 70px; object-fit: contain; background: var(--off-white); padding: 5px; border: 1px solid var(--border); }
.cart-item-info { flex: 1; }
.cart-item-title { font-size: 0.9rem; font-weight: 700; color: var(--black); margin-bottom: 5px; }
.cart-item-price { font-size: 0.9rem; color: var(--gold); font-weight: 700; }
.remove-item { background: none; border: none; color: #d9534f; cursor: pointer; font-size: 0.8rem; text-decoration: underline; font-weight: 600; margin-top: 5px; transition: 0.3s; }
.cart-footer { padding: 20px; border-top: 1px solid var(--border); background: #fafafa; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--black); margin-bottom: 15px;}

/* --- CHECKOUT --- */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; }
.checkout-form-container { background: var(--white); padding: 3rem; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border-radius: 10px; border: 1px solid var(--border); }
.checkout-summary { background: var(--white); padding: 3rem; border: 1px solid var(--border); border-radius: 10px; height: fit-content; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.75rem; text-transform: uppercase; font-weight: 600; color: var(--grey); margin-bottom: 0.5rem; letter-spacing: 1px; }
.form-group input { width: 100%; padding: 1rem; border: 1px solid var(--border); background: var(--off-white); font-family: 'Montserrat', sans-serif; font-size: 0.9rem; transition: 0.3s; outline: none; }
.form-group input:focus { border-color: var(--black); }

/* --- FOOTER --- */
.main-footer { background: #050505; color: #fff; padding: 6rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-col h3 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 1rem; color: #fff; }
.footer-col h4 { text-transform: uppercase; color: var(--gold); font-size: 0.9rem; margin-bottom: 1.5rem; letter-spacing: 2px;}
.footer-col p { color: #888; font-size: 0.9rem; margin-bottom: 0.8rem;}
.footer-col ul { list-style: none; }
.footer-col ul li a { color: #888; text-decoration: none; transition: 0.3s; display: block; margin-bottom: 8px; font-size: 0.9rem;}
.footer-col ul li a:hover { color: #fff; padding-left: 5px;}
.footer-bottom { border-top: 1px solid #1a1a1a; padding-top: 2rem; display: flex; justify-content: space-between; font-size: 0.8rem; color: #666; }
.footer-bottom strong { color: var(--gold); }

/* --- DODATNE PREMIUM ANIMACIJE I BOGATIJI DIZAJN --- */

/* Luksuznije senke na karticama i lagano podizanje */
.product-card {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(179, 146, 82, 0.12); /* Zlatni glow efekat */
    border-color: rgba(179, 146, 82, 0.3);
}

/* Plutajuća animacija za slike na prelaz mišem */
.product-image img {
    transition: transform 0.8s ease, filter 0.5s ease !important;
}
.product-card:hover .product-image img {
    transform: scale(1.1) translateY(-5px) !important;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1));
}

/* Premium efekat za 'Dodaj u korpu' dugme */
.add-to-cart-btn {
    background: linear-gradient(45deg, var(--black), #1a1a1a) !important;
    border-radius: 0 0 12px 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.add-to-cart-btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, var(--gold), #d4af37);
    z-index: -1; transition: opacity 0.4s ease; opacity: 0;
}
.add-to-cart-btn:hover::before {
    opacity: 1;
}

/* Mekše ivice na formi za Checkout */
.checkout-form-container, .checkout-summary {
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important;
}
.form-group input {
    border-radius: 8px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}
.form-group input:focus {
    box-shadow: 0 0 0 3px rgba(179, 146, 82, 0.2);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) { 
    .about-grid, .checkout-grid { grid-template-columns: 1fr; } 
    .footer-top { grid-template-columns: 1fr; text-align: center; } 
    .nav-links { display: none; } /* U mobilnom pogledu sakrivamo dok ne napravimo hamburger */
}
@media (max-width: 500px) { 
    .cart-drawer { width: 100%; right: -100%; } 
    .form-row { grid-template-columns: 1fr; } 
}