@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* ------------------- */
/* Design tokens */
:root {
  --bg: #000000; /* page background fallback */
  --text: #ffffff;
  --muted: #dcdcdc; /* slightly off-white for notes */
  --accent: #c7a17a;
  --radius: 12px;
  --container: 1100px;
  --gold: gold;
}

/* ------------------- */
/* Base styles */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden; }
body.quote-page { background: #000; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--text); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
body.no-scroll { overflow: hidden; }

/* ------------------- */
/* Header and Navigation */
.site-header {
  position: relative;
  top: 0; left: 0; width: 100%;
  z-index: 50;
  background: transparent;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.header-left { flex: 0 0 auto; }
.site-logo { width: 100px; height: auto; cursor: pointer; }

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  font-family: 'Playfair Display', serif;
}

.site-nav ul {
  display: flex;
  gap: 16px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 18px;
  color: #fff;
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { width: 100%; }

.site-nav .btn-black {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: all 0.3s ease;
}
.site-nav .btn-black:hover { background: #b48e66; border-color: #b48e66; }

.header-right { flex: 0 0 auto; display: flex; justify-content: flex-end; align-items: center; gap: 16px; }

/* Slight adjustment to make Facebook icon visible */
.header-right a:last-child { margin-right: 16px; }

.social-icon { width: 24px; height: 24px; }

/* ------------------- */
/* Mobile menu toggle */
.nav-toggle {
  display: none;
  position: absolute;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  width: 32px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s ease;
}

.nav-toggle span:nth-child(2) { margin: 6px 0; }

.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ------------------- */
/* Mobile menu panel and overlay */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  max-width: 320px;
  height: 100vh;
  background: #f8f8f8;
  padding: 100px 24px;
  box-shadow: -4px 0 25px rgba(0,0,0,0.25);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 999;
}

.mobile-menu-panel.open { transform: translateX(0); }

.mobile-menu-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-menu-panel a {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.mobile-menu-panel .btn-black {
  display: block;
  background: black;
  color: white;
  padding: 12px;
  border-radius: 50px;
  text-align: center;
}

/* Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  z-index: 900;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ------------------- */
/* Hero Section */
.hero-image {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: url("../images/living_interior.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.1) 50%,
    rgba(0,0,0,0) 100%
  );
  z-index: -1;
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 40px; /* reduced top padding to move content up */
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  margin-bottom: 20px; /* slightly less space below title */
}

.hero-content p {
  font-family: 'Lora', serif;
  font-size: 20px;
  line-height: 1.6;

}

/* ------------------- */
.form-card {
  background: transparent; /* overall form background transparent */
  border-radius: var(--radius);
  padding: 32px;
  max-width: 800px;
  margin: 20px auto 40px; /* top margin reduced to 20px, bottom 40px */
  color: var(--text);
  border: 2px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.form-grid { display: grid; gap: 24px; }
.two-col { grid-template-columns: 1fr 1fr; }


.form-field label { display: block; margin-bottom: 8px; font-weight: 600; }

/* Individual input/textarea/select styling */
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  background: #000;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(199,161,122,0.8);
}

textarea { resize: vertical; }

.form-actions { margin-top: 24px; text-align: center; }

.btn-primary {
  background: var(--gold);
  color: black;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover { 
  background: #d4af37; 
  box-shadow: 0 0 10px rgba(212,175,55,0.6);
}

/* Form note styling */
.form-note { 
  font-size: 14px; 
  margin-top: 12px; 
  color: var(--muted); /* slightly off white */ 
}

/* Bottom contact text */
.contact-bottom {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px !important;
  text-align: center;
  margin-top: 24px;
  color: var(--text);
}

/* ------------------- */
/* Success Card */
.success-card {
  background: rgba(0,0,0,0.7);
  padding: 40px;
  max-width: 700px;
  margin: 60px auto;
  border-radius: var(--radius);
  text-align: center;
  color: var(--text);
}

.success-card h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.success-card p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.success-actions .btn {
  margin: 0 10px;
}

/* ------------------- */
/* Responsive */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 48px; }
}

@media (max-width: 768px) {
  .site-logo { width: 80px; }
  .site-nav ul { display: none; }
  .nav-toggle { display: block; }

  .hero-content { padding: calc(100px + 8vh) 16px 24px; }

  .form-card { padding: 24px; margin: 24px 16px; }
  .two-col { grid-template-columns: 1fr; }
}
