/* Tours Page Background */
.tours-page {
    background: linear-gradient(180deg, #ffffff 0%, #fff9e6 50%, #fff4b3 100%);
    min-height: 100vh;
}

/* Tours Hero Section */
.tours-hero {
    background: linear-gradient(135deg, #6c7b7f, #5a6c75);
    border-radius: 20px;
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.tours-hero-content {
    text-align: center;
    padding: 80px 40px;
    width: 100%;
}

.tours-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: white;
}

.tours-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Tabs */
.tours-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.tour-filter-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-filter-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.tour-filter-btn.active {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    color: #0B2545;
    border-color: #ff2a2a;
    font-weight: 600;
}

/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Tour Cards */
.tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.tour-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.featured-badge {
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.category-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.category-badge.golden-triangle {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    color: #0B2545;
}

.category-badge.eco-tour {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    color: #0B2545;
}

.category-badge.heritage {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    color: #0B2545;
}

.category-badge.beach {
    background: #3498db;
    color: white;
}

.category-badge.nature {
    background: #27ae60;
    color: white;
}

/* Tour Info */
.tour-info {
    padding: 25px;
}

.tour-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.tour-info p {
    color: #6c757d;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
}

.duration i {
    color: #3498db;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.tour-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.feature {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.tour-buttons {
    display: flex;
    gap: 12px;
}

.tour-buttons .btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.tour-buttons .btn-outline {
    background: transparent;
    color: #0B2545;
    border: 2px solid #0B2545;
}

.tour-buttons .btn-outline:hover {
    background: #0B2545;
    color: white;
}

.tour-buttons .btn-primary {
    background: linear-gradient(135deg, #ff2a2a, #ffd700);
    color: #0B2545;
    border: 1px solid #ff2a2a;
}

.tour-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #e6251f, #f1c40f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 42, 42, 0.4);
}

/* Custom Tour Package Section */
.custom-tour-section {
    padding: 80px 0;
    margin-top: 40px;
}

.custom-tour-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.custom-tour-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.custom-tour-content p {
    font-size: 18px;
    color: #6c757d;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.btn-custom {
    background: #2c3e50;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-custom:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tours-hero {
        display: none;
    }
    
    .tours-filters {
        display: none;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tour-buttons {
        flex-direction: column;
    }
    
    .custom-tour-section {
        padding: 60px 0;
    }
    
    .custom-tour-content h2 {
        font-size: 32px;
    }
    
    .custom-tour-content p {
        font-size: 16px;
    }
    
    .btn-custom {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* Tour Contact Buttons */
.tour-contact-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.tour-contact-buttons .whatsapp-btn, 
.tour-contact-buttons .call-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.tour-contact-buttons .whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: 1px solid #25D366;
}

.tour-contact-buttons .whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.tour-contact-buttons .call-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0B2545;
    border: 1px solid #FFD700;
}

.tour-contact-buttons .call-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.tour-contact-buttons .whatsapp-btn i, 
.tour-contact-buttons .call-btn i {
    font-size: 16px;
}

/* Responsive Design for Tour Contact Buttons */
@media (max-width: 768px) {
    .tours-page .tour-contact-buttons {
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }
    
    .tours-page .tour-contact-buttons .whatsapp-btn, 
    .tours-page .tour-contact-buttons .call-btn {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1 1 0%;
        min-height: 40px;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Tweak floating popups on tours page to avoid overlapping action buttons */
@media (max-width: 768px) {
    .tours-page .floating-buttons { top: 62%; }
    .tours-page .floating-buttons .floating-btn { width: 48px; height: 48px; }
    .tours-page .floating-btn.whatsapp-btn { top: 62% !important; right: 12px; width: 48px; height: 48px; }
}

