/* ═══════════════════════════════════════════════════════════════════
   MARINKO KOKOREÇ — SHARED DESIGN SYSTEM (V3 Glassmorphism)
   ═══════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

:root {
  --bg: #120e0a;
  --bg2: #1a1510;
  --bg3: #221c14;
  --surface: rgba(255, 245, 230, 0.04);
  --glass: rgba(255, 245, 230, 0.06);
  --glass-border: rgba(255, 245, 230, 0.1);
  --glass-hover: rgba(255, 245, 230, 0.1);
  --text: #f0e8dc;
  --text-dim: #a89e90;
  --text-muted: #6e6458;
  --amber: #d4892c;
  --amber-bright: #f0a040;
  --copper: #c06830;
  --ember: #cc3d2a;
  --ember-r: 204, 61, 42;
  --gold: #c4a24e;
  --gold-glow: rgba(196, 162, 78, 0.25);
  --blur-sm: blur(12px);
  --blur-md: blur(24px);
  --blur-lg: blur(60px);
  --blur-xl: blur(100px);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
::selection { background: rgba(212, 137, 44, 0.35); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ═══ GLASS MIXINS ═══ */
.glass { background: var(--glass); backdrop-filter: var(--blur-md); -webkit-backdrop-filter: var(--blur-md); border: 1px solid var(--glass-border); border-radius: var(--radius); }
.glass-sm { background: var(--glass); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); }

/* ═══ ORBS ═══ */
.orb-canvas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: var(--blur-xl); opacity: 0.35; animation: orbFloat 20s ease-in-out infinite alternate; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--amber) 0%, transparent 70%); top: -10%; left: -5%; animation-duration: 18s; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, var(--copper) 0%, transparent 70%); top: 30%; right: -8%; animation-duration: 22s; animation-delay: -5s; }
.orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, var(--ember) 0%, transparent 70%); bottom: -5%; left: 30%; animation-duration: 25s; animation-delay: -10s; }
.orb-4 { width: 300px; height: 300px; background: radial-gradient(circle, var(--gold) 0%, transparent 70%); top: 60%; left: 10%; animation-duration: 20s; animation-delay: -3s; opacity: 0.2; }
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(30px, -10px) scale(1.05); }
}

/* ═══ GRAIN ═══ */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 9990; opacity: 0.025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); background-size: 256px; }

/* ═══ NAVBAR ═══ */
.navbar { position: fixed; top: 16px; left: 16px; right: 16px; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; background: rgba(18, 14, 10, 0.5); backdrop-filter: var(--blur-md); -webkit-backdrop-filter: var(--blur-md); border: 1px solid rgba(255,245,230,0.06); border-radius: 16px; transition: background 0.4s, border-color 0.4s; }
.navbar.scrolled { background: rgba(18, 14, 10, 0.85); border-color: rgba(255,245,230,0.1); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.nav-logo-text { font-family: 'Libre Caslon Display', serif; font-size: 22px; color: var(--text); letter-spacing: -0.5px; }
.nav-logo-year { font-size: 10px; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-dim); letter-spacing: 0.5px; transition: color 0.3s; position: relative; }
.nav-links a:hover { color: var(--amber-bright); }
.nav-links a.active { color: var(--amber-bright); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--amber); border-radius: 1px; transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.btn-glow { background: linear-gradient(135deg, var(--amber), var(--copper)); color: #fff; padding: 10px 24px; border-radius: var(--radius-xs); font-size: 13px; font-weight: 600; letter-spacing: 0.5px; border: none; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 4px 20px rgba(212, 137, 44, 0.25); display: inline-flex; align-items: center; }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212, 137, 44, 0.4); }
.hamburger { display: none; background: none; border: 1px solid var(--glass-border); color: var(--text); width: 40px; height: 40px; border-radius: var(--radius-xs); font-size: 18px; cursor: pointer; align-items: center; justify-content: center; }

/* ═══ BUTTONS ═══ */
.btn-solid { display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px; background: linear-gradient(135deg, var(--amber), var(--copper)); border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; transition: all 0.4s; box-shadow: 0 4px 24px rgba(212, 137, 44, 0.3); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212, 137, 44, 0.45); }
.btn-glass { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: rgba(255,245,230,0.06); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); border: 1px solid rgba(255,245,230,0.12); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; transition: all 0.4s; }
.btn-glass:hover { background: rgba(255,245,230,0.12); border-color: var(--amber); box-shadow: 0 8px 32px rgba(212, 137, 44, 0.15); transform: translateY(-2px); }

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero { position: relative; padding: 160px 48px 80px; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; filter: saturate(0.5); }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg), transparent 30%, transparent 50%, var(--bg) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; width: 100%; }
.page-hero .breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.page-hero .breadcrumb a { color: var(--text-dim); transition: color 0.3s; }
.page-hero .breadcrumb a:hover { color: var(--amber-bright); }
.page-hero .breadcrumb .sep { color: var(--text-muted); }
.page-hero h1 { font-family: 'Libre Caslon Display', serif; font-size: clamp(36px, 5vw, 56px); font-weight: 400; line-height: 1.15; }
.page-hero h1 .glow { background: linear-gradient(135deg, var(--amber-bright), var(--copper)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero-desc { font-size: 16px; color: var(--text-dim); margin-top: 12px; max-width: 560px; line-height: 1.7; }

/* ═══ SECTION UTILITIES ═══ */
.section-pad { padding: 100px 48px; position: relative; overflow: hidden; }
.container { max-width: 1400px; margin: 0 auto; width: 100%; }
.section-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-tag-line { width: 32px; height: 2px; background: var(--amber); border-radius: 1px; }
.section-tag-text { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--amber); }
.section-heading { font-family: 'Libre Caslon Display', serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin-bottom: 24px; }
.section-heading .glow { background: linear-gradient(135deg, var(--amber-bright), var(--copper)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ═══ GLASS CARD ═══ */
.glass-card { background: rgba(255,245,230,0.03); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); border: 1px solid rgba(255,245,230,0.06); border-radius: var(--radius); transition: all 0.4s; padding: 32px; }
.glass-card:hover { background: rgba(255,245,230,0.07); border-color: rgba(212, 137, 44, 0.2); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.2); }

/* ═══ CONTENT PROSE ═══ */
.prose { max-width: 800px; }
.prose h2 { font-family: 'Libre Caslon Display', serif; font-size: 28px; margin: 48px 0 16px; color: var(--text); }
.prose h3 { font-family: 'Libre Caslon Display', serif; font-size: 22px; margin: 36px 0 12px; color: var(--text); }
.prose p { font-size: 16px; color: var(--text-dim); line-height: 1.9; margin-bottom: 20px; }
.prose ul, .prose ol { margin: 16px 0 24px 24px; }
.prose li { font-size: 15px; color: var(--text-dim); line-height: 1.8; margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--amber-bright); border-bottom: 1px solid rgba(240,160,64,0.3); transition: border-color 0.3s; }
.prose a:hover { border-color: var(--amber-bright); }

/* ═══ FOOTER ═══ */
.footer { border-top: 1px solid rgba(255,245,230,0.06); padding: 80px 48px 0; position: relative; }
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 60px; }
.footer-brand-text { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-top: 16px; max-width: 300px; }
.footer h4 { font-family: 'Libre Caslon Display', serif; font-size: 17px; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--amber-bright); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--text-muted); align-items: flex-start; }
.footer-contact-icon { color: var(--amber); flex-shrink: 0; }
.footer-bottom { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-top: 1px solid rgba(255,245,230,0.06); font-size: 12px; color: var(--text-muted); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 40px; height: 40px; background: rgba(255,245,230,0.04); border: 1px solid rgba(255,245,230,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text-muted); transition: all 0.3s; }
.footer-socials a:hover { border-color: var(--amber); color: var(--amber); background: rgba(212, 137, 44, 0.08); }

/* ═══ MAP ═══ */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); height: 400px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: brightness(0.8) contrast(1.1) saturate(0.3); }

/* ═══ FORM ═══ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; letter-spacing: 0.5px; }
.form-input, .form-textarea { width: 100%; padding: 14px 18px; background: rgba(255,245,230,0.04); border: 1px solid rgba(255,245,230,0.1); border-radius: var(--radius-xs); color: var(--text); font-family: 'Manrope', sans-serif; font-size: 15px; transition: border-color 0.3s, box-shadow 0.3s; outline: none; }
.form-input:focus, .form-textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(212,137,44,0.1); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

/* ═══ BLOG ═══ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: rgba(255,245,230,0.03); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); border: 1px solid rgba(255,245,230,0.06); border-radius: var(--radius); overflow: hidden; transition: all 0.4s; }
.blog-card:hover { transform: translateY(-8px); border-color: rgba(212,137,44,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; opacity: 0.85; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); opacity: 1; }
.blog-card-body { padding: 28px; }
.blog-card-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 1px; }
.blog-card-title { font-family: 'Libre Caslon Display', serif; font-size: 20px; margin-bottom: 10px; color: var(--text); line-height: 1.3; }
.blog-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.blog-card-link { font-size: 13px; font-weight: 600; color: var(--amber-bright); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.blog-card-link:hover { gap: 10px; }

/* ═══ SCROLL REVEAL ═══ */
.sr { opacity: 0; transform: translateY(48px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.sr.vis { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: 0.1s; }
.sr-d2 { transition-delay: 0.2s; }
.sr-d3 { transition-delay: 0.3s; }
.sr-d4 { transition-delay: 0.4s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section-pad { padding: 80px 24px; }
  .page-hero { padding: 140px 24px 60px; }
  .footer { padding: 60px 24px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .navbar { top: 8px; left: 8px; right: 8px; padding: 10px 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 300px; }
}

/* ═══ CART TOAST ═══ */
.cart-toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  display: flex; align-items: center; gap: 12px;
  background: rgba(18,14,10,0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212,137,44,0.25); border-radius: 14px;
  padding: 16px 24px; color: var(--text);
  font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transform: translateY(120%); opacity: 0; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cart-toast.show { transform: translateY(0); opacity: 1; }
.cart-toast-icon { width: 28px; height: 28px; border-radius: 50%; background: rgba(37,211,102,0.15); color: #25d366; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.cart-toast-link { color: var(--amber-bright); font-weight: 600; text-decoration: none; white-space: nowrap; margin-left: 8px; transition: color 0.3s; }
.cart-toast-link:hover { color: var(--amber); }

/* ═══ CART BADGE (navbar) ═══ */
.nav-cart { position: relative; display: flex; align-items: center; }
.nav-cart:hover { color: var(--amber-bright) !important; }
