/* ============================================================
   CANUNDA PRODUCTS PTY LTD — Site Styles
   Exact clone of canundaproducts.com
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --promo-bg:       rgb(144, 129, 121);
  --promo-text:     rgb(255, 255, 255);
  --nav-bg:         rgb(255, 255, 255);
  --nav-text:       rgb(54, 47, 43);
  --nav-border:     rgba(0, 0, 0, 0.08);
  --hero-overlay:   rgba(0, 0, 0, 0.38);
  --white:          rgb(255, 255, 255);
  --off-white:      rgb(246, 246, 246);
  --dark-bg:        rgb(27, 27, 27);
  --accent:         rgb(131, 116, 108);
  --accent-hover:   rgb(144, 129, 121);
  --text-dark:      rgb(21, 21, 21);
  --text-medium:    rgb(78, 69, 64);
  --text-light:     rgb(145, 145, 145);
  --card-border:    rgba(0, 0, 0, 0.07);
  --font-heading:   'Libre Baskerville', Georgia, serif;
  --font-body:      'Karla', 'Noto Sans', Arial, sans-serif;
  --header-h:       80px;
  --promo-h:        44px;
  --max-w:          1240px;
  --section-py:     72px;
  --card-radius:    0px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

address { font-style: normal; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px;
}

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
  background-color: var(--promo-bg);
  color: var(--promo-text);
  text-align: center;
  padding: 10px 48px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 200;
}

.promo-banner p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.promo-decor {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

.promo-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--promo-text);
  font-size: 16px;
  cursor: pointer;
  opacity: 0.75;
  padding: 4px 8px;
  line-height: 1;
}
.promo-close:hover { opacity: 1; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 14px 32px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: clamp(11px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.18;
  text-align: center;
  display: block;
  white-space: nowrap;
}
.site-logo:hover { text-decoration: none; color: var(--text-dark); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-phone {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-medium);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--accent); text-decoration: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-medium);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--nav-bg);
  border-top: 1px solid var(--nav-border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul {
  list-style: none;
  padding: 12px 0;
}
.mobile-menu li a {
  display: block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-medium);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mobile-menu li a:hover {
  background: var(--off-white);
  text-decoration: none;
  color: var(--accent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: var(--white);
  width: 100%;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  align-items: center;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-text-col {
  padding-right: 16px;
}

.hero-heading {
  font-family: var(--font-body);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.75;
  color: var(--text-medium);
  max-width: 400px;
  margin-bottom: 32px;
}

.btn-hero-pill {
  display: inline-block;
  background-color: transparent;
  border: 1.5px solid var(--text-dark);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 12px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-hero-pill:hover {
  background-color: var(--text-dark);
  color: var(--white);
  text-decoration: none;
}

.hero-img-col {
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section-white {
  background-color: var(--white);
  padding: var(--section-py) 0;
}

.section-light {
  background-color: var(--off-white);
  padding: var(--section-py) 0;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.01em;
}

.section-subtext {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-medium);
  text-align: center;
  max-width: 620px;
  margin: -32px auto 48px;
  line-height: 1.7;
}

/* ============================================================
   GALLERY TITLE SECTION
   ============================================================ */
.gallery-title-section {
  padding: 56px 0 0;
}

.gallery-title-section .section-heading {
  margin-bottom: 0;
}

/* ============================================================
   GALLERY SLIDESHOW
   ============================================================ */
.gallery-slideshow-section {
  background-color: var(--off-white);
  padding: 0 0 40px;
}

.slideshow-stage {
  position: relative;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 580px;
}

.slide-main-wrap {
  width: 100%;
  max-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#slide-main-img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 52px;
  line-height: 1;
  padding: 8px 18px;
  cursor: pointer;
  z-index: 2;
  border-radius: 2px;
  transition: background 0.15s;
}
.slide-arrow:hover { background: rgba(255, 255, 255, 0.3); }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }

.slide-thumbs {
  display: flex;
  gap: 6px;
  padding: 16px 24px;
  overflow-x: auto;
  justify-content: center;
  flex-wrap: wrap;
}

.slide-thumb {
  width: 88px;
  height: 64px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity 0.15s, border-color 0.15s;
}
.slide-thumb:hover { opacity: 0.8; }
.slide-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

/* ============================================================
   PRODUCT & DELIVERY CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  gap: 32px;
}

.two-col   { grid-template-columns: repeat(2, 1fr); }
.three-col { grid-template-columns: repeat(3, 1fr); }

.product-card,
.delivery-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.section-light .product-card,
.section-light .delivery-card {
  background: var(--white);
}

.card-image-wrap {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}
.product-card:hover .card-image,
.delivery-card:hover .card-image {
  transform: scale(1.04);
}

.card-body {
  padding: 24px 24px 28px;
  flex: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.card-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.65;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background-color: var(--off-white) !important;
}

.contact-info-map {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px 64px;
  align-items: start;
  margin-bottom: 48px;
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.btn-message {
  display: inline-block;
  margin-top: 24px;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.2s, color 0.2s;
}
.btn-message:hover {
  background-color: var(--text-dark);
  color: var(--white);
  text-decoration: none;
}

.contact-info {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.75;
}

.contact-biz-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.contact-info address {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 6px;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
}

.directions-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  text-decoration: none;
}
.directions-link:hover {
  color: var(--text-dark);
  border-color: var(--text-dark);
  text-decoration: none;
}

/* ---- Contact Form ---- */
.contact-form-wrap {
  background: var(--white);
  padding: 36px 40px;
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.form-heading {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 2px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.recaptcha-note {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.5;
}

.recaptcha-note a {
  color: var(--text-light);
  text-decoration: underline;
}

.form-actions {
  display: flex;
  gap: 12px;
}

.btn-send {
  background-color: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 32px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  border-radius: 2px;
}
.btn-send:hover {
  background-color: var(--dark-bg);
  border-color: var(--dark-bg);
}
.btn-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-cancel {
  background-color: transparent;
  color: var(--text-medium);
  border: 2px solid rgba(0,0,0,0.18);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 32px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 2px;
}
.btn-cancel:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}
.form-status.success { color: #2e7d32; }
.form-status.error   { color: #c62828; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-section {
  background-color: var(--dark-bg);
  padding: var(--section-py) 0;
}

.testimonial-figure {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 24px;
  quotes: none;
}

.testimonial-cite {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   MAILING LIST
   ============================================================ */
.mailing-section {
  background-color: var(--accent);
  padding: 60px 0;
  text-align: center;
}

.mailing-heading {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.mailing-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.mailing-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 18px;
  border: 2px solid rgba(255,255,255,0.6);
  border-right: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  outline: none;
  border-radius: 2px 0 0 2px;
  transition: border-color 0.2s, background 0.2s;
}
.mailing-input::placeholder {
  color: rgba(255,255,255,0.7);
}
.mailing-input:focus {
  border-color: var(--white);
  background: rgba(255,255,255,0.22);
}

.btn-signup {
  background-color: var(--dark-bg);
  color: var(--white);
  border: 2px solid var(--dark-bg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  transition: background-color 0.2s;
  white-space: nowrap;
}
.btn-signup:hover {
  background-color: rgb(50, 44, 40);
  border-color: rgb(50, 44, 40);
}

.mailing-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  min-height: 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--dark-bg);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
}
.footer-link:hover {
  color: rgba(255,255,255,0.9);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-overlay.active {
  display: flex;
}

.lb-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lb-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  user-select: none;
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 36px;
  color: rgba(255,255,255,0.85);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  transition: color 0.15s;
  z-index: 10000;
}
.lb-close:hover { color: var(--white); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 52px;
  line-height: 1;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 10000;
  border-radius: 2px;
}
.lb-nav:hover { background: rgba(255,255,255,0.22); }

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.06em;
}

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

/* Tablet */
@media (max-width: 900px) {
  :root {
    --section-py: 56px;
    --header-h: 72px;
  }

  .hamburger { display: flex; }
  .nav-phone { display: none; }

  .three-col { grid-template-columns: 1fr 1fr; }
  .two-col   { grid-template-columns: 1fr 1fr; }

  .hero-split { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
  .hero-text-col { padding-right: 0; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }

  .contact-info-map {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 28px 28px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --header-h: 64px;
    --section-py: 48px;
  }

  .container { padding-inline: 20px; }

  .site-logo { font-size: 12px; }

  .hero-heading { font-size: 32px; }

  .three-col { grid-template-columns: 1fr; }
  .two-col   { grid-template-columns: 1fr; }

  .slide-arrow { font-size: 36px; padding: 6px 12px; }
  .slide-prev { left: 6px; }
  .slide-next { right: 6px; }

  .contact-form-wrap {
    padding: 24px 18px;
  }

  .mailing-form {
    flex-direction: column;
  }
  .mailing-input {
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: none;
    border-radius: 2px 2px 0 0;
  }
  .btn-signup {
    border-radius: 0 0 2px 2px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .lb-nav { font-size: 36px; padding: 6px 12px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
}

/* Sticky header offset for anchor links */
[id] { scroll-margin-top: calc(var(--header-h) + var(--promo-h) + 8px); }
