
/* =========================================
   T3 HOMEMADE CAKES
   Luxury Family Bakery Website
========================================= */

:root {
  --dark: #211713;
  --brown: #493126;
  --cream: #f8f3eb;
  --white: #fffdf9;
  --gold: #bd9560;
  --muted: #82766c;
  --border: #e8ded1;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--dark);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ANNOUNCEMENT */

.announcement {
  background: var(--dark);
  color: #f4e7d3;
  text-align: center;
  padding: 9px 15px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* HEADER */

.header {
  height: 88px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(73,49,38,.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -3px;
}

.logo-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1.5;
}

.logo-name small {
  display: block;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 2.5px;
  font-weight: 500;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navigation a {
  font-size: 12px;
  font-weight: 500;
  transition: color .3s;
}

.navigation a:hover {
  color: var(--gold);
}

.navigation .nav-order {
  background: var(--dark);
  color: white;
  padding: 13px 22px;
  transition: all .3s;
}

.navigation .nav-order:hover {
  background: var(--gold);
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 25px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  padding: 65px 7%;
  align-items: center;
  gap: 55px;
}

.hero-content {
  max-width: 560px;
  animation: fadeUp .9s ease both;
}

.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(43px, 5.2vw, 75px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -2px;
}

.hero h1 em,
.section-heading h2 em,
.story-content h2 em,
.classes h2 em,
.contact h2 em {
  color: var(--gold);
  font-weight: 500;
}

.hero-content > p {
  max-width: 450px;
  margin: 25px 0 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.hero-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: all .3s ease;
  cursor: pointer;
}

.button-primary {
  background: var(--dark);
  color: white;
}

.button-primary:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.button-outline {
  border: 1px solid #cbb9a5;
  color: var(--dark);
}

.button-outline:hover {
  background: var(--dark);
  color: white;
}

.hero-note {
  margin-top: 38px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .5px;
}

.hero-note span {
  color: var(--gold);
  margin-right: 8px;
}

.hero-image {
  height: 510px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 1.1s ease both;
}

.hero-image img {
  height: 100%;
  transition: transform 1s ease;
}

.hero-image:hover img {
  transform: scale(1.04);
}

.image-label {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: var(--white);
  padding: 19px 25px;
}

.image-label span {
  color: var(--gold);
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.image-label strong {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 500;
}

/* INTRO STRIP */

.intro-strip {
  background: var(--dark);
  color: white;
  padding: 30px 15px;
  text-align: center;
}

.intro-strip p {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 5px;
}

.intro-strip span {
  font-size: 10px;
  color: #c9ad8d;
  letter-spacing: 2px;
}

/* GENERAL SECTIONS */

.section {
  padding: 110px 7%;
}

.section-heading {
  text-align: center;
  margin-bottom: 55px;
}

.section-heading h2,
.story-content h2,
.classes h2,
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 53px);
  font-weight: 500;
  line-height: 1.2;
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 15px;
}

/* COLLECTIONS */

.collections {
  background: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--cream);
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(35,23,17,.1);
}

.product-card > img {
  height: 260px;
  transition: transform .7s;
}

.product-card:hover > img {
  transform: scale(1.06);
}

.product-info {
  padding: 25px 20px 30px;
}

.product-info span {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.product-info h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  margin: 9px 0;
}

.product-info p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  min-height: 62px;
}

.product-info a {
  display: inline-block;
  margin-top: 18px;
  font-size: 10px;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.product-info a:hover {
  color: var(--gold);
}

.image-disclaimer {
  margin-top: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}

/* FAMILY STORY */

.story {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}

.story-image {
  height: 500px;
  overflow: hidden;
}

.story-image img {
  height: 100%;
  transition: transform .8s;
}

.story-image:hover img {
  transform: scale(1.04);
}

.story-content > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2.1;
  margin-top: 22px;
}

.text-link {
  display: inline-block;
  margin-top: 30px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  font-size: 11px;
  font-weight: 700;
}

/* BAKING CLASSES */

.classes {
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(30,19,14,.83),rgba(30,19,14,.83)),
    url("https://images.unsplash.com/photo-1555507036-ab1f4038808a?w=1600&q=85")
    center/cover;
  color: white;
}

.classes-content {
  max-width: 650px;
}

.classes h2 {
  color: white;
}

.classes-content p {
  color: #d9cec1;
  font-size: 13px;
  margin: 20px 0 30px;
}

.button-light {
  background: var(--cream);
  color: var(--dark);
}

.button-light:hover {
  background: var(--gold);
  color: white;
}

/* CONTACT */

.contact {
  text-align: center;
  background: var(--white);
}

.contact > p {
  color: var(--muted);
  font-size: 13px;
  max-width: 500px;
  margin: 20px auto 30px;
}

.location {
  margin-top: 30px;
  color: var(--muted);
  font-size: 11px;
}

/* FOOTER */

.footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 26px;
}

.footer p {
  color: #c9ad8d;
  font-size: 12px;
  margin: 8px 0 25px;
}

.footer span {
  color: #9c8b7b;
  font-size: 10px;
}

/* ANIMATIONS */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    gap: 30px;
  }

  .story {
    gap: 40px;
  }

  .navigation {
    gap: 17px;
  }
}

@media (max-width: 700px) {

  .header {
    height: 72px;
    padding: 0 5%;
  }

  .menu-toggle {
    display: block;
  }

  .navigation {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px 6% 25px;
    box-shadow: 0 15px 25px rgba(0,0,0,.08);
  }

  .navigation.active {
    display: flex;
  }

  .navigation a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .navigation .nav-order {
    text-align: center;
    margin-top: 12px;
    padding: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 65px 6% 45px;
    gap: 40px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .hero-image {
    height: 390px;
  }

  .hero-content > p {
    font-size: 13px;
  }

  .section {
    padding: 75px 6%;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card > img {
    height: 180px;
  }

  .product-info {
    padding: 17px 13px 20px;
  }

  .product-info h3 {
    font-size: 19px;
  }

  .product-info p {
    font-size: 10px;
    min-height: 85px;
  }

  .product-info span {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .story-image {
    height: 340px;
  }

  .classes {
    min-height: 400px;
  }

  .intro-strip p {
    font-size: 19px;
  }

  .intro-strip span {
    font-size: 8px;
    letter-spacing: 1px;
  }
}

@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card > img {
    height: 240px;
  }

  .hero h1 {
    font-size: 39px;
  }
}
/* ===== PREMIUM CAKE GALLERY ===== */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 38px;
}

.gallery-filter {
  padding: 11px 22px;
  border: 1px solid #d8c8b5;
  border-radius: 30px;
  background: transparent;
  color: #503629;
  font: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
  background: #503629;
  color: #fffaf3;
  border-color: #503629;
}

.gallery-card {
  overflow: hidden;
  border-radius: 14px;
  background: #fffaf3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(55, 35, 25, 0.13);
}

.gallery-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-card .view-cake {
  display: block;
  padding: 18px;
  color: #503629;
  text-decoration: none;
  font-weight: 600;
}

.cake-detail[hidden] {
  display: none !important;
}

.cake-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
  margin-top: 55px;
  padding: 35px;
  background: #fffaf3;
  border-radius: 18px;
}

.cake-detail-image img {
  width: 100%;
  display: block;
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cake-detail-content h2 {
  color: #503629;
  margin-bottom: 18px;
}

.detail-note {
  margin: 22px 0;
  color: #806b5c;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .cake-detail {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px;
  }

  .gallery-filters {
    gap: 8px;
  }

  .gallery-filter {
    padding: 9px 15px;
    font-size: 13px;
  }
}
/* ===== T3 PREMIUM HERO ===== */

.hero-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
  padding-top: 75px;
  padding-bottom: 75px;
}

.hero-premium .hero-content {
  max-width: 600px;
}

.hero-premium .hero-content p {
  line-height: 1.9;
  max-width: 510px;
}

.hero-premium .hero-image {
  position: relative;
  min-width: 0;
}

.hero-premium .hero-image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 180px 180px 18px 18px;
  display: block;
}

.hero-image-note {
  position: absolute;
  bottom: 25px;
  left: -30px;
  max-width: 250px;
  padding: 20px;
  background: #fffaf3;
  color: #503629;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.hero-image-note span {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero-image-note strong {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.4;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: #806b5c;
  font-size: 12px;
}

@media (max-width: 768px) {
  .hero-premium {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 45px;
    padding-bottom: 55px;
  }

  .hero-premium .hero-image img {
    height: 400px;
    border-radius: 130px 130px 15px 15px;
  }

  .hero-image-note {
    left: 12px;
    bottom: 15px;
  }

  .hero-trust {
    gap: 12px;
  }
}
.hero-image-note {
  left: 15px;
  max-width: 260px;
  z-index: 2;
}

.hero-premium .hero-image {
  overflow: visible;
}

/* =================================
   T3 CUSTOMER TESTIMONIALS
================================= */

.testimonials {
  background: #f8f1e8;
  padding-top: 85px;
  padding-bottom: 90px;
}

.testimonials .section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 45px;
}

.testimonials .section-heading h2 {
  font-family: Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  color: #503629;
  margin: 15px 0;
}

.testimonials .section-heading h2 em {
  color: #a77b50;
  font-weight: normal;
}

.testimonials .section-heading p {
  color: #806b5c;
  line-height: 1.8;
  font-size: 15px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1050px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fffdf9;
  padding: 32px;
  border: 1px solid rgba(130, 94, 62, 0.13);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(70, 45, 28, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(70, 45, 28, 0.11);
}

.review-stars {
  color: #c18b45;
  letter-spacing: 4px;
  font-size: 17px;
}

.review-text {
  font-family: Georgia, serif;
  color: #503629;
  font-size: 18px;
  line-height: 1.8;
  margin: 20px 0 24px;
}

.review-label {
  display: inline-block;
  color: #a77b50;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* MOBILE */
@media (max-width: 650px) {
  .testimonials {
    padding-top: 60px;
    padding-bottom: 65px;
  }

  .testimonials .section-heading {
    margin-bottom: 30px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .review-text {
    font-size: 17px;
  }
}

/* T3 PREMIUM CUSTOM CAKE ENQUIRY FORM */

.cake-enquiry {
  background: #f8f1e8;
  padding: 90px 20px;
}

.enquiry-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 45px;
}

.enquiry-heading h2 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.2;
  color: #503629;
  margin: 15px 0;
}

.enquiry-heading h2 em {
  color: #a77b50;
  font-weight: normal;
}

.enquiry-heading p {
  color: #806b5c;
  line-height: 1.8;
  font-size: 15px;
}

.enquiry-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  background: #fffdf9;
  border: 1px solid rgba(130, 94, 62, 0.15);
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(70, 45, 28, 0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.form-group label {
  color: #503629;
  font-size: 13px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #e4d8ca;
  border-radius: 10px;
  background: #fffaf4;
  color: #503629;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #a77b50;
  box-shadow: 0 0 0 3px rgba(167, 123, 80, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.enquiry-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 17px 22px;
  font-size: 14px;
  margin-top: 5px;
}

.enquiry-note {
  text-align: center;
  color: #927d6c;
  font-size: 12px;
  margin-top: 18px;
  line-height: 1.6;
}

/* MOBILE FORM */

@media (max-width: 650px) {
  .cake-enquiry {
    padding: 60px 18px;
  }

  .enquiry-form {
    padding: 25px 20px;
    border-radius: 16px;
  }

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

  .enquiry-heading {
    margin-bottom: 30px;
  }
}
/* T3 FLOATING WHATSAPP BUTTON */

.floating-whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.whatsapp-label {
  background: #fffdf9;
  color: #503629;
  padding: 11px 17px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.floating-whatsapp:hover .whatsapp-icon {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

/* MOBILE */

@media (max-width: 650px) {
  .floating-whatsapp {
    right: 16px;
    bottom: 18px;
  }

  .whatsapp-icon {
    width: 54px;
    height: 54px;
  }

  .whatsapp-label {
    font-size: 11px;
    padding: 9px 13px;
  }
}