/* Desktop Tour Packages CSS - Optimized for SEO, CLS & LCP */

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Critical CSS for LCP */
.tour-hero-section {
    contain: layout style paint;
}

.tour-package-image img {
    will-change: transform;
    contain: layout style paint;
}

/* Hero Section */

/* Hero Section */
.tour-hero-section {
    height: 400px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    background: #f8f9fa;
}

.banner-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.tour-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.tour-hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Left Sidebar Filters */
.search-filters {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.filter-sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-title i {
    color: #667eea;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
    color: #667eea;
}

.filter-option.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.filter-option-count {
    margin-left: auto;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Results Counter and Sort */
.results-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.results-count {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.sort-select {
    padding: 8px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #667eea;
}

/* Tour Package Grid */
.tour-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tour-package-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.tour-package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tour-package-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.tour-package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-package-card:hover .tour-package-image img {
    transform: scale(1.1);
}

.discount-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 15px;
    right: 15px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.duration-badge {
    background: #27ae60;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 15px;
    left: 15px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tour-package-content {
    padding: 10px;
}

.tour-package-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    margin-top: 5px;
}

.tour-package-title a {
    color: #333;
    text-decoration: none;
}

.tour-package-title a:hover {
    color: #667eea;
}

.tour-package-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #666;
}

.tour-package-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-package-location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-package-rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.tour-package-rating i {
    color: #f39c12;
    font-size: 0.9rem;
}

.tour-package-rating span {
    color: #666;
    font-size: 0.85rem;
    margin-left: 5px;
}

.tour-package-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tour-package-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    font-weight: 500;
}

.package-actions {
    display: flex;
    gap: 10px;
}

.btn-primary {
    background: #667eea;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #5a6fd8;
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #667eea;
    padding: 8px 18px;
    border-radius: 6px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card-sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card-sidebar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.category-card-sidebar .category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.category-card-sidebar .category-count {
    font-size: 0.9rem;
    color: #666;
}

/* Pagination */
.pagination-wrapper {
    text-align: center;
    padding: 2rem 1rem;
    background: #f8f9fa;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    background: white;
    color: #333;
}

.pagination a:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pagination .active span {
    background: #667eea;
    color: white;
    border-color: #667eea;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pagination .disabled span {
    background: #f8f9fa;
    color: #999;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
}

/* No Packages State */
.no-packages {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.no-packages h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.no-packages p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tour-hero-section {
        height: 300px;
    }
    
    .tour-hero-title {
        font-size: 2.2rem;
    }
    
    .tour-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .tour-package-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .package-actions {
        flex-direction: column;
    }
    
    .search-filters {
        position: static;
        margin-bottom: 20px;
    }
    
    .results-counter {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tour-hero-section {
        height: 250px;
    }
    
    .tour-hero-title {
        font-size: 1.8rem;
    }
    
    .tour-hero-subtitle {
        font-size: 1rem;
    }
    
    .tour-package-content {
        padding: 20px;
    }
    
    .package-actions {
        gap: 8px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Performance Optimizations */
.tour-package-image img {
    will-change: transform;
}

.tour-package-card {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .tour-package-card,
    .tour-package-image img,
    .filter-option,
    .category-card,
    .category-card-sidebar {
        transition: none;
    }
    
    .tour-package-card:hover {
        transform: none;
    }
    
    .tour-package-card:hover .tour-package-image img {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .search-filters,
    .results-counter,
    .package-actions,
    .pagination-wrapper {
        display: none;
    }
    
    .tour-package-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tour-package-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Desktop Tour Packages CSS - Created: 2025-01-06 */

/* Additional Performance Optimizations */
.tour-package-card {
    contain: layout style paint;
    transform: translateZ(0);
}

.tour-package-image {
    contain: layout style paint;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .tour-package-card,
    .tour-package-image img,
    .filter-option,
    .btn-primary,
    .btn-secondary {
        transition: none;
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .tour-package-card {
        border: 2px solid;
    }
    
    .btn-primary {
        border: 2px solid;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* Focus indicators for accessibility */
.tour-package-title a:focus,
.btn-primary:focus,
.btn-secondary:focus,
.filter-option:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .tour-package-card {
        background: #1a1a1a;
        color: #ffffff;
    }
    
    .tour-package-title a {
        color: #ffffff;
    }
    
    .tour-package-description {
        color: #cccccc;
    }
}

/* Enquiry Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-container {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #e74c3c;
}

.modal-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.field-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input[type="tel"] {
    font-family: monospace;
    letter-spacing: 0.5px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-cancel {
    flex: 1;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #e9ecef;
    border-color: #667eea;
    color: #667eea;
}

.btn-submit {
    flex: 1;
    padding: 12px 20px;
    background: #667eea;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: "⚠";
    font-size: 0.9rem;
}

/* Thank You Message Styles */
.success-animation {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-circle.animate {
    transform: scale(1);
}

.success-circle i {
    font-size: 2.5rem;
    color: white;
    transform: scale(0);
    transition: transform 0.3s ease 0.2s;
}

.success-circle.animate i {
    transform: scale(1);
}

.success-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #27ae60;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s ease;
}

.particle:nth-child(1) {
    top: 20px;
    left: 50px;
    animation-delay: 0.1s;
}

.particle:nth-child(2) {
    top: 50px;
    right: 20px;
    animation-delay: 0.2s;
}

.particle:nth-child(3) {
    bottom: 20px;
    left: 50px;
    animation-delay: 0.3s;
}

.particle:nth-child(4) {
    top: 50px;
    left: 20px;
    animation-delay: 0.4s;
}

.particle:nth-child(5) {
    top: 30px;
    left: 30px;
    animation-delay: 0.5s;
}

.particle.animate {
    opacity: 1;
    transform: scale(1);
    animation: particleFloat 2s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.2) translateY(-10px);
    }
}

.success-content {
    text-align: center;
    margin-bottom: 30px;
}

.success-title {
    color: #27ae60;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(39, 174, 96, 0.1);
}

.success-message {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.success-quote {
    background: linear-gradient(135deg, #f8fff8, #e8f5e8);
    border-left: 4px solid #27ae60;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1);
}

.success-quote i.fa-quote-left {
    color: #27ae60;
    font-size: 1.5rem;
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.3;
}

.success-quote p {
    font-style: italic;
    color: #333;
    margin: 0 0 10px 0;
    padding-left: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.quote-author {
    color: #27ae60;
    font-weight: 600;
    font-size: 0.9rem;
    padding-left: 30px;
    display: block;
}

.success-actions {
    text-align: center;
}

.btn-explore {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-explore:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-explore i {
    font-size: 1.1rem;
}

/* Responsive Modal */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .modal-container {
        margin: 10px;
        max-height: 95vh;
        max-width: 95vw;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}
/ *   D e s k t o p   C S S   F i l e   C r e a t e d :   2 0 2 5 - 0 9 - 0 6   2 1 : 5 3 : 2 0   * / 
 
 / *   A d d i t i o n a l   S t y l e s   f o r   C o m p l e t e   F u n c t i o n a l i t y   * / 
 
 / *   B l a d e   C l e a n u p   i n   P r o g r e s s :   2 0 2 5 - 0 9 - 0 6   2 2 : 0 1 : 4 1   * / 
 
 