﻿/* ===== DESTINATIONS ARCHIVE STYLES ===== */

/* Main Container */
.roamease-destination-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Breadcrumbs */
.destination-breadcrumbs {
    margin-bottom: 2rem;
}

.breadcrumb-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 1rem 1.5rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '→';
    margin: 0 1rem;
    color: #6c757d;
    font-weight: 500;
}

.breadcrumb-link {
    color: #27ae60;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.breadcrumb-link:hover {
    background: rgba(39, 174, 96, 0.1);
    color: #219a52;
}

.current-destination {
    color: #495057;
    font-weight: 600;
}

/* Hero Section */
.destination-hero {
    position: relative;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border-radius: 20px;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.destination-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.destination-description {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* desktop: 3 columns */
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .tours-grid { grid-template-columns: repeat(2, 1fr); } /* tablet: 2 columns */
}

.tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.tour-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tour-content {
    padding: 2rem;
}

.tour-title-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.tour-title-link:hover {
    color: #27ae60;
}

/* No Tours Found */
.no-tours-found {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.btn-primary:hover {
    background: #219a52;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .page-container {
        padding: 0 1rem;
    }
    
    .destination-title {
        font-size: 2.8rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
}

/* High-specificity override: ensure single-destination pages use exact 3/2/1 grid
   This sits at the end of the file to override other generic .tours-grid rules. */
.roamease-single-destination .tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* desktop: 3 columns */
    gap: 2rem;
}

@media (max-width: 1024px) {
    .roamease-single-destination .tours-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .roamease-single-destination .tours-grid { grid-template-columns: 1fr; }
}
