/* ===========================
   LUXURY RESORT THEME
=========================== */

:root {
    --lux-primary: #14452f;
    --lux-secondary: #1f7a5c;
    --lux-accent: #f2a154;
    --lux-dark: #111;
    --lux-light: #f9fafb;
    --lux-white: #ffffff;
    --lux-shadow: 0 20px 50px rgba(0,0,0,0.15);
    --lux-radius: 18px;
    --lux-transition: all .4s ease;
}

/* HERO */
.lux-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/hero-1.jpg') center/cover no-repeat;
}

.lux-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.75));
}

.lux-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
    text-align: center;
    color: var(--lux-white);
    animation: heroFade 1.2s ease;
}

.lux-hero-title {
    font-size: clamp(2.8rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: 1px;
}

.lux-hero-subtitle {
    font-size: 1.3rem;
    opacity: .95;
    margin: 1.5rem 0 2.5rem;
}

.lux-hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* BUTTONS */
.lux-btn {
    padding: .9rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--lux-transition);
}

.lux-btn-primary {
    background: var(--lux-accent);
    color: var(--lux-dark);
}

.lux-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--lux-shadow);
}

.lux-btn-outline {
    border: 2px solid var(--lux-white);
    color: var(--lux-white);
}

.lux-btn-outline:hover {
    background: var(--lux-white);
    color: var(--lux-primary);
}

.lux-btn-secondary {
    margin-top: 2rem;
    background: transparent;
    border: 2px solid var(--lux-accent);
    color: var(--lux-accent);
}

.lux-btn-secondary:hover {
    background: var(--lux-accent);
    color: var(--lux-dark);
}

/* ABOUT */
.lux-about {
    position: relative;
    padding: 7rem 0;
    background: var(--lux-light);
}

.lux-bg-pattern {
    position: absolute;
    inset: 0;
    background: url('../images/pattern.png') repeat;
    opacity: .04;
}

.lux-header {
    margin-bottom: 2.5rem;
}

.lux-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--lux-accent);
    font-weight: 600;
}

.lux-main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--lux-primary);
}

.lux-divider {
    width: 90px;
    height: 4px;
    margin: 1.2rem auto;
    background: var(--lux-accent);
    border-radius: 4px;
}

.lux-tagline {
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--lux-secondary);
}

/* TEXT */
.lux-description {
    max-width: 820px;
    margin: 2rem auto 3rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
}

/* FEATURES */
.lux-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.lux-feature-card {
    background: var(--lux-white);
    padding: 2.4rem 1.8rem;
    border-radius: var(--lux-radius);
    box-shadow: var(--lux-shadow);
    transition: var(--lux-transition);
}

.lux-feature-card i {
    font-size: 2.6rem;
    color: var(--lux-accent);
    margin-bottom: 1rem;
}

.lux-feature-card h4 {
    font-weight: 600;
    color: var(--lux-primary);
}

.lux-feature-card:hover {
    transform: translateY(-10px) scale(1.03);
}

/* ANIMATION */
@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media(max-width:768px) {
    .lux-hero-actions {
        flex-direction: column;
    }
}

/* ================================
   DESTINATION SHOWCASE SECTION
   ================================ */
#destinations-showcase {
    padding: 6rem 2rem !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    clear: both !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

#destinations-showcase * {
    box-sizing: border-box !important;
}

#destinations-showcase .destinations-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 0 15px !important;
    width: 100% !important;
}

#destinations-showcase .destinations-header {
    text-align: center;
    margin-bottom: 4rem;
}

#destinations-showcase .destinations-title {
    font-size: 2.5rem;
    color: #1a4d2e;
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

#destinations-showcase .destinations-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
}

#destinations-showcase .destinations-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2.5rem !important;
    padding: 0 1rem !important;
    margin: 0 !important;
    width: 100% !important;
}

#destinations-showcase .destination-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

#destinations-showcase .destination-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

#destinations-showcase .destination-media {
    height: 250px;
    overflow: hidden;
    position: relative;
}

#destinations-showcase .destination-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

#destinations-showcase .destination-card:hover .destination-media::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

#destinations-showcase .destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#destinations-showcase .destination-card:hover .destination-img {
    transform: scale(1.08);
}

#destinations-showcase .destination-content {
    padding: 1.8rem;
    text-align: center;
    position: relative;
    background: #fff;
}

#destinations-showcase .destination-name {
    font-size: 1.3rem;
    color: #1a4d2e;
    margin: 0 0 0.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

#destinations-showcase .destination-card:hover .destination-name {
    color: #ff9f1c;
}

#destinations-showcase .destination-distance {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

#destinations-showcase .destination-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    background: #ff9f1c;
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 159, 28, 0.3);
    z-index: 3;
    font-family: 'Poppins', sans-serif;
}

/* Decorative Elements */
#destinations-showcase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100" preserveAspectRatio="none"><path fill="%23ffffff" d="M0,50 Q360,0 720,50 T1440,50 V100 H0 Z"></path></svg>') bottom center no-repeat;
    background-size: 100% 100%;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    #destinations-showcase .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    #destinations-showcase .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    #destinations-showcase .destinations-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    #destinations-showcase {
        padding: 5rem 1.5rem;
    }
    
    #destinations-showcase .destinations-header {
        margin-bottom: 3rem;
    }
    
    #destinations-showcase .destinations-title {
        font-size: 2rem;
    }
    
    #destinations-showcase .destinations-subtitle {
        font-size: 1rem;
    }
    
    #destinations-showcase .destination-media {
        height: 220px;
    }
}

@media (max-width: 576px) {
    #destinations-showcase .destinations-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    #destinations-showcase .destinations-title {
        font-size: 1.8rem;
    }
    
    #destinations-showcase .destination-content {
        padding: 1.5rem;
    }
}

/* ===== GALLERY SECTION ===== */
.luxury-gallery {
  position: relative;
  display: block !important;
  width: 100%;
  min-height: auto;
  overflow: visible;
  z-index: 1;
}
/* Prevent wrapper cutting content */
.main-wrapper,
.page-wrapper,
.site-wrapper {
  overflow: visible !important;
  height: auto !important;
}

.luxury-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,122,50,0.15), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.gallery-title {
  color: #111;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 45px;
  position: relative;
  z-index: 1;

  display: flex;
  justify-content: center;
  align-items: center;
}


/* ===== IMAGE GRID ===== */
.gallery-wrapper {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.gallery-item {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border: 2px solid rgba(255,122,50,0.25);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  border-color: #ff7a32;
}

/* ===== MODAL SLIDER ===== */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,76,76,0.96), rgba(0,0,0,0.95));
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-image {
  max-width: 85%;
  max-height: 85%;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  border: 3px solid rgba(255,122,50,0.35);
}

/* ===== CONTROLS ===== */
.modal-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 42px;
  color: #ff7a32;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
  color: #ffffff;
}

.modal-nav {
  position: absolute;
  top: 50%;
  font-size: 48px;
  color: #ff7a32;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.modal-nav:hover {
  transform: scale(1.2);
  color: #ffffff;
}

.nav-prev { left: 30px; }
.nav-next { right: 30px; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .gallery-wrapper {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 220px;
  }
}
.luxury-gallery {
  position: relative;
  display: block !important;
  width: 100%;
  min-height: auto;
  overflow: visible;
  z-index: 1;
}
/* ===============================
   GALLERY SECTION
================================ */
.gallery-section {
    padding: 100px 20px;
    background: #f8f9fa;
    text-align: center;
}

.gallery-section h2 {
    font-size: 2.5rem;
    color: #14452f;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.gallery-section h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: #f2a154;
    bottom: -15px;
    left: 20%;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-grid img:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Slider Popup Styles */
.slider-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-overlay.show {
    display: flex;
    opacity: 1;
}

#slider-img {
    max-width: 80%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav:hover {
    opacity: 1;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 70px 15px;
    }
    
    .gallery-section h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .gallery-grid img {
        height: 220px;
    }
    
    #slider-img {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .close-btn {
        top: 20px;
        right: 25px;
        font-size: 35px;
    }
    
    .nav {
        font-size: 40px;
        padding: 15px;
    }
    
    .prev {
        left: 15px;
    }
    
    .next {
        right: 15px;
    }
}


/* Update the location section styles */
.location-section {
    padding: 100px 40px;
    position: relative;
    background: #f8f9fa;
    z-index: 1;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Add some responsive adjustments */
@media (max-width: 992px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-image-wrapper {
        order: -1;
    }
}

/* Improve text readability */
.location-content {
    padding: 0 20px;
}

.location-title {
    font-size: 2.2rem;
    color: #14452f;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.location-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: #f2a154;
    border-radius: 2px;
}

.location-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 30px;
}

/* Style the feature lists */
.location-list {
    margin-bottom: 30px;
    padding-left: 20px;
}

.location-list li {
    margin-bottom: 12px;
    padding-left: 8px;
    position: relative;
    color: #4a5568;
    list-style-type: none;
}

.location-list li::before {
    content: "•";
    color: #f2a154;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* Style the image */
.location-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.location-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.location-image-wrapper:hover img {
    transform: scale(1.03);
}
/* Update color variables if not already defined */
:root {
    --accent-color: #f2a154; /* Your existing accent color */
    --primary-color: #14452f; /* Your primary color */
    --text-color: #4a5568; /* Your text color */
}

/* Update all accent colors to use the variable */
.location-badge i,
.feature-title i,
.feature-list i,
.cta-btn.primary,
.title-underline,
.location-title::after,
.location-list li::before {
    color: var(--accent-color) !important;
}

/* Update primary button background */
.cta-btn.primary {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* Update hover states */
.cta-btn.primary:hover {
    background: #e08d3c !important; /* Slightly darker shade of accent color */
    border-color: #e08d3c !important;
}

/* Update section tag background */
.section-tag {
    background: rgba(242, 161, 84, 0.1) !important;
    color: var(--accent-color) !important;
}

/* Update feature group hover effect */
.feature-group:hover {
    border-color: rgba(242, 161, 84, 0.2) !important;
    box-shadow: 0 15px 40px rgba(242, 161, 84, 0.1) !important;
}

/* Update image overlay gradient */
.image-overlay {
    background: linear-gradient(135deg, rgba(20, 83, 45, 0.2) 0%, var(--primary-color) 100%) !important;
}