/* ============================================
   MK BOWER CAFE — Global Stylesheet
   Warm Botanical Theme | Brisbane QLD
   ============================================ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #1D3D1D;
  --green:        #2E5C2E;
  --green-mid:    #4A7C4A;
  --green-light:  #6FAE6F;
  --cream:        #FDF6E3;
  --cream-dark:   #F5EDCF;
  --warm-white:   #FFFEF9;
  --terracotta:   #C4704A;
  --gold:         #C8A055;
  --gold-light:   #E2C47A;
  --text:         #1C1C1C;
  --text-mid:     #4A4A4A;
  --text-light:   #7A7A7A;
  --border:       rgba(46,92,46,0.18);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.18);
  --radius:       12px;
  --radius-lg:    24px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-mid); font-size: 1.05rem; }

.script { font-family: 'Dancing Script', cursive; font-size: 1.4em; color: var(--green); }
.text-green  { color: var(--green); }
.text-gold   { color: var(--gold); }
.text-terra  { color: var(--terracotta); }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5vw;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.nav.transparent { background: linear-gradient(to bottom, rgba(13,26,13,0.65) 0%, rgba(13,26,13,0.2) 60%, transparent 100%); }
.nav.scrolled, .nav.solid {
  background: rgba(250,246,239,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-dark);
  line-height: 1;
}
.nav-logo .logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav.transparent .nav-links a { color: rgba(255,255,255,0.88); }
.nav.transparent .nav-links a:hover { color: white; }
.nav.transparent .nav-logo .logo-text { color: white; }
.nav.transparent .nav-logo .logo-sub { color: var(--gold-light); }

.nav-order-btn {
  background: var(--terracotta);
  color: white !important;
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
  box-shadow: 0 4px 16px rgba(196,112,74,0.3);
}
.nav-order-btn:hover { background: var(--green) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,92,46,0.3) !important; }
.nav-order-btn::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── SECTION LAYOUT ─── */
.section {
  padding: 6rem 5vw;
  position: relative;
}
.section--cream { background: var(--cream); }
.section--white { background: var(--warm-white); }
.section--dark  { background: var(--green-dark); color: white; }
.section--dark p { color: rgba(255,255,255,0.75); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(196,112,74,0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section--dark .section-label { background: rgba(255,255,255,0.12); color: var(--gold-light); }

.section-header {
  max-width: 580px;
  margin-bottom: 3.5rem;
}
.section-header.center {
  text-align: center;
  margin: 0 auto 3.5rem;
}
.section-header p {
  margin-top: 0.8rem;
  font-size: 1.05rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  border-radius: 2px;
  margin: 1rem 0;
}
.divider.center { margin: 1rem auto; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 6px 24px rgba(46,92,46,0.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(46,92,46,0.4); }

.btn-outline {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
}
.btn-outline:hover { background: var(--green); color: white; }

.btn-gold {
  background: var(--gold);
  color: white;
  box-shadow: 0 6px 24px rgba(200,160,85,0.35);
}
.btn-gold:hover { background: var(--terracotta); transform: translateY(-2px); }

.btn-white {
  background: white;
  color: var(--green-dark);
}
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }

.btn-terra {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 6px 24px rgba(196,112,74,0.35);
}
.btn-terra:hover { background: #a85c3a; transform: translateY(-2px); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(29,61,29,0.9) 0%, rgba(29,61,29,0.4) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5vw 3rem;
  width: 100%;
}
.page-hero-content .breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.page-hero-content .breadcrumb a { color: var(--gold-light); }
.page-hero-content h1 { color: white; }
.page-hero-content p { color: rgba(255,255,255,0.8); margin-top: 0.5rem; font-size: 1.05rem; }

/* ─── FOOTER ─── */
.footer {
  background: #111A11;
  color: white;
  padding: 4rem 5vw 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.footer-brand .brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: block;
}
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.7rem; }
.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
  color: white;
}
.social-link:hover { background: var(--terracotta); border-color: var(--terracotta); transform: translateY(-2px); }

.footer-col h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--gold-light);
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: white; }
.footer-col address {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
}
.footer-col address a { color: var(--gold-light); }
.footer-col address a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE LAYOUTS & FOOTER ─── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .page-hero { height: 280px; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── DROPDOWN SUB-MENU ─── */
.nav-dropdown-wrapper {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(253,246,227,0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 0;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  backdrop-filter: blur(10px);
}
.nav.transparent .nav-dropdown {
  background: rgba(20,35,20,0.96);
  border-color: rgba(255,255,255,0.1);
}
.nav-dropdown-wrapper:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(6px);
}
.nav-dropdown li {
  width: 100%;
}
.nav-dropdown li a {
  display: block;
  padding: 0.55rem 1.4rem;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--green-dark) !important;
  text-transform: none !important;
  letter-spacing: 0.04em !important;
  transition: background 0.25s, color 0.25s;
  text-align: left;
}
.nav.transparent .nav-dropdown li a {
  color: rgba(255,255,255,0.85) !important;
}
.nav-dropdown li a:hover {
  background: var(--cream-dark);
  color: var(--terracotta) !important;
}
.nav.transparent .nav-dropdown li a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--gold-light) !important;
}
.nav-dropdown li a::after {
  display: none !important;
}


/* Transparent Nav Overrides for logo-name and logo-tag */
.nav.transparent .logo-name { color: white !important; }
.nav.transparent .logo-tag { color: var(--gold-light) !important; }
.nav.transparent .hamburger span { background: white !important; }
.nav.transparent .nav-links a { color: rgba(255,255,255,0.88) !important; }
.nav.transparent .nav-links a:hover { color: white !important; }
