/* -----------------------------------------------------------
   GOLDEN RATIO RENOVATIONS — FULL BRAND CSS
   Blueprint Accents • Gold Typography • Gold Hover Effects
----------------------------------------------------------- */

:root {
  --denim-blue: hwb(212 3% 25%);
  --denim-blue-light: hwb(212 2% 55%);

  --soft-gold: hsl(39, 71%, 40%);
  --soft-gold-light: hsl(40, 70%, 57%);

  --cream: hsla(247, 91%, 34%, 0.341);
  --offwhite: hwb(221 9% 39%);

  --text-dark: hsl(39, 70%, 38%);
  --text-muted: #d8b97a;

  --border-light: #d8b97a;

  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);
  --radius-soft: 8px;

  --transition-fast: 0.2s ease;
  --transition-med: 0.3s ease;

  --max-width: 1100px;
  --nav-height: 72px;
}

/* -----------------------------------------------------------
   GLOBAL RESET
----------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--offwhite);
  color: var(--text-dark);

  background-image:
    linear-gradient(rgba(200,155,74,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,155,74,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: var(--soft-gold);
  transition: color var(--transition-fast);
}

/* -----------------------------------------------------------
   GOLD HOVER EFFECTS
----------------------------------------------------------- */

a:hover,
button:hover,
.service-card:hover,
.featured-item:hover,
.portfolio-item:hover {
  color: var(--soft-gold-light);
  transform: translateY(-3px);
  text-shadow: 0 0 8px rgba(200,155,74,0.6);
}

/* -----------------------------------------------------------
   CONTENT WIDTH
----------------------------------------------------------- */

.content-width {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* -----------------------------------------------------------
   FIXED + RESPONSIVE NAVIGATION BAR
----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(47, 79, 115, 0.95);
  backdrop-filter: blur(6px);
}

/* NAV CONTAINER */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  height: auto; /* FIX: prevents giant header height */
  max-width: var(--max-width);
  margin: 0 auto;
}

/* LOGO — FIXED HEIGHTS */
.logo {
  height: 140px; /* desktop */
}

@media (max-width: 900px) {
  .logo {
    height: 110px;
  }
}

@media (max-width: 600px) {
  .logo {
    height: 80px;
  }
}

/* MAIN NAV */
.main-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* NAV LINKS */
.nav-link {
  color: #fdfdfd;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--soft-gold);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
/* -----------------------------------------------------------
   HAMBURGER MENU (MERGED INTO NAV SYSTEM)
----------------------------------------------------------- */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--soft-gold);
  border-radius: 3px;
  transition: 0.3s ease;
}

/* MOBILE ONLY */
@media (max-width: 900px) {

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* Hide nav by default */
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(47, 79, 115, 0.97);
    padding: 1rem 0;
    border-bottom: 2px solid var(--soft-gold);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }

  /* Show nav when toggled */
  .main-nav.open {
    display: flex;
  }

  /* Hamburger → X animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}
/* -----------------------------------------------------------
   MOBILE NAV FIX
----------------------------------------------------------- */

@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

/* -----------------------------------------------------------
   HERO SLIDESHOW
----------------------------------------------------------- */

.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  max-height: 720px;
  overflow: hidden;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,155,74,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,155,74,0.15) 1px, transparent 1px),
    linear-gradient(to bottom right, rgba(47,79,115,0.7), rgba(0,0,0,0.6));
  background-size: 50px 50px, 50px 50px, cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--soft-gold-light);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-content h1 {
  font-family: "Georgia", serif;
  font-size: clamp(2.2rem, 3vw + 1.5rem, 3.2rem);
  margin-bottom: 0.75rem;
}

.hero-content p {
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

/* -----------------------------------------------------------
   BUTTONS
----------------------------------------------------------- */

.btn-primary {
  display: inline-block;
  background: var(--soft-gold);
  color: #1f1f1f;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary:hover {
  background: var(--soft-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200,155,74,0.4);
}

/* -----------------------------------------------------------
   SECTION HEADERS
----------------------------------------------------------- */

.section-header {
  font-family: "Georgia", serif;
  font-size: 2rem;
  color: var(--soft-gold);
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.section-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 120px;
  background: var(--soft-gold);
  box-shadow: 0 0 12px rgba(200,155,74,0.6);
}

/* -----------------------------------------------------------
   INTRO SECTION
----------------------------------------------------------- */

.intro-section {
  background: var(--cream);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* -----------------------------------------------------------
   WHY CHOOSE US
----------------------------------------------------------- */

.why-choose-us {
  background: var(--cream);
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

/* -----------------------------------------------------------
   OUR PROCESS
----------------------------------------------------------- */

.our-process {
  background: var(--offwhite);
  padding: 3rem 0 4rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.process-step {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.step-number {
  display: inline-block;
  background: var(--soft-gold);
  color: #1f1f1f;
  font-weight: bold;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  line-height: 36px;
  margin-bottom: 0.75rem;
}

/* -----------------------------------------------------------
   SERVICE GRID
----------------------------------------------------------- */

.services-grid-section {
  padding: 3rem 0 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  transition: var(--transition-med);
}

.service-card:hover {
  border-color: var(--soft-gold);
  box-shadow: 0 0 18px rgba(200,155,74,0.45);
}

.service-image {
  height: 160px;
  background-size: cover;
  background-position: center;
}

/* -----------------------------------------------------------
   FEATURED PROJECTS
----------------------------------------------------------- */

.featured-projects {
  background: var(--cream);
  padding: 3rem 0 4rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.featured-item {
  background: #ffffff;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding-bottom: 1rem;
  border: 2px solid transparent;
}

.featured-item:hover {
  border-color: var(--soft-gold);
}

/* -----------------------------------------------------------
   PORTFOLIO
----------------------------------------------------------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  background: #ffffff;
  border-radius: var(--radius-soft);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  transition: var(--transition-med);
}

.portfolio-item:hover {
  border-color: var(--soft-gold);
}

.portfolio-category-header {
  font-family: "Georgia", serif;
  font-size: 1.8rem;
  color: var(--soft-gold);
  margin: 2.5rem 0 1rem;
  text-shadow: 0 0 10px rgba(200,155,74,0.4);
  border-bottom: 2px solid var(--soft-gold);
  padding-bottom: 0.5rem;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(200,155,74,0.6);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: var(--soft-gold-light);
  cursor: pointer;
  text-shadow: 0 0 12px rgba(200,155,74,0.8);
}

/* -----------------------------------------------------------
   CONTACT FORM — PREMIUM GOLDEN RATIO STYLING
----------------------------------------------------------- */

.contact-section {
  background: rgba(10, 20, 40, 0.65);
  padding: 3rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 215, 130, 0.15);
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  max-width: 700px;
  margin: 0 auto;
}

/* Title */
.contact-section h2 {
  text-align: center;
  color: var(--soft-gold);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

/* Labels */
form label {
  display: block;
  font-weight: 600;
  color: var(--soft-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

/* Inputs + Textarea */
form input,
form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 215, 130, 0.35);
  border-radius: 8px;
  background: rgba(255,255,255,0.95);
  font-size: 1rem;
  transition: all 0.25s ease;
}

/* Gold Glow on Focus */
form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--soft-gold);
  box-shadow: 0 0 8px rgba(255, 215, 130, 0.6);
}

/* Textarea resizing */
form textarea {
  resize: vertical;
  min-height: 140px;
}

/* Submit Button */
.btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 1.15rem;
  background: var(--soft-gold);
  color: #1a1a1a;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #ffe7a8;
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Response time text */
.response-time {
  text-align: center;
  color: #ddd;
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 600px) {
  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-section h2 {
    font-size: 1.5rem;
  }
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */

.site-footer {
  background: var(--denim-blue);
  color: #fdfdfd;
  padding: 2rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-line {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--soft-gold), transparent);
  margin-bottom: 0.75rem;
}

/* -----------------------------------------------------------
   FLOATING CTA BUTTON
----------------------------------------------------------- */

.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--soft-gold);
  color: #1f1f1f;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(200,155,74,0.35);
  z-index: 9999;
  transition: transform var(--transition-fast), background var(--transition-fast),
              box-shadow var(--transition-fast);
}

.floating-cta:hover {
  background: var(--soft-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(200,155,74,0.55);
}

/* -----------------------------------------------------------
   RESPONSIVE — GLOBAL (900px)
----------------------------------------------------------- */

@media (max-width: 900px) {

  .nav-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .page-hero {
    padding: 80px 20px;
    text-align: center;
  }

  h1 {
    font-size: 1.9rem;
  }

  p {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  section {
    padding: 40px 20px;
  }

  .services-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
  }

  .portfolio-category-header {
    text-align: center;
    font-size: 1.5rem;
  }

  .testimonial-card {
    padding: 20px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .about-image-wrap {
    max-width: 90%;
    margin: 0 auto 1.5rem;
  }

  footer img {
    height: 90px;
  }
}

/* -----------------------------------------------------------
   RESPONSIVE — SMALL MOBILE (600px)
----------------------------------------------------------- */

@media (max-width: 600px) {

  .nav-links {
    gap: 12px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .portfolio-item {
    padding: 15px;
  }

  .testimonial-card {
    font-size: 0.95rem;
  }

  .floating-cta {
    bottom: 15px;
    right: 15px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* -----------------------------------------------------------
   ABOUT PAGE IMAGE
----------------------------------------------------------- */

.about-image-wrap {
  max-width: 450px;
  margin: 0 auto 2rem;
}

.about-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px #c58b2066;
}

/* -----------------------------------------------------------
   STAR RATING
----------------------------------------------------------- */

.star-rating {
  font-size: 1.4rem;
  color: var(--soft-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #ac781780;
}

/* -----------------------------------------------------------
   FEATURED TESTIMONIAL
----------------------------------------------------------- */

.featured-testimonial {
  border: 2px solid var(--soft-gold);
  box-shadow: 0 0 18px rgba(200,155,74,0.4);
}

/* -----------------------------------------------------------
   LEAVE A REVIEW BUTTON
----------------------------------------------------------- */

.leave-review-btn {
  background: var(--soft-gold);
  color: #1f1f1f;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(200,155,74,0.5);
  transition: 0.3s ease;
}

.leave-review-btn:hover {
  background: var(--soft-gold-light);
  box-shadow: 0 0 22px rgba(200,155,74,0.7);
  transform: translateY(-3px);
}
