
/* ===============================
   HEIGHT NORMALIZATION
================================ */

/* Fix mobile viewport issues */
:root {
  --vh: 1vh;
}

/* Use dynamic viewport on supported browsers */
@supports (height: 100dvh) {
  :root {
    --vh: 1dvh;
  }
}


/* ===============================
   GLOBAL RESET
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Libre Baskerville', serif;
  line-height: 1.6;
  overflow-x: hidden;
  user-select: none;
  cursor: default;
}

a {
  cursor: pointer;
}

.section {
  padding: 120px 8vw;
}

/* Script Font */
.script-font {
  font-family: 'Great Vibes', cursive;
}



html {
  scroll-behavior: smooth;
}

html, body {
overflow-x: hidden;
max-width: 100%;
}

/* ===============================
   HERO (1 COLUMN)
================================ */

.hero {
  min-height: calc(var(--vh) * 120);
  background: url("herocake.png") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: #fff9f3;
}


.hero-top {
  position: absolute;
  top: 10px;
  left: 1vw;
  right: 2vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-icon {
  margin-left: 0px;
  text-decoration: none;
}

.hero-nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #fff9f3;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.hero-center {
   position: absolute;
  left: 50%;
  transform: translateX(-50%);

  /* THIS is the magic */
  top: clamp(200px, 40vh, 400px);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  text-align: center;
  width: 100%;
}

.hero-logo {
  opacity: 0;
  animation: fadeLogo 2s ease forwards;
  width: min(80vw, 1300px);
  margin: 60 auto;
}

.hero-tagline {
  opacity: 0;
  animation: fadeLogo 2s ease forwards;
  animation-delay: 0.6s;
  letter-spacing: 0.4em;
  font-size: 24px;
}



@keyframes fadeLogo {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   INTRO (2 COLUMNS)
================================ */

.intro-section {
  background: #fff9f3;
  height: 880px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 900px);
  gap: 40px;
  justify-content: center;
}

.intro-images {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;   /* IMPORTANT */
}

.image-stack {
  position: absolute;
  transform: translate(-100px, -560px); /* X , Y */
  z-index: 1;
}

.intro-images > img {
  z-index: 2;   /* sits above cluster */
  max-width: 420px;
  max-height: 420px; 
}

.intro-images > img:first-of-type {
  z-index: 2;
  max-width: 420px;
  max-height: 420px;
  border: 14px solid #fff9f3;
  box-shadow: 0 10px 10px rgba(65, 47, 38, 0.35);
  transform: translate(410px, 180px);
}

.cluster-image {
  position: absolute;
  top: 0;
  right: 0;

  max-width: 660px;
  max-height: 660px;

  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
  z-index: 1;
}

.cluster-image.active {
  opacity: 1;
}

.intro-text h3 {
  font-size: 36px;
  font-weight: 400;
  color: #451f12;
  margin-left: 120px;
}

.intro-text h2 {
  font-size: clamp(40px, 7vw, 110px);
  font-weight: 400;
  color: #a11818;
  line-height: 0.8;
  margin-left: 200px;
  margin-bottom: 35px;
}

.intro-text p {
  max-width: 520px;
  margin-bottom: 20px;
  margin-left: 210px;
  font-size: 15px;
  color: #451f12;
}

/* CHERRY */
.intro-cherry {
  grid-column: 2;
  width: 300px;
  position: relative;
  top: 160px;
  left: 1040px;
  transition: transform 0.35s ease;
}


.intro-cherry:hover {
  transform: translateY(-10px) rotate(-10deg);
}


/* ANIMATION */
@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: translateY(-90px);
  }
  to {
    opacity: 1;
    transform: translateY(-380px);
  }
}





/* ===============================
   WHAT WE DO (2 COLUMNS)
================================ */

.what-we-do-section {
  background: #fff9f3;
  box-shadow: 0 5px 15px rgba(37, 18, 7, 0.154);
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 900px);
  gap: 130px;
  justify-content: center;
}

.what-we-do-text  {
  margin-top: clamp(60px, 10vh, 120px);
  display: block;
}

.what-we-do-text h3 {
  font-size: 36px;
  font-weight: 400;
  margin-left: -100px;
  margin-top: clamp(-190px, -10vh, -80px);
}

.what-we-do-text h2 {
  font-size: 110px;
  font-weight: 400;
  color: #a11818;
  line-height: 0.8;
  margin: -70px 80px 40px;
}

.what-we-do-text p {
  max-width: 520px;
  margin-bottom: 20px;
  margin-left: -60px;
  font-size: 15px;
  color: #451f12;
}

.what-we-do-image {
  position: relative;
  width: 1000px;
  margin-top: clamp(-120px, -8vh, -120px);
}

.what-we-do-image img {
  position: absolute;
  width: 100%;
  height: auto;
  opacity: 0;
  animation: fadeSlideshow 25s infinite;
}

/* stagger each image */
.what-we-do-image img:nth-child(1) { animation-delay: 0s; }
.what-we-do-image img:nth-child(2) { animation-delay: 5s; }
.what-we-do-image img:nth-child(3) { animation-delay: 10s; }
.what-we-do-image img:nth-child(4) { animation-delay: 15s; }
.what-we-do-image img:nth-child(5) { animation-delay: 20s; }

@keyframes fadeSlideshow {
  0% { opacity: 0; }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}









/* ===============================
   REVIEWS (1 COLUMN CENTERED)
================================ */

.reviews-section {
  background: #520101;
  color: #fff9f3;
  text-align: center;
  position: relative;
  z-index: 2;
}

.reviews-content {
  max-width: 850px;
  margin: 0 auto;
}


.reviews-content h2 {
  font-size: clamp(60px, 7vw, 130px);
  color: #a11818;
  font-weight: 400;
  margin: 0px 0 40px;
}

.reviews-content h3 {
  font-size: 54px;
  letter-spacing: 0.18em;
  font-weight: 300;
  margin-top: -260px;
  margin-bottom: 190px;

}

/* Quote */

.review-quote-container {
  position: relative;
  min-height: 240px;
  font-size: 16px;
}

.review-quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.review-quote.active {
  opacity: 1;
}


/* Reviewer */

.reviewer-container {
  position: relative;
  min-height: 120px;
  font-size: 18px;
}

.reviewer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.reviewer.active {
  opacity: 1;
}


/* Floating Images */

.review-image {
  position: absolute;
  width: 320px;
  opacity: 0;
  transform: translateY(80px);
  transition: all 1.2s ease;
}

.review-image img {
  width: 110%;
  border: 14px solid #fff9f3;
  box-shadow: 0 5px 15px rgba(37, 18, 7, 0.319);
}

.review-image-left {
  left: 15vw;
  top: -10%;
}

.review-image-right {
  right: 15vw;
  bottom: -5%;
}

.reviews-section.visible .review-image {
  opacity: 1;
  transform: translateY(0);
}






/* ===============================
   Gallery SECTION
================================ */

.gallery-section {
  background: #5d0000;
  padding: 120px 5%;
  text-align: center;
  overflow: hidden;
  position: relative;
}


.gallery-header {
  position: relative;   /* REQUIRED for z-index to work */
  margin-bottom: 50px;
  color: #fff9f3;
  font-weight: 10;
   z-index: 2;
}

.gallery-title {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  margin-top: -20px;
  margin-bottom: -144px;
}

.gallery-title-main {
  font-size: clamp(2rem, 4vw, 3rem);
   font-size: 84px;
  letter-spacing: 0.1em;
  font-weight: 300;
}

.gallery-title-script {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-family: 'Great Vibes', cursive;
  font-size: 160px;
  font-weight: 10;
}

/* ================= CAROUSEL ================= */

.carousel {
  position: relative;
  width: 100%;
  max-width: 1500px;  
  margin: 0 auto;   /* centers the whole carousel */
  z-index: 1;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}

.card {
  flex: 0 0 100%;
  height: 900px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0.5;
  transform: scale(.9);
}


.card:nth-child(1) { background-image: url('gallery1.jpg'); }
.card:nth-child(2) { background-image: url('gallery2.jpg'); }
.card:nth-child(3) { background-image: url('gallery3.jpg'); }
.card:nth-child(4) { background-image: url('gallery4.jpg'); }
.card:nth-child(5) { background-image: url('gallery5.jpg'); }
.card:nth-child(6) { background-image: url('gallery6.jpg'); }
.card:nth-child(7) { background-image: url('gallery7.jpg'); }
.card:nth-child(8) { background-image: url('gallery8.jpg'); }

/* Center active card */

.card.active {
  opacity: 1;
  transform: scale(1.00);
}



/* ===============================
   CONTACT
================================ */
.contact-section{
background: #fff9f3;
padding:120px 0%;
box-shadow: 0 8px 8px rgba(37, 23, 12, 0.055);
position: relative;
z-index: 2;
}

.contact-container{
display:grid;
grid-template-columns:1fr 1.2fr;
gap:80px;
align-items:center;
max-width:1400px;
margin:auto;
}

.contact-left p{
max-width:430px;
margin-bottom:25px;
margin-top: -15px;
color:#4a2a16;
line-height:1.6;
}
 
.contact-title{
display:flex;
align-items:baseline;
gap:15px;
}

.title-main{
font-size:60px;
color:#4a2a16;
font-weight:300;
}

.title-script{
font-family:'Great Vibes',cursive;
font-size:120px;
color:#a11818;
font-weight:300;
}

.form-stack{
position:relative;
}

.form-card-back{
position:absolute;
width:155%;
height:164%;
background-image: url("envelope.png");
background-size: 70%;
background-position: center;
background-repeat: no-repeat;
top:-214px;
left:-130px;
transform:rotate(8deg);
z-index:0;
filter:blur(.2px);
}

.form-card{
background-image: url("letter.png");
background-size: 100%;
background-position: center;
background-repeat: no-repeat;
box-shadow:0 6px 8px rgba(86, 50, 25, 0.226);
width:99%;
height:99%;
padding:70px;
position:relative;
z-index:2;
transition:.4s ease;
}

.form-stack:hover .form-card{
transform:translateY(-8px);
}


.form-grid{
display:grid;
grid-template-columns:1fr 2px 1fr;
gap:40px;
}

.divider{
background:#efe9e3;
width:2px;
}

label{
display:block;
margin-top:10px;
margin-bottom:6px;
color:#361d0d;
}

input, select, textarea{
width:100%;
padding:10px;
border:none;
background:#efe9e3;
font-size:16px;
}

textarea{
height:160px;
resize:none;
}

.send-button{
position:absolute;
bottom:-25px;
right:40px;

background:#a11818;
color:#fff9f3;

border:none;
padding:16px 34px;

font-size:16px;
font-family:'Libre Baskerville';
cursor:pointer;


transition:.6s ease;
}

.send-button:hover{
transform:translateY(-4px);
box-shadow:0 8px 18px rgba(47, 31, 11, 0.391);
}

@media (max-width:1000px){

.contact-container{
grid-template-columns:1fr;
}

.form-grid{
grid-template-columns:1fr;
}

.divider{
display:none;
}

.form-card-back{
display:none;
}

.send-button{
position:relative;
bottom:auto;
right:auto;
margin-top:20px;
}

}





/* ===============================
   JOURNEY SECTION
================================ */
.journey-section {

position: relative;

  min-height: clamp(100px, 82vh, 900px);
  width: 100%;

  background-image: url("phone-drink.png");
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 1vw;
}


/* GRID LAYOUT */

.journey-text {

  display: grid;
  grid-template-columns: auto 700px;
  gap: 100px;
  align-items: start;
}


/* TITLES STACKED */

.journey-text h2 {

  display: flex;
  flex-direction: column;
  font-weight: 200;
  font-size: 60px;
  color: #5a2b16;
  line-height: 0.9;
  margin-top: clamp(-120%, -25vh, 20%);
  margin-left: 0px;

}


.journey-text h2 span {

  font-family: "Great Vibes", cursive;
  color: #a11818;
  font-weight: 500;
  font-size: 110px;
  line-height: 1;
}


/* PARAGRAPH */

.journey-text p {

  font-size: 16px;
  line-height: 1.6;
  color: #5a2b16;
  max-width: 900px;
  margin-top: clamp(-320px, -25vh, -50px);
}

/* Floating Images */


.journey-image {
  position: absolute;
  width: 320px;
  opacity: 0;
  transform: translateY(80px);
  transition: all 1.2s ease;
}


.journey-image img {
  width: 95%;
  border: 14px solid #fff9f3;
  box-shadow: 0 5px 5px rgba(37, 18, 7, 0.205);
}


.journey-image-one-left {
  width: 14%;
  left: 8%;
  top: 7%;
  rotate: 2deg;
}

.journey-image-two-left {
    width: 11%;
  left: 3%;
  top: 40%;
  rotate: -10deg;
}

.journey-image-right {
    width: 13%;
  right: 8%;
  top: 10%;
  rotate: 10deg;
}


.journey-section.visible .journey-image {
  opacity: 1;
  transform: translateY(0);
}



/* ===============================
  FINAL SECTION
================================ */
.footer-contact {
  background: #fff9f3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 80px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-cherry {
  width: 60px;
}

.footer-info p {
  margin: 4px 0;
  font-family: 'Libre Baskerville', serif;
  color: #6d0303;
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: 2px;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social img {
  width: 36px;
  height: 36px;
}


.footer-social img {
  width: 36px;
  transition: transform .25s ease, opacity .25s ease;
}

.footer-social img:hover {
  transform: translateY(-3px);
  opacity: .8;
}





/* ======================================
   PHONES
   (Below 1400px)
====================================== */

@media (max-width:1400px){

.section{
padding:clamp(10px, 6vw, 100px) 7vw;
}


/* HERO */

.hero-top{
flex-direction:column;
gap:30px;
}

.hero-nav a{
margin-left:15px;
font-size:16px;
}

.hero-logo{
content:url("textlogovert.svg");
width:min(84vw,600px);
filter: drop-shadow(0 2px 6px rgba(37, 18, 7, 0.683));
}

.hero-tagline{
letter-spacing:.25em;
font-size:clamp(20px,2.5vw,22px);
margin-bottom:clamp(220px,35vh,460px);
text-shadow: 0 1px 4px rgba(37, 18, 7, 0.945);
}



/* INTRO */

.intro-section{
height:auto;
padding:20px 0;
}

.intro-grid{
grid-template-columns:1fr;
gap:50px;
text-align:center;
justify-items:center;
}

.intro-text{
order:-1;
max-width:480px;
margin:0 auto;
}


.intro-text h2,
.intro-text h3{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
margin:0;
}

.intro-text h2{
font-size:px;
margin-bottom:20px;
}

.intro-text h3{
font-size:clamp(24px,5vw,31px);
}

.intro-text p{
max-width:600px;
margin:0 auto 20px;
padding:0 40px;
}

/* IMAGES */

.intro-images{
width:100%;
max-width:500px;
margin:80px auto 0;
}

.intro-cherry{
width:180px;
margin:30px auto 0;
display:block;
position:relative;
}

/* WHAT WE DO */

.what-we-do-section{
height:auto;
}

.what-we-do-grid{
grid-template-columns:1fr;
gap:10px;
text-align:center;
justify-items:center;
}

/* TEXT */

.what-we-do-text{
order:-1;
max-width:400px;
margin:150px auto 0 auto;
}

.what-we-do-text h2{
margin-bottom:10px;
  margin: -70px 50px 20px;
}

.what-we-do-text h3{
font-size:clamp(18px,6vw,42px);
margin-bottom:70px;
}


.what-we-do-text p{
max-width:700px;
margin:0 auto 20px;
padding:0 5px;
line-height:1.7;
}

/* IMAGE */

.what-we-do-image{
position:relative;
width:100%;
max-width:900px;
margin:40px auto 0;
aspect-ratio:4/3;
overflow:hidden;
}

.what-we-do-image img{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
}



/* REVIEWS */

.reviews-content{
max-width:900px;
}

.reviews-content h2{
font-size:clamp(58px,6vw,64px);
margin-top:20px;
}

.reviews-content h3{
font-size:clamp(24px,4vw,40px);
margin-top:-140px;
margin-bottom:80px;
}

.review-image{
display:none;
}



/* GALLERY */

.gallery-title-main{
font-size:clamp(24px,6vw,40px);
}

.gallery-title-script{
font-size:clamp(50px,10vw,70px);
margin-top:20px;
}

.card{
height:clamp(400px,60vw,600px);
margin-top:66px;
}



/* CONTACT */

.contact-section{
  padding: 80px 20px;
  text-align: center;
}

/* CONTAINER */
.contact-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}

/* TITLE */
.contact-title{
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.title-main{
  font-size: clamp(42px, 6vw, 42px);
}

.title-script{
  font-size: clamp(70px, 10vw, 90px);
}

/* TEXT */
.contact-left p{
  margin: 0 auto;
  max-width: 500px;
  padding: 0 10px;
  font-size: 16px;
}

/* FORM STACK */
.form-stack{
  width: 100%;
  max-width: 500px;
}

/* REMOVE BACK DECOR (causes overflow issues) */
.form-card-back{
  display: none;
}

/* FORM CARD */
.form-card{
  padding: 25px 18px;
  width: 100%;
}

/* FORM LAYOUT */
.form-grid{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* INPUTS */
input, select, textarea{
  width: 100%;
  padding: 12px;
  font-size: 16px;
}

/* TEXTAREA */
textarea{
  height: 140px;
}

/* BUTTON */
.send-button{
  padding: 12px;
  font-size: 16px;
}

/* EXTRA SAFETY (prevents iPhone overflow bugs) */
*{
  max-width: 100%;
}




/* JOURNEY */

.journey-section{
height:auto;
padding:120px 20px;
}

.journey-text{
margin-top:0%;
margin-bottom: 30%;
grid-template-columns:1fr;
gap:30px;
text-align:center;
justify-items:center;
}

.journey-text h2{
margin:0;
font-size:clamp(28px,5vw,44px);
align-items:center;
}

.journey-text h2 span{
font-size:clamp(60px,10vw,90px);
}

.journey-text p{
margin:0;
max-width:600px;
padding:0 40px;
}

.journey-image{
display:none;
gap: 40px;
}



/* FOOTER */

.footer-contact{
flex-direction:column;
gap:20px;
text-align:center;
padding:40px 20px;
}

.footer-left{
flex-direction:column;
}

.footer-info p{
font-size:14px;
}

}


/* ======================================
   
====================================== */

@media (max-width:1800px){



.image-stack {
  position: absolute;
  transform: translate(-100px, -560px); /* X , Y */
  z-index: 1;
}



.intro-images > img:first-of-type {
  max-width: 340px;
  max-height: 340px;
  transform: translate(320px, 80px); /* X , Y */
}

.cluster-image {
  max-width: 560px;
  max-height: 560px;
  transform: translate(100px, -10px); /* X , Y */
}

.intro-text h2 {
  font-size: 80px
}

/* CHERRY */
.intro-cherry {
  width: 300px;
  top: 180px;
  left: 900px;
  
}

.what-we-do-text h2 {
  font-size: 70px;
}

.journey-image {
  transform: translateY(80px);
}

.journey-image-one-left {
  width: 18%;
  left: 3%;
  top: 35%;
}

.journey-image-two-left {
  width: 16%;
  left: 12%;
  top: 60%;

}

.journey-image-right {
  width: 15%;
  right: 8%;
  top: 26%;

}



.review-image-left {
  width: 18%;
  left: 3%;
  top: -10%;
}

.review-image-right {
  width: 18%;
  right: 3%;
  bottom: -5%;
} 

.form-card{
background-image: none;
background-color: #fff7f0;
}



}

@media (max-width:2100px){

.review-image-left {
  width: 18%;
  left: 3%;
  top: -10%;
}

.review-image-right {
  width: 18%;
  right: 3%;
  bottom: -5%;
}

.journey-image-one-left {
  width: 18%;
  left: 3%;
  top: 35%;
}

.journey-image-two-left {
  width: 16%;
  left: 12%;
  top: 60%;

}

.journey-image-right {
  width: 15%;
  right: 8%;
  top: 36%;

}



}