/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  background: #000;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active { opacity: 1; }

/* Dark Overlay */
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* =====================================================
   INTRO SECTION (2 COLUMNS)
   ===================================================== */
.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
  padding: 100px 8%;
}

.intro-image, .intro-text {
  flex: 1;
  min-width: 320px;
}

.intro-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border: 1px solid rgba(201, 162, 77, 0.2);
}

.intro-text h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

/* =====================================================
   FEATURE GRID STYLING
   ===================================================== */
.feature-grid {
    display: flex;
    flex-direction: column;
    background-color: #0a0a0a; 
}

.feature-row {
    display: flex;
    height: 500px;
    width: 100%;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-image, .feature-text {
    flex: 1;
    width: 50%;
}

.feature-image {
    background-size: cover;
    background-position: center;
}

.feature-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background-color: #0a0a0a; 
}

.inner-border {
    border: 1px solid #D4AF37;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    position: relative;
}

.feature-text h2 {
    font-family: 'Cinzel', serif;
    color: #D4AF37;
    font-size: 2.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.feature-text p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.gold-outline-btn {
    border: 1px solid #D4AF37;
    color: #D4AF37;
    padding: 12px 30px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

.gold-outline-btn:hover {
    background: #D4AF37;
    color: #000;
}

/* =====================================================
   GALLERY INTRO HEADER
   ===================================================== */
.gallery-intro {
    padding: 100px 0 60px; 
    text-align: center;
}

.gallery-intro h2 {
    font-family: 'Cinzel', serif;
    color: #D4AF37;
    font-size: 2.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.gallery-intro p {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.gold-divider-center {
    width: 80px;
    height: 1px;
    background: #D4AF37;
    margin: 30px auto 0;
    opacity: 0.6;
}

/* =====================================================
   BRAND GALLERY SECTION (UNIFORM HEIGHT)
   ===================================================== */
.brand-gallery-section {
    position: relative;
    width: 100%;
    height: 500px; /* Fixed height for consistency */
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.brand-identity-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.brand-identity-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 30px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #D4AF37;
    backdrop-filter: blur(8px);
    max-width: 90%;
}

.logo-wrapper { flex-shrink: 0; }

.gallery-logo {
    width: 60px;
    height: auto;
    display: block;
}

.brand-text h1 {
    font-family: 'Cinzel', serif;
    color: #D4AF37;
    font-size: 2.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
}

.brand-text p {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

.gallery-slider {
    width: 100%;
    height: 100%;
}

.gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    height: 100%;
    align-items: center;
    padding: 0 50px;
    animation: scrollGallery 40s linear infinite;
}

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Uniform Box Sizes - Height is standardized here */
.gallery-box {
    flex-shrink: 0;
    width: 320px;
    height: 400px; /* Uniform height for all media */
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
}

.gallery-box img, .gallery-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.5s;
}

.gallery-box:hover img, .gallery-box:hover video {
    opacity: 1;
}

/* =====================================================
   SOCIAL MEDIA SECTION
   ===================================================== */
.social-links-section {
    background-color: #0a0a0a;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.social-links-section h3 {
    font-family: 'Cinzel', serif;
    color: #D4AF37;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.social-btn {
    text-decoration: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
    position: relative;
}

.social-btn:hover { color: #D4AF37; }

.social-divider {
    width: 1px;
    height: 30px;
    background: #D4AF37;
}

/* =====================================================
   RESPONSIVE OVERRIDES (MOBILE FIXES)
   ===================================================== */
@media (max-width: 768px) {
    /* Fix for Intro/Feature Stacking */
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        height: auto;
    }
    .feature-image, .feature-text {
        width: 100%;
        height: 400px;
    }

    /* Fix 1: Excessive Spacing Reduction */
    .gallery-intro {
        padding: 40px 20px 20px; /* Reduced from 100px */
    }

    .brand-gallery-section {
        height: 350px; /* Reduced from 80vh to prevent gaps */
    }

    /* Fix 2: Uniform Height for Mobile */
    .gallery-box {
        width: 220px;
        height: 280px; /* Smaller uniform height for mobile screens */
    }

    .brand-identity-content {
        flex-direction: row; /* Keep side-by-side */
        gap: 15px;
        padding: 12px 20px;
        width: 90%;
    }

    .gallery-logo {
        width: 45px;
    }

    .brand-text h1 {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .brand-text p {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .gallery-track {
        gap: 15px;
        padding: 0 20px;
        animation-duration: 25s; /* Faster scroll for better mobile feel */
    }
}