/*
Theme Name: Kombi Najem
Theme URI: https://kombi.si
Author: kombi.si
Author URI: https://kombi.si
Description: One-page landing theme for van rental business, styled after the Kombi.si brand flyer — dark navy, bold yellow, and full-bleed van imagery.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kombi-najem
Tags: one-page, landing-page, full-width-template, custom-colors, custom-header
*/

/* ===========================
   CSS VARIABLES & RESET
   =========================== */
:root {
  --navy:       #0a1628;
  --navy-dark:  #060e1a;
  --navy-mid:   #112240;
  --gold:       #f5c518;
  --gold-dark:  #d4a800;
  --gold-light: #ffe066;
  --white:      #ffffff;
  --gray-light: #e8eaf0;
  --gray-mid:   #9aa3b5;
  --text-body:  #c8d0e0;

  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Barlow', 'Segoe UI', Arial, sans-serif;

  --shadow-gold: 0 0 40px rgba(245, 197, 24, 0.3);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.5);
}

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

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

body {
  background-color: var(--navy-dark);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ===========================
   GOOGLE FONTS IMPORT
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@400;500;600;700&display=swap');

/* ===========================
   DIAGONAL STRIPE UTILITY
   =========================== */
.stripe-accent {
  position: absolute;
  width: 6px;
  background: var(--gold);
  opacity: 0.85;
  transform: skewX(-12deg);
  pointer-events: none;
}

/* ===========================
   SITE HEADER / NAV
   =========================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
  background: rgba(6, 14, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
  transition: background 0.3s;
}

#site-header.scrolled {
  background: rgba(6, 14, 26, 0.99);
}

.site-logo img { height: 40px; width: auto; }


.site-logo span {
  color: var(--gold);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gold);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--navy-dark);
  background: var(--gold);
  padding: 10px 22px;
  border-radius: 3px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}

.header-cta:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-1px);
}

/* ===========================
   HERO SECTION
   =========================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/kombiji_bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: 0;
  will-change: transform;
}

/* Layered dark overlay replicating the flyer's moody top-heavy darkness */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(6, 14, 26, 0.82) 0%,
      rgba(6, 14, 26, 0.55) 40%,
      rgba(6, 14, 26, 0.70) 75%,
      rgba(6, 14, 26, 0.95) 100%
    );
}

/* Diagonal gold accent bars — left side, like the flyer */
.hero-diagonals {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-diagonals::before,
.hero-diagonals::after {
  content: '';
  position: absolute;
  top: -20px;
  width: 8px;
  height: 55%;
  background: var(--gold);
  transform: skewY(-10deg);
  opacity: 0.9;
}

.hero-diagonals::before { left: 52px; }
.hero-diagonals::after  { left: 68px; height: 40%; top: 10%; opacity: 0.5; }

/* Right side diagonals */
.hero-diagonals-right {
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-diagonals-right::before,
.hero-diagonals-right::after {
  content: '';
  position: absolute;
  top: -20px;
  width: 8px;
  height: 55%;
  background: var(--gold);
  transform: skewY(-10deg);
  opacity: 0.9;
}

.hero-diagonals-right::before { right: 52px; }
.hero-diagonals-right::after  { right: 68px; height: 40%; top: 10%; opacity: 0.5; }

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

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 6vw, 4.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.hero-headline .line-white {
  color: var(--white);
  display: block;
  -webkit-text-stroke: 2px rgba(255,255,255,0.15);
  text-shadow:
    3px 3px 0 rgba(0,0,0,0.6),
    0 0 60px rgba(0,0,0,0.4);
  animation: slideInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-headline .line-gold {
  color: var(--gold);
  display: block;
  text-shadow:
    3px 3px 0 rgba(0,0,0,0.5),
    0 0 40px rgba(245, 197, 24, 0.4);
  animation: slideInLeft 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Contact strip at the bottom of hero — mirrors flyer's bottom bar */
.hero-contact-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(6, 14, 26, 0.88);
  border-top: 3px solid var(--gold);
  padding: 28px 40px;
  margin-top: auto;
  animation: fadeInUp 0.8s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 60px;
}

.contact-item:not(:last-child) {
  border-right: 2px solid rgba(245, 197, 24, 0.4);
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--navy-dark);
}

.contact-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ===========================
   SERVICES / FEATURES SECTION
   =========================== */
#services {
  background: var(--navy);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 60px;
}

.section-title span {
  color: var(--gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: rgba(245, 197, 24, 0.15);
}

.service-card {
  background: var(--navy-dark);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--gold);
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  background: var(--navy-mid);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--navy-dark);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

/* ===========================
   FLEET / VEHICLES SECTION
   =========================== */
#fleet {
  background: var(--navy-dark);
  padding: 100px 40px;
  position: relative;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.fleet-card {
  background: var(--navy);
  border: 1px solid rgba(245, 197, 24, 0.12);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.fleet-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.fleet-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.fleet-card-body {
  padding: 28px;
}

.fleet-card-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 14px;
  border-radius: 2px;
}

.fleet-card-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.fleet-card-body p {
  font-size: 0.9rem;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

.fleet-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}

.fleet-spec {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===========================
   WHY US / STATS BAR
   =========================== */
#why-us {
  background: var(--gold);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 300px; height: 300px;
  background: rgba(0,0,0,0.06);
  transform: rotate(30deg);
  pointer-events: none;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--navy-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-top: 8px;
}

/* ===========================
   CONTACT SECTION
   =========================== */
#contact {
  background: var(--navy);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-block {}

.contact-big-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.contact-big-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: var(--navy-dark);
  border: 1px solid rgba(245,197,24,0.15);
  border-left: 4px solid var(--gold);
  transition: border-color 0.3s;
}

.contact-big-item:hover {
  border-color: var(--gold);
  border-left-color: var(--gold);
}

.contact-big-icon {
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-big-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--navy-dark);
}

.contact-big-text-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-big-text-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Contact Form */
.contact-form-block {}

.kombi-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kombi-form input,
.kombi-form textarea,
.kombi-form select {
  width: 100%;
  background: var(--navy-dark);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 2px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.kombi-form input:focus,
.kombi-form textarea:focus,
.kombi-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.1);
}

.kombi-form input::placeholder,
.kombi-form textarea::placeholder {
  color: var(--gray-mid);
}

.kombi-form textarea {
  min-height: 120px;
  resize: vertical;
}

.kombi-form select option {
  background: var(--navy-dark);
  color: var(--white);
}

.btn-submit {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-dark);
  background: var(--gold);
  border: none;
  cursor: pointer;
  padding: 18px 40px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.35);
}

/* ===========================
   FOOTER
   =========================== */
#site-footer {
  background: var(--navy-dark);
  border-top: 2px solid rgba(245,197,24,0.3);
  padding: 40px;
  text-align: center;
}
.footer-logo img { height: 30px; width: auto; margin: auto;}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}

/* ===========================
   HAMBURGER / MOBILE NAV
   =========================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .site-nav,
  .header-cta { display: none; }

  .nav-toggle { display: flex; }

  .site-nav.open {
    display: flex;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--navy-dark);
    border-top: 1px solid rgba(245,197,24,0.3);
    padding: 24px 40px;
    flex-direction: column;
  }

  .site-nav.open ul {
    flex-direction: column;
    gap: 20px;
  }

  #hero {
    min-height: auto;
    height: auto;
  }

  .hero-bg {
    background-size: 100% auto;
    background-position: center top;
  }

  .hero-diagonals,
  .hero-diagonals-right {
    display: none;
  }

  .hero-content {
    padding: 60px 24px 32px;
  }

  .hero-contact-bar {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
  }

  .contact-item {
    padding: 0;
    border-right: none !important;
    border-bottom: 1px solid rgba(245,197,24,0.2);
    padding-bottom: 20px;
    width: 100%;
  }

  .contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  #site-header {
    padding: 0 24px;
  }

  #services, #fleet, #why-us, #contact {
    padding: 60px 24px;
  }
}

/* hero-headline font-size is handled by clamp() — no override needed */

/* ===========================
   SCROLL REVEAL UTILITY
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay: 0.3s; }
