
/* Password Toggle Styles */
.password-toggle-container {
    display: flex;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
}

.password-toggle-container input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.password-toggle-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.password-toggle-label:hover {
    color: #333;
}

/* Additional styles for Anahawan page */
.main-content {
    padding: 40px 20px;
    max-width: 1350px;
    margin: 0 auto;
}

.section-title {
    color:rgb(0, 0, 0);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Single card layout adjustments */
.destinations-grid:has(.destination-card:only-child) .destination-card {
    width: 500px;
    max-width: 500px;
    margin: 0 auto;
}

.destinations-grid:has(.destination-card:only-child) .destination-image {
    height: 300px;
}

.destinations-grid:has(.destination-card:only-child) .destination-content {
    padding: 30px;
}

.destination-card {
    background: #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-content {
    padding: 1.5rem;
}

.destination-title {
    color: #2e7d32;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.destination-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.destination-actions {
    display: flex;
    gap: 1rem;
}

.btn-view {
    background: #4caf50;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-view:hover {
    background: #45a049;
}

.btn-edit {
    background: #2196f3;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-edit:hover {
    background: #1976d2;
}

.btn-delete {
    background: #f44336;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-delete:hover {
    background: #d32f2f;
}

/* Dropdown styles */
.nav-links li {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    min-width: 250px;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    margin-top: 5px;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-links li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: transparent;
    padding-left: 25px;
}

.dropdown a:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown a:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Custom scrollbar for desktop dropdown */
.dropdown::-webkit-scrollbar {
    width: 8px;
}

.dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Smooth scrolling for desktop dropdown */
.dropdown {
    scroll-behavior: smooth;
}

/* Mobile dropdown overrides to support accordion behavior from shared header */
@media (max-width: 768px) {
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.8);
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    /* Enlarge top-level items in hamburger menu */
    .nav-menu.active .nav-links > li > a {
        font-size: 19px; /* bigger text for top-level items */
        padding: 12px 18px; /* bigger tap area */
        color: black !important;
        font-weight: normal !important;
    }

    .nav-links li.dropdown-active .dropdown {
        max-height: 320px;
        padding: 8px 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .dropdown a {
        padding: 12px 20px; /* larger tap area */
        font-size: 16px; /* larger dropdown text */
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white !important;
    }

    .dropdown a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-left: none;
        transform: translateX(5px);
        color: rgb(57, 173, 240) !important;
    }
}

.header {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-text h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.header-text h2 {
    font-size: 18px;
    font-weight: normal;
}

.datetime {
    text-align: right;
    font-size: 12px;
}

.nav-section {
    
    background-color: white;
    background-image: url('../image/Province.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    position: relative;
    height: 110px;
    margin-top: 60px; /* Add margin to account for fixed header */
    
}

.nav-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(11, 59, 26, 0.76);
    z-index: 1;
}

.nav-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    flex: 1;
}

.nav-right {
    flex: 0 0 auto;
}

.time-display {
    text-align: right;
}

.time-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: normal;
}

.time-value {
    color: #216923;
    font-size: 14px;
    font-weight: normal;
    font-family: monospace;
}

.nav-title {
    color: #4caf50;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.breadcrumb {
    color: #666;
    font-size: 13px;
}

.breadcrumb a {
    color: #4caf50;
    text-decoration: none;
}

.main-content {
    padding: 40px 20px;
    max-width: 1350px;
    margin: 0 auto;
}

/* Scroll-triggered fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Enhanced animation for the main heading */
#fadeInHeading.visible {
    animation: slideInFromBottom 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.8);
        filter: blur(5px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1.05);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.section-title {
    color:#363535;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;

}

.add-btn {
    display: block;
    margin: 0 auto 40px auto;
    background-color: #4caf50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-btn:hover {
    background-color: #45a049;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.destination-card {
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: translateY(-5px);
}

/* Single card layout adjustments */
.destinations-grid:has(.destination-card:only-child) .destination-card {
    width: 500px;
    max-width: 500px;
    margin: 0 auto;
}

.destinations-grid:has(.destination-card:only-child) .card-image-container {
    height: 300px;
}

.destinations-grid:has(.destination-card:only-child) .card-image {
    height: 300px;
}

.destinations-grid:has(.destination-card:only-child) .card-content {
    padding: 30px;
}

.card-image-container {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.card-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px solid #ffffffc9;
    border-radius: 8px;
}

.card-slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease, cursor 0.2s ease;
    cursor: pointer;
}

.card-slideshow-image.active {
    opacity: 1;
}

.card-slideshow-image:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.card-slideshow-image:active {
    transform: scale(0.98);
}

.card-slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.card-prev-btn, .card-next-btn {
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    pointer-events: all;
    opacity: 0;
}

.card-slideshow:hover .card-prev-btn,
.card-slideshow:hover .card-next-btn {
    opacity: 1;
}

.card-prev-btn:hover, .card-next-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.card-slideshow-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-slideshow:hover .card-slideshow-indicators {
    opacity: 1;
}

.card-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.card-indicator.active {
    background: white;
    transform: scale(1.2);
}

.card-indicator:hover {
    background: rgba(255,255,255,0.8);
}

.card-image.paradise { background: linear-gradient(45deg, #64b5f6, #1976d2); }
.card-image.mountain { background: linear-gradient(45deg, #2e7d32, #4caf50); }
.card-image.luxury { background: linear-gradient(45deg, #ff8f00, #f57c00); }
.card-image.crystal { background: linear-gradient(45deg, #00897b, #4db6ac); }

.card-content {
    padding: 20px;
    text-align: center;
}

.destination-name {
    color: black;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 8px 16px;
    border: 2px solid #4caf50;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
}

.destination-name:hover {
    background-color: #4caf50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.edit-btn, .delete-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.3s;
}

.edit-btn {
    background-color: #2196f3;
    color: white;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

.edit-btn:hover, .delete-btn:hover {
    opacity: 0.8;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1001;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.zoom-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.45);
    max-width: 1300px;
    width: 95%;
    max-height: 95vh;
    height:700px;
    overflow: hidden;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { 
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.zoom-image {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

.zoom-image.paradise { background: linear-gradient(45deg, #64b5f6, #1976d2); }
.zoom-image.mountain { background: linear-gradient(45deg, #2e7d32, #4caf50); }
.zoom-image.luxury { background: linear-gradient(45deg, #ff8f00, #f57c00); }
.zoom-image.crystal { background: linear-gradient(45deg, #00897b, #4db6ac); }

.zoom-description {
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.zoom-image-section {
    flex: 2;
    min-width: clamp(320px, 60vw, 600px);
    height: 400px;
}

.zoom-image-section img {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.zoom-text-section {
    flex: 2;
}

.zoom-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 10px 0;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.6));
    }
}

.zoom-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    border-radius: 2px;
}

.zoom-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    border-radius: 1px;
}

.zoom-description-text {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
    white-space: pre-wrap;
    height: 550px;
    overflow-y: auto;
    padding: 25px;
    text-align: justify;
    background: rgba(12, 28, 18, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-left: none;
    border-right: none;
    box-shadow: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    transition: all 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(116, 229, 133, 0.75) transparent;
}

.zoom-description-text:hover {
    transform: translateY(-2px);
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1024px) {
    .zoom-content {
        height: auto;
        max-height: 90vh;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
    }

    .zoom-description {
        flex-direction: column;
        gap: 20px;
    }

    .zoom-image-section {
        min-width: 100%;
        width: 100%;
        height: auto;
    }

    .slideshow-container,
    .zoom-image-section img {
        height: 480px;
        max-height: 65vh;
    }

    .zoom-text-section {
        width: 100%;
    }

    .zoom-description-text {
        height: auto;
        max-height: 55vh;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
    }
}

@media (max-width: 768px) {
    .zoom-modal--mobile-center {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .zoom-content {
        width: 95%;
        max-height: 90vh;
        height: auto;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.22);
        box-shadow: 0 0 28px rgba(255, 255, 255, 0.4);
    }

    .zoom-description {
        padding: 20px;
        gap: 20px;
        flex-direction: column;
    }

    .zoom-image-section {
        min-width: 100%;
        width: 100%;
        height: auto;
    }

    .slideshow-container,
    .zoom-image-section img {
        height: 420px;
        max-height: 65vh;
    }

    .zoom-text-section {
        width: 100%;
    }

    .zoom-description-text {
        height: 200px;
        max-height: none;
        overflow-y: auto;
        background: rgba(12, 28, 18, 0.55) !important;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255, 255, 255, 0.28);
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        border-left: none;
        border-right: none;
    }
}

@media (min-width: 769px) {
    .zoom-description-text {
        border-left: none;
        box-shadow: none;
    }

    .zoom-description-text:hover {
        transform: none;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.35);
    }
}

.zoom-description-text::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 15px;
    font-size: 60px;
    color: rgba(76, 175, 80, 0.2);
    font-family: serif;
    line-height: 1;
}

.zoom-description-text::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 15px;
    font-size: 60px;
    color: rgba(76, 175, 80, 0.2);
    font-family: serif;
    line-height: 1;
}

/* Custom scrollbar for description */
.zoom-description-text::-webkit-scrollbar {
    width: 8px;
}

.zoom-description-text::-webkit-scrollbar-track {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
}

.zoom-description-text::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #64e57e, #2f9f44);
    border-radius: 4px;
}

.zoom-description-text::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
}

.zoom-features {
    list-style: none;
    padding: 0;
}

.zoom-features li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.zoom-features li:before {
    content: "✓ ";
    color: #4caf50;
    font-weight: bold;
}

.close-zoom {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(244, 67, 54, 0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1002;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.close-zoom:hover {
    background: #f44336;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.image-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.gallery-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.gallery-image:hover {
    border-color: #4caf50;
}

.gallery-image.active {
    border-color: #4caf50;
}

.image-upload-section {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.upload-area {
    border: 2px dashed #4caf50;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-area:hover {
    background-color: #f0f8f0;
}

.upload-area.dragover {
    background-color: #e8f5e8;
    border-color: #2e7d32;
}

.upload-input {
    display: none;
}

.upload-text {
    color: #4caf50;
    font-size: 16px;
    margin-bottom: 10px;
}

.upload-hint {
    color: #666;
    font-size: 14px;
}

.image-preview {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.image-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    background-color: #4caf50;
    color: white;
}

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-secondary {
    background-color: #666;
    color: white;
}

.image-counter {
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    transition: opacity 0.3s ease-in-out;
}

.slideshow-image.active {
    display: block;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.slideshow-nav:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
    left: 15px;
}

.slideshow-nav.next {
    right: 15px;
}

.slideshow-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slideshow-nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
}

.slideshow-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slideshow-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slideshow-indicator.active {
    background: white;
    transform: scale(1.2);
}

.slideshow-indicator:hover {
    background: rgba(255,255,255,0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 90%;
}

.modal h3 {
    color: #4caf50;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #4caf50;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.file-upload-area {
    margin-top: 10px;
}

.file-upload-button {
    border: 2px dashed #4caf50;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

.file-upload-button:hover {
    background-color: #f0f8f0;
    border-color: #2e7d32;
}

.upload-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.upload-text {
    color: #4caf50;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.upload-hint {
    color: #666;
    font-size: 12px;
}

.selected-files {
    margin-top: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    min-height: 40px;
}

.file-preview {
    display: inline-block;
    margin: 5px;
    position: relative;
}

.file-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #ddd;
}

.file-preview .remove-file {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.file-preview .remove-file:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

.existing-images {
    margin-top: 15px;
    padding: 10px;
    background-color: #e8f5e8;
    border-radius: 5px;
    min-height: 40px;
}

.existing-images h4 {
    color: #4caf50;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 0;
}

.existing-image {
    display: inline-block;
    margin: 5px;
    position: relative;
}

.existing-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #4caf50;
}

.existing-image .remove-existing {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.existing-image .remove-existing:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.save-btn, .cancel-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.save-btn {
    background-color: #4caf50;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.save-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.cancel-btn {
    background-color: #666;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cancel-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 102, 102, 0.3);
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow on mobile */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Reduce nav-section top margin on mobile */
    .nav-section {
        margin-top: 50px !important;
    }
    
    /* Keep hamburger icon at top-right when menu opens on mobile */
    .hamburger {
        position: fixed;
        top: 10px;
        right: 5%;
        z-index: 300;
    }

    .header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .main-content {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    /* Mobile single card adjustments */
    .destinations-grid:has(.destination-card:only-child) .destination-card {
        max-width: 100%;
        width: 100%;
    }
    
    .destination-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .card-image-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .card-content {
        width: 100%;
        box-sizing: border-box;
        padding: 15px;
    }
    
    .destination-name {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix logo-map-container on mobile */
    .logo-map-container {
        flex-direction: column !important;
        padding: 15px !important;
        gap: 15px !important;
        margin: 15px 0 !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .logo-section {
        min-width: auto !important;
        width: 100% !important;
        margin: 0 auto;
    }
    
    .logo-image {
        margin-left: 0 !important;
        max-width: 200px !important;
        width: auto !important;
        display: block;
        margin: 0 auto !important;
    }
    
    .map-section {
        min-width: auto !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .map-iframe {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Mobile navigation and time display */
    .nav-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-right {
        align-self: flex-end;
    }

    .time-display {
        text-align: right;
    }

    .time-label {
        font-size: 13px;
    }

    .time-value {
        font-size: 13px;
        line-height: 1.2;
        font-weight: 100;
    }

    .section-title {
        font-size: 28px;
    }

    .zoom-content {
        width: 95%;
        max-height: 90vh;
        height: auto;
        overflow-y: auto;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.22);
        box-shadow: 0 0 28px rgba(255, 255, 255, 0.4);
    }

    .zoom-description {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .zoom-image-section {
        min-width: 100%;
        width: 100%;
        height: auto;
        flex: none;
    }

    .zoom-image-section img {
        height: 320px;
        max-height: 65vh;
        width: 100%;
        object-fit: cover;
    }

    .zoom-text-section {
        flex: none;
        width: 100%;
        padding: 0;
        margin-top: 15px;
    }

    .zoom-title {
        font-size: 24px;
        margin-bottom: 15px;
        text-align: center;
        line-height: 1.3;
        padding: 8px 0;
        letter-spacing: 0.5px;
    }

    .zoom-title::before {
        width: 40px;
        height: 2px;
    }

    .zoom-title::after {
        width: 30px;
        height: 1px;
    }

    .zoom-description-text {
        font-size: 15px;
        line-height: 1.6;
        text-align: justify;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 15px;
        border-left: none;
        background: rgba(12, 28, 18, 0.55);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255, 255, 255, 0.28);
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .zoom-description-text::before {
        font-size: 40px;
        top: -3px;
        left: 10px;
    }

    .zoom-description-text::after {
        font-size: 40px;
        bottom: -15px;
        right: 10px;
    }

    .slideshow-container {
        height: 320px;
        max-height: 65vh;
        margin-bottom: 10px;
    }

    .slideshow-image {
        height: 100%;
    }

    .slideshow-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slideshow-nav.prev {
        left: 10px;
    }

    .slideshow-nav.next {
        right: 10px;
    }

    .slideshow-indicators {
        bottom: 10px;
    }

    .slideshow-indicator {
        width: 10px;
        height: 10px;
    }

    .image-counter {
        font-size: 12px;
        margin-bottom: 8px;
        color: #ffffff;
    }

    /* Additional mobile improvements */
    .close-zoom {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 15px;
    }

    .zoom-modal {
        padding: 10px;
    }

    .zoom-content {
        border-radius: 10px;
        margin: 10px;
    }

    /* Ensure text doesn't overflow */
    .zoom-description-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Better spacing for mobile */
    .zoom-description {
        padding: 15px;
        gap: 15px;
    }

    /* Center Anahawan logo on mobile */
    .logo-image {
        margin-left: 0 !important;
        display: block;
        margin: 0 auto !important;
        padding-left: 0 !important;
    }
}

@media (min-width: 810px) and (max-width: 850px) {
    .zoom-description {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .zoom-image-section,
    .zoom-text-section {
        width: 100%;
        min-width: auto;
    }

    .zoom-description-text {
        max-height: 320px;
        overflow-y: auto;
    }
}

/* Additional mobile breakpoint for smaller screens */
@media (max-width: 480px) {
    /* Further increase sizes on small phones */
    .main-content {
        padding: 15px 10px;
    }
    
    .destinations-grid {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 18px;
        padding: 14px 20px;
    }

    .dropdown a {
        font-size: 16px;
        padding: 12px 18px;
    }
    .zoom-content {
        width: 98%;
        margin: 5px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
        overflow: hidden;
    }

    .zoom-title {
        font-size: 20px;
        padding: 6px 0;
        letter-spacing: 0.3px;
    }

    .zoom-title::before {
        width: 30px;
        height: 1px;
    }

    .zoom-title::after {
        width: 20px;
        height: 1px;
    }

    .zoom-description-text {
        height: 200px;
        background: rgba(12, 28, 18, 0.55) !important;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255, 255, 255, 0.28);
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        border-left: none;
        border-right: none;
    }

    /* Extra small mobile time display */
    .nav-section {
        padding: 15px;
    }

    .nav-content {
        gap: 10px;
    }

    .time-label {
        font-size: 14px;
        font-weight: normal;
    }

    .time-value {
        font-size: 14px;
        word-break: break-word;
        font-weight: normal;
    }

    .nav-title {
        font-size: 24px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .zoom-description-text {
        font-size: 13px;
        padding: 18px;
        background: rgba(12, 28, 18, 0.55);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255, 255, 255, 0.28);
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .slideshow-container {
        height: 280px;
        max-height: 60vh;
    }

    .zoom-image-section img {
        height: 280px;
        max-height: 60vh;
    }

    .close-zoom {
        width: 30px;
        height: 30px;
        font-size: 18px;
        top: 8px;
        right: 12px;
    }

    /* Center Anahawan logo on mobile */
  
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Admin Login Modal Styles */
/* Password Toggle Styles */
.password-toggle-container {
    display: flex;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
}

.password-toggle-container input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.password-toggle-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.password-toggle-label:hover {
    color: #333;
}

.admin-login-btn {
    background: linear-gradient(135deg, 
        #4ade80 0%, 
        #10b981 25%, 
        #059669 50%, 
        #10b981 75%, 
        #4ade80 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-top: 15px;
    animation: fadeInUp 0.6s ease-out 0.8s both;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.2),
                0 0 20px rgba(74, 222, 128, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.admin-login-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s;
}

.admin-login-btn:hover::before {
    left: 100%;
}

.admin-login-btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 222, 128, 0.5),
                inset 0 2px 4px rgba(255, 255, 255, 0.3),
                0 0 30px rgba(74, 222, 128, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.admin-login-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

/* Admin Login Modal Styles */
.admin-login-modal {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.98) 0%, 
        rgba(30, 41, 59, 0.95) 100%);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4),
                inset 0 0 80px rgba(74, 222, 128, 0.05);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    transform: translateZ(0);
    backdrop-filter: blur(20px);
    border-left: 4px solid rgba(182, 194, 187, 0.6);
}

.admin-login-modal.show {
    right: 0;
    animation: slideInRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideInRight {
    0% {
        right: -450px;
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        right: 0;
        opacity: 1;
        transform: translateX(0);
    }
}

/* Make the admin login modal fully responsive on mobile */
@media (max-width: 768px) {
    .admin-login-modal {
        width: 100%;
        right: -100%; /* keep off-canvas fully hidden */
        max-width: 100vw;
    }

    .admin-login-container {
        margin: 12px;
        padding: 20px;
    }

    .admin-login-form {
        max-width: 100%;
        width: 100%;
    }

    .captcha-container {
        flex-wrap: wrap;
    }

    .captcha-display {
        min-width: 0;
        flex: 1 1 auto;
    }
}

@media (max-width: 480px) {
    .admin-login-modal {
        width: 100%;
        right: -100%;
    }

    .admin-login-container {
        padding: 30px 20px;
    }

    .admin-login-logo {
        width: clamp(110px, 32vw, 160px);
        height: clamp(110px, 32vw, 160px);
        margin-bottom: 15px;
    }

    .admin-login-header {
        padding: 20px;
        margin-bottom: 25px;
    }

    .admin-login-header h2 {
        font-size: 24px;
    }

    .close-admin-modal {
        top: 15px;
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .admin-form-group input {
        padding: 14px 18px;
        font-size: 16px;
    }

    .admin-login-btn {
        padding: 14px 28px;
        font-size: 16px;
    }
}

.admin-login-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    backdrop-filter: blur(2px);
}

.admin-login-backdrop.show {
    opacity: 1;
    visibility: visible;
    animation: fadeInBackdrop 0.3s ease-in-out;
}

@keyframes fadeInBackdrop {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(2px);
    }
}

.admin-login-container {
    padding: 20px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    background: transparent;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.admin-login-container::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-top: 2px solid rgba(74, 222, 128, 0.3);
    border-right: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 0 8px 0 0;
}

.admin-login-container::after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border-bottom: 2px solid rgba(74, 222, 128, 0.3);
    border-left: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 0 0 0 8px;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-login-logo {
    width: clamp(120px, 14vw, 180px);
    height: clamp(120px, 14vw, 180px);
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
    border-radius: 50%;
    object-fit: contain;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    padding: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2),
                0 0 20px rgba(74, 222, 128, 0.2),
                inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(74, 222, 128, 0.3);
    transition: all 0.3s ease;
}

.admin-login-logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(74, 222, 128, 0.4);
    border-color: rgba(74, 222, 128, 0.5);
}

.admin-login-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    animation: slideInDown 0.5s ease-out 0.3s both;
    width: calc(100% + 90px);
    padding: 15px 30px;
    margin-left: -45px;
    margin-right: -45px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 100%);
    border-radius: 0;
    backdrop-filter: blur(25px);
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2),
                0 4px 15px rgba(0, 0, 0, 0.15);
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-login-header h2 {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 500;
    font-family: 'Segoe UI', 'Roboto', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2),
                 0 0 20px rgba(74, 222, 128, 0.3);
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(74, 222, 128, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-admin-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: none;
    box-shadow: none;
    font-weight: bold;
    z-index: 1001;
}

.close-admin-modal:hover {
    background: transparent;
    transform: scale(1.15) translateX(-3px);
    box-shadow: none;
    border: none;
    opacity: 0.8;
}

.close-admin-modal:active {
    transform: scale(1.05) translateX(-3px);
    opacity: 0.6;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.admin-form-group {
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease-out both;
    position: relative;
}

.admin-form-group:nth-child(1) { animation-delay: 0.4s; }
.admin-form-group:nth-child(2) { animation-delay: 0.5s; }
.admin-form-group:nth-child(3) { animation-delay: 0.6s; }

.admin-form-group label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.admin-form-group input {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1),
                inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.admin-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    font-weight: 400;
}

.admin-form-group input:focus {
    outline: none;
    border-color: rgba(74, 222, 128, 0.8);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2),
                0 8px 25px rgba(0, 0, 0, 0.2),
                inset 0 2px 4px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.admin-form-group input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.admin-error-message {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.25) 0%, 
        rgba(220, 38, 38, 0.2) 100%);
    color: #fee2e2;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid rgba(220, 38, 38, 0.4);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* CAPTCHA Styles */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.captcha-display {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 10px 16px;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 6px;
    color: white;
    border-radius: 14px;
    min-width: 160px;
    text-align: center;
    user-select: none;
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15),
                inset 0 2px 4px rgba(255, 255, 255, 0.1),
                0 0 15px rgba(74, 222, 128, 0.2);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.captcha-refresh {
    background: linear-gradient(135deg, 
        rgba(74, 222, 128, 0.4) 0%, 
        rgba(34, 197, 94, 0.3) 100%);
    color: white;
    border: 2px solid rgba(74, 222, 128, 0.6);
    padding: 10px 14px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.2),
                inset 0 2px 4px rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.captcha-refresh:hover {
    background: linear-gradient(135deg, 
        rgba(74, 222, 128, 0.6) 0%, 
        rgba(34, 197, 94, 0.5) 100%);
    transform: scale(1.08) rotate(180deg);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
    border-color: rgba(74, 222, 128, 0.8);
}

/* Password Change Modal Styles */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
    font-weight: 500;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
    font-weight: 500;
}

.password-hint {
    color: #6c757d;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

#changePasswordModal .form-group {
    margin-bottom: 25px;
}

#changePasswordModal .form-group input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

#changePasswordModal .form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

#changePasswordModal .form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

#changePasswordModal .btn {
    margin: 5px;
}

#changePasswordModal .btn-secondary {
    background: linear-gradient(45deg, #6c757d, #5a6268);
}

#changePasswordModal .btn-success {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

/* Custom styles for all attraction pages */
.breadcrumb {
    color: white !important;
}

.breadcrumb a {
    color: white !important;
    text-decoration: underline;
}

.breadcrumb a:hover {
    color: #f0f0f0 !important;
}

.time-label {
    color: rgb(11, 231, 81) !important;
    font-size: 14px !important;
    font-weight: normal !important;
}

.time-value {
    color: white !important;
    font-family: Arial, sans-serif !important;
    font-weight: normal !important;
    font-size: 14px !important;
}

.nav-title {
    color: rgb(11, 231, 81) !important;
    font-weight: normal !important;
}

/* Mobile responsive layout for all attraction pages */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .nav-left {
        order: 2 !important;
        width: 100% !important;
    }
    
    .nav-right {
        order: 1 !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    .time-display {
        text-align: left !important;
    }
}

/* Image Zoom Dialog Styles */
.image-zoom-dialog {
    background: white !important;
    color: #666 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.image-zoom-dialog * {
    color: #666 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.image-zoom-title {
    font-family: 'Montserrat', sans-serif !important;
    color: #1a1a1a !important;
}

.image-zoom-description {
    background: transparent !important;
    background-color: transparent !important;
    color: #666 !important;
}

.image-zoom-description p,
.image-zoom-description a {
    color: #666 !important;
}

.image-zoom-image {
    border-radius: 0 !important;
}

.image-zoom-counter {
    color: #ffffff !important;
}

