/* --- Base Variables & Reset --- */
:root {
  --gold: #cda274;
  --dark-bg: #141414;
  --text-dark: #1a1a1a;
  --text-muted: #777777;
  --bg-color: #fafafa;
  --font-main: "Outfit", sans-serif;
}

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

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.text-gold {
  color: var(--gold);
}

/* --- Navbar (Dark Overlay) --- */
/* --- Navbar (Dark Overlay) --- */
.navbar-dark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  color: #fff;
  transition: background 0.3s;
}

.navbar-dark.scrolled {
  position: fixed;
  background-color: rgba(20, 20, 20, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-links a.active {
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.phone-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background-color: var(--gold);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* --- Desktop layout adjustments for the new wrapper --- */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: 40px;
}

/* --- Hamburger Icon Styles --- */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 101; /* Keeps it above the mobile menu */
}

.hamburger .bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* --- Mobile Responsive Navigation --- */
@media (width < 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: -100%; /* Hidden off-screen to the left by default */
    flex-direction: column;

    /* 🔥 ADD THESE 3 LINES */
    align-items: center;
    justify-content: flex-start;
    height: calc(100vh - 80px);
    z-index: 999;

    background-color: rgba(20, 20, 20, 0.98);
    width: 100%;
    padding: 30px 0 50px 0;
    transition: left 0.4s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
    padding-left: 0;
  }

  /* Triggers the slide-in effect */
  .nav-menu.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    text-align: center;
    width: 100%;
    gap: 25px;
    margin-bottom: 40px;
  }

  .nav-actions {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .phone-info {
    justify-content: center;
  }

  /* Hamburger Animation: Turns into an 'X' when active */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* --- Page Hero Section --- */
.page-hero {
  height: 60vh;
  min-height: 400px;
  background:
    linear-gradient(rgba(20, 20, 20, 0.6), rgba(20, 20, 20, 0.8)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
      center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.breadcrumb {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb span {
  color: var(--text-muted);
}

/* --- Contact Main Section --- */
.contact-section {
  position: relative;
  padding: 100px 0;
  background-color: #fff;
  overflow: hidden;
}

/* Faint background architectural graphic on right */
.blueprint-bg {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 600px;
  height: 600px;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 49px,
      #f0f0f0 50px
    ),
    repeating-linear-gradient(
      -90deg,
      transparent,
      transparent 49px,
      #f0f0f0 50px
    );
  opacity: 0.5;
  transform: rotate(15deg);
  pointer-events: none;
  z-index: 1;
}

.relative-container {
  position: relative;
  z-index: 2;
}

.contact-header {
  margin-bottom: 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  background: #fff;
  margin-bottom: 20px;
}

.badge .dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
}

.main-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}

/* Contact Info Row */
.contact-info-row {
  display: flex;
  gap: 80px;
  margin-bottom: 50px;
}

.info-block h4 {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.info-block p {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
}

.phone-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 5px;
}

.email-link {
  display: block;
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

/* Form and Image Row */
.form-image-row {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.image-column {
  flex: 1;
}

.image-column img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 20px;
}

.form-column {
  flex: 1.2;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
}

.input-group.full-width {
  grid-column: 1 / -1;
}

.input-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 18px 24px;
  border: none;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: box-shadow 0.3s ease;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #aaaaaa;
  font-weight: 400;
}

.input-group input:focus,
.input-group textarea:focus {
  box-shadow: 0 8px 30px rgba(205, 162, 116, 0.15); /* Slight gold shadow on focus */
}

/* Submit Button */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: transparent;
  color: var(--text-dark);
  padding: 6px 6px 6px 24px;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  border-color: var(--gold);
}

.icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background-color: var(--gold);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.btn-submit:hover .icon-circle {
  transform: scale(1.05);
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: #b0b0b0;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  transition: background-color 0.3s ease;
  z-index: 100;
}

.back-to-top:hover {
  background-color: var(--text-dark);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .form-image-row {
    flex-direction: column;
  }

  .image-column img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2.8rem;
  }

  .contact-info-row {
    flex-direction: column;
    gap: 30px;
  }

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

  .nav-links,
  .nav-actions {
    display: none; /* Hide on mobile for this layout */
  }
}
