/* Frizerski salon Tonka — glavni stylesheet */

:root{
  --bg: #f8f4ef;
  --bg-alt: #f0e9e1;
  --text: #3a2e28;
  --text-muted: #6b5c53;
  --border: #ddd3ca;
  --brand: #b0604a;
  --brand-dark: #8f4c3b;
  --white: #fdfcfb;
  --gold: #c69a5e;
  --dark: #3a2e28;
  --dark-card: #46392f;
  --footer-text: #c9c0b7;
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
h1,h2,h3{ font-family: var(--font-serif); font-weight: 600; margin: 0; }
.container{ max-width:1240px; margin:0 auto; padding:0 28px; }
.eyebrow{
  font-size:13px; letter-spacing:0.2em; color: var(--brand);
  text-transform:uppercase; margin-bottom:10px; font-weight:500;
}
.section{ padding:70px 28px; max-width:1240px; margin:0 auto; }
.section-narrow{ max-width:900px; }
.section-legal{ max-width:760px; }
.section-alt{ background: var(--bg-alt); }
.center{ text-align:center; }
.muted{ color: var(--text-muted); }

/* Buttons */
.btn{
  display:inline-block; border-radius:2px; padding:14px 30px; font-size:14px;
  letter-spacing:0.05em; text-transform:uppercase; cursor:pointer; text-decoration:none;
  border:1px solid var(--text); background:none; color: var(--text); font-family: var(--font-sans);
  transition: opacity .15s ease;
}
.btn:hover{ opacity:.8; }
.btn-primary{ background: var(--brand); border-color: var(--brand); color:#fff; }
.btn-dark{ background: var(--dark); border-color: var(--dark); color:#fff; }
.btn-sm{ padding:9px 16px; font-size:12px; letter-spacing:.04em; border-radius:2px; }
.btn-block{ width:100%; text-align:center; }

/* Header */
.site-header{
  position:sticky; top:0; z-index:40; background: rgba(248,244,239,.96);
  backdrop-filter: blur(6px); border-bottom:1px solid var(--border);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  flex-wrap:wrap; padding:16px 28px;
}
.brand{ line-height:1; text-decoration:none; color:var(--text); }
.brand-eyebrow{ font-size:11px; letter-spacing:0.22em; color: var(--brand); text-transform:uppercase; }
.brand-name{ font-family: var(--font-serif); font-size:30px; font-weight:600; letter-spacing:0.04em; }

.main-nav{ display:flex; gap:22px; flex-wrap:wrap; align-items:center; }
.main-nav a{
  font-size:14px; letter-spacing:0.03em; color:var(--text); text-decoration:none;
  padding:6px 2px; border-bottom:2px solid transparent; opacity:.62;
}
.main-nav a:hover, .main-nav a.active{ opacity:1; border-bottom-color: var(--brand); }

.nav-toggle{
  display:none; background:none; border:1px solid var(--text); border-radius:2px;
  padding:8px 10px; cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:20px; height:2px; background:var(--text); position:relative;
}
.nav-toggle span::before{ top:-6px; } .nav-toggle span::after{ top:4px; }

.header-actions{ display:flex; align-items:center; gap:14px; }
.cart-btn{
  position:relative; background:none; border:1px solid var(--text); border-radius:2px;
  padding:8px 14px; font-size:13px; cursor:pointer; letter-spacing:0.04em; text-decoration:none; color:var(--text);
}

@media (max-width: 860px){
  .nav-toggle{ display:block; }
  .main-nav{
    display:none; width:100%; order:3; flex-direction:column; align-items:flex-start;
    gap:4px; padding-top:10px; border-top:1px solid var(--border); margin-top:10px;
  }
  .main-nav.open{ display:flex; }
}

/* Hero */
.hero{
  display:flex; flex-wrap:wrap; align-items:center; gap:40px;
  max-width:1240px; margin:0 auto; padding:60px 28px 60px;
}
.hero-copy{ flex:1 1 420px; min-width:300px; }
.hero-copy h1{ font-size:clamp(34px,5vw,58px); line-height:1.08; margin:0 0 20px; }
.hero-copy p{ font-size:17px; line-height:1.7; color:var(--text-muted); max-width:480px; margin:0 0 28px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-media{ flex:1 1 420px; min-width:300px; }
.hero-media img{ width:100%; height:420px; object-fit:cover; border-radius:2px; }

.media-box img{ width:100%; object-fit:cover; border-radius:2px; }

/* Feature strip */
.features{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:26px; text-align:center; padding:44px 0;
}
.feature-icon{
  width:44px; height:44px; border-radius:50%; border:1px solid var(--brand); color:var(--brand);
  display:flex; align-items:center; justify-content:center; margin:0 auto 12px; font-family: var(--font-serif);
}

/* Services grid */
.grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:24px; }
.card{ background:var(--white); border:1px solid var(--border); padding:26px; }
.card-icon{
  width:38px; height:38px; border-radius:50%; background:var(--bg-alt); display:flex;
  align-items:center; justify-content:center; font-family: var(--font-serif); color:var(--brand);
  margin-bottom:14px; font-size:15px;
}
.card-title{ font-size:16px; font-weight:600; margin-bottom:6px; }
.card-desc{ font-size:14px; color:var(--text-muted); line-height:1.5; }

/* Testimonials */
.testimonials-section{ background: var(--dark); padding:70px 28px; }
.testimonials-section .eyebrow{ color: var(--gold); }
.testimonials-section h2{ color:#fff; font-size:34px; }
.testimonial-card{ background: var(--dark-card); padding:24px; color:#fff; }
.testimonial-stars{ color: var(--gold); font-size:14px; margin-bottom:10px; }
.testimonial-text{ font-size:14px; line-height:1.6; margin-bottom:14px; color:#e3dcd4; }
.testimonial-name{ font-size:13px; letter-spacing:0.05em; }

/* Location / CTA split */
.split{ display:flex; flex-wrap:wrap; gap:40px; align-items:center; }
.split > div{ flex:1 1 320px; min-width:280px; }
.map-photo{ position:relative; height:260px; border-radius:2px; overflow:hidden; }
.map-photo img{ width:100%; height:100%; object-fit:cover; }
.map-photo .map-tag{
  position:absolute; left:14px; bottom:14px; background:rgba(253,252,251,.9); padding:8px 14px;
  font-size:13px; color:var(--text-muted); border-radius:2px;
}

/* Stats */
.stats{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:22px;
  text-align:center; border-top:1px solid var(--border); padding-top:30px; margin-top:10px;
}
.stat-num{ font-family: var(--font-serif); font-size:34px; color: var(--brand); }
.stat-label{ font-size:13px; color:var(--text-muted); }

/* Gallery */
.gallery-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; }
.gallery-item{ position:relative; height:240px; overflow:hidden; border-radius:2px; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.gallery-item:hover img{ transform: scale(1.05); }
.gallery-caption{
  position:absolute; left:0; right:0; bottom:0; padding:10px 12px; font-size:13px; color:#fff;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}

/* Prices */
.price-group{ margin-bottom:38px; }
.price-group h3{ font-size:24px; border-bottom:1px solid var(--border); padding-bottom:10px; margin-bottom:14px; }
.price-row{
  display:flex; justify-content:space-between; padding:10px 0;
  border-bottom:1px dashed var(--border); font-size:15px;
}
.price-row span:last-child{ color: var(--brand); font-weight:600; }
.price-note{ font-size:13px; color: var(--text-muted); }

/* Shop */
.product-card{ background:var(--white); border:1px solid var(--border); display:flex; flex-direction:column; }
.product-photo{ height:180px; overflow:hidden; }
.product-photo img{ width:100%; height:100%; object-fit:cover; }
.product-body{ padding:18px; display:flex; flex-direction:column; gap:6px; flex:1; }
.product-name{ font-size:15px; font-weight:600; }
.product-desc{ font-size:13px; color: var(--text-muted); line-height:1.5; flex:1; }
.product-footer{ display:flex; justify-content:space-between; align-items:center; margin-top:8px; gap:10px; }
.product-price{ font-size:16px; color: var(--brand); font-weight:600; }
.qty-input{
  width:48px; padding:8px 6px; border:1px solid var(--border); text-align:center; font-family: var(--font-sans);
}
.add-form{ display:flex; align-items:center; gap:8px; }

/* Cart drawer */
.cart-overlay{
  position:fixed; inset:0; z-index:60; display:none;
}
.cart-overlay.open{ display:block; }
.cart-overlay .backdrop{ position:absolute; inset:0; background:rgba(40,30,25,.45); }
.cart-panel{
  position:absolute; right:0; top:0; bottom:0; width:min(420px,100%); background: var(--white);
  box-shadow:-8px 0 30px rgba(30,20,15,.2); padding:28px; overflow-y:auto; display:flex; flex-direction:column;
}
.cart-panel-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; }
.cart-panel-head h2{ font-size:24px; }
.cart-close{ background:none; border:none; font-size:20px; cursor:pointer; color: var(--text-muted); }
.cart-item{ display:flex; gap:12px; border-bottom:1px solid var(--border); padding-bottom:14px; margin-bottom:14px; }
.cart-item-thumb{ width:60px; height:60px; flex:none; object-fit:cover; border-radius:2px; background: var(--bg-alt); }
.cart-item-name{ font-size:14px; font-weight:600; }
.cart-item-price{ font-size:13px; color: var(--text-muted); margin:4px 0; }
.cart-item-controls{ display:flex; align-items:center; gap:10px; }
.qty-btn{ width:24px; height:24px; border:1px solid var(--border); background:#fff; cursor:pointer; }
.cart-item-remove{ margin-left:auto; background:none; border:none; color: var(--brand); font-size:12px; cursor:pointer; text-decoration:underline; }
.cart-empty{ color: var(--text-muted); font-size:14px; padding:20px 0; }
.cart-summary{ border-top:1px solid var(--border); padding-top:16px; margin-top:10px; }
.cart-total{ display:flex; justify-content:space-between; font-size:16px; font-weight:600; margin-bottom:14px; }

/* Blog */
.blog-item{ display:flex; gap:22px; flex-wrap:wrap; border-bottom:1px solid var(--border); padding-bottom:26px; margin-bottom:26px; }
.blog-thumb{ width:220px; height:140px; flex:none; overflow:hidden; border-radius:2px; }
.blog-thumb img{ width:100%; height:100%; object-fit:cover; }
.blog-date{ font-size:12px; color: var(--text-muted); margin-bottom:6px; }
.blog-title{ font-family: var(--font-serif); font-size:22px; margin-bottom:8px; }
.blog-excerpt{ font-size:14px; color: var(--text-muted); line-height:1.6; }

/* FAQ */
.faq-item{ border-bottom:1px solid var(--border); padding:16px 0; }
.faq-q{ font-weight:600; font-size:15px; margin-bottom:6px; }
.faq-a{ font-size:14px; color: var(--text-muted); line-height:1.6; }

/* Forms */
.form-field{
  width:100%; padding:13px 16px; border:1px solid var(--border); background:#fff;
  font-family: var(--font-sans); font-size:14px; margin-bottom:12px;
}
textarea.form-field{ resize:vertical; }
label.form-label{ display:block; font-size:13px; color: var(--text-muted); margin-bottom:6px; }
.form-note{ font-size:12px; color: var(--text-muted); margin-top:10px; }
.form-success{
  background:#eaf3ea; border:1px solid #b8d8b8; color:#2c5a2c; padding:16px 18px;
  border-radius:2px; margin-bottom:20px; font-size:14px;
}
.form-error{
  background:#fbeceb; border:1px solid #e6b3af; color:#8a2f27; padding:16px 18px;
  border-radius:2px; margin-bottom:20px; font-size:14px;
}

/* Legal pages */
.legal-body{ font-size:15px; line-height:1.8; color:#4a3c34; display:flex; flex-direction:column; gap:16px; }
.legal-body p{ margin:0; }
.legal-list{ display:flex; flex-direction:column; gap:10px; font-size:15px; line-height:1.9; }

/* Footer */
.site-footer{ background: var(--dark); color: var(--footer-text); padding:56px 28px 24px; }
.footer-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:36px; max-width:1240px; margin:0 auto; }
.footer-brand{ font-family: var(--font-serif); font-size:24px; color:#fff; margin-bottom:12px; }
.footer-col-title{ font-size:13px; letter-spacing:0.1em; text-transform:uppercase; color:#fff; margin-bottom:14px; }
.footer-links{ display:flex; flex-direction:column; gap:9px; font-size:14px; }
.footer-links a{ color: var(--footer-text); text-decoration:none; }
.footer-links a:hover{ text-decoration:underline; }
.footer-bottom{
  max-width:1240px; margin:36px auto 0; padding-top:20px; border-top:1px solid #55473d;
  font-size:12px; color:#a49a90; text-align:center;
}

/* Cookie consent */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:70; background: var(--dark); color:#fff;
  padding:18px 28px; display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between;
  box-shadow:0 -4px 20px rgba(20,15,10,.3);
}
.cookie-banner p{ font-size:13px; max-width:640px; color:#ddd4cb; margin:0; }
.cookie-banner a{ text-decoration:underline; color:#fff; }
.cookie-actions{ display:flex; gap:10px; }
.cookie-actions button{
  border-radius:2px; padding:10px 18px; font-size:13px; cursor:pointer; font-family: var(--font-sans);
}
.cookie-reject{ background:none; border:1px solid #a49a90; color:#fff; }
.cookie-accept{ background: var(--brand); border:none; color:#fff; }

@media (max-width: 640px){
  .section{ padding:50px 20px; }
  .hero{ padding:40px 20px 40px; }
  .blog-thumb{ width:100%; height:180px; }
}
