/* ============================================
   DAIWELDE – style.css
   Colors: 
     --bg-light:   #E8E8E8  (hero / why-us bg)
     --orange:     #E84E1B  (buttons, competencies bg, accents)
     --white:      #FFFFFF
     --dark:       #1A1A1A  (text)
     --mid-gray:   #D4D4D4  (visit-us bg)
   Fonts:
     Display: Playfair Display
     Body:    Inter
============================================ */

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

:root {
  --bg-light: #e8e8e8;
  --orange: #e84e1b;
  --white: #ffffff;
  --dark: #1a1a1a;
  --mid-gray: #d4d4d4;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ─── NAVBAR ─────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--bg-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-white {
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  height: 1.25rem;
  width: 1.25rem;
  object-fit: contain;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* ─── HERO ───────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 80px 48px 80px 48px;
  background: var(--bg-light);
  min-height: calc(100vh - 70px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
}

.hero-company {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.3;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.25;
}

.hero-body {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  max-width: 480px;
}

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  border: none;
  border-radius: 50px;
  padding: 18px 48px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  text-align: center;
  width: fit-content;
  max-width: 380px;
  width: 100%;
}

.btn-primary:hover {
  background: #c93e10;
  transform: translateY(-1px);
}

.hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0a1628;
}

/* ─── COMPETENCIES ───────────────────────── */
.competencies {
  background: var(--orange);
  padding: 72px 48px;
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 48px;
  line-height: 1.2;
}

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

.comp-item h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  display: inline;
}

.comp-item p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  display: inline;
}

/* ─── WHY WORK WITH US ───────────────────── */
.why-us {
  background: var(--white);
  padding: 88px 48px;
}

.section-title-dark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 56px;
  line-height: 1.2;
}

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

.why-item h3 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  display: inline;
}

.why-item p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  display: inline;
}

/* ─── VISIT US ───────────────────────────── */
.visit-us {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  background: var(--mid-gray);
  min-height: 420px;
}

.visit-content {
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visit-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--orange);
  margin-bottom: 16px;
}

.visit-address {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.8;
}

.visit-phone-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 8px;
}

.visit-phone {
  font-size: 0.95rem;
  color: var(--orange);
  text-decoration: none;
}

.visit-phone:hover {
  text-decoration: underline;
}

.visit-map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── FOOTER ─────────────────────────────── */
.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 56px 48px;
  background: var(--white);
  border-top: 1px solid #e0e0e0;
}

.footer-company {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.3;
  max-width: 280px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-email {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-phone {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark);
}

/* ─── CONTACT PAGE ───────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
  padding: 80px 48px;
  min-height: calc(100vh - 70px - 160px);
  background: var(--white);
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
}

.form-sublabel {
  font-size: 0.85rem;
  color: var(--dark);
}

.required {
  color: #777;
  font-weight: 400;
}

.input-rounded {
  border: 1.5px solid var(--dark);
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
  width: 100%;
}

.input-rounded:focus {
  border-color: var(--orange);
}

.textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 120px;
}

.full-width {
  width: 100%;
}

.btn-submit {
  width: fit-content;
  padding: 16px 48px;
}

.form-message {
  font-size: 0.9rem;
  color: var(--orange);
  min-height: 20px;
}

.contact-image {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.contact-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  background: #dde8f5;
  min-height: 420px;
}

/* ─── SCROLL REVEAL ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

.footer-copyright {
  background: var(--orange);
  text-align: center;
  padding: 14px 48px;
}

.footer-copyright p {
  font-size: 0.85rem;
  color: var(--white);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .comp-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .visit-us {
    grid-template-columns: 1fr;
  }

  .visit-map {
    min-height: 300px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 48px 24px;
  }

  .contact-image {
    position: static;
    order: -1;
  }

  .footer {
    flex-direction: column;
    gap: 24px;
    padding: 40px 24px;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-email,
  .footer-phone {
    font-size: 1.2rem;
  }

  .navbar {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: var(--bg-light);
    padding: 24px;
    z-index: 99;
    border-top: 1px solid #ccc;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .navbar-white .nav-links {
    background: var(--white);
  }

  .competencies,
  .why-us {
    padding: 48px 24px;
  }

  .visit-content {
    padding: 48px 24px;
  }

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

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.8rem;
  }

  .section-title,
  .section-title-dark,
  .visit-title {
    font-size: 2rem;
  }

  .contact-title {
    font-size: 1.8rem;
  }
}
