/* ============================================
   Autolimarska radionica VS — Custom Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-cream: #f4f1ea;
  --bg-dark: #1a1a1a;
  --bg-charcoal: #2b2b2b;
  --accent-orange: #e07a3e;
  --accent-orange-deep: #c96a32;
  --steel-blue: #3a5a7c;
  --text-dark: #1a1a1a;
  --text-light: #f4f1ea;
  --text-muted: #6b6b6b;
  --text-muted-light: #a0a0a0;
  --border-light: rgba(26,26,26,0.08);
  --border-dark: rgba(244,241,234,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.14);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
}

.btn-primary:hover {
  background: var(--accent-orange-deep);
  border-color: var(--accent-orange-deep);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(244,241,234,0.45);
}

.btn-outline:hover {
  background: rgba(244,241,234,0.08);
  border-color: var(--text-light);
}

/* Section commons */
.section {
  padding: 4.5rem 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-light {
  background: var(--bg-cream);
  color: var(--text-dark);
}

.section-alt {
  background: #ece8de;
  color: var(--text-dark);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-orange);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-orange);
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--text-muted-light);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--accent-orange);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text-light);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

/* Mobile menu toggle */
.nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: transform var(--transition), opacity var(--transition);
}

#nav-toggle {
  display: none;
}

#nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}

#nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--bg-charcoal);
  border-top: 1px solid var(--border-dark);
}

#nav-toggle:checked ~ .mobile-menu {
  max-height: 400px;
}

.mobile-menu ul {
  padding: 1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted-light);
  border-bottom: 1px solid rgba(244,241,234,0.06);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--text-light);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/research-07.jpg') center center / cover no-repeat;
  transform: translateZ(0);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.68);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 6rem 1.25rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244,241,234,0.10);
  border: 1px solid rgba(244,241,234,0.18);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-badge .stars {
  color: #f5b041;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.60);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-orange);
  text-shadow: 0 2px 14px rgba(0,0,0,0.80);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 300;
  opacity: 0.95;
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0,0,0,0.50);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* ============================================
   USLUGE
   ============================================ */
.services-visual {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.services-visual img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Cjenik */
.pricing-box {
  margin-top: 2.5rem;
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.pricing-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--accent-orange);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.price-row:last-child {
  border-bottom: none;
}

.price-name {
  font-size: 0.95rem;
  font-weight: 500;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-orange);
  white-space: nowrap;
}

.price-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted-light);
  margin-top: 0.2rem;
}

/* ============================================
   O NAMA
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #d6d2c8;
}

.about-text p + p {
  margin-top: 1rem;
}

.usps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.usp-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(244,241,234,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform var(--transition), border-color var(--transition);
}

.usp-item:hover {
  transform: translateY(-2px);
  border-color: rgba(224,122,62,0.35);
}

.usp-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224,122,62,0.12);
  color: var(--accent-orange);
  border-radius: 50%;
  font-size: 1.1rem;
}

.usp-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.usp-item p {
  font-size: 0.88rem;
  color: var(--text-muted-light);
  line-height: 1.55;
}

/* ============================================
   RECENZIJE
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #f5b041;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.reviews-source {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-source a {
  color: var(--steel-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   GALERIJA
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--bg-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(26,26,26,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-caption span {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ============================================
   RADNO VRIJEME
   ============================================ */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 520px;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.1rem;
  background: rgba(244,241,234,0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.hour-row .day {
  font-weight: 600;
}

.hour-row .time {
  color: var(--accent-orange);
  font-weight: 600;
}

.hour-row.closed .time {
  color: var(--text-muted-light);
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.7;
}

/* ============================================
   KONTAKT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-block {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-block .label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-orange);
  margin-bottom: 0.4rem;
}

.contact-block .value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  word-break: break-word;
}

.contact-block a.value {
  color: var(--steel-blue);
  transition: color var(--transition);
}

.contact-block a.value:hover {
  color: var(--accent-orange);
}

.tel-big {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%) contrast(1.05);
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-dark);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
  transition: background var(--transition), border-color var(--transition);
}

.social-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: rgba(244,241,234,0.5);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  transition: transform var(--transition);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* JS smooth open animation helper classes */
.faq-item.js-smooth .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  padding-bottom: 0;
}

.faq-item.js-smooth[open] .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 1.1rem;
}

.faq-item.js-smooth .faq-answer > div {
  overflow: hidden;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0c0c0c;
  color: var(--text-muted-light);
  padding: 3.5rem 0 2rem;
  border-top: 2px solid rgba(224,122,62,0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.footer-brand span {
  color: var(--accent-orange);
}

.footer p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #c8c4bc;
}

.footer a {
  color: #c8c4bc;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244,241,234,0.10);
  font-size: 0.85rem;
  color: #8a8a8a;
}

/* ============================================
   SCROLL REVEAL (JS enhancement)
   ============================================ */
.js-enabled .reveal {
  opacity: 1;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal-delay-1 { transition-delay: 0.08s; }
.js-enabled .reveal-delay-2 { transition-delay: 0.16s; }
.js-enabled .reveal-delay-3 { transition-delay: 0.24s; }
.js-enabled .reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================
   MEDIA QUERIES
   ============================================ */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle-label {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .usps {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .map-wrap {
    height: 100%;
    min-height: 360px;
  }

  .services-visual img {
    height: 320px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }

  .gallery-item {
    aspect-ratio: 16 / 10;
  }

  .footer-bottom {
    flex-direction: row;
  }
}
