body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

img {
    max-width: 100%;
    height: auto;
}


header {
    background: linear-gradient(90deg, #187737 0%, #2936ee 50%, #764ba2 100%);
    color: #ffffff;
    padding: 10px 0;
}

header h1 {
    text-align: center;
    margin: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #187737 0%, #2936ee 50%, #764ba2 100%);
    padding: 0 20px;
    position: relative;
    overflow: hidden; /* Prevents overflow issues */
}

nav ul.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul.nav-menu li {
    position: relative;
}

nav ul.nav-menu li a {
    color: #ffffff;
    padding: 20px 15px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

nav ul.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.10);
}

/* hero section */
.hero {
    text-align: center;
    font-size: 1.2rem;
}


/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.logo-circle img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

@media screen and (max-width: 768px) {
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    .logo-text {
        font-size: 0.75rem;
        letter-spacing: 0.001px;
    }
}

/* Dropdown styling 
nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e3f86;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

nav ul li:hover > ul {
    display: block;
}

nav ul ul li {
    width: 100%;
}

nav ul ul li a {
    padding: 12px 15px;
    border-bottom: 1px solid #4a5a6a;
}

nav ul ul li:last-child a {
    border-bottom: none;
}

nav ul ul li a:hover {
    background: #4a0bc0;
}*/

.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

.package {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    margin: 20px 0;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.package img {
    max-width: 100%;
    border-radius: 5px;
}

.package h2 {
    color: #35424a;
}


/* Footer styles */
.site-footer {
    background: #35424a;
    color: #ffffff;
    padding: 40px 20px;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-column h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-column p,
.footer-column a {
    color: #d1d1d1;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: #4a0bc0;
    text-decoration: underline;
}

.social-links a {
    color: #ffffff;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4a0bc0;
}

.map-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.map-link:hover {
    color: #4a0bc0;
    text-decoration: underline;
}

.footer-links-container {
    display: flex;
    justify-content: center; /* Center the links */
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap; /* Ensures responsiveness */
    padding: 0 20px;
}

.footer-links {
    /*margin-top: 20px;*/
    /*text-align: center;*/
    flex: 1 1 300px; /* Allows the links section to grow and shrink */
    max-width: 300px;
    min-width: 200px; /* Ensures sections don't shrink too much */
    text-align: left; /* Aligns text to the left */
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffffff;
}

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

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

.footer-links ul li a {
    color: #d1d1d1;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: #4a0bc0;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #d1d1d1;
    border-top: 1px solid #fff;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .footer-links:first-child { display: none !important; }
    /* Reset the entire footer structure */
    .site-footer {
        padding: 20px !important;
    }
    
    /* Stack footer containers vertically with no gaps */
    .footer-container {
        flex-direction: column;
        align-items: center;
        justify-content: center !important;
        gap: 15px !important;
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }
    
    .footer-links-container {
        flex-direction: column;
        align-items: center;
        justify-content: center !important;
        gap: 15px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }
    
    /* Remove all spacing from individual elements */
    .footer-column, 
    .footer-links {
        flex: none !important;
        max-width: 100% !important;
        min-width: auto !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 8px 0 !important;
        width: 100% !important;
    }
    
    /* Ensure footer bottom has no extra spacing */
    .footer-bottom {
        margin-top: 10px !important;
        padding-top: 5px !important;
    }
    
    /* Remove any inherited spacing from paragraphs and headings */
    .footer-column p,
    .footer-column h5,
    .footer-links p,
    .footer-links h5,
    .footer-links ul {
        margin: 2px 0 !important;
        padding: 3px !important;
    }
}

/* Admin form styles */
.login-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

button {
    background: #4a0bc0;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    min-width: 120px;
}

button:hover {
    background: #3a0899;
}

.error {
    color: #e8491d;
    margin-bottom: 15px;
    padding: 10px;
    background: #ffe6e6;
    border-radius: 3px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background: #35424a;
    color: #ffffff;
}

.btn {
    display: inline-block;
    background: #e8491d;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
    margin: 10px 0;
}

.btn:hover {
    background: #d13a0e;
}

@media (max-width: 500px) {
    .login-container,
    .edit-package-container {
        padding: 15px;
        margin: 20px;
    }
}


/* Admin Dashboard Styles */
.admin-nav {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(90deg, #187737 0%, #2936ee 50%, #764ba2 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-nav .btn {
    background: #ffffff;
    color: #4a0bc0;
    border: 2px solid #ffffff;
    padding: 12px 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 25px;
    min-width: 150px;
    text-align: center;
}

.admin-nav .btn:hover {
    background: #4a0bc0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 11, 192, 0.3);
}

.category-section {
    margin: 30px 0;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.category-section h2 {
    margin-top: 0;
    color: #35424a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.8rem;
    border-bottom: 2px solid #4a0bc0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.admin-package-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.admin-package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.package-header h3 {
    margin: 0;
    color: #35424a;
}

.price {
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
}

.package-details {
    margin: 15px 0;
}

.package-details p {
    margin: 5px 0;
    font-size: 14px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}

.no-packages {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
}

/* Form Styles */
.form-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.image-field {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    border-radius: 3px;
    background: #f8f9fa;
}

.image-field .form-group {
    margin-bottom: 10px;
}

.image-field input[type="text"] {
    margin-top: 5px;
}

/* Frontend Package Display Styles */
/* Hero Section */
/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 690px;
    margin-bottom: 32px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 690px;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
    transition: opacity 0.7s;
}

.carousel-content {
    color: #fff;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    margin: auto;
}

.carousel-content h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.carousel-content .btn.btn-primary {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 18px;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-shadow: 0 1px 8px rgba(44,62,80,0.18);
    margin-top: 18px;
    letter-spacing: 1px;
}

.carousel-content .btn.btn-primary:hover {
    background: rgba(255,255,255,0.32);
    color: #2936ee;
    border: 1.5px solid #fff;
    transform: scale(1.02); /* Add this line */
}


.carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 3;
}
.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: 2px solid #764ba2;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.carousel-dot.active {
    background: #764ba2;
    border-color: #2936ee;
}

@media (max-width: 700px) {
    .carousel, .hero-carousel {
        height: 350px;
        min-height: 350px;
    }
    .carousel-content {
        padding: 18px 8px;
    }
    .carousel-content h1 {
        font-size: 1.2rem;
    }
}


/* Featured Packages */
.featured-packages {
    margin: 40px 0;
    text-align: center;
}
.packages-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.package-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.08);
    overflow: hidden;
    width: 300px;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}
.package-card:hover {
    transform: translateY(-8px) scale(1.03);
}
.package-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.package-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.package-content h3 {
    margin: 0 0 6px 0;
    color: #2936ee;
    font-size: 1rem;
    line-height: 1.2;
}
.package-content p {
    font-size: 1rem;
    margin-bottom: 12px;
}
.package-content .price {
    font-weight: bold;
    color: #187737;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}
.package-content .btn-secondary {
    background: #764ba2;
    color: #fff;
    padding: 8px 18px;
    border: none;
    border-radius: 18px;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}
.package-content .btn-secondary:hover {
    background: #2936ee;
}

@media (max-width: 768px) {
    /* Featured packages grid - ensure proper mobile layout */
    .featured-packages .packages-grid {
        flex-direction: column !important;
        align-items: center !important;
        margin: 24px 5% !important;
        display: flex !important;
    }
    
    /* Featured package cards mobile styling */
    .featured-packages .package-card {
        width: 100% !important;
        max-width: 350px !important;
        margin: 16px auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Ensure package content is properly displayed */
    .featured-packages .package-card .package-content {
        padding: 18px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    /* ENHANCED: More specific selectors for buttons */
    .featured-packages .package-card .package-content .btn,
    .featured-packages .package-card .package-content .btn-secondary,
    .package-card .package-content .btn-secondary,
    .package-card .btn-secondary,
    .package-card a[href*="?id="],
    .featured-packages a[href*="?id="],
    .mobile-package-btn {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 88% !important;
        margin: 10px auto !important;
        padding: 12px 18px !important;
        text-align: center !important;
        background: #764ba2 !important;
        color: #fff !important;
        text-decoration: none !important;
        border-radius: 18px !important;
        font-size: 1rem !important;
        border: none !important;
        cursor: pointer !important;
        transition: background 0.2s !important;
        position: relative !important;
        z-index: 10 !important;
        box-sizing: border-box !important;
        min-height: 44px !important; /* Ensure touch-friendly size */
        line-height: 1.2 !important;
    }
    
    /* Hover/tap effect for mobile */
    .featured-packages .package-card .package-content .btn:active,
    .featured-packages .package-card .package-content .btn-secondary:active,
    .package-card .btn-secondary:active,
    .mobile-package-btn:active {
        background: #2936ee !important;
        transform: scale(0.98) !important;
    }
    
    /* Ensure proper spacing for other elements */
    .featured-packages .package-card .package-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .featured-packages .package-card .package-content p {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
    }
    
    .featured-packages .package-card .package-content .price {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }
    
    /* Force visibility on any link that might be a package button */
    .package-card a {
        display: block !important;
        visibility: visible !important;
    }
}


/* Smaller cards for other pages */
.page-packages-grid {
    display: flex;
    gap: 24px;
    margin: 24px 5%;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
}

.page-package-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    overflow: hidden;
    width: 300px;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.page-package-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 0;
}

.page-package-card .package-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-package-card .package-content h3 {
    margin: 0 0 6px 0;
    color: #2936ee;
    font-size: 1rem;
    line-height: 1.2;
}

.page-package-card .package-content .subcategory {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
}

.page-package-card .package-content .description {
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: #444;
    line-height: 1.3;
    min-height: 36px;
    max-height: 36px;
    overflow: hidden;
}

.page-package-card .package-content .package-details {
    font-size: 1rem;
    color: #666;
    font-weight: bold;
    margin-bottom: 6px;
    text-align: center;
}

.page-package-card .package-content .price {
    font-weight: bold;
    color: #187737;
    font-size: 0.95rem;
    margin-bottom: 6px;
    text-align: center;
}

.page-package-card .package-content .btn {
    padding: 8px 18px;
    font-size: 1rem;
    border: none;
    border-radius: 18px;
    margin-top: 4px;
    margin-left: 12px;
    margin-right: 12px;
    text-align: center;
    background: #764ba2;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.page-package-card .package-content .btn:hover {
    background: #2936ee;
}


@media (max-width: 768px) {
    .packages-grid,
    .page-packages-grid {
        grid-template-columns: 1fr !important;
        display: grid;
        gap: 16px;
    }

    .package-card,
    .page-package-card {
        width: 100% !important;
    }
}



/* Destinations Grid Section */
.destinations-title {
    text-align: center;
    font-size: 1.8rem;
    color: #35424a;
    margin-bottom: 16px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
    justify-items: center;
    align-items: center;
    margin: 24px auto;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.destination-card {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.15);
}

.destination-card .destination-name {
    position: absolute;
    bottom: 8px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    font-size: 0.9rem;
    border-radius: 4px;
    text-transform: capitalize;
    font-weight: bold;
    z-index: 2;
}

.destination-card.center-card {
    grid-column: 2 / 3; /* Center column */
    grid-row: 2 / 3;    /* Center row */
    width: 100%;
    height: 300px; /* Larger height for the center card */
}

.destination-card.center-card img {
    border-radius: 12px;
}


@media (max-width: 992px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .destination-card:last-child {
        display: none; /* Hide the last card on smaller screens */
    }
}



/* Gallery */
.gallery-images {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
}
.gallery-images img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Package Details Page Styles */
.package-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.package-header {
    text-align: center;
    margin-bottom: 40px;
}

.package-header h1 {
    font-size: 2.5rem;
    color: #35424a;
    margin-bottom: 20px;
}

.package-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.package-meta span {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
}

.package-meta .category {
    background: #adb6e2;
    color: black;
    font-size: 1.2rem;
}

.package-meta .subcategory {
    background: #ebd4ce;
    color: black;
    font-size: 1.2rem;
}

.package-meta .price {
    background: #cbeed3;
    color: black;
    font-size: 1.2rem;
}

.package-gallery {
    margin-bottom: 40px;
}

.main-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: #4a0bc0;
}

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

.package-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.package-info h2, .package-info h3 {
    color: #35424a;
    margin-bottom: 15px;
}

.package-info p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* Enhanced Package Actions Styling for All Screen Sizes */
/* Universal Package Actions Button Styling - Applied to All Screen Sizes */
.package-actions .btn {
    display: block;
    width: 100%;
    margin: 0 0 15px 0;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.package-actions .btn-primary {
    background: linear-gradient(135deg, #4a0bc0 0%, #6a1b9a 100%);
    transform: translateY(0);
}

.package-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 11, 192, 0.3);
}

.package-actions .btn-secondary {
    background: #fff;
    color: #4a0bc0;
    border: 2px solid #4a0bc0;
}

.package-actions .btn-secondary:hover {
    background: #4a0bc0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 11, 192, 0.2);
}

/* Remove the last button's bottom margin */
.package-actions .btn:last-child {
    margin-bottom: 0;
}

/* Optional: Limit max-width on very large screens for better appearance */
@media (min-width: 1200px) {
    .package-actions {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .package-info {
        grid-template-columns: 1fr;
    }
    
    .package-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .main-image {
        height: 300px;
    }
}

/* Admin Header Styles */
.admin-header {
    background: linear-gradient(90deg, #187737 0%, #2936ee 50%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Dashboard Header */
.container h1 {
    color: #35424a;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-nav-left {
    display: flex;
    align-items: center;
}

.admin-logo {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 0;
}

.admin-logo:hover {
    color: #4a0bc0;
}

.admin-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 15px 10px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.admin-nav-link:hover {
    background: #34495e;
}

.logout-btn {
    background: #e74c3c;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
}

.logout-btn:hover {
    background: #c0392b;
}

/* Admin Login Container */
.admin-login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Message styling */
.message {
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 15px;
    text-align: center;
}

.message:not(:empty) {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form links styling */
.form-links {
    text-align: center;
    margin-top: 20px;
}

.form-links a {
    color: #4a0bc0;
    text-decoration: none;
    font-weight: bold;
}

.form-links a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0;
    flex-wrap: wrap;
}
.page-link {
    display: inline-block;
    padding: 6px 14px;
    background: #f4f4f4;
    color: #2936ee;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.page-link.active,
.page-link:hover {
    background: #2936ee;
    color: #fff;
    border-color: #2936ee;
}

/* edit package page */
.edit-package-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.edit-package-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.edit-package-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.edit-package-container label {
    font-weight: bold;
    color: #555;
}

.edit-package-container input,
.edit-package-container select,
.edit-package-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.edit-package-container textarea {
    resize: vertical;
    min-height: 100px;
}

.edit-package-container button {
    padding: 10px 20px;
    background: #4a0bc0;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.edit-package-container button:hover {
    background: #3a0899;
}

/* Mobile Menu */
/* Mobile Menu Styles*/

/* Mobile menu button (hamburger) */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    top: 50%;
    right: -55px;
    transform: translateY(-50%);
}

.hamburger-line {
    width: 30%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation when active */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation menu styles 
nav ul.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul.nav-menu li {
    position: relative;
}

nav ul.nav-menu li a {
    color: #ffffff;
    padding: 20px 15px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

nav ul.nav-menu li a:hover {
    background: #7443d6;
}*/

/* Mobile styles */
@media (max-width: 768px) {
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hide regular navigation on mobile */
    nav ul.nav-menu {
        position: fixed;
        top: 59px; /* Adjust based on your header height */
        left: 0;
        width: 100%;
        height: calc(100vh - 68px);
        background: linear-gradient(180deg, #187737 0%, #2936ee 50%, #764ba2 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        display: none;
    }
    
    /* Show menu when active */
    nav ul.nav-menu.active {
        display: flex !important;
        transform: translateX(0);
    }
    
    /* Mobile menu items */
    nav ul.nav-menu li {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        position: static !important; /* Reset position for mobile */
    }
    
    nav ul.nav-menu li a {
        display: block !important;
        padding: 15px 20px !important;
        font-size: 1.2rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        color: #ffffff !important;
        text-decoration: none !important;
        background: transparent !important; /* Reset any background */
        transition: background-color 0.3s ease !important;
    }
    
    nav ul.nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.1) !important; /* Add hover effect */
    }
    
    /* Ensure header maintains proper z-index */
    header {
        position: relative;
        z-index: 1002;
    }

    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }

    /* Hide any potential dropdown menus on mobile */
    nav ul ul {
        display: none !important;
    }
}


/* Ensure smooth transitions */
@media (min-width: 769px) {
    nav ul.nav-menu {
        transform: none !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        flex-direction: row !important;
        background: transparent !important;
        padding-top: 0 !important;
        display: flex !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }
}

.posts-table th {
    background-color: #FFA500;
    font-weight: bold;
}

.bookings-table th {
    background-color: #FFA500;
    font-weight: bold;
}

.comments-table th {
    background-color: #4a0bc0;
    font-weight: bold;
}

.comment {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.categories-table th {
    background-color: orangered;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    .package-btn {
        display: block !important;
        margin: 0 auto !important; /* Center the button on small screens */
    }
}
