/*
 Theme Name:   Extendable Child - Wok Express
 Theme URI:    https://loqai.online
 Description:  Child theme for Extendable – Wok Express Restaurant
 Author:       Wok Express
 Author URI:   https://loqai.online
 Template:     extendable
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  extendable-child
*/

/* ===========================
   WOK EXPRESS – BRAND TOKENS
   =========================== */
:root {
  /* Brand Colors */
  --wok-red:        #C0392B;
  --wok-red-dark:   #922B21;
  --wok-gold:       #D4A017;
  --wok-gold-light: #F1C40F;
  --wok-black:      #1A1A1A;
  --wok-charcoal:   #2C2C2C;
  --wok-white:      #FFFFFF;
  --wok-cream:      #FDF6EC;
  --wok-grey:       #F5F5F5;
  --wok-text:       #333333;
  --wok-muted:      #777777;

  /* Typography */
  --wok-font-display: 'Playfair Display', Georgia, serif;
  --wok-font-body:    'Lato', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --wok-section-pad: 80px 0;
  --wok-radius:      6px;
  --wok-radius-lg:   12px;

  /* Shadows */
  --wok-shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --wok-shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --wok-shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
}

/* ===========================
   GOOGLE FONTS IMPORT
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Lato:wght@300;400;700&display=swap');

/* ===========================
   BASE OVERRIDES
   =========================== */
body {
  font-family: var(--wok-font-body);
  color: var(--wok-text);
  background-color: var(--wok-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wok-font-display);
  color: var(--wok-black);
  line-height: 1.2;
}

a {
  color: var(--wok-red);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--wok-red-dark);
}

/* ===========================
   BUTTONS
   =========================== */
.wok-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--wok-radius);
  font-family: var(--wok-font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.wok-btn-primary {
  background: var(--wok-red);
  color: var(--wok-white);
  border-color: var(--wok-red);
}
.wok-btn-primary:hover {
  background: var(--wok-red-dark);
  border-color: var(--wok-red-dark);
  color: var(--wok-white);
  transform: translateY(-2px);
  box-shadow: var(--wok-shadow-md);
}

.wok-btn-outline {
  background: transparent;
  color: var(--wok-red);
  border-color: var(--wok-red);
}
.wok-btn-outline:hover {
  background: var(--wok-red);
  color: var(--wok-white);
  transform: translateY(-2px);
}

.wok-btn-gold {
  background: var(--wok-gold);
  color: var(--wok-black);
  border-color: var(--wok-gold);
}
.wok-btn-gold:hover {
  background: var(--wok-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--wok-shadow-md);
}

/* ===========================
   NAVIGATION
   =========================== */
.site-header,
header.wp-block-template-part {
  background: var(--wok-black) !important;
  border-bottom: 3px solid var(--wok-red);
}

.wp-block-navigation a,
.wp-block-navigation__responsive-container a {
  color: var(--wok-white) !important;
  font-family: var(--wok-font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.wp-block-navigation a:hover {
  color: var(--wok-gold) !important;
}

/* Site title / logo */
.wp-block-site-title a,
.wp-block-site-logo a {
  color: var(--wok-white) !important;
  font-family: var(--wok-font-display);
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}

/* ===========================
   HERO SECTION
   =========================== */
.wok-hero {
  min-height: 92vh;
  background: linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(192,57,43,0.65) 100%),
              url('https://images.unsplash.com/photo-1563245372-f21724e3856d?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.wok-hero__eyebrow {
  display: inline-block;
  background: var(--wok-gold);
  color: var(--wok-black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.wok-hero__title {
  font-family: var(--wok-font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--wok-white);
  line-height: 1.0;
  margin: 0 0 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.wok-hero__title span {
  color: var(--wok-gold);
}

.wok-hero__sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 300;
}

.wok-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   SECTION WRAPPER
   =========================== */
.wok-section {
  padding: var(--wok-section-pad);
}

.wok-section--cream {
  background: var(--wok-cream);
}

.wok-section--dark {
  background: var(--wok-charcoal);
  color: var(--wok-white);
}
.wok-section--dark h2,
.wok-section--dark h3,
.wok-section--dark p {
  color: var(--wok-white);
}

.wok-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   SECTION HEADINGS
   =========================== */
.wok-section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wok-red);
  margin-bottom: 10px;
}

.wok-section-title {
  font-family: var(--wok-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 16px;
}

.wok-section-sub {
  color: var(--wok-muted);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ===========================
   MENU CARDS
   =========================== */
.wok-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.wok-card {
  background: var(--wok-white);
  border-radius: var(--wok-radius-lg);
  overflow: hidden;
  box-shadow: var(--wok-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wok-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--wok-shadow-lg);
}

.wok-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.wok-card__body {
  padding: 20px 22px 24px;
}

.wok-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wok-red);
  margin-bottom: 6px;
}

.wok-card__title {
  font-family: var(--wok-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--wok-black);
}

.wok-card__desc {
  font-size: 0.9rem;
  color: var(--wok-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.wok-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wok-card__price {
  font-family: var(--wok-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wok-red);
}

/* ===========================
   WHY CHOOSE US / FEATURES
   =========================== */
.wok-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 56px;
}

.wok-feature {
  text-align: center;
}

.wok-feature__icon {
  width: 72px;
  height: 72px;
  background: var(--wok-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.wok-feature__title {
  font-family: var(--wok-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.wok-feature__text {
  color: var(--wok-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===========================
   HOURS BANNER
   =========================== */
.wok-hours-banner {
  background: var(--wok-red);
  color: var(--wok-white);
  padding: 40px 0;
  text-align: center;
}

.wok-hours-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 24px;
}

.wok-hours-item__day {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
}

.wok-hours-item__time {
  font-family: var(--wok-font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

/* ===========================
   FOOTER
   =========================== */
footer.wp-block-template-part,
.site-footer {
  background: var(--wok-black) !important;
  color: rgba(255,255,255,0.75);
  border-top: 3px solid var(--wok-red);
}

.site-footer a,
footer a {
  color: var(--wok-gold) !important;
}
.site-footer a:hover,
footer a:hover {
  color: var(--wok-white) !important;
}

/* ===========================
   WOOCOMMERCE OVERRIDES
   =========================== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--wok-red) !important;
  color: var(--wok-white) !important;
  border-radius: var(--wok-radius) !important;
  font-family: var(--wok-font-body) !important;
  font-weight: 700 !important;
  transition: background 0.2s ease !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--wok-red-dark) !important;
}

.woocommerce-page .woocommerce-product-gallery__image img {
  border-radius: var(--wok-radius-lg);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .wok-hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .wok-hero {
    min-height: 75vh;
    padding: 100px 16px 60px;
  }
  .wok-section {
    padding: 56px 0;
  }
  .wok-hours-grid {
    gap: 28px;
  }
}
