/*
Theme Name: Limene Garaze
Theme URI: https://limenegaraze.rs
Author: Limene Garaze
Description: Sajt za prodaju montaznih garaza
Version: 1.0
*/

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

:root {
  --orange: #E8531F;
  --orange-dark: #c94318;
  --gray-dark: #3D3D3D;
  --gray-mid: #6B6B6B;
  --gray-light: #F4F4F4;
  --white: #FFFFFF;
  --black: #1A1A1A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  padding: 0 5%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 140px; width: auto; display: block; }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray-dark); font-weight: 500; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }

.nav-cta { background: var(--orange); color: #fff !important; padding: 10px 22px; border-radius: 8px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--orange-dark) !important; color: #fff !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--gray-dark); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--gray-dark); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #2A2A2A 0%, #3D3D3D 50%, #2A2A2A 100%); }
.hero-img { position: absolute; inset: 0; background-image: url('img/hero.jpg'); background-size: cover; background-position: center; opacity: 0.35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.4) 60%, transparent 100%); }

.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 120px 5% 80px; width: 100%; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,83,31,0.18); border: 1px solid rgba(232,83,31,0.4); color: var(--orange); padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.5px; }

.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; color: var(--white); line-height: 1.1; max-width: 640px; margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 40px; line-height: 1.7; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; padding: 15px 30px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,83,31,0.35); }

.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); color: #fff; padding: 15px 30px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid rgba(255,255,255,0.25); transition: all 0.2s; }
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.hero-stats { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 5% 60px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat { display: flex; align-items: center; gap: 12px; }
.hero-stat-icon { width: 44px; height: 44px; background: rgba(232,83,31,0.15); border: 1px solid rgba(232,83,31,0.3); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 18px; }
.hero-stat-text strong { display: block; color: #fff; font-size: 18px; font-weight: 800; }
.hero-stat-text span { color: rgba(255,255,255,0.55); font-size: 12px; }

/* ── SECTIONS ── */
section { padding: 90px 5%; }
.section-label { display: inline-block; color: var(--orange); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--black); line-height: 1.15; margin-bottom: 16px; }
.section-title span { color: var(--orange); }
.section-sub { font-size: 1rem; color: var(--gray-mid); max-width: 520px; line-height: 1.7; margin-bottom: 60px; }
.container { max-width: 1200px; margin: 0 auto; }

/* ── WHY ── */
#zasto { background: var(--gray-light); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.why-card { background: #fff; border-radius: 16px; padding: 32px 28px; border: 1px solid #eee; transition: all 0.3s; position: relative; overflow: hidden; }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon { width: 52px; height: 52px; background: rgba(232,83,31,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--gray-mid); line-height: 1.7; }

/* ── MODELS ── */
#modeli { background: #fff; }
.models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.model-card { border-radius: 20px; overflow: hidden; border: 2px solid #eee; transition: all 0.3s; position: relative; }
.model-card.featured { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,83,31,0.1); }
.model-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.model-badge { position: absolute; top: 16px; right: 16px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 100px; letter-spacing: 0.5px; z-index: 2; }
.model-img { height: 220px; background: var(--gray-light); position: relative; overflow: hidden; }
.model-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.model-card:hover .model-img img { transform: scale(1.04); }
.model-body { padding: 28px; }
.model-size { display: inline-flex; align-items: center; gap: 6px; background: var(--gray-light); color: var(--gray-dark); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 8px; margin-bottom: 14px; letter-spacing: 0.5px; }
.model-body h3 { font-size: 20px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.model-desc { font-size: 14px; color: var(--gray-mid); line-height: 1.6; margin-bottom: 20px; }
.model-features { list-style: none; margin-bottom: 24px; }
.model-features li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gray-dark); padding: 5px 0; }
.model-features li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.model-price-row { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid #eee; }
.model-price { font-size: 26px; font-weight: 900; color: var(--orange); }
.model-price small { font-size: 13px; font-weight: 500; color: var(--gray-mid); }
.model-price-extra { font-size: 12px; color: var(--gray-mid); margin-top: 2px; }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--orange); color: var(--orange); padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.2s; cursor: pointer; background: none; }
.btn-outline:hover { background: var(--orange); color: #fff; }

/* ── HOW ── */
#kako { background: var(--gray-dark); }
#kako .section-title { color: #fff; }
#kako .section-label { color: var(--orange); }
#kako .section-sub { color: rgba(255,255,255,0.6); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--orange), rgba(232,83,31,0.2)); z-index: 0; }
.step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-num { width: 72px; height: 72px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 900; color: #fff; margin: 0 auto 24px; box-shadow: 0 8px 24px rgba(232,83,31,0.4); }
.step h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── GALLERY ── */
#galerija { background: var(--gray-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery-item { border-radius: 16px; overflow: hidden; position: relative; }
.gallery-item:nth-child(1) { grid-column: span 7; height: 360px; }
.gallery-item:nth-child(2) { grid-column: span 5; height: 360px; }
.gallery-item:nth-child(3) { grid-column: span 4; height: 260px; }
.gallery-item:nth-child(4) { grid-column: span 4; height: 260px; }
.gallery-item:nth-child(5) { grid-column: span 4; height: 260px; }
.gallery-item:nth-child(6) { grid-column: span 6; height: 300px; }
.gallery-item:nth-child(7) { grid-column: span 6; height: 300px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── FAQ ── */
#faq { background: #fff; }
.faq-list { max-width: 780px; }
.faq-item { border: 1px solid #eee; border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.2s; }
.faq-item.open { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-family: 'Inter', sans-serif; }
.faq-question span:first-child { font-size: 15px; font-weight: 600; color: var(--black); line-height: 1.4; }
.faq-icon { width: 28px; height: 28px; flex-shrink: 0; background: var(--gray-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 18px; transition: transform 0.3s, background 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14.5px; color: var(--gray-mid); line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── CONTACT ── */
#kontakt { background: var(--gray-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--black); margin-bottom: 16px; line-height: 1.2; }
.contact-info h2 span { color: var(--orange); }
.contact-info > p { font-size: 15px; color: var(--gray-mid); line-height: 1.7; margin-bottom: 36px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon { width: 46px; height: 46px; background: var(--orange); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-detail-text strong { display: block; font-size: 13px; color: var(--gray-mid); font-weight: 500; margin-bottom: 2px; }
.contact-detail-text a, .contact-detail-text span { font-size: 15px; font-weight: 700; color: var(--black); text-decoration: none; transition: color 0.2s; }
.contact-detail-text a:hover { color: var(--orange); }

.contact-form { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 8px 40px rgba(0,0,0,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-dark); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 1.5px solid #e5e5e5; border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--black); background: #FAFAFA; transition: border-color 0.2s, box-shadow 0.2s; outline: none; appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,83,31,0.12); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-submit { width: 100%; padding: 15px; background: var(--orange); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,83,31,0.35); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success .success-icon { font-size: 52px; margin-bottom: 16px; }
.form-success h3 { font-size: 20px; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--gray-mid); }

/* ── FOOTER ── */
footer { background: var(--black); color: rgba(255,255,255,0.55); padding: 40px 5%; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
footer p { font-size: 13px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(2) { grid-column: span 12; height: 240px; }
  .gallery-item:nth-child(3), .gallery-item:nth-child(4), .gallery-item:nth-child(5), .gallery-item:nth-child(6), .gallery-item:nth-child(7) { grid-column: span 12; height: 200px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 160px; left: 0; right: 0; background: #fff; padding: 20px 5%; border-bottom: 1px solid #eee; gap: 16px; z-index: 999; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── WP NOTICE ── */
.wpcf7-response-output { display: none !important; }
