/* ============================================================
   Creating a Happy House
   Static recreation of the original GoDaddy GoCentral site
   Fonts: Montserrat (headings), Roboto (body)
   ============================================================ */

:root {
  --gold: #ab6700;
  --text: #1b1b1b;
  --heading-dark: #161616;
  --orange: #ff9c00;
  --white: #ffffff;
  --rule: #d8b981;
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(6px);
  -webkit-backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 110px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.15;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 34px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--gold); }
.main-nav a.active { color: var(--gold); font-weight: 500; }

.header-phone {
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--gold); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  display: flex;
  min-height: 700px;
  overflow: hidden;
}

.hero-left,
.hero-right {
  background-size: cover;
  background-position: center;
}
.hero-left {
  flex: 0 0 42%;
  background-image: url("assets/img/hero-chaise.jpg");
  background-position: center bottom;
}
.hero-right {
  flex: 1;
  background-image: url("assets/img/hero-paintcans.jpg");
}

.hero-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
  max-width: 82vw;
  max-height: 82vw;
  border-radius: 50%;
  background: rgba(247, 148, 30, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-circle h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 44px;
  color: var(--heading-dark);
}

/* ---------------- Sections ---------------- */
section { padding: 64px 0; }

.section-title {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: var(--maxw);
  margin: 0 auto 46px;
  padding: 0 24px;
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.section-title h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--gold);
  white-space: nowrap;
}

.subhead {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--gold);
  text-align: center;
  margin: 8px 0 20px;
}

.lead {
  max-width: 1180px;
  margin: 0 auto 8px;
  text-align: center;
}

p { margin: 0 0 18px; }

.banner {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin-bottom: 30px;
}

/* Two-column feature blocks */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  align-items: start;
}

.feature img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 22px;
}
.feature h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--gold);
  text-align: center;
  margin: 0 0 16px;
}
.feature p { text-align: center; }

.center { text-align: center; }
.muted-note { font-size: 15px; }

/* ---------------- Subscribe ---------------- */
.subscribe { text-align: center; }
.subscribe .lead { margin-bottom: 26px; }

.subscribe-form {
  display: flex;
  gap: 14px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 260px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: "Roboto", Arial, sans-serif;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fafafa;
}
.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #000;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  border: none;
  border-radius: 1000px;
  padding: 12px 48px;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(0.94); }

/* ---------------- Contact / footer block ---------------- */
.contact .lead { max-width: 1180px; }

.contact-card {
  text-align: center;
  margin-top: 40px;
}
.contact-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--gold);
  margin: 0 0 18px;
}
.contact-card a { color: var(--text); text-decoration: none; }
.contact-card a:hover { color: var(--gold); }
.contact-card .hours-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--gold);
  margin: 30px 0 10px;
}
.contact-card .btn { margin-top: 26px; }

.site-footer {
  padding: 30px 0 40px;
  text-align: center;
}
.site-footer .rule {
  width: 60px;
  height: 2px;
  background: var(--rule);
  margin: 18px auto;
}
.site-footer small { color: #555; font-size: 14px; }

/* ---------------- Gallery ---------------- */
.gallery-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  padding: 0 6px;
}
.slide img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}
.slide figcaption {
  text-align: center;
  color: #555;
  font-size: 17px;
  margin-top: 16px;
  min-height: 48px;
  padding: 0 10px;
}

.carousel-btn {
  position: absolute;
  top: 300px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.82);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  color: var(--heading-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  z-index: 5;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: #d0d0d0;
  cursor: pointer;
  padding: 0;
}
.dot.active { background: var(--orange); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .site-header .container {
    flex-wrap: wrap;
    min-height: 0;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .brand { font-size: 26px; white-space: normal; }
  .main-nav { order: 3; width: 100%; gap: 26px; }
  .header-phone { order: 2; }
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: 560px; }
  .hero-left { flex-basis: 34%; }
  .hero-circle { width: 420px; height: 420px; }
  .hero-circle h1 { font-size: 34px; }
  .banner { height: 300px; }
  .slide img { height: 440px; }
  .carousel-btn { top: 220px; }
}

@media (max-width: 560px) {
  section { padding: 46px 0; }
  .section-title { gap: 14px; }
  .section-title h2 { font-size: 25px; }
  .hero-circle { width: 300px; height: 300px; }
  .hero-circle h1 { font-size: 27px; }
  .slide img { height: 320px; }
  .carousel-btn { top: 160px; width: 40px; height: 40px; }
  .subscribe-form input[type="email"] { min-width: 100%; }
}
