﻿/* =============================================
   MASTER MOBILE OVERRIDES - LOAD THIS LAST!
   This file overrides ALL other CSS
============================================= */

@media (max-width: 768px) {
  
  /* ==========================================
     HEADER FIXES
  ========================================== */
  
  header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    padding: 20px 10px !important;
  }
  
  header .logo img {
    max-width: 160px !important;
  }
  
  header .contact-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  header .contact-info h1 {
    font-size: 1.4rem !important;
    color: var(--accent-gold) !important;
  }
  
  header .contact-info p {
    font-size: 0.9rem !important;
    margin: 0.25rem 0 !important;
  }
  
  header .phone-number {
    margin: 0.25rem 0 !important;
  }
  
  /* FACEBOOK ICON - CENTERED UNDER TEXT */
  header .social {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
  }
  
  header .social .facebook-text {
    margin: 0 0 1rem 0 !important;
    font-size: 1rem !important;
  }
  
  header .social a {
    display: block !important;
    margin: 0 !important;
  }
  
  header .social img {
    width: 40px !important;
    height: 40px !important;
  }
  
  
  /* ==========================================
     CAROUSEL FIXES
  ========================================== */
  
  .hero-carousel {
    min-height: 400px !important;
    padding: 2rem 1rem 1rem !important;
    position: relative !important;
    margin-bottom: 1rem !important;
    background: #000 !important;
  }
  
  .carousel-container {
    height: 350px !important;
    width: 100% !important;
    position: relative !important;
  }
  
  .carousel-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 350px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease !important;
    pointer-events: none !important;
  }
  
  .carousel-slide.active {
    opacity: 1 !important;
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  
  .carousel-slide img {
    display: block !important;
    max-width: 90% !important;
    max-height: 280px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    border: 2px solid #ff9900 !important;
  }
  
  .carousel-slide .caption {
    margin-top: 1rem !important;
    font-size: 1.1rem !important;
    color: #ff9900 !important;
  }
  
  
  /* ==========================================
     HEADING COLOR FIXES
  ========================================== */
  
  .hero-intro-title,
  .section-title,
  h1, h2 {
    color: #ff9900 !important;
  }
  
  .hero-intro {
    padding-top: 1.5rem !important;
  }
  
  
  /* ==========================================
     NAVIGATION
  ========================================== */
  
  nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  
  nav ul li a {
    white-space: nowrap !important;
    padding: 8px 12px !important;
    font-size: 0.95rem !important;
  }
  
  
  /* ==========================================
     GENERAL MOBILE FIXES
  ========================================== */
  
  html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  section {
    padding: 1.5rem 1rem !important;
  }
  
  form input,
  form textarea,
  form select {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .card {
    width: 100% !important;
  }
  
  .cta button {
    width: 100% !important;
  }
}