/* =========================================== */
/* VARIABLES & BOOTSTRAP OVERRIDES */
/* =========================================== */
:root {
  --bs-body-font-family: 'Montserrat', sans-serif;
  --bs-heading-font-family: 'Playfair Display', serif;
  --bs-primary: #8B0000;
  --bs-secondary: #DAA520;
  --bs-dark: #1a1a1a;
  --bs-light: #f8f9fa;
}

/* =========================================== */
/* BASE STYLES & TYPOGRAPHY */
/* =========================================== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--bs-heading-font-family);
  font-weight: 700;
}

/* =========================================== */
/* HERO SECTION */
/* =========================================== */
.hero-section {
  background-color: var(--bs-dark);
  color: white;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: white;
  clip-path: ellipse(100% 100% at 50% 100%);
  z-index: 1;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* =========================================== */
/* BUTTON STYLES FOR "OUR FAVORITES" */
/* =========================================== */

/* Option 1: Dark Red */
.btn-dark-red {
  background-color: #8B0000;
  border-color: #8B0000;
  color: white;
}
.btn-dark-red:hover {
  background-color: #a52a2a;
  border-color: #a52a2a;
  color: white;
}

/* Option 2: Golden Outline */
.btn-outline-golden {
  border: 2px solid #DAA520;
  color: #DAA520;
  background: transparent;
}
.btn-outline-golden:hover {
  background-color: #DAA520;
  border-color: #DAA520;
  color: #1a1a1a;
}

/* Option 3: Transparent with Golden Border */
.btn-transparent-gold {
  background-color: rgba(218, 165, 32, 0.15);
  border: 2px solid #DAA520;
  color: #DAA520;
  backdrop-filter: blur(4px);
}
.btn-transparent-gold:hover {
  background-color: #DAA520;
  color: #1a1a1a;
}

/* Option 4: Dark with Golden Text */
.btn-dark-goldtext {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  color: #DAA520;
}
.btn-dark-goldtext:hover {
  background-color: #2a2a2a;
  border-color: #2a2a2a;
  color: #DAA520;
}

/* Option 5: Gradient (Dark to Golden) */
.btn-gradient-gold {
  background: linear-gradient(45deg, #1a1a1a, #8B0000);
  border: none;
  color: #DAA520;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-gradient-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #8B0000, #DAA520);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.btn-gradient-gold:hover::before {
  opacity: 1;
}
.btn-gradient-gold:hover {
  color: #1a1a1a;
}

/* =========================================== */
/* PRODUCT CARDS */
/* =========================================== */
.product-card {
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.product-img-container {
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-container img {
  transform: scale(1.05);
}

/* =========================================== */
/* INSTAGRAM FEED */
/* =========================================== */
.instagram-item {
  position: relative;
  aspect-ratio: 1/1;
}

.instagram-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(214, 41, 100, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-overlay i {
  font-size: 2rem;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

/* =========================================== */
/* ANIMATIONS */
/* =========================================== */
[data-aos="fade-up"] {
  transform: translateY(30px);
  opacity: 0;
  transition-property: transform, opacity;
}

.aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================== */
/* DARK MODE */
/* =========================================== */
[data-bs-theme="dark"] {
  --bs-body-color: #dee2e6;
  --bs-body-bg: #212529;
  --bs-dark: #f8f9fa;
  --bs-light: #343a40;
}

/* =========================================== */
/* LOADING SPINNER */
/* =========================================== */
#loading-spinner {
  transition: opacity 0.3s ease;
}

.loaded #loading-spinner {
  opacity: 0;
  pointer-events: none;
}

/* =========================================== */
/* RESPONSIVE STYLES */
/* =========================================== */

/* Mobile adjustments (500px and below) */
@media (max-width: 500px) {
  /* General */
  .container, .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  /* Typography */
  .display-3 {
    font-size: 1.8rem !important;
    line-height: 1.2;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  /* Section spacing */
  section {
    padding: 2rem 0 !important;
  }
  
  section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 60vh;
    padding: 1.5rem 0;
  }
  
  .hero-section .container {
    padding-top: 1rem;
  }
  
  /* Hero buttons */
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.25rem;
  }
  
  .hero-buttons .btn {
    width: 100% !important;
    text-align: center;
    display: block;
    margin: 0;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }
  
  /* Product cards */
  .product-img-container {
    height: 200px;
  }
  
  .product-card .card-body {
    padding: 1rem;
  }
  
  .product-card .h5 {
    font-size: 1.1rem;
  }
  
  /* Instagram grid */
  .instagram-feed .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 4px;
  }
  
  /* Testimonial cards */
  .card-body {
    padding: 1rem;
  }
  
  /* Buttons */
  .btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Video embed */
  .ratio-16x9 {
    aspect-ratio: 16/9 !important;
  }
  
  /* Improve touch targets */
  .btn, a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Extra small devices (400px and below) */
@media (max-width: 400px) {
  .hero-section h1.display-3 {
    font-size: 1.65rem !important;
    margin-bottom: 0.75rem;
  }
  
  .hero-section p.lead {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem;
  }
  
  .hero-buttons .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .display-5 {
    font-size: 1.4rem !important;
  }
  
  /* Product card text */
  .product-card .card-text {
    font-size: 0.9rem;
  }
  
  /* Badges */
  .badge {
    font-size: 0.7em;
    padding: 0.35em 0.65em;
  }
}

/* Very small devices (320px and below) */
@media (max-width: 320px) {
  .hero-section {
    min-height: 55vh;
  }
  
  .hero-section h1.display-3 {
    font-size: 1.5rem !important;
  }
  
  .hero-section p.lead {
    font-size: 0.9rem !important;
  }
  
  /* Buttons */
  .btn {
    font-size: 0.85rem;
    padding: 0.7rem 0.9rem;
  }
  
  /* Product cards */
  .product-card .h5 {
    font-size: 1rem;
  }
}

/* Card hover effects disabled on touch devices */
@media (hover: none) {
  .product-card:hover {
    transform: none;
  }
  
  .product-card:hover .product-img-container img {
    transform: none;
  }
}

/* White Background Button */
        .btn-white-bg {
            background-color: white;
            border-color: white;
            color: #1a1a1a;
            font-weight: 600;
            transition: all 0.3s ease;
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            padding: 0.75rem 1.5rem;
        }
        
        .btn-white-bg:hover {
            background-color: #f8f9fa;
            border-color: #f8f9fa;
            color: #1a1a1a;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(255, 255, 255, 0.15);
        }