/* Destinations Lookbook Design System */

:root {
    --primary: #FF6B00;
    --dark: #0a0a0a;
    --light: #f4f4f4;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-heavy: rgba(0, 0, 0, 0.6);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.destinations-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&q=80&w=2070') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.destinations-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* Destination Masonry/Grid */
.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.destination-card {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.destination-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.destination-card .card-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.destination-card .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease;
}

.destination-card .card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease;
    opacity: 0;
}

.destination-card:hover .card-media img {
    opacity: 0.3;
}

.destination-card:hover .card-media video {
    opacity: 1;
}

.destination-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    z-index: 2;
    color: white;
    transition: transform 0.3s ease;
}

.destination-card:hover .card-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 1));
}

.dest-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: #ffffff !important;
    /* Force white */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.5);
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.destination-card:hover .dest-title {
    color: #dddddd !important;
    /* Slightly lighter grey for better visibility */
}

.dest-best-time {
    display: inline-block;
    padding: 6px 15px;
    background: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

/* Quick Facts */
.quick-facts {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1) 0.1s;
}

.destination-card:hover .quick-facts {
    opacity: 1;
    transform: translateY(0);
}

.fact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 8px;
    border-radius: 12px;
    flex: 1;
}

.fact-icon {
    font-size: 1.1rem;
    display: block;
    color: #ffc107;
    /* Brighter accent */
    margin-bottom: 4px;
}

.fact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    display: block;
    color: #eee;
    font-weight: 600;
}

.fact-value {
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    color: #fff;
}

/* Hidden Gems Section */
.hidden-gems-section {
    background: #ffffff;
    padding: 120px 0;
    color: #050505;
    position: relative;
    overflow: hidden;
}

.hidden-gems-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(255, 107, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.gem-header {
    margin-bottom: 80px;
    position: relative;
}

.gem-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    z-index: 2;
    position: relative;
    font-weight: 800;
    color: #050505;
    text-shadow: none;
}

.gem-header .watermark {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10rem;
    font-weight: 950;
    color: rgba(0, 0, 0, 0.05);
    /* Subtle watermark on white bg */
    z-index: 1;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 20px;
    pointer-events: none;
}

.gem-card {
    background: #fdfdfd;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    margin-bottom: 60px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.gem-card:hover {
    border-color: rgba(255, 107, 0, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(255, 107, 0, 0.15);
}

.gem-img {
    flex: 0 0 45%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.gem-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.gem-card:hover .gem-img img {
    transform: scale(1.1);
}

.gem-card:hover .gem-img::after {
    opacity: 0.4;
}

.gem-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, #ffffff);
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.gem-content {
    padding: 60px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.gem-tag {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.gem-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 25px;
    color: #050505;
    font-weight: 800;
}

.gem-content p {
    color: #555555 !important;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .gem-card {
        flex-direction: column;
    }

    .gem-img {
        flex: 0 0 100%;
    }

    .destinations-hero h1 {
        font-size: 2.5rem;
    }
}