/* ===============================
   RESET & BASE
================================ */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0b0b0b;
  color: #eaeaea;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* ===============================
   CONTAINERS
================================ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Main Grid for Index Pages (Locations, Industries, Portfolio) */
.container.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 40px 0;
}

/* ===============================
   HEADER / NAVIGATION
================================ */
.site-header {
  background: #0b0b0b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.main-nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #eaeaea;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #c9a14a;
}

.main-nav .cta-link {
  color: #c9a14a;
  border: 1px solid #c9a14a;
  padding: 8px 18px;
  border-radius: 4px;
}

.main-nav .cta-link:hover {
  background: #c9a14a;
  color: #000;
}

/* ===============================
   HERO SECTIONS
================================ */
.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(to bottom, #111, #0b0b0b);
}

.hero h1 {
  font-size: 48px;
  margin: 0 0 10px 0;
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ===============================
   DETAIL SUB-PAGE LAYOUT
================================ */
.section {
  padding: 60px 0;
}

.grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.detail-text h2 {
  font-size: 32px;
  color: #c9a14a;
  margin-bottom: 20px;
}

.featured-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Panorama Section */
.section-dark {
  background-color: #080808;
  padding: 80px 0;
  border-top: 1px solid #1a1a1a;
}

.center-text {
  text-align: center;
  margin-bottom: 40px;
}

.panorama-wrapper {
  width: 100%;
  height: 600px;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.panorama-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===============================
   CARDS (Main Index View)
================================ */
.location-card, .industry-card, .portfolio-card {
  background: #161616;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, border-color 0.3s;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.location-card:hover, .industry-card:hover, .portfolio-card:hover {
  transform: translateY(-8px);
  border-color: #c9a14a;
}

.card-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #fff;
}

.card-content p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 15px;
}

.card-cta {
  color: #c9a14a;
  font-weight: 600;
  font-size: 14px;
}

/* ===============================
   BUTTONS
================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn.gold {
  background: linear-gradient(135deg, #c9a14a, #a88234);
  color: #000;
}

.btn.gold:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .grid-two-col {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .panorama-wrapper {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .site-header .nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .main-nav a {
    margin: 0 10px;
    font-size: 14px;
  }
}

/* Centered layout for detail pages */
.center-text {
  text-align: center;
}

.narrow {
  max-width: 850px; /* Keeps the text readable and centered */
}

.description-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #ccc;
}

.centered-media {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.featured-image-centered {
  width: 100%;
  max-width: 900px; /* Image takes up the middle of the screen */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.7);
}

/* Big Panorama Styling */
.panorama-wrapper {
  width: 100%;
  height: 75vh; /* Makes the panorama large (75% of screen height) */
  background: #000;
  border-radius: 15px;
  overflow: hidden;
}

.center-text { text-align: center; }

.description-body {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #ccc;
}

.image-center-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.featured-image-centered {
    width: 100%;
    max-width: 900px; /* Centers and limits size */
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.big-panorama {
    width: 100%;
    height: 70vh; /* Takes up most of the viewport height */
    border-radius: 15px;
    overflow: hidden;
}

/* Ensure the form container stacks items vertically */
.contact-form {
  display: grid;
  grid-template-columns: 1fr; /* Forces one field per line */
  gap: 20px; /* Space between fields */
  margin-top: 30px;
}

/* Individual field styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #c9a14a; /* Matches your gold theme */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
}

/* Fix for the button not stretching too wide */
.contact-form button {
  justify-self: start;
  padding: 14px 40px;
  cursor: pointer;
}
/* --- Global SEO & Mobile UX --- */
@media (max-width: 768px) {
  .main-nav a { display: block; padding: 12px 0; margin-left: 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hero h1 { font-size: 32px; }
  .container.grid { grid-template-columns: 1fr; }
}

/* --- Centered Detail Layout --- */
.center-text { text-align: center; }
.description-text { font-size: 1.1rem; max-width: 800px; margin: 0 auto 40px; color: #ccc; }
.featured-image-centered { width: 100%; max-width: 900px; margin: 0 auto 60px; display: block; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }

/* --- Contact Form (Vertical Stack Fix) --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #c9a14a;
  margin-bottom: 8px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px;
  background: #161616;
  border: 1px solid #333;
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
}
.contact-form button { align-self: center; min-width: 200px; cursor: pointer; border: none; }