/* Listing page specific styles */

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: var(--light-beige);
    margin-top: 80px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.breadcrumb-nav {
    color: var(--gray);
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--orange);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.header-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray);
}

.feature-item i {
    font-size: 1rem;
}

.header-image {
    text-align: center;
}

/* Listing Header */
.listing-header {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, var(--orange) 0%, #ff9a3e 100%);
    color: white;
    text-align: center;
    margin-top: 80px;
}

.listing-header .page-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.listing-header .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.listing-header .breadcrumb-nav {
    color: rgba(255, 255, 255, 0.8);
}

.listing-header .breadcrumb-nav a {
    color: white;
}

/* Filters Section */
.filters-section {
    padding: 30px 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.filters-container {
    background: var(--light-beige);
    padding: 20px;
    border-radius: 15px;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 5px;
}

.filter-group .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
}

.view-toggle {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.view-btn {
    background: white;
    border: 1px solid #ddd;
    color: var(--gray);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

/* Packs Listing */
.packs-listing {
    padding: 60px 0;
    background: white;
}

.results-header {
    text-align: center;
    margin-bottom: 50px;
}

.results-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.packs-grid.list-view {
    grid-template-columns: 1fr;
    gap: 25px;
}

.pack-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

/* Make entire listing card clickable when wrapped in anchor */
.pack-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(234, 139, 44, 0.15);
}

.pack-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.pack-card:hover .pack-image img {
    transform: scale(1.1);
}

.pack-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--orange);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.pack-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.pack-wishlist:hover {
    background: white;
    transform: scale(1.1);
}

.pack-wishlist i {
    color: var(--gray);
    font-size: 1.1rem;
}

.pack-wishlist:hover i {
    color: var(--orange);
}

.pack-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pack-category {
    font-size: 0.8rem;
    color: var(--orange);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.pack-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.pack-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pack-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.pack-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--gray);
}

.pack-features i {
    color: var(--orange);
    font-size: 0.9rem;
}

.pack-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--gray);
}

.pack-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.pack-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
}

.pack-price .price-unit {
    font-size: 0.85rem;
    color: var(--gray);
    margin-left: 5px;
}

/* Circuit specific styles */
.circuit-card .pack-image,
.trip-card .pack-image {
    height: 260px; /* fixed image size for consistency */
}

.circuit-duration {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    max-width: 80%;
    text-align: center;
    line-height: 1.2;
    backdrop-filter: blur(5px);
}

/* Circuit page visual tweaks for readability */
.circuit-card .pack-price .price,
.trip-card .pack-price .price {
    color: var(--dark);
}

.circuit-card .btn,
.trip-card .btn {
    padding: 8px 18px;
    border-radius: 24px;
    font-weight: 600;
}

/* Alternative button styling for better balance */
.circuit-card .btn.btn-orange,
.trip-card .btn.btn-orange {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}
.circuit-card .btn.btn-orange:hover,
.trip-card .btn.btn-orange:hover {
    background: var(--orange);
    color: #fff;
}

.circuit-highlights {
    margin-bottom: 20px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.highlight-item i {
    color: var(--orange);
    margin-top: 2px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* List view styles */
.packs-grid.list-view .pack-card {
    display: flex;
    align-items: stretch;
}

.packs-grid.list-view .pack-image {
    width: 300px;
    height: auto;
    flex-shrink: 0;
}

.packs-grid.list-view .pack-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.packs-grid.list-view .pack-footer {
    margin-top: auto;
}

/* Transfer page specific styles */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(234, 139, 44, 0.15);
}

.service-card.featured {
    border: 2px solid var(--orange);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange), #ff9a3e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--orange);
    margin-top: 20px;
}

/* Booking and customization form styles */
.customization-section,
.booking-section {
    padding: 80px 0;
    background: var(--light-beige);
}

.customization-card,
.booking-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.activity-option {
    position: relative;
}

.activity-option input[type="checkbox"] {
    display: none;
}

.activity-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.activity-label:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
}

.activity-label.selected {
    border-color: var(--orange);
    background: rgba(234, 139, 44, 0.1);
}

.activity-label i {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 10px;
}

.activity-label span {
    font-weight: 500;
    color: var(--dark);
}

/* Additional styles */
.plan-preview-section {
    padding: 60px 0;
    background: white;
}

.plan-preview-card {
    background: var(--light-beige);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--orange);
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-detail {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.plan-detail h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.activity-tag {
    background: var(--orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.plan-actions {
    text-align: center;
    margin-top: 30px;
}

/* Authentication page styles */
.auth-body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.auth-container {
    min-height: 100vh;
    position: relative;
}

.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

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

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 139, 44, 0.8), rgba(255, 154, 62, 0.6));
    z-index: 1;
}

.auth-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.auth-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.branding-content {
    max-width: 400px;
    color: white;
    text-align: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 30px;
}

.branding-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.branding-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.features-list {
    text-align: left;
}

.features-list .feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.auth-forms {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.forms-container {
    width: 100%;
    max-width: 450px;
}

.auth-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.input-group-text {
    background: var(--light-beige);
    border-color: #ddd;
    color: var(--gray);
}

.form-control {
    border-color: #ddd;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(234, 139, 44, 0.25);
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .listing-header .page-title {
        font-size: 2.2rem;
    }
    
    .packs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pack-image {
        height: 200px;
    }
    
    .pack-content {
        padding: 20px;
    }
    
    .pack-features {
        gap: 10px;
    }
    
    .packs-grid.list-view .pack-card {
        flex-direction: column;
    }
    
    .packs-grid.list-view .pack-image {
        width: 100%;
        height: 200px;
    }
    
    .activity-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .activity-label {
        padding: 15px 10px;
    }
    
    .activity-label i {
        font-size: 1.5rem;
    }
    
    .customization-card,
    .booking-card {
        padding: 25px 20px;
    }
    
    .auth-forms {
        padding: 20px;
    }
    
    .auth-form {
        padding: 30px 25px;
    }
}

@media (max-width: 576px) {
    .header-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .filters-container {
        padding: 15px;
    }
    
    .pack-card {
        margin: 0 10px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
}