/* -------------------
   Base Styles
------------------- */

:root {
  --bg: #0f172a;
  --bg-alt: #111827;
  --surface: #020617;
  --surface-alt: #111827;
  --accent: #f97316; /* forge orange */
  --accent-soft: rgba(249, 115, 22, 0.15);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2937;
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.65);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.9);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  padding: 4.5rem 0;
  background: radial-gradient(circle at top, #020617 0, #020617 55%);
}

/* -------------------
   Header & Nav
------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 0.75)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: "Cinzel", Times, 'Times New Roman', serif;
  color: #2A4D69;
}

.logo-image {
  height: 56px;
  width: auto;
  border-radius: 0.5rem;   /* optional */
  object-fit: contain;
}

/* Navigation */

.site-nav {
  display: flex;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #f97316, #fb923c);
  transition: width 0.2s ease-out;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #f9fafb;
}

.site-nav a:hover::after,
.site-nav a:focus::after {
  width: 100%;
}

/* Header CTA */

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  margin: 0.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: radial-gradient(circle at top, #4B4B4B, #F5F5F5);
  color: #020617;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(28, 28, 28, 1);
  white-space: nowrap;
}

.header-cta:hover {
  filter: brightness(1.05);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-line {
  width: 1.4rem;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* -------------------
   Hero
------------------- */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.15fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.hero-subtitle {
  max-width: 34rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.7);
}

.btn-outline:hover {
  border-color: rgba(249, 115, 22, 0.65);
  background: rgba(15, 23, 42, 0.9);
}

/* Hero badge */

.hero-badge {
  display: inline-flex;
  flex-direction: column;
  padding: 0.7rem 1.1rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.9);
  max-width: 17rem;
}

.hero-badge .badge-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f97316;
  margin-bottom: 0.2rem;
}

.hero-badge .badge-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, #0b1120, #020617);
  border-radius: 1.35rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-card);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.25rem;
}

.hero-card ul {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-contact-line {
  margin: 0.1rem 0;
}

.hero-contact-line a {
  color: #fbbf24;
  text-decoration: none;
}

.hero-contact-line a:hover {
  text-decoration: underline;
}

/* -------------------
   Section Headers
------------------- */

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header.align-left {
  text-align: left;
}

.section-header h2 {
  font-size: 1.8rem;
  margin: 0 0 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* -------------------
   Cards & Grids
------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(15, 23, 42, 0.92);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

/* Note text */

.note-text {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Service areas */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.area-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.area-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.area-card ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.95rem;
}

/* About section */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-text p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
}

.about-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.about-card h3 {
  margin-top: 0;
}

.about-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.gallery-item {
  margin: 0;
}

.gallery-placeholder {
  height: 160px;
  border-radius: var(--radius-md);
  background-image: linear-gradient(
    135deg,
    rgba(15, 23, 42, 1),
    rgba(31, 41, 55, 1)
  );
  border: 1px dashed rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.gallery-item figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.testimonial-text {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.testimonial-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact */

.contact-section {
  padding-bottom: 5rem;
}

.contact-layout {
  display: flex;
  flex-direction: column; /* stack vertically */
  gap: 2rem;
  align-items: stretch;
}

.contact-text p {
  margin-top: 0;
  color: var(--text-muted);
}

.contact-details {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.contact-details li + li {
  margin-top: 0.35rem;
}

.contact-details a {
  color: #fbbf24;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Contact form */

/* Wrapper to control iframe layout */
.form-iframe-wrapper {
  width: 100%;
}

/* Responsive Google Form iframe */
.google-form-frame {
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: var(--radius-lg);
  height: 1000px; /* adjust if form is much shorter/longer */
  background: rgba(15, 23, 42, 0.95);
}


.contact-form {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-card);
}

/* Back to top */

.back-to-top {
  border: none;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.back-to-top:hover {
  border-color: rgba(249, 115, 22, 0.8);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: radial-gradient(circle at top, #020617, #020617 60%);
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-secondary {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* -------------------
   Utilities
------------------- */

a {
  color: #f97316;
}

a:hover {
  color: #fb923c;
}

/* -------------------
   Responsive
------------------- */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    align-items: center;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0.75rem 1.5rem 1rem;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.6rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .services-grid,
  .gallery-grid,
  .testimonials-grid,
  .areas-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header {
    position: sticky;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 3.5rem;
  }

  .container {
    padding: 0 1.1rem;
  }

  .hero-card {
    padding: 1.4rem 1.2rem;
  }

  .card,
  .area-card,
  .about-card,
  .testimonial-card,
  .contact-form {
    width: 100%;
    border-radius: 1rem;
  }
}
