/* ===================================
   Region Page Styles (Resort List)
   =================================== */

/* Hero Section for Region Pages */
.hero-region {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* Region Intro Section */
.region-intro {
    padding: 80px 0;
    background-color: var(--color-white);
    text-align: center;
}

.region-intro .section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-gray);
    max-width: 900px;
    margin: 0 auto;
}

/* Region Features Section */
.region-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray);
}

/* Resorts Section */
.resorts-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.resorts-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-dark);
}

.resorts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.loading-message,
.no-resorts,
.error-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-gray);
}

.loading-message i,
.no-resorts i,
.error-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    color: var(--color-primary);
}

.loading-message p,
.no-resorts p,
.error-message p {
    font-size: 1.2rem;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 50px;
}

.lightbox.active,
.lightbox:target {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

#lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

.feature-tag {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 5px;
}

.feature-tag i {
    color: var(--color-primary);
    margin-right: 5px;
}

.resort-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.resort-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4);
}

.resort-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resort-gallery img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Resort List Section */
.resort-list {
    padding: 100px 0;
    background-color: var(--color-white);
}

.resort-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.resort-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(201, 169, 110, 0.2);
}

.resort-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.resort-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.resort-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.resort-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.resort-card:hover .resort-image img {
    transform: scale(1.05);
}

.resort-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 10;
}

/* Resort Gallery */
.resort-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-top: 1px solid var(--color-light-gray);
}

.gallery-item {
    position: relative;
    height: 180px;
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid var(--color-light-gray);
}

.gallery-item:last-child {
    border-right: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 169, 110, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--color-white);
    font-size: 2rem;
}

/* Image Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lightbox-close:hover {
    background: var(--color-primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    background: var(--color-primary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--color-white);
    font-size: 1.1rem;
    padding: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

.resort-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.resort-category {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.resort-name {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-dark);
    line-height: 1.3;
}

.resort-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-gray);
    margin-bottom: 30px;
}

.resort-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-gray);
}

.feature-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.resort-cta {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 1px;
}

.resort-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4);
}

/* Breadcrumb */
.breadcrumb {
    padding: 30px 0;
    background-color: var(--color-cream);
    margin-top: 110px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list a {
    color: var(--color-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--color-primary);
}

.breadcrumb-list .current {
    color: var(--color-primary);
    font-weight: 600;
}

/* Info Section */
.info-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-cream) 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.info-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.2);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    border-radius: 50%;
}

.info-icon i {
    font-size: 1.8rem;
    color: var(--color-white);
}

.info-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.info-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray);
}

/* Loading and Error States */
.loading-resorts,
.no-resorts,
.error-resorts {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-gray);
}

.loading-resorts i,
.no-resorts i,
.error-resorts i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.loading-resorts i {
    color: var(--color-primary);
}

.no-resorts i {
    color: var(--color-gray);
}

.error-resorts i {
    color: #e74c3c;
}

.loading-resorts p,
.no-resorts p,
.error-resorts p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .resort-header {
        grid-template-columns: 1fr;
    }
    
    .resort-image {
        height: 400px;
    }
    
    .resort-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item {
        height: 160px;
        border-bottom: 1px solid var(--color-light-gray);
    }
    
    .gallery-item:nth-child(3n) {
        border-right: none;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        margin-top: 80px;
    }
    
    .resort-list {
        padding: 60px 0;
    }
    
    .resort-info {
        padding: 30px 25px;
    }
    
    .resort-name {
        font-size: 1.8rem;
    }
    
    .resort-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .resort-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        height: 140px;
    }
    
    .gallery-item:nth-child(2n) {
        border-right: none;
    }
    
    .info-section {
        padding: 60px 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}
