/* ==========================================================================
   GROSU TRANS 94 SRL — color theme #1c4597
   ========================================================================== */

:root {
  --primary: #1c4597;
  --primary-dark: #14336e;
  --primary-light: #2f63c4;
  --accent: #f5a623;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --text: #1b2434;
  --text-muted: #5a6a85;
  --border: #e2e7f2;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(28, 69, 151, 0.14);
  --shadow-lg: 0 24px 60px rgba(28, 69, 151, 0.22);
  --font-head: 'Oswald', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-dark); }

.btn-light { background: var(--white); color: var(--primary); box-shadow: var(--shadow); }
.btn-light:hover { background: var(--off-white); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); }

.btn-block { width: 100%; }

/* ---------- Section base ---------- */
.section { padding: 96px 0; }

.section-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { color: var(--text-muted); margin-top: 12px; }
.section-dark .section-head p { color: rgba(255,255,255,.8); }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(28, 69, 151, .08);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 14px;
}
.section-tag.light { color: var(--white); background: rgba(255,255,255,.15); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .3px;
}
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 21px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(28, 69, 151, .12);
  padding: 8px 0;
}
.site-header.scrolled .brand-text strong { color: var(--text); }
.site-header.scrolled .brand-text small { color: var(--primary); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow);
}
.site-header.scrolled .brand-logo { border-color: var(--primary); }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 20px; color: var(--white); letter-spacing: 1px; transition: color .3s; }
.brand-text small { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 2px; }

.main-nav ul { display: flex; gap: 8px; }
.nav-link {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  opacity: .85;
  transition: opacity .2s, background .2s, color .2s;
}
.site-header.scrolled .nav-link { color: var(--text); }
.nav-link:hover { opacity: 1; background: rgba(255,255,255,.12); }
.site-header.scrolled .nav-link:hover { background: rgba(28, 69, 151, .08); }
.nav-link.active { background: var(--accent); color: var(--white); opacity: 1; }

.btn-call { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.14);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  z-index: 1100;
}
.site-header.scrolled .nav-toggle { background: rgba(28, 69, 151, .08); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  margin-inline: auto;
  transition: transform .3s, opacity .3s, background .3s;
}
.site-header.scrolled .nav-toggle span { background: var(--primary); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 28, 64, .92) 0%, rgba(28, 69, 151, .78) 45%, rgba(28, 69, 151, .35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero h1 { font-size: clamp(38px, 6vw, 66px); color: var(--white); text-transform: uppercase; }
.hero h1 .accent { color: var(--accent); }
.hero p {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(255,255,255,.9);
  max-width: 560px;
}

.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 24px;
}
.hero-stats div { flex: 1; padding-right: 24px; }
.hero-stats div + div { border-left: 1px solid rgba(255,255,255,.22); padding-left: 24px; }
.hero-stats strong { font-family: var(--font-head); font-size: 34px; color: var(--accent); display: block; }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.85); letter-spacing: .5px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-img-frame {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 620px;
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-img-frame:hover img { transform: scale(1.04); }
.about-badge {
  position: absolute;
  bottom: -26px;
  right: -18px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.1;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
}

.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }

.feature-list { margin: 26px 0 34px; display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(28, 69, 151, .1);
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .3s ease, background .3s ease;
  backdrop-filter: blur(4px);
}
.service-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.14); }
.service-icon {
  font-size: 34px;
  width: 68px; height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 16px;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(245, 166, 35, .35);
}
.service-card h3 { color: var(--white); margin-bottom: 12px; }
.service-card p { color: rgba(255,255,255,.82); font-size: 15px; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: rgba(28, 69, 151, 0);
  color: var(--white);
  transition: background .3s ease;
}
.gallery-item:hover::after { background: rgba(28, 69, 151, .45); }
.gallery-item:hover img { transform: scale(1.08); }

/* ==========================================================================
   VIDEO
   ========================================================================== */
.section-video {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}
.video-frame {
  max-width: 960px;
  margin-inline: auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,.25);
  background: #000;
}
.video-frame video { width: 100%; height: auto; max-height: 70vh; object-fit: contain; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  background: var(--accent);
  color: var(--white);
  padding: 72px 0;
}
.cta-inner { text-align: center; }
.cta h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.cta p { font-size: 17px; margin-bottom: 30px; opacity: .95; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 30px; }

.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(28, 69, 151, .08);
  border-radius: 14px;
}
.contact-list strong { display: block; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-list a, .contact-list span { font-weight: 600; color: var(--text); }
.contact-list a:hover { color: var(--primary); }

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 38px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(28, 69, 151, .12);
}
.form-group input.invalid, .form-group textarea.invalid { border-color: #d64545; }
.form-status { margin-top: 14px; font-weight: 600; text-align: center; min-height: 20px; }
.form-status.success { color: #1a8f3c; }
.form-status.error { color: #d64545; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #0d1b38; color: rgba(255,255,255,.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 40px;
}
.footer-brand img { width: 84px; height: 84px; object-fit: cover; border-radius: 16px; margin-bottom: 18px; border: 2px solid var(--primary-light); }
.footer-brand p { font-size: 14px; max-width: 320px; }
.site-footer h4 { color: var(--white); font-family: var(--font-head); letter-spacing: 1px; margin-bottom: 18px; font-size: 17px; }
.footer-links ul, .footer-contact ul { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { transition: color .2s; font-size: 15px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: 14px; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 32, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover { background: var(--primary-dark); }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .2s;
  z-index: 900;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-4px); background: var(--primary-dark); }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 8px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .btn-call { display: none; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--white);
    box-shadow: -12px 0 40px rgba(13, 27, 56, .25);
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 100px 30px 30px;
    z-index: 1050;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .nav-link { display: block; color: var(--text); opacity: 1; font-size: 17px; padding: 12px 16px; }
  .nav-link:hover { background: rgba(28, 69, 151, .08); }

  .hero { min-height: 92vh; padding-top: 120px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stats div { border: none !important; padding: 0 !important; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
}

@media (max-width: 480px) {
  .services-grid, .gallery { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .contact-form { padding: 26px 20px; }
}
