/* ============================================================
   METSURITYÖT OKSANEN — Modern Forest Theme
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --clr-forest-dark: #0d1f0e;
  --clr-forest-deep: #152418;
  --clr-forest-mid: #1e3a22;
  --clr-forest-light: #2d5c35;
  --clr-forest-bright: #3d7d47;
  --clr-accent: #6dbf74;
  --clr-accent-light: #a8e0ad;
  --clr-gold: #d4a843;
  --clr-white: #ffffff;
  --clr-offwhite: #f4f8f4;
  --clr-text: #1a2d1b;
  --clr-text-light: #4a6450;
  --clr-text-muted: #7a9a7e;
  --clr-overlay: rgba(13, 31, 14, 0.72);

  --font-head: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.18);
  --shadow-green: 0 8px 32px rgba(61, 125, 71, 0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::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(--clr-text);
  background: var(--clr-offwhite);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-forest-bright), var(--clr-accent));
  color: var(--clr-white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-forest-bright));
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(61, 125, 71, 0.4);
}

.btn-video {
  background: rgba(255, 255, 255, 0.12);
  color: var(--clr-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  padding: 12px 28px;
}

.btn-video:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--clr-white);
  color: var(--clr-forest-mid);
  border-radius: 50%;
  font-size: 0.65rem;
  padding-left: 2px;
  transition: var(--transition);
}

.btn-video:hover .play-icon {
  transform: scale(1.15);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- Section Helpers ---- */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--clr-forest-light), var(--clr-forest-bright));
  color: var(--clr-accent-light);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-forest-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--clr-text-light);
  max-width: 620px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc {
  margin: 0 auto;
}

.section-header.light .section-title {
  color: var(--clr-white);
}

.section-header.light .section-desc {
  color: rgba(255, 255, 255, 0.75);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 31, 14, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--clr-white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-logo:hover {
  opacity: 0.85;
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-text strong {
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: var(--clr-accent);
}

.nav-cta {
  background: linear-gradient(135deg, var(--clr-forest-bright), var(--clr-accent));
  color: var(--clr-white) !important;
  padding: 10px 22px;
  box-shadow: var(--shadow-green);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(61, 125, 71, 0.5);
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-forest-bright)) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero:hover .hero-bg-img {
  transform: scale(1.08);
}

/* YouTube background video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 16:9 cover: jompi kumpi dimensio = 100%, toinen venytetään */
  width: 100vw;
  height: 56.25vw;
  /* 100vw * (9/16) */
  min-height: 100vh;
  min-width: 177.78vh;
  /* 100vh * (16/9) */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg,
      rgba(13, 31, 14, 0.80) 0%,
      rgba(21, 36, 24, 0.55) 50%,
      rgba(13, 31, 14, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 720px;
  padding-left: 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(109, 191, 116, 0.2);
  border: 1px solid rgba(109, 191, 116, 0.5);
  color: var(--clr-accent-light);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.05;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-phone {
  animation: fadeInUp 0.7s 0.4s ease both;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: var(--transition);
}

.phone-link:hover {
  color: var(--clr-accent-light);
}

.phone-icon {
  font-size: 1.1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1.5s 1s ease both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 112px 0;
  background: var(--clr-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(13, 31, 14, 0.3));
  z-index: 1;
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

.about-image-wrap:hover .about-img {
  transform: scale(1.03);
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--clr-forest-bright), var(--clr-accent));
  color: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-green);
  z-index: 2;
}

.badge-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.9;
  line-height: 1.3;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  color: var(--clr-text-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-text strong {
  color: var(--clr-forest-mid);
  font-weight: 600;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 36px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--clr-text-light);
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--clr-forest-bright), var(--clr-accent));
  color: var(--clr-white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 112px 0;
  background: var(--clr-offwhite);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '🌲';
  position: absolute;
  font-size: 400px;
  opacity: 0.025;
  right: -80px;
  bottom: -80px;
  pointer-events: none;
  line-height: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(45, 92, 53, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-forest-bright), var(--clr-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  background: linear-gradient(135deg, var(--clr-forest-dark), var(--clr-forest-mid));
  color: var(--clr-white);
  grid-column: span 1;
  border-color: transparent;
}

.service-card.featured .service-desc {
  color: rgba(255, 255, 255, 0.75);
}

.service-card.featured::before {
  height: 100%;
  width: 3px;
  right: auto;
  transform: scaleY(0);
  transform-origin: top;
}

.service-card.featured:hover::before {
  transform: scaleY(1);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--clr-forest-dark);
}

.service-card.featured .service-title {
  color: var(--clr-white);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--clr-text-light);
  line-height: 1.65;
}


/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 112px 0;
  background: var(--clr-white);
}

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 14, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  font-size: 2rem;
}

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

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


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 112px 0;
  background: linear-gradient(135deg, var(--clr-forest-dark), var(--clr-forest-mid));
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
  position: relative;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
  color: var(--clr-white);
}

.contact-card:not(.no-link):hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(6px);
}

.contact-card-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

.contact-card-value {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-white);
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--clr-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(109, 191, 116, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.form-note a {
  color: var(--clr-accent);
  font-weight: 600;
  transition: var(--transition);
}

.form-note a:hover {
  color: var(--clr-accent-light);
}


/* Honeypot – täysin piilotettu (vain botit näkevät) */
.bot-field-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Virheilmoitus */
.form-error {
  display: none;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.5);
  color: #ff8a8a;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.form-error.visible {
  display: block;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-forest-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .logo-icon {
  font-size: 1.6rem;
}

.footer-brand .logo-text {
  color: var(--clr-white);
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--clr-accent-light);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}


/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: white;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 1.2rem;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
}


/* ============================================================
   VIDEO POPUP
   ============================================================ */
.video-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.video-popup.active {
  opacity: 1;
  pointer-events: all;
}

.video-popup-inner {
  position: relative;
  width: min(900px, 95vw);
}

.video-popup-close {
  position: absolute;
  top: -48px;
  right: 0;
  color: white;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.video-popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(6px);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

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

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

  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13, 31, 14, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding: 120px 24px 80px;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .contact-form {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 1;
  }

  .about-badge-float {
    bottom: -16px;
    right: 16px;
  }
}