/* Bosen Tiling — Wix-matched design */

:root {
  --color-cream: #fffef8;
  --color-cream-2: #fff9ec;
  --color-navy: #06273a;
  --color-bronze: #956e46;
  --color-bronze-btn: #905d30;
  --color-text: #06273a;
  --color-muted: #445d6a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --site-width: 980px;
  --header-h: 121px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-width {
  width: min(var(--site-width), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-cream);
  border-bottom: 1px solid rgba(6, 39, 58, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 147px 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.logo {
  display: block;
  line-height: 0;
}

.logo-img {
  width: 121px;
  height: 121px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.55rem 1rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.2;
  color: #444;
  transition: background 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(237, 233, 225, 0.6);
}

.header-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 193px;
}

.nav-toggle {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-bronze {
  background: var(--color-bronze-btn);
  color: #fff;
}

.btn-navy {
  background: var(--color-navy);
  color: #fff;
}

.btn-quote {
  min-width: 220px;
  min-height: 42px;
  font-size: 16px;
}

.btn-send {
  width: 100%;
  min-height: 42px;
  margin-top: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: -20px;
  background: url("../images/hero-bg.jpg") center / cover no-repeat;
  filter: blur(10px);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 39, 58, 0.55);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 4rem 1.5rem;
  color: #fff;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.35;
}

/* Intro */
.intro {
  background: var(--color-cream-2);
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.intro-inner {
  max-width: 760px;
}

.intro p {
  margin: 0 0 2rem;
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text);
}

/* About */
.about {
  background: var(--color-cream);
  padding: 4rem 0 3rem;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-content h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-navy);
}

.about-content p {
  margin: 0 0 1.25rem;
  font-size: 18px;
  line-height: 1.8;
}

/* Gallery strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.gallery-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Reviews */
.reviews {
  position: relative;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
}

.reviews-bg {
  position: absolute;
  inset: 0;
  background-color: #111;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url("../images/black-tile-alt.jpg");
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
}

.reviews-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.reviews h2 {
  margin: 0 0 2.5rem;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: #fff;
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  flex: 1;
}

.review-card {
  margin: 0;
  padding: 2rem 1.75rem;
  background: #fff;
  text-align: center;
}

.review-card.is-hidden {
  display: none;
}

.review-card p {
  margin: 0 0 1rem;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.review-author {
  font-size: 16px;
  color: var(--color-text);
}

.reviews-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}

.reviews-nav:hover {
  opacity: 1;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.reviews-dot.is-active {
  background: #fff;
}

/* Contact */
.contact {
  background: var(--color-cream);
  padding: 4rem 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2,
.contact-form-wrap h3 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-navy);
}

.contact-form-wrap h3 {
  font-size: 28px;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 18px;
  line-height: 1.6;
}

.contact-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  fill: var(--color-navy);
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
}

.form-field label span {
  color: #116dff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-navy);
  border-radius: 0;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(6, 39, 58, 0.25);
  outline-offset: 1px;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: #fff;
  padding: 3rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}

.footer-logo img {
  width: min(180px, 100%);
  filter: sepia(0.35) saturate(1.4) hue-rotate(-10deg) brightness(1.1);
}

.footer-contact h4,
.footer-links h4 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
}

.footer-contact h5 {
  margin: 1rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
}

.footer-contact p,
.footer-links a {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.footer-links nav {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 18px;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
  margin: 0.35rem 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* Responsive */
@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .about-inner,
  .contact-inner,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-track {
    grid-template-columns: 1fr;
  }

  .review-card.is-hidden {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: auto;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo toggle"
      "nav nav"
      "actions actions";
  }

  .logo {
    grid-area: logo;
  }

  .logo-img {
    width: 80px;
    height: 80px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    grid-area: toggle;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin-inline: auto;
    background: var(--color-navy);
  }

  .site-nav {
    grid-area: nav;
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.5rem 0 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
    font-size: 18px;
  }

  .header-actions {
    grid-area: actions;
    flex-direction: row;
    width: 100%;
    min-width: 0;
  }

  .header-actions .btn {
    flex: 1;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip img {
    height: 200px;
  }

  .form-row--split {
    grid-template-columns: 1fr;
  }
}
