/* 
   RoyalTravelz - Destination Pages Stylesheet
   Styles for Riviera Maya, Cruises, and Caribbean pages
*/

/* Hero Section */
.destination-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.destination-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.destination-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    z-index: 10;
    animation: fadeIn 1.5s ease;
}

.destination-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Riviera Maya specific hero */
.riviera-maya-hero {
    background-image: url('../images/sunsetRM.webp');
}

/* Cruises specific hero */
.cruises-hero {
    background-image: url('../images/royalcruiseHero.jpeg');
}

/* Caribbean specific hero */
.caribbean-hero {
    background-image: url('../images/CaribbeanHero.webp');
}

/* Collage Section */
.collage-section {
    padding: 6rem 0;
}

.collage-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.collage {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    height: 500px;
}

.collage-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collage-item:hover img {
    transform: scale(1.05);
}

.collage-item:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.collage-text {
    flex: 2;
    animation: slideInRight 1s ease;
}

/* Inspiration Section */
.inspiration-section {
    padding: 6rem 0;
    background-color: var(--light-color);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .collage-container {
        flex-direction: column;
    }
    
    .collage, .collage-text {
        width: 100%;
    }
    
    .collage {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .destination-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .collage {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        height: auto;
        gap: 1rem;
    }
    
    .collage-item:first-child {
        grid-column: 1;
        grid-row: 1;
    }
    
    .collage-item {
        height: 200px;
    }
}
