:root {
  --primary: #161926;
  --secondary: #EDBE66;
  --accent: #F5E6CC;
  --muted: #2A2E3D;
  --glass: rgba(22, 25, 38, 0.9);
  --border: rgba(237, 190, 102, 0.15);
  --text-dim: rgba(245, 230, 204, 0.6);
}

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

body {
  background-color: var(--primary);
  color: white;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: 'Playfair Display', serif;
}

.label {
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.logo {
  font-size: 1.75rem;
  font-weight: bold;
  letter-spacing: 4px;
  color: var(--secondary);
  text-transform: uppercase;
  text-decoration: none;
}

.menu {
  display: flex;
  gap: 2.5rem;
}

.link {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.link:hover, .link.active {
  color: var(--secondary);
}

.btn {
  padding: 0.8rem 2rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-gold { background: var(--secondary); color: var(--primary); }
.btn-outline { border: 1px solid var(--secondary); color: var(--secondary); background: transparent; }

.contact-grid {
  display: grid;
  /* use three columns so we can place the form in the center column visually */
  grid-template-columns: 1fr minmax(600px, 700px) 1fr;
  min-height: 85vh;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  gap: 2.5rem;
}

.contact-form-section {
  padding: 6rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center; /* center form horizontally inside its column */
  grid-column: 2; /* place the form in the center column */
}

.form-container {
  max-width: 700px; /* slightly wider for readability */
  width: 100%;
  margin: 0 auto; /* ensure the inner form container is centered */
}

.form-container .title {
  font-size: 3.8rem; /* a bit larger for visibility */
  margin-bottom: 1rem;
}

.form-container .sub {
  color: var(--text-dim);
  margin-bottom: 3rem;
  font-size: 1.05rem; /* slightly larger supporting text */
}

.luxury-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.form-group label {
  font-size: 0.85rem; /* larger labels for readability */
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 1px;
}

.form-group input, .form-group select, .form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 1.1rem; /* slightly larger click target */
  color: white;
  outline: none;
  font-family: inherit;
  font-size: 1rem; /* full-size readable text */
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--secondary);
}

.contact-info-section {
  background: var(--muted);
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  align-items: center; /* center the contact info content horizontally */
  grid-column: 3; /* place info on the right column */
}

.info-content {
  max-width: 400px;
}

.info-block {
  margin-bottom: 3rem;
}

.info-title {
  color: var(--secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.info-block p {
  font-size: 1.3rem; /* slightly larger for readability */
  font-family: 'Playfair Display', serif;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

.map-placeholder {
  margin-top: 4rem;
  border: 1px solid var(--border);
  overflow: hidden;
  height: 200px;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.footer {
  background: var(--muted);
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  border-top: 1px solid var(--border);
}

.foot-head {
  color: var(--secondary);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.foot-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  opacity: 0.7;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
  /* return children to normal flow on narrow screens */
  .contact-form-section, .contact-info-section { grid-column: auto; }
  .contact-info-section { border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .nav { padding: 1rem 2rem; }
  .menu { display: none; }
  .form-row { flex-direction: column; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .foot-list { align-items: center; }
}