/* Tours Page Styles */

/* Hero Section */
.tours-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 41, 38, 0.7) 0%, rgba(201, 169, 110, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tour Filters */
.tour-filters {
    background: #f8f6f3;
    padding: 3rem 0;
}

.tour-filters .container {
    max-width: 1200px;
    width: 100%;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.filters-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: #2d2926;
    margin: 0;
}

.filters-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.results-count {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #5a5550;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.25rem;
    border-radius: 8px;
    border: 1px solid #e8e4dc;
}

.view-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    color: #5a5550;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #f8f6f3;
    color: #c9a96e;
}

.view-btn.active {
    background: #c9a96e;
    color: white;
}

.filter-buttons {
    display: flex;
    gap: 0.4rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #c9a96e #f8f6f3;
    justify-content: space-between;
    width: 100%;
}

.filter-buttons::-webkit-scrollbar {
    height: 4px;
}

.filter-buttons::-webkit-scrollbar-track {
    background: #f8f6f3;
    border-radius: 2px;
}

.filter-buttons::-webkit-scrollbar-thumb {
    background: #c9a96e;
    border-radius: 2px;
}

.filter-buttons::-webkit-scrollbar-thumb:hover {
    background: #8b7355;
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: white;
    border: 2px solid #e8e4dc;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #5a5550;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    flex: 1;
    min-width: fit-content;
}

.filter-btn:hover,
.filter-btn.active {
    background: #c9a96e;
    border-color: #c9a96e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.filter-btn i {
    font-size: 1rem;
}

/* Tours Grid */
.tours-grid {
    padding: 4rem 0;
    background: #f8f9fa;
}

.tours-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    align-items: stretch;
    transition: all 0.3s ease;
}

/* List View */
.tours-grid .container.list-view {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.tours-grid .container.list-view .tour-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    max-width: 100%;
}

.tours-grid .container.list-view .tour-image {
    height: 100%;
    min-height: 280px;
}

.tours-grid .container.list-view .tour-content {
    padding: 2rem;
}

.tours-grid .container.list-view .tour-title {
    font-size: 1.8rem;
    min-height: auto;
}

.tours-grid .container.list-view .tour-description {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: auto;
}

.tours-grid .container.list-view .tour-footer {
    margin-top: 1.5rem;
}

.tour-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tour-card.hidden {
    display: none;
}

.tour-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.tour-card:hover .tour-image img {
    transform: scale(1.03);
}

.tour-badge {
    display: none;
}

.tour-duration {
    display: none;
}

.tour-content {
    padding: 0.7rem 0.8rem 0.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-category {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(201, 169, 110, 0.1);
    color: #c9a96e;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.tour-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #2d2926;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.9rem;
}

.title-line {
    width: 60px;
    height: 1px;
    background: #c9a96e;
    margin-bottom: 0.3rem;
}

.tour-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #5a5550;
    line-height: 1.6;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.88rem;
}

.tour-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
    min-height: 2rem;
}

.highlight {
    background: #f8f6f3;
    color: #8b7355;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
}

.tour-footer {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e8e4dc;
    margin-top: auto;
}

.tour-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #8b7355;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tour-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #c9a96e;
}

.per-person {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #8b7355;
}

.tour-nights {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #8b7355;
    font-weight: 500;
}

.tour-nights i {
    font-size: 0.9rem;
    color: #c9a96e;
}

.tour-btn {
    background: #c9a96e;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 15px;
    width: 100%;
    text-decoration: none;
    display: block;
    text-align: center;
}

.tour-btn:hover {
    background: #8b7355;
    transform: translateY(-1px);
}

/* Call to Action */
.tours-cta {
    background: linear-gradient(135deg, #c9a96e 0%, #8b7355 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.cta-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: #c9a96e;
    border: 2px solid white;
}

.cta-btn.primary:hover {
    background: transparent;
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #c9a96e;
}

/* Footer Styles */
.footer {
    background: #2d2926;
    color: #f8f6f3;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    color: #c9a96e;
}

.footer-section p {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #f8f6f3;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #c9a96e;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #c9a96e;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #8b7355;
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.contact-info i {
    color: #c9a96e;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #5a5550;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #8b7355;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filters-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filters-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .tours-grid .container.list-view .tour-card {
        grid-template-columns: 1fr;
    }
    
    .tours-grid .container.list-view .tour-image {
        min-height: 200px;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .tours-grid .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .tour-card {
        margin: 0 1rem;
    }
    
    .tour-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #c9a96e;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
