/* ═══════════════════════════════════════════════
   INDEX.CSS  –  ASS DrvоPlast  –  Black Edition v3
   ═══════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  color-scheme: light;
  --accent:      #0ea5e9;
  --accent-dark: #0284c7;
  --accent-glow: rgba(14, 165, 233, 0.18);
  --dark:        #000000;
  --dark-2:      #0a0a0a;
  --dark-3:      #141414;
  --light:       #f5f5f5;
  --white:       #ffffff;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Scroll reveal ── */
.reveal,
.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible,
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section label ── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
  font-family: 'Outfit', sans-serif;
}
.section-label.light {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.12);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#welcome {
  position: relative;
  height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: url("/heroBcg.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  padding-top: 100px;
}

.hero-content.left-aligned {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  text-align: left;
}

#welcome .hero-content.left-aligned h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  letter-spacing: 1px;
  line-height: 1.25;
  max-width: 750px;
}

@media (min-width: 1280px) {
  #welcome .hero-content.left-aligned h1 {
    max-width: 1000px;
  }
}

.hero-content.left-aligned .hero-sub {
  margin: 0 0 44px 0;
  max-width: 750px;
}

.hero-content.left-aligned .hero-cta {
  justify-content: flex-start;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #aaaaaa;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 9px 24px;
  border-radius: 100px;
  margin-bottom: 30px;
  font-family: 'Outfit', sans-serif;
  animation: fadeInDown 0.9s ease both;
}

#welcome h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 4px;
  line-height: 1.08;
  margin: 0 0 8px;
  animation: fadeInDown 1s 0.15s ease both;
}
#welcome h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #bbbbbb;
  line-height: 1.85;
  max-width: 900px;
  margin: 24px auto 44px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  animation: fadeInDown 1s 0.3s ease both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 68px;
  animation: fadeInDown 1s 0.45s ease both;
}

.btn-primary-cta {
  background: var(--accent);
  color: var(--white);
  padding: 17px 42px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary-cta:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-cta {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 17px 42px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.btn-outline-cta:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px 48px;
  animation: fadeInUp 1s 0.6s ease both;
}

.stat { text-align: center; }
.stat .num {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: 'Sora', sans-serif;
}
.stat .lbl {
  display: block;
  font-size: 0.72rem;
  color: #888888;
  letter-spacing: 2px;
  margin-top: 6px;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}
/* ══════════════════════════════════════
   UVODNA SEKCIJA
══════════════════════════════════════ */
#intro {
  padding: 116px 24px;
  background: var(--white);
}

#intro .intro-container {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1240px;
  margin: 0 auto;
}

#intro .text-content {
  flex: 1.1;
}

#intro .text-content h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: #111111;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  line-height: 1.25;
  margin-bottom: 24px;
}

#intro .text-content h2 span {
  color: var(--accent);
}

#intro .text-content .lead-text {
  font-size: 1.15rem;
  color: #333333;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.7;
}

#intro .text-content p:not(.lead-text) {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.85;
  margin-bottom: 30px;
  font-family: 'Outfit', sans-serif;
}

#intro .signature {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin-top: 35px;
}
#intro .signature strong {
  display: block;
  font-size: 1.1rem;
  color: #111;
  font-family: 'Sora', sans-serif;
  margin-bottom: 4px;
}
#intro .signature span {
  font-size: 0.95rem;
  color: #777;
  font-family: 'Outfit', sans-serif;
}

#intro .image-content {
  flex: 1;
  position: relative;
}

#intro .img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
}

#intro .img-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

#intro .experience-badge {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: var(--accent);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

#intro .experience-badge .num {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  line-height: 1;
}

#intro .experience-badge .lbl {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
  line-height: 1.3;
}

@media (max-width: 992px) {
  #intro .intro-container {
    flex-direction: column;
    gap: 50px;
  }
  #intro .experience-badge {
    left: 20px;
    bottom: -20px;
  }
}



/* ══════════════════════════════════════
   RADOVI / PROJEKTI
══════════════════════════════════════ */
#projects {
  margin-top: 0;
  padding-top: 0;
}
#projects .projects-container {
  background: var(--dark);
  padding: 96px 0 68px;
}

#projects .projects-container .txt {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 58px;
  padding: 0 24px;
}
#projects .projects-container .txt h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--white);
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  margin-bottom: 20px;
}
#projects .projects-container .txt p {
  color: #aaaaaa;
  font-size: 1.05rem;
  line-height: 1.85;
  font-family: 'Outfit', sans-serif;
}

/* Gallery grid */
#projects .projects-container .flex-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}
#projects .projects-container .flex-container .flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-item {
  text-decoration: none;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-item .img {
  height: 460px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  position: relative;
  transition: transform 0.45s ease;
  overflow: hidden;
}
.gallery-item .img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0) 58%
  );
  transition: var(--transition);
}
.gallery-item:hover .img {
  transform: scale(1.02);
}
.gallery-item:hover .img::before {
  background: linear-gradient(
    to top,
    rgba(14,165,233,0.75) 0%,
    rgba(0,0,0,0.15) 100%
  );
}

.overlay-text {
  position: absolute;
  bottom: 28px;
  left: 28px;
}
.overlay-text h6 {
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Sora', sans-serif;
}
.overlay-text span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Outfit', sans-serif;
  transition: gap 0.2s;
}
.gallery-item:hover .overlay-text span { gap: 12px; color: #fff; }

/* CTA button */
.btn-row {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  padding-bottom: 12px;
}
.cta-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid #dddddd;
  color: #333333;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
  padding: 16px 39px;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition);
}
.cta-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.cta-dark i { color: var(--accent); transition: color 0.2s; }
.cta-dark:hover i { color: #fff; }

/* ══════════════════════════════════════
   O NAMA
══════════════════════════════════════ */
#aboutUs {
  padding: 116px 24px;
  background: var(--white);
}

#aboutUs .flex {
  display: flex;
  align-items: center;
  gap: 68px;
  max-width: 1240px;
  margin: 0 auto;
}

#aboutUs .flex .picture {
  flex: 1;
  min-width: 0;
}
#aboutUs .flex .picture img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

#aboutUs .flex .text {
  flex: 1;
  min-width: 0;
}
#aboutUs .flex .text h3 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: #111111;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  line-height: 1.22;
  margin-bottom: 20px;
}
#aboutUs .flex .text h3 span {
  color: var(--accent);
}
#aboutUs .flex .text p {
  color: #222222;       /* tamno – ne sivo */
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 38px;
  font-family: 'Outfit', sans-serif;
}

#aboutUs .flex .text .btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#aboutUs .flex .text .btns button {
  padding: 13px 30px;
  border: 2px solid #dddddd;
  background: var(--white);
  border-radius: 100px;
  color: #333333;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}
#aboutUs .flex .text .btns button:not(.active):hover {
  border-color: var(--accent);
  color: var(--accent);
}
#aboutUs .flex .text .btns .active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ══════════════════════════════════════
   GALERIJA
══════════════════════════════════════ */
#gallery {
  background: var(--light);
  padding: 96px 24px;
}
.gallery-header {
  text-align: center;
  margin-bottom: 58px;
}
.gallery-header h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: #111111;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 1440px;
  margin: 0 auto;
}
.gal-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.gal-item img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.gal-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.1) saturate(1.2);
}

/* ══════════════════════════════════════
   RECENZIJE
══════════════════════════════════════ */
#recension {
  padding: 116px 24px;
  background: var(--white);
}
#recension .title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 68px;
}
#recension .title h3 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: #111111;
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  margin-bottom: 20px;
}
#recension .title p {
  color: #333333;       /* tamno */
  font-size: 1.05rem;
  line-height: 1.85;
  font-family: 'Outfit', sans-serif;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1240px;
  margin: 0 auto;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 38px 32px;
  border: 1px solid #e5e7eb;
  transition: transform 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14,165,233,0.3);
}
.review-card .stars {
  display: flex;
  gap: 4px;
}
.review-card .stars i {
  color: #f59e0b;
  font-size: 1rem;
}
.review-card > p {
  color: #222222;       /* tamno */
  font-size: 1.02rem;
  line-height: 1.8;
  font-style: italic;
  font-family: 'Outfit', sans-serif;
  flex: 1;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #eeeeee;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0284c7);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  display: grid;
  place-content: center;
  flex-shrink: 0;
}
.reviewer strong {
  display: block;
  font-size: 1rem;
  color: #111111;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
}
.reviewer span {
  font-size: 0.82rem;
  color: #777777;
  font-family: 'Outfit', sans-serif;
}

/* ══════════════════════════════════════
   KONTAKT
══════════════════════════════════════ */
#contact {
  background: var(--light);
}
#contact .flex {
  display: flex;
  align-items: stretch;
  min-height: 660px;
}
#contact .flex .map {
  flex: 0 0 42%;
}
#contact .flex .map iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: block;
  filter: grayscale(20%) brightness(0.85);
}
#contact .flex .form-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 68px 48px;
  background: transparent;
}

#contactForm {
  width: 100%;
  max-width: 800px;
  color: var(--dark);
}
#contactForm .title {
  margin-bottom: 38px;
  text-align: left;
}
#contactForm .title h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--dark);
  font-weight: 800;
  font-family: 'Sora', sans-serif;
  margin-bottom: 10px;
}
#contactForm .title p {
  color: #555555;
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
}

#contactForm .custom-input { margin-top: 16px; }
#contactForm .custom-input div {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  border-radius: 0;
  overflow: visible;
  transition: border-color 0.3s;
}
#contactForm .custom-input div:focus-within {
  border-bottom-color: var(--accent);
  background: transparent;
}
#contactForm .custom-input div label {
  display: grid;
  place-content: center;
  padding: 0 16px 0 22px;
  color: var(--accent);
  flex-shrink: 0;
}
#contactForm .custom-input div input {
  flex: 1;
  height: 56px;
  background: transparent;
  border: none;
  color: var(--dark);
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  padding-right: 22px;
}
#contactForm .custom-input div input:focus { outline: none; }
#contactForm .custom-input div input::placeholder { color: #888888; }

#contactForm .custom-textarea { margin-top: 16px; }
#contactForm .custom-textarea textarea {
  width: 100%;
  height: 125px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  border-radius: 0;
  color: var(--dark);
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  padding: 18px 22px;
  resize: vertical;
  transition: border-color 0.3s;
}
#contactForm .custom-textarea textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  background: transparent;
}
#contactForm .custom-textarea textarea::placeholder { color: #888888; }

.form-btn { margin-top: 24px; }
.form-btn button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 17px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}
.form-btn button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.form-status {
  margin-top: 12px;
  font-size: 0.95rem;
  min-height: 22px;
  font-family: 'Outfit', sans-serif;
}



/* ── Keyframes ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* --- 1499px Breakpoint --- */
@media (max-width: 1499px) {
  html {
    font-size: 17px;
  }
  
  /* Container widths */
  #intro .intro-container, 
  #aboutUs .flex, 
  .reviews-grid, 
  #welcome .hero-content.left-aligned { max-width: 1140px; }
  #projects .projects-container .flex-container { max-width: 1280px; }
  .gallery-grid { max-width: 1280px; }
  
  /* Heights & Paddings */
  #welcome { height: 750px; }
  #intro, #aboutUs, #recension { padding: 100px 24px; }
  #projects .projects-container { padding: 80px 0 60px; }
  #gallery { padding: 80px 24px; }
  
  /* Images */
  #intro .img-wrapper img { height: 480px; }
  #aboutUs .flex .picture img { height: 480px; }
  .gallery-item .img { height: 420px; }
  .gal-item img { height: 260px; }
  
  /* Buttons */
  .btn-primary-cta, .btn-outline-cta { padding: 16px 38px; }
  .cta-dark { padding: 15px 36px; }
  .form-btn button { padding: 16px 38px; }
}

/* --- 1279px Breakpoint --- */
@media (max-width: 1279px) {
  html {
    font-size: 16px;
  }
  
  /* Container widths */
  #intro .intro-container, 
  #aboutUs .flex, 
  .reviews-grid, 
  #welcome .hero-content.left-aligned { max-width: 960px; }
  #projects .projects-container .flex-container { max-width: 1080px; }
  .gallery-grid { max-width: 1080px; }
  
  /* Heights & Paddings */
  #welcome { height: 700px; }
  #intro, #aboutUs, #recension { padding: 80px 24px; }
  #projects .projects-container { padding: 70px 0 50px; }
  #gallery { padding: 70px 24px; }
  
  /* Layout adjustments */
  #intro .intro-container { gap: 40px; }
  #aboutUs .flex { gap: 40px; }
  
  /* Line heights & Margins */
  p { line-height: 1.75; margin-bottom: 24px; }
  
  /* Images */
  .hero-overlay { 
    background-position: right center; 
    filter: brightness(0.30);
  }
  #intro .img-wrapper img { height: 400px; }
  #aboutUs .flex .picture img { height: 400px; }
  .gallery-item .img { height: 380px; }
  .gal-item img { height: 230px; }
  
  /* Reviews */
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid .review-card:last-child { display: none; }
  
  /* Contact */
  #contact .flex .form-container { padding: 50px 30px; }
  
  /* Buttons */
  .btn-primary-cta, .btn-outline-cta { padding: 15px 34px; font-size: 1rem; }
  .cta-dark { padding: 14px 32px; font-size: 0.95rem; }
  /* Typography / Hero Title */
  #welcome h1,
  #welcome .hero-content.left-aligned h1 {
    font-size: 3.0rem;
  }
  #welcome .hero-content.left-aligned h1,
  #welcome .hero-content.left-aligned .hero-sub { 
    max-width: 700px; 
    margin-left: 0;
  }
  .hero-sub {
    font-size: 1.15rem;
  }
  #intro .text-content h2 {
    font-size: 2.4rem;
  }
  #projects .projects-container .txt h3,
  #aboutUs .flex .text h3,
  .gallery-header h3,
  #recension .title h3 {
    font-size: 2.2rem;
  }
  #contactForm .title h3 {
    font-size: 1.8rem;
  }
}

/* --- 1023px Breakpoint --- */
@media (max-width: 1023px) {
  html {
    font-size: 15px;
  }
  
  /* Heights & Paddings */
  #welcome { height: 600px; }
  #intro, #aboutUs, #recension { padding: 70px 20px; }
  #projects .projects-container { padding: 60px 0 40px; }
  #gallery { padding: 60px 20px; }
  
  /* Layout adjustments */
  #intro .intro-container { flex-direction: column; gap: 50px; }
  #aboutUs .flex { flex-direction: column; gap: 40px; }
  #aboutUs .flex .picture, #aboutUs .flex .text { width: 100%; }
  
  /* Images */
  #intro .img-wrapper img { height: 360px; }
  #aboutUs .flex .picture img { height: 360px; }
  .gallery-item .img { height: 340px; }
  .gal-item img { height: 200px; }
  
  /* Grids */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .gal-item:nth-child(n+7) { display: none; }
  
  /* Typography */
  #welcome h1,
  #welcome .hero-content.left-aligned h1 {
    font-size: 2.6rem;
  }
  #intro .text-content h2 { font-size: 2.1rem; }
  #projects .projects-container .txt h3,
  #aboutUs .flex .text h3,
  .gallery-header h3,
  #recension .title h3 {
    font-size: 1.9rem;
  }
  #contactForm .title h3 { font-size: 1.6rem; }
  
  /* Contact */
  #contact .flex { flex-direction: column; }
  #contact .flex .map { width: 100%; flex: none; }
  #contact .flex .map iframe { height: 350px; min-height: 350px; }
  #contact .flex .form-container { width: 100%; padding: 50px 20px; }
  
  /* Buttons */
  .btn-primary-cta, .btn-outline-cta { padding: 14px 30px; font-size: 0.95rem; }
  .cta-dark { padding: 13px 28px; }
  .form-btn button { padding: 14px 32px; }
}

/* --- 767px Breakpoint --- */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  /* Heights & Paddings */
  #welcome { height: 500px; }
  #welcome .hero-content { padding-top: 80px; }
  #intro, #aboutUs, #recension { padding: 60px 16px; }
  #projects .projects-container { padding: 50px 0 30px; }
  #projects .projects-container .txt,
  #projects .projects-container .flex-container,
  #projects .projects-container .btn-row { padding: 0 16px; }
  #gallery { padding: 50px 16px; }
  
  /* Grids */
  #projects .projects-container .flex-container .flex { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .gal-item:nth-child(n+5) { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-grid .review-card:nth-child(2) { display: flex; }
  .reviews-grid .review-card:last-child { display: none; }
  
  /* Images */
  #intro .img-wrapper img { height: 300px; }
  #aboutUs .flex .picture img { height: 300px; }
  .gallery-item .img { height: 300px; }
  .gal-item img { height: 180px; }
  
  /* Hero Stats */
  .hero-stats { gap: 20px; padding: 20px 28px; }
  .stat .num { font-size: 1.8rem; }
  
  /* Typography */
  #welcome h1,
  #welcome .hero-content.left-aligned h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  .hero-sub { margin: 16px auto 30px; font-size: 1.05rem; }
  #intro .text-content h2 { font-size: 1.8rem; margin-bottom: 16px; }
  #projects .projects-container .txt h3,
  #aboutUs .flex .text h3,
  .gallery-header h3,
  #recension .title h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  #contactForm .title h3 { font-size: 1.4rem; }
  
  p { line-height: 1.6; margin-bottom: 20px; font-size: 1.05rem; }
  
  /* Buttons */
  .hero-cta { margin-bottom: 40px; flex-direction: column; align-items: stretch; }
  .btn-primary-cta, .btn-outline-cta { width: 100%; text-align: center; padding: 14px 20px; box-sizing: border-box; }
  .cta-dark { width: 100%; justify-content: center; padding: 14px 20px; box-sizing: border-box; }
  #aboutUs .flex .text .btns { flex-direction: column; width: 100%; }
  #aboutUs .flex .text .btns button { width: 100%; padding: 14px; box-sizing: border-box; }
  .form-btn button { width: 100%; justify-content: center; padding: 14px 20px; box-sizing: border-box; }
}

/* --- 499px Breakpoint --- */
@media (max-width: 499px) {
  html {
    font-size: 13px;
  }
  
  /* Heights & Paddings */
  #welcome { height: 550px; }
  #intro, 
  #aboutUs, 
  #recension, 
  #gallery, 
  #contact .flex .form-container { 
    padding: 50px 16px; 
  }
  #projects .projects-container { 
    padding: 50px 0; 
  }
  #projects .projects-container .txt,
  #projects .projects-container .flex-container,
  #projects .projects-container .btn-row {
    padding: 0 16px;
  }
  
  /* Images */
  #intro .img-wrapper img { height: 240px; }
  #aboutUs .flex .picture img { height: 240px; object-position: center bottom; }
  .gallery-item .img { height: 240px; }
  .gal-item img { height: 150px; }
  
  /* Typography */
  #welcome h1,
  #welcome .hero-content.left-aligned h1 {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }
  #intro .text-content h2 { font-size: 1.35rem; }
  #projects .projects-container .txt h3,
  #aboutUs .flex .text h3,
  .gallery-header h3,
  #recension .title h3 {
    font-size: 1.2rem;
  }
  #contactForm .title h3 { font-size: 1.1rem; }
  
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; margin-bottom: 20px; }
  
  /* Layout */
  .hero-stats { flex-direction: column; gap: 16px; padding: 16px 24px; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .gallery-grid { gap: 6px; }
  
  /* Contact Form */

  #contact .flex .map iframe { height: 280px; min-height: 280px; }
  #contactForm .custom-input div input { height: 48px; font-size: 1rem; }
  #contactForm .custom-textarea textarea { height: 100px; padding: 12px 16px; font-size: 1rem; }
}
