/* ============================================
   WINE BARREL INSPIRATIONS — MOBILE STYLESHEET
   Complete responsive overhaul
   ============================================ */

/* ---- GLOBAL RESET FOR MOBILE ---- */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

/* ---- HAMBURGER BUTTON ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  gap: 6px;
  z-index: 2000;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- MOBILE NAV DROPDOWN ---- */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 53px; /* Height of mobile navbar */
  left: 0;
  width: 100%;
  height: auto;
  background: #1a0a02;
  z-index: 499;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: 0;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav-menu.open { display: flex; }
.mobile-nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-family: 'Merriweather', serif;
  font-weight: 400;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
  text-align: left;
}
.mobile-nav-menu a:hover,
.mobile-nav-menu a:active { 
  color: #e17100; 
  background: rgba(255, 255, 255, 0.05);
}
.mobile-nav-close {
  display: none !important; /* Not needed for dropdown */
}

/* ============================================
   TABLET — 991px and below
   ============================================ */
@media (max-width: 991px) {
  .nav-2 { padding: 12px 24px; }
  .container-44 { max-width: 100% !important; width: 100% !important; }

  /* Sections */
  .section-style-2, .section-style-3, .section-style-4,
  .section-style-5, .section-style-8, .section-style-9,
  .section-style-10, .section-style-11, .section-style-12,
  .section-style-13, .section-style-14, .section-style-15 {
    max-width: 100% !important;
    width: 100% !important;
    min-height: unset !important;
    height: auto !important;
    flex-wrap: wrap;
    padding: 48px 32px;
  }

  /* Gallery */
  .overlayshadow-2, .overlayshadow-3 {
    width: 48% !important;
    min-width: unset !important;
    height: 220px !important;
  }
}

/* ============================================
   MOBILE — 767px and below
   ============================================ */
@media (max-width: 767px) {

  /* ---- NAV ---- */
  .hamburger { display: flex; width: 34px !important; height: 34px !important; gap: 4px !important; }
  .hamburger span { width: 22px !important; height: 2px !important; }
  .container-45 { display: none !important; }
  .nav-2 {
    padding: 0px 16px !important;
    height: 53px !important;
    position: sticky;
    top: 0;
    z-index: 500;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .container-2 { height: auto !important; }
  .container-44 {
    width: auto !important;
    flex: 1;
    max-width: calc(100% - 40px) !important;
    justify-content: flex-start;
    align-items: center;
    height: 100% !important;
  }
  .container-42 { flex-shrink: 1; min-width: 0; display: flex; align-items: center; }
  .text-46 { font-size: 16px !important; font-weight: 700 !important; height: auto !important; white-space: normal !important; overflow: visible !important; line-height: 1 !important; margin-left: 8px !important; }
  .div-block-6 img, .nav-2 .image { height: 34px !important; width: auto !important; }

  /* ---- HERO ---- */
  .section-style-7 {
    min-height: 180px !important;
    height: auto !important;
    padding: 30px 20px !important;
    background-size: cover !important;
    background-position: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .container-35, .heading-13 {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
  .crafted-from-tradition-designed-for-you {
    font-size: 31px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  .container-36 {
    margin-top: 12px !important;
  }
  .transform-your-space-with-handcrafted-furniture-and-dcor-made-from-authentic-wine-barrels {
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: left !important;
  }
  /* ---- ALL SECTIONS ---- */
  .section-style-2, .section-style-3, .section-style-4,
  .section-style-5, .section-style-8, .section-style-9,
  .section-style-10, .section-style-11, .section-style-12,
  .section-style-13, .section-style-14, .section-style-15,
  .section-style-16, .section-style-17, .section-style-18 {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: unset !important;
    height: auto !important;
    padding: 36px 20px !important;
    gap: 24px !important;
  }

  /* Fix inner containers that have fixed widths */
  .container-5, .container-6, .container-7,
  .container-8, .container-9, .container-10,
  .container-15, .container-16, .container-17,
  .container-18, .container-19, .container-20,
  .container-21, .container-22, .container-23,
  .container-24, .container-25, .container-26,
  .container-27, .container-28, .container-29,
  .container-30, .container-31, .container-32,
  .container-33, .container-34, .container-35,
  .container-36, .container-37, .container-38,
  .container-39, .container-40, .container-41,
  .container-48, .container-49, .container-50,
  .container-51, .container-52, .container-53 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    height: auto !important;
    flex-direction: column !important;
    flex-wrap: wrap;
  }

  /* ---- GLOBAL SYMBOL BOX FIX (Circles) ---- */
  .background-5, .svgmargin, .section-style-2 .background, .background-6 {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    border-radius: 50% !important; /* Force Circle */
    margin-bottom: 12px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    overflow: hidden !important;
    flex: 0 0 68px !important; /* Prevent flex stretching */
  }
  /* Center the icons/text inside the circles */
  .background-5 img, .background-5 .svg, .background-5 .container-23,
  .svgmargin img, .section-style-2 .background img, .background-6 p,
  .background-6 ._1, .background-6 ._2, .background-6 ._3, .background-6 ._4 {
    width: 35px !important;
    height: 35px !important;
    max-width: 35px !important;
    max-height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 24px !important;
    line-height: 1 !important;
    text-align: center !important;
  }
  .svgmargin { margin-bottom: 0 !important; margin-right: 12px !important; }
  .item { flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; }
  .background-6 { margin-bottom: 16px !important; align-self: center !important; }

  /* ---- HOME: WHAT WE OFFER CARDS ---- */
  .container-18 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: center !important;
  }
  .container-27 {
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 16px 12px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .background-5 {
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    min-width: 32px !important;
    margin-bottom: 8px !important;
    border-radius: 4px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
  }
  .background-5 img, .background-5 .svg, .background-5 .container-23 {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .text-29, .text-30 {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
  }
  .unique-fire-features-that-bring-warmth-and-character-to-any-space,
  .tables-bars-shelving-and-more-crafted-to-your-specifications {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  /* ---- HOME: CRAFTSMANSHIP SECTION ---- */
  .section-style-5 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .container-28, .container-29 {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .container-22, .container-23 {
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 32px !important;
  }
  .container-30, .container-31 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
  }
  .wine-barrel-fireplace {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .heading-11, .heading-12 {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  .background { height: auto !important; width: 100% !important; min-height: 200px; }

  /* ---- SERVICES PAGE ---- */
  .wine-barrel-fireplaces { width: 100% !important; }
  .section-style-9 {
    width: 100% !important;
    gap: 36px !important;
  }
  .section-style-9 .container-46 {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .section-style-9 .container-46 .overlayshadow {
    order: -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 240px !important;
    margin: 0 !important;
  }
  .section-style-9 .container-46 .container-16 {
    width: 100% !important;
    max-width: 100% !important;
  }
  .section-style-9 .container-46 .heading-2,
  .section-style-9 .container-46 .container-47,
  .section-style-9 .container-46 .list {
    width: 100% !important;
    max-width: 100% !important;
  }
  .background-4, .background-5, .background-6 {
    width: 100% !important;
    min-width: unset !important;
    height: 240px !important;
    border-radius: 12px;
    background-size: cover !important;
    background-position: center !important;
  }
  .image-2, .image-3, .image-4, .image-5 {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
    border-radius: 12px;
  }

  /* ---- GALLERY PAGE ---- */
  .div-block-21 {
    padding-left: 12px !important;
    padding-right: 12px !important;
    gap: 10px !important;
  }
  .overlayshadow-2, .overlayshadow-3 {
    width: 47% !important;
    min-width: unset !important;
    height: 180px !important;
    border-radius: 10px;
    overflow: hidden;
  }
  .overlayshadow-2 img, .overlayshadow-3 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Gallery filter buttons */
  .container-48 {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .button-style-10, .button-style-11 {
    padding: 8px 16px !important;
    border-radius: 20px !important;
    height: auto !important;
  }
  .button-style-10 p, .button-style-11 p,
  .all-projects, .fireplaces, .furniture, .events,
  .sinks-vanities-3 {
    font-size: 13px !important;
    height: auto !important;
    line-height: 1.4 !important;
  }

  /* ---- CONTACT PAGE ---- */
  .container-9 {
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
  }
  .section-style-2 .background {
    margin-bottom: 0 !important; /* Remove bottom margin since it's now row layout */
    flex-shrink: 0 !important;
  }
  .container-10 {
    width: auto !important;
    flex: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .background-3 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    padding: 28px 20px !important;
    border-radius: 12px;
  }
  .container-7 { height: auto !important; width: 100% !important; }
  .container-8 {
    flex-direction: column !important;
    width: 100% !important;
    gap: 16px !important;
  }
  .container-11 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .input {
    height: auto !important;
    min-height: 44px;
  }
  .input input, .input select, .input textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }

  /* ---- ABOUT PAGE ---- */
  .heading-3-5, .container-54 {
    max-width: 100% !important;
    width: 100% !important;
  }
  .background-7 { width: 100% !important; height: auto !important; padding: 20px !important; }
  .div-block-7, .div-block-8, .div-block-9,
  .div-block-10, .div-block-11, .div-block-12,
  .div-block-13, .div-block-14, .div-block-15,
  .div-block-16, .div-block-17 {
    width: 100% !important;
  }

  /* ---- FOOTER ---- */
  .footer-2 {
    flex-direction: column !important;
    padding: 36px 20px !important;
    gap: 28px !important;
    width: 100% !important;
    height: auto !important;
  }
  .footer-3 {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    gap: 28px !important;
    height: auto !important;
  }
  .container-56, .container-57, .container-58, .container-59 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .nav-3 { width: 100% !important; flex-wrap: wrap !important; gap: 12px !important; height: auto !important; }

  .button-style-6 {
    width: auto !important;
    min-width: 200px !important;
    padding: 12px 20px !important;
    white-space: nowrap !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .text-40 {
    width: auto !important;
    margin: 0 !important;
    display: block !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
  .button-style-6 .arrow-in-first-home-button {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
  }
  .button-style-6 .vector-3 {
    display: block !important;
    width: 6px !important;
    height: 12px !important;
    margin: 0 !important;
  }

  /* ---- ALL TEXT HEIGHT OVERRIDES ---- */
  [class*="text-"], [class*="heading-"] {
    height: auto !important;
    min-height: unset !important;
  }

  /* Fix long class-name elements (Webflow generates these) */
  .our-services, .about-us-2, .our-gallery,
  .wine-barrel-inspirations, .lets-create-something-beautiful,
  .our-values, .meet-our-team, .our-commitment-to-quality,
  .our-process, .our-story {
    height: auto !important;
    font-size: 26px !important;
    line-height: 34px !important;
    text-align: center;
  }
  .discover-the-full-range-of-handcrafted-wine-barrel-creations-and-rental-options-we-offer,
  .explore-our-portfolio-of-handcrafted-wine-barrel-creations-and-event-installations,
  .crafting-unique-pieces-from-the-heart-of-wine-country,
  .from-concept-to-completion-we-work-closely-with-you-every-step-of-the-way,
  .the-principles-that-guide-everything-we-create,
  .the-skilled-artisans-behind-every-creation {
    height: auto !important;
    font-size: 14px !important;
    line-height: 22px !important;
    text-align: center;
  }

  /* Testimonials */
  .backgroundshadow {
    height: auto !important;
    min-height: unset !important;
    padding: 24px 16px !important;
  }

  /* Process steps */
  .container-53 {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }
  .heading-3-5 { max-width: 45% !important; }
}

/* ============================================
   SMALL MOBILE — 479px and below
   ============================================ */
@media (max-width: 479px) {

  .text-5 { font-size: 22px !important; line-height: 30px !important; }
  .main, .main-2, .main-3 { min-height: 340px !important; padding: 80px 16px 48px !important; }

  /* Cards go full width on tiny screens */
  .container-17, .container-18, .container-19, .container-20 {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Gallery 1 column on tiny screens */
  .overlayshadow-2, .overlayshadow-3 {
    width: 100% !important;
    height: 220px !important;
  }

  /* Process steps full width */
  .heading-3-5 { max-width: 100% !important; }

  /* About team grid full width */
  .container-54 { max-width: 100% !important; }

  /* Tighten padding everywhere */
  .section-style-2, .section-style-3, .section-style-4,
  .section-style-5, .section-style-8, .section-style-9,
  .section-style-10, .section-style-11, .section-style-12,
  .section-style-13, .section-style-14, .section-style-15,
  .section-style-16, .section-style-17, .section-style-18 {
    padding: 28px 16px !important;
  }

  /* Footer nav links wrap */
  .nav-3 { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }

  /* Nav logo text visible on tiny screens */
  .text-46 { display: block !important; white-space: normal !important; margin-left: 8px !important; line-height: 1.2 !important; }
}
