/*
Theme Name: Flatsome Child
Description: Custom Theme for Rainbow Cafe Vancouver
Author: Rainbow Cafe
Template: flatsome
Version: 3.0
*/

:root {
  --rb-cream: #FAF9F3;
  --rb-cream-alt: #F3F1E7;
  --rb-navy: #0B1120;
  --rb-navy-light: #162035;
  --rb-gold: #F2C94C;
  --rb-amber: #E5A823;
  --rb-amber-dark: #D49012;
  --rb-terracotta: #C85A32;
  --rb-red: #D32F2F;
  --rb-text-main: #1E232A;
  --rb-text-muted: #6B7280;
  --rb-border: #E8E5DC;
  --rb-card-bg: #FFFFFF;
}

/* Base Body & Layout */
body {
  background-color: var(--rb-cream) !important;
  color: var(--rb-text-main);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#main {
  background-color: var(--rb-cream);
}

/* Typography Utility Classes */
.font-adlam {
  font-family: 'ADLaM Display', cursive, sans-serif !important;
}

.font-agbalumo {
  font-family: 'Agbalumo', cursive, sans-serif !important;
}

.font-cormorant {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}

.font-dmsans {
  font-family: 'DM Sans', sans-serif !important;
}

.font-roboto {
  font-family: 'Roboto', sans-serif !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--rb-navy);
  letter-spacing: -0.01em;
}

/* Header Styling */
.header-wrapper, #header {
  background-color: var(--rb-cream) !important;
  border-bottom: 1px solid var(--rb-border);
}

.header-nav > li > a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rb-navy) !important;
  transition: color 0.2s ease;
}

.header-nav > li > a:hover {
  color: var(--rb-amber) !important;
}

.header-button-call {
  background-color: var(--rb-amber) !important;
  color: var(--rb-navy) !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 22px !important;
  border-radius: 99px !important;
  border: none !important;
  display: inline-block;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.header-button-call:hover {
  background-color: var(--rb-navy) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* Hero Section */
.hero-tagline-top {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rb-amber);
  margin-bottom: 12px;
}

.hero-main-title {
  font-family: 'ADLaM Display', cursive, sans-serif;
  font-size: 54px;
  line-height: 1.15;
  color: var(--rb-navy);
  margin-bottom: 15px;
}

.hero-vietnamese-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  color: var(--rb-terracotta);
  margin-bottom: 20px;
}

.hero-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rb-text-muted);
  max-width: 520px;
  margin-bottom: 30px;
}

/* Arch Image Frames (Signature Hero Visual) */
.hero-arch-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
}

.hero-arch-card {
  border-radius: 140px 140px 20px 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 17, 32, 0.12);
  border: 4px solid #FFFFFF;
  background-color: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-arch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(11, 17, 32, 0.18);
}

.hero-arch-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Action Buttons */
.btn-rainbow-primary {
  background-color: var(--rb-amber) !important;
  color: var(--rb-navy) !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px !important;
  border-radius: 99px !important;
  border: none !important;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(229, 168, 35, 0.35);
  transition: all 0.25s ease;
  margin-right: 12px;
}

.btn-rainbow-primary:hover {
  background-color: var(--rb-navy) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 17, 32, 0.25);
}

.btn-rainbow-secondary {
  background-color: transparent !important;
  color: var(--rb-navy) !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px !important;
  border-radius: 99px !important;
  border: 2px solid var(--rb-navy) !important;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.btn-rainbow-secondary:hover {
  background-color: var(--rb-navy) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* Category Highlight Cards */
.category-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--rb-border);
  transition: all 0.3s ease;
  text-align: center;
  padding-bottom: 24px;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 17, 32, 0.12);
  border-color: var(--rb-amber);
}

.category-card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.category-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-card-img-wrapper img {
  transform: scale(1.05);
}

.category-card-title {
  font-family: 'Agbalumo', cursive, sans-serif;
  font-size: 22px;
  color: var(--rb-navy);
  margin-top: 18px;
  margin-bottom: 4px;
}

.category-card-sub-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--rb-amber);
  margin-bottom: 4px;
}

.category-card-sub-vi {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--rb-text-muted);
}

/* Menu Item Card */
.menu-item-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--rb-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
  margin-bottom: 16px;
  position: relative;
}

.menu-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 17, 32, 0.09);
  border-color: var(--rb-amber);
}

.menu-item-thumb {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--rb-cream);
}

.menu-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-content {
  flex-grow: 1;
}

.menu-item-title-en {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--rb-navy);
  margin-bottom: 3px;
}

.menu-item-title-vi {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--rb-text-muted);
  margin-bottom: 4px;
}

.menu-item-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

.menu-item-price {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 15px;
  background-color: var(--rb-red);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: 99px;
  white-space: nowrap;
}

/* Review Cards */
.review-card {
  background-color: #FFFFFF;
  border-radius: 18px;
  padding: 30px 24px;
  border: 1px solid var(--rb-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(11, 17, 32, 0.1);
  border-color: var(--rb-amber);
}

.review-stars {
  color: #F5A623;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
  color: var(--rb-navy);
  margin-bottom: 16px;
}

.review-author {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rb-amber);
}

/* Custom Footer (UX Block) */
.rainbow-footer-wrapper {
  margin-top: 0;
}

.rainbow-visit-section {
  background-color: var(--rb-navy);
  color: #FFFFFF;
  padding: 70px 0 55px;
}

.visit-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 50px;
}

.visit-col {
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.visit-col:last-child {
  border-right: none;
}

.visit-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rb-amber);
  margin-bottom: 10px;
}

.visit-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #EDE8DF;
}

.visit-value a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.visit-value a:hover {
  color: var(--rb-amber);
}

.visit-note {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 4px;
}

/* Amber Gold Footer Bar */
.footer-amber-bar {
  background-color: var(--rb-amber);
  color: var(--rb-navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 18px 20px;
}

.footer-bottom-copy {
  background-color: #070B14;
  color: #888888;
  font-size: 13px;
  text-align: center;
  padding: 16px 0;
  margin: 0;
}

/* Gallery Grid */
.gallery-grid-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--rb-border);
  transition: all 0.3s ease;
  height: 280px;
  position: relative;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 17, 32, 0.14);
}

.gallery-grid-item:hover img {
  transform: scale(1.06);
}

/* Mobile Responsiveness */
@media only screen and (max-width: 768px) {
  .hero-main-title {
    font-size: 36px;
  }
  
  .hero-vietnamese-tagline {
    font-size: 20px;
  }
  
  .hero-arch-container {
    margin-top: 30px;
    flex-direction: row;
  }
  
  .hero-arch-card img {
    height: 240px;
  }
  
  .visit-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
  }
  
  .visit-col:last-child {
    border-bottom: none;
  }
  
  .menu-item-card {
    flex-direction: column;
    text-align: center;
  }
}
