/*
Theme Name:   Divi Eatery
Theme URI:    https://eztix.org
Description:  Divi child theme for eateryfoodtrucks.com clone on eztix.org
Author:       The Eatery Food Trucks
Template:     Divi
Version:      1.0.0
Text Domain:  divi-eatery
*/

/* ═══════════════════════════════════════════════════════════════
   CUSTOM FONTS
   ═══════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Young Serif';
    src: url('../../../wp-content/uploads/fonts/YoungSerif.woff2') format('woff2');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'Bouchers Serif';
    src: url('../../../wp-content/uploads/fonts/Bouchers-Serif.otf') format('opentype');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'Narto Regular';
    src: url('../../../wp-content/uploads/fonts/Narto-Regular.otf') format('opentype');
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'Bouchers Script';
    src: url('../../../wp-content/uploads/fonts/Bouchers-Script.ttf') format('truetype');
    font-weight: normal; font-style: normal;
}


/* ═══════════════════════════════════════════════════════════════
   GLOBAL TYPOGRAPHY
   Divi's "heading_font" option is kept at Roboto Serif so that
   module-level font overrides (header_2_font="Young Serif") are
   treated as changes and DO generate module-specific CSS.
   We set the actual heading font globally here instead.
   ═══════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Young Serif', Georgia, serif !important;
    font-weight: 700 !important;
}

h1{ 
    font-size: 48px; 
    line-height: 1em;
}
h2{ 
    font-size: 42px; 
    line-height: 1.25em;
}
h3{ 
    font-size: 36px; 
    line-height: 1.5em;
}
h4{ 
    font-size: 30px; 
    line-height: 1.7em;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER FIX (user's original rule)
   ═══════════════════════════════════════════════════════════════ */

.footer-widget div {
    display: block !important;
    width: 100%;
}


/* ═══════════════════════════════════════════════════════════════
   HERO BACKGROUND IMAGE OVERRIDES
   Divi silently drops rgba() gradient values from shortcode attrs
   and falls back to blue-teal. We override via module IDs.
   ═══════════════════════════════════════════════════════════════ */

/* Home hero — no overlay; the burger image is vivid like the source */
#home-hero.et_pb_section {
    background-image: linear-gradient(rgba(0,0,0,0.33), rgba(0,0,0,0.33)), url('https://eztix.org/wp-content/uploads/2026/05/eatery-hero-burger.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* Home CTA — dark overlay on the event photo */
#home-cta.et_pb_section {
    background-image: linear-gradient(rgba(0,0,0,0.68), rgba(0,0,0,0.48)), url('https://eztix.org/wp-content/uploads/2026/05/eatery-food-truck-fair.jpeg') !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* Menu and contact — light cream overlay matching source's faded-image aesthetic */
#menu-hero.et_pb_section {
    background-image: linear-gradient(rgba(235,230,218,0.90), rgba(235,230,218,0.90)), url('https://eztix.org/wp-content/uploads/2026/05/eatery-food-truck-fair.jpeg') !important;
    background-size: cover !important;
    background-position: center center !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}
#contact-hero.et_pb_section {
    background-image: linear-gradient(rgba(235,230,218,0.90), rgba(235,230,218,0.90)), url('https://eztix.org/wp-content/uploads/2026/05/eatery-food-truck-fair.jpeg') !important;
    background-size: cover !important;
    background-position: center center !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}


/* ═══════════════════════════════════════════════════════════════
   HERO HEADING SIZES & COLOURS
   Divi's et_pb_text module doesn't generate h1 CSS from shortcode
   attrs (only h2+). When heading_font matches the module font,
   Divi also skips module-specific font-size/color CSS.
   All hero typography is set explicitly here.
   ═══════════════════════════════════════════════════════════════ */

/* Home hero h1 — "The Eatery" */
#home-hero h1 {
    font-size: 80px !important;
    color: #ffffff !important;
    letter-spacing: -1.2px !important;
    line-height: 1.15em !important;
    text-align: center !important;
    margin: 0 0 8px 0 !important;
}

/* Home hero h2 — "Food Truck Services" */
#home-hero h2 {
    font-size: 60px !important;
    color: #ffffff !important;
    letter-spacing: -0.9px !important;
    line-height: 1.2em !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Menu banner h2 — "Our Menu" — dark olive on cream background */
#menu-hero h2 {
    font-size: 62px !important;
    color: #444e39 !important;
    letter-spacing: -1.2px !important;
    line-height: 1.1em !important;
    text-align: center !important;
}

/* Contact banner h2 — "Contact Us" — dark olive on cream background */
#contact-hero h2 {
    font-size: 62px !important;
    color: #444e39 !important;
    letter-spacing: -1.2px !important;
    text-align: center !important;
}

/* Menu and contact content sections — faded background matching the banner above */
#menu-content.et_pb_section,
#contact-content.et_pb_section {
    background-color: transparent !important;
    background-image: linear-gradient(rgba(235,230,218,0.90), rgba(235,230,218,0.90)), url('https://eztix.org/wp-content/uploads/2026/05/eatery-food-truck-fair.jpeg') !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* Service card and truck description body text
   Divi deduplicates body_font_size CSS when it matches global — override here */
#home-services .et_pb_text p,
#home-trucks .et_pb_text p {
    font-size: 17px !important;
    line-height: 1.9em !important;
    font-family: 'Bitter', Georgia, serif !important;
    color: #444e39 !important;
}


/* Home CTA h2 — "Book The Eatery..." */
#home-cta h2 {
    font-size: 52px !important;
    color: #ffffff !important;
    letter-spacing: -1px !important;
    line-height: 1.3em !important;
    text-align: center !important;
}


/* ═══════════════════════════════════════════════════════════════
   IMAGE GRID ALIGNMENT
   Service cards (corporate/wedding/school/brewery) and truck photos
   need equal heights so the 2-col grid lines up regardless of
   the original image aspect ratio.
   ═══════════════════════════════════════════════════════════════ */

#home-services .et_pb_image_wrap,
#home-trucks .et_pb_image_wrap {
    overflow: hidden !important;
    height: 340px !important;
    display: block !important;
}

#home-services .et_pb_image_wrap img,
#home-trucks .et_pb_image_wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

#footer-info{
    font-size: 14px;
}