/* =====================================================
   RESET & BASE
===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f4f7fb;
  color: #0b1220;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

/* =====================================================
   VARIABLES / DESIGN SYSTEM
===================================================== */

:root {
  --primary: #f7c744;
  --primary-dark: #e6b835;
  --dark: #0b1220;
  --dark-soft: #121a2e;
  --light: #ffffff;
  --bg: #f4f7fb;
  --muted: #6b7280;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 4px 12px rgba(2, 6, 23, 0.08);
  --shadow-md: 0 10px 30px rgba(2, 6, 23, 0.12);
  --shadow-lg: 0 18px 60px rgba(2, 6, 23, 0.18);

  --container: 1200px;
}

/* =====================================================
   CONTAINER & SECTIONS
===================================================== */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding: 5.5rem 0;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.section h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.section p {
  max-width: 800px;
  color: var(--muted);
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(11,18,32,0.98), rgba(11,18,32,0.92));
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo {
  height: 42px;
}

.brand-name {
  color: var(--light);
  font-weight: 700;
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  color: var(--light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: #000;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

/* =====================================================
   HERO
===================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url('slike/banner.png') right center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11,18,32,0.9) 0%,
    rgba(11,18,32,0.75) 45%,
    rgba(11,18,32,0.35) 75%,
    rgba(11,18,32,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
}

.hero-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  color: #cbd5f5;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--light);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 520px;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 10px 25px rgba(247,199,68,.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(247,199,68,.35);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--light);
}

/* =====================================================
   INTRO
===================================================== */

.intro {
  padding-top: 7rem;
  background: var(--bg);
}

/* =====================================================
   A PROPOS
===================================================== */

.apropos-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  background: var(--light);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.apropos-photo img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.apropos-list {
  list-style: none;
  padding: 0;
  margin-top: 1.4rem;
}

.apropos-list li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* =====================================================
   SERVICES
===================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.service-card {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* =====================================================
   REALISATIONS / GALLERY
===================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.gallery figure {
  background: var(--light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery img {
  height: 220px;
  object-fit: cover;
}

.gallery figcaption {
  padding: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* =====================================================
   REVIEWS
===================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.reviews-grid blockquote {
  background: var(--light);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--primary);
}

.reviews-source {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* =====================================================
   FAQ
===================================================== */

.faq details {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

/* =====================================================
   CONTACT
===================================================== */

.contact form {
  max-width: 620px;
  background: var(--light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e5e7eb;
  margin-bottom: 1.2rem;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.map-wrap {
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  background: var(--dark);
  color: #cbd5f5;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {
  .apropos-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hero {
    background-position: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.call-now-btn {
  display: none;
  background: #ffc400;
  color: #111;
  padding: 14px 22px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .call-now-btn {
    display: inline-block;
  }
}

.sticky-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0b1c2d;
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  z-index: 9999;
}

.sticky-contact a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}

@media (min-width: 769px) {
  .sticky-contact {
    display: none;
  }
}

.review-source {
  margin-top: 2rem;
  font-size: 16px;
  font-weight: 500;
  color: #0b1c2d;
  background: #eef3f8;
  padding: 10px 16px;
  border-left: 4px solid #ffc400;
  border-radius: 6px;
  display: inline-block;
}

.review-source a {
  color: #0b1c2d;
  font-weight: 700;
  text-decoration: none;
}

.review-source a:hover {
  text-decoration: underline;
}



/* JS SUPPORT CLASSES */

.header-scrolled {
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.main-nav a.active::after {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.gallery figure.hovered img {
  transform: scale(1.04);
  transition: transform .4s ease;
}

.focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
