/*
Theme Name:   Gustoes — Hello Elementor Child
Theme URI:    https://gustoes.in
Description:  Child theme for Gustoes premium barbecue buffet website. Built on Hello Elementor.
Author:       Eisberg
Author URI:   https://gustoes.in
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  gustoes-hello-child
*/

/* ============================================================
   Gustoes Design Tokens — CSS Custom Properties
   ============================================================ */
:root {
  /* Brand colors */
  --gustoes-orange:       #E88425;
  --gustoes-orange-dark:  #C96A12;
  --gustoes-charcoal:     #2B2B2D;
  --gustoes-charcoal-mid: #5A5A5C;
  --gustoes-cream:        #F7F3EE;
  --gustoes-white:        #FFFFFF;

  /* Text */
  --gustoes-text-body:    #3A3A3C;
  --gustoes-text-muted:   #8A8A8C;
  --gustoes-text-heading: #2B2B2D;

  /* UI */
  --gustoes-border-soft:  #E6E1DA;
  --gustoes-accent-red:   #B91C1C;
  --gustoes-accent-teal:  #0F766E;
  --gustoes-gold-soft:    #C8A96B;

  /* Spacing — match Elementor defaults */
  --gustoes-section-pad:  80px;
  --gustoes-content-max:  1200px;
  --gustoes-card-radius:  12px;
  --gustoes-card-shadow:  0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   Base overrides (Elementor controls most layout — these are
   safety defaults for any content outside Elementor canvas)
   ============================================================ */
body {
  font-family: "Inter", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gustoes-text-body);
  background-color: var(--gustoes-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  color: var(--gustoes-text-heading);
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--gustoes-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover,
a:focus-visible {
  color: var(--gustoes-orange-dark);
}

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

/* ============================================================
   Utility classes (use inside Elementor HTML/Text widgets)
   ============================================================ */
.gustoes-btn-primary {
  display: inline-block;
  background-color: var(--gustoes-orange);
  color: var(--gustoes-white);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease;
}
.gustoes-btn-primary:hover {
  background-color: var(--gustoes-orange-dark);
  color: var(--gustoes-white);
}

.gustoes-btn-ghost {
  display: inline-block;
  border: 2px solid var(--gustoes-white);
  color: var(--gustoes-white);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  background: transparent;
  transition: background-color 0.2s ease;
}
.gustoes-btn-ghost:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--gustoes-white);
}

.gustoes-section-light {
  background-color: var(--gustoes-cream);
}
.gustoes-section-dark {
  background-color: var(--gustoes-charcoal);
  color: var(--gustoes-white);
}
.gustoes-section-dark h1,
.gustoes-section-dark h2,
.gustoes-section-dark h3 {
  color: var(--gustoes-white);
}

/* ============================================================
   WordPress admin bar offset (Hello Elementor handles this,
   but child-theme safety net)
   ============================================================ */
.admin-bar .site-header.sticky {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header.sticky {
    top: 46px;
  }
}

/* ============================================================
   Elementor overrides (safe, targeted)
   ============================================================ */

/* Force Elementor containers to respect brand max-width */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--gustoes-content-max);
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* ============================================================
   Print styles
   ============================================================ */
@media print {
  body {
    background: white;
    color: black;
  }
  .gustoes-section-dark {
    background: none;
    color: black;
  }
}
