/* Destination Type Page Styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

.destination-type-page {
    margin-top: 0;
}

.destination-hero {
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -80px;
    padding-top: 80px;
}

.destination-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.5) 30%, 
        rgba(0, 0, 0, 0.3) 70%, 
        rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.destination-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 60px;
}

.destination-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.destination-hero p {
    font-size: 1.2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Content Section - Add background */
.destination-content-section {
    background: var(--sand);
    position: relative;
    z-index: 3;
    padding: 80px 0;
}

.destination-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--charcoal);
}

.destination-cards {
    margin: 0;
}

.destination-card-alt {
    display: flex;
    align-items: stretch; /* This makes children stretch to card height */
    gap: 0;
    margin-bottom: 60px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Card height controlled by CONTENT */
}

.destination-card-image {
    flex: 0 0 45%;
    position: relative;
    /* REMOVE: align-self: flex-start and height: auto */
    /* Let it stretch to match card height */
}

.destination-card-image img {
    width: 100%;
    height: 100%; /* Change from 300px to 100% */
    object-fit: cover;
    object-position: center;
    display: block;
}

.destination-card-content {
    flex: 1;
    padding: 40px;
    min-height: 400px; /* Increase minimum to ensure good image size */
}

.destination-card-content h3 {
    color: var(--teal);
    font-size: 1.8rem; /* Slightly smaller */
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.destination-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding: 18px;
    background: var(--sand);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.meta-item {
    font-size: 0.9rem;
    line-height: 1.4;
}

.meta-item strong {
    color: var(--teal);
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.key-attractions {
    margin-bottom: 20px;
}

.key-attractions strong {
    color: var(--teal);
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.key-attractions ul {
    margin-top: 8px;
    padding-left: 18px;
}

.key-attractions li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.destination-card-content p {
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.mobile-menu-btn {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}


/* For tablets */
@media (max-width: 992px) {
    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* Ensure proper z-index stacking */
    header {
        z-index: 1000;
    }
    
    #mainNav {
        z-index: 1001;
    }
    
    .mobile-menu-btn {
        z-index: 1002;
    }

    .destination-card-alt,
    .destination-card-alt.reverse {
        flex-direction: column;
        margin-bottom: 40px;
        border-radius: 10px;
        max-height: none; /* Remove height limit on mobile */
    }
    
    .destination-card-image {
        flex: 0 0 250px; /* Fixed height on mobile */
        width: 100%;
    }
    
    .destination-card-content {
        min-height: auto; /* Remove min-height on mobile */
        padding: 25px;
        overflow-y: visible;
    }
    
    .destination-card-content h3 {
        font-size: 1.5rem;
    }
    
    .destination-meta {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 8px;
    }

    .hero {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-content {
        padding: 0 15px;
        width: 90%;
    }
}

/* For very small mobile */
@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* For very large screens - limit card width */
@media (min-width: 1400px) {
    .destination-card-alt {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}
