/* ==========================================================
   SUNSHINE HAUS
   Stylesheet
   ========================================================== */

/* ==========================================================
   VARIABLES
   ========================================================== */

:root {
  --cream: #fffdf7;
  --orange: #ff8a5c;
  --mustard: #ffc857;
  --olive: #8a9562;
  --brown: #4b3428;
}

/* ==========================================================
   BASE
   ========================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--brown);
  background:
    radial-gradient(circle at 10% 10%, rgba(119,201,212,.06), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(226,106,60,.05), transparent 35%),
    radial-gradient(circle at 30% 80%, rgba(227,182,74,.04), transparent 30%),
    var(--cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .03;
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 28px 28px;
}

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

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -.04em;
}

h1 {
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: .9;
}

a {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  background: #d84a3a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.tiny {
  font-size: .7rem;
  letter-spacing: .3em;
}

/* ==========================================================
   HERO
   ========================================================== */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 6vw;
}

.hero .img-left {
  max-height: 420px;
  object-fit: cover;
  border-radius: 28px;
  transform: rotate(-1.5deg);
  box-shadow:
    0 12px 30px rgba(0,0,0,.08),
    0 0 0 12px #fff;
}

.logo-wrap {
  position: relative;
}

.hero .logo {
  display: block;
  max-width: min(500px,100%);
  height: auto;
  padding-top: 10px;
  background:none;
}

.logo-fallback {
  display: none;
  margin: 0;
  color: #d84a3a;
  font-size: clamp(4rem,10vw,7rem);
  line-height: .85;
  text-shadow: 0 2px 0 rgba(255,255,255,.8);
}

/* ==========================================================
   BANNERS / CONTENT
   ========================================================== */

.banner {
  padding: 10px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--mustard));
}

.banner h2,
.olive h2,
.footer h2 {
  font-size: clamp(3rem,8vw,6rem);
}

.magazine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 70px 6vw;
}

.magazine img,
.patio img,
.gallery img {
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

.text h3 {
  font-size: 4rem;
}

.patio {
  position: relative;
  padding: 30px 6vw;
}

.caption {
  position: absolute;
  left: 10%;
  bottom: 10%;
  padding: 16px 24px;
  background: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.olive {
  padding: 90px 20px;
  text-align: center;
  color: #fff;
  background: var(--olive);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  padding: 40px 6vw;
}

.gallery img {
  height: 260px;
  object-fit: cover;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================
   ABOUT
   ========================================================== */

.about {
  padding: 120px 32px;
  background: #f7f2ea;
}

.about .content {
  max-width: 760px;
  margin: 0 auto;
}

.about h2 {
  margin: 0 0 40px;
  color: #3b2c22;
  font-size: clamp(2.4rem,5vw,4.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.about p {
  margin: 0 0 1.8rem;
  color: #4c433d;
  font-size: 1.15rem;
  line-height: 1.9;
}

.about strong {
  color: #2d241e;
}

/* ==========================================================
   REVIEWS
   ========================================================== */

.reviews {
  padding: 110px 32px;
  background: #d96d2b;
}

.eyebrow {
  margin-bottom: 18px;
  text-align: center;
  color: #ffe9ba;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.reviews h2 {
  margin: 0 0 70px;
  color: #fff8ef;
  font-size: clamp(2.8rem,6vw,5.5rem);
  line-height: .92;
  letter-spacing: -.03em;
  text-align: center;
  text-transform: uppercase;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.review {
  position: relative;
  padding: 42px;
  border-radius: 10px;
  background: #fff8ef;
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
  transition: transform .25s ease;
}

.review:hover { transform: translateY(-6px) rotate(-1deg); }
.review:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }

.review::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: 20px;
  color: #f1bf56;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
}

.review p {
  margin: 0 0 30px;
  color: #3d342d;
  font-size: 1.05rem;
  line-height: 1.8;
}

.review footer {
  color: #73675f;
  font-size: .92rem;
  line-height: 1.6;
}

.review strong {
  display: block;
  margin-top: 6px;
  color: #222;
}

.stars {
    color: #ffc857;
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: .12em;
    margin-bottom: 16px;
}

.review footer span {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4e2bf;
  color: #6d5530;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  background: var(--brown);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {
  .hero,
  .magazine,
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 72px 24px;
  }

  .about h2 {
    font-size: 2.5rem;
  }

  .about p {
    font-size: 1.05rem;
    line-height: 1.8;
  }
}
