/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.approved {
    background: #d4edda;
    color: #155724;
}

.status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.cancellation-requested {
    background: #e2e3e5;
    color: #383d41;
}

.booking-card {
    border-left: 5px solid var(--primary-color);
    background: white;
    transition: transform 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-5px);
}

.stat-card h4 { color: #888; letter-spacing: 1px; }
.stat-card h2 { font-weight: 800; }

.admin-table-wrapper th {
    background: #f8f9fa;
    color: #555;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table-wrapper td {
    font-size: 0.9rem;
    color: #444;
}

.admin-filters input, .admin-filters select {
    transition: border-color 0.3s ease;
}
.admin-filters input:focus, .admin-filters select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Animations and Utility Classes */
@keyframes slideIn { 
    from { transform: translateX(100%); opacity: 0; } 
    to { transform: translateX(0); opacity: 1; } 
}

.toast-msg {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: var(--secondary-color);
    color: white; 
    padding: 12px 25px; 
    border-radius: 8px; 
    z-index: 5000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
    animation: slideIn 0.3s ease;
    transition: opacity 0.3s ease;
}

.nav-links.active { 
    display: flex !important; 
    flex-direction: column; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: white; 
    padding: 20px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

#main-content {
    background-color: var(--white);
    min-height: 100vh;
}

/* SPA Navigation */
.page-section {
    display: none;
    background-color: var(--white);
    position: relative;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

.page-section.active {
    display: block !important;
}

:root {
    --primary-color: #ff8c00; /* Tripsite Orange */
    --secondary-color: #1a2b48; /* Tripsite Navy Blue */
    --accent-color: #00bcd4; /* Light Blue */
    --bg-light: #f8f9fa;
    --bg-soft-blue: #e7f1fb;
    --white: #ffffff;
    --dark: #1a2b48;
    --gray: #6c757d;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Contact Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: rgba(255,255,255,0.8);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    gap: 20px;
}

.top-contact a:hover {
    color: var(--primary-color);
}

.top-contact i, .top-location i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Floating Buttons */
.floating-btns {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn { background-color: #25d366; }
.call-btn { background-color: var(--primary-color); }

/* Badge */
.badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.75rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff6b00);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Navbar */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--white);
    transition: var(--transition);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(26, 43, 72, 0.5), rgba(26, 43, 72, 0.3)), url('bg.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.service-highlight {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

/* Glassmorphism Search Bar */
.search-bar {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 40px auto 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.search-input {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input label {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.search-input input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
}

.search-input input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Quick Filters */
.quick-filters {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-filters span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Package Container Animation */
#tour-packages-container {
    transition: opacity 0.3s ease-in-out;
}

/* Button Loading State */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spin {
    margin-right: 8px;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

/* Featured Transport */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1100px;
    margin: 0 auto;
}

/* Premium Card Enhancements */
.card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f3f4f6;
    position: relative;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card-img {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card:hover .card-img img {
    transform: scale(1.15);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.wishlist-btn {
    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;
    z-index: 10;
}

.wishlist-btn.active i {
    color: #ff4757;
    font-weight: 900;
}

.card-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 700;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.rating { color: #ffa502; }

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 43, 72, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    max-width: 600px;
    width: 100%;
    margin: auto;
    padding: 40px;
    border-radius: 16px;
    position: relative;
    animation: modalScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@keyframes modalScale {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.tour-details-content {
    max-width: 900px;
}

/* Google Button Styling */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #444;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.google-btn img {
    width: 20px;
    height: 20px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
}

/* Auth Tabs */
.auth-tabs button {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: var(--gray);
}

.auth-tabs button.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 80px 0 30px;
    color: white;
}

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

.footer-links h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .search-bar { flex-direction: column; }
    .search-input { border-right: none; border-bottom: 1px solid #eee; width: 100%; }
    .top-bar-flex { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
}

/* Sections Backgrounds */
.services, .gallery, .contact {
    background-color: var(--white);
    position: relative;
    padding: 100px 0;
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Location Section */
.location {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.location .subtext {
    font-size: 1rem;
    color: var(--gray);
    margin-top: -10px;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.location-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.location-info-card .info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.location-info-card .info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}
