.hotel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    margin: 0;
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.header {
    padding: 30px;
    text-align: center;
    
}


.main-image {
    height: 400px;
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(34, 104, 34);
    font-size: 24px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add-hotel-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 15;
}

.add-hotel-top-right .btn {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.add-hotel-top-right .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.main-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-30%, -70%) rotate(180deg); }
}

.content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 550px;
    gap: 30px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.resort-info h1 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 20px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.resort-info h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #6c757d;
    border-radius: 2px;
}

/* Ensure action buttons are always visible */
.resort-info {
    position: relative;
    z-index: 10;
}

/* Fix scrolling conflicts with hover effects */
.hotel-item {
    cursor: default !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
    transition: none !important;
}

.hotel-item .content {
    cursor: default !important;
    pointer-events: auto !important;
}

/* Prevent any transform on hotel item hover that could interfere with scrolling */
.hotel-item:hover {
    transform: none !important;
    transition: none !important;
}

/* Hover effects removed */

/* Ensure smooth scrolling */
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.resort-description {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 30px;
    text-align: justify;
    padding: 0;
    transition: all 0.3s ease;
}


.resort-description::-webkit-scrollbar {
    width: 6px;
}

.resort-description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.resort-description::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 3px;
}

.resort-description::-webkit-scrollbar-thumb:hover {
    background: #495057;
}

/* Style links within descriptions to look like buttons (but not See Map link) */
.resort-description a:not([style*="font-style: italic"]) {
    display: inline-block !important;
    background: #007bff !important;
    color: white !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    margin: 5px 5px 5px 0 !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    font-size: 0.9rem !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3) !important;
    position: relative !important;
    z-index: 10 !important;
}

.resort-description a:not([style*="font-style: italic"]):hover {
    background: #0056b3 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4) !important;
}

/* See Map link styling - simple underlined link */
.resort-description a[style*="font-style: italic"] {
    display: inline !important;
    background: none !important;
    color: #007bff !important;
    padding: 0 !important;
    text-decoration: underline !important;
    border-radius: 0 !important;
    margin: 0 !important;
    font-weight: normal !important;
    font-style: italic !important;
    box-shadow: none !important;
}

.resort-description a[style*="font-style: italic"]:hover {
    color: #0056b3 !important;
    text-decoration: underline !important;
    transform: none !important;
    background: none !important;
    box-shadow: none !important;
}

.resort-description a[style*="background: #28a745"] {
    background: #28a745 !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
}

.resort-description a[style*="background: #28a745"]:hover {
    background: #1e7e34 !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
}

.side-image {
    height: 500px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.side-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}


/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 2;
}

.slideshow-nav:hover {
    background: rgba(0,0,0,0.4);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
    left: 10px;
}

.slideshow-nav.next {
    right: 10px;
}

.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid rgba(26, 61, 10, 0.1);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-group input::placeholder {
    color: rgba(26, 61, 10, 0.5);
    font-style: italic;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
    min-height: 80px;
}

.btn {
    background: linear-gradient(45deg, #ee7752, #e73c7e);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
}

.btn:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-danger {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
}

.btn-success {
    background: #2196f3 ;
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #5a6268);
}

/* 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;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

/* Confirmation Modal Styles */
.confirmation-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.confirmation-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
}

.confirmation-content h2 {
    margin-bottom: 20px;
    color: #dc3545;
    font-size: 1.8rem;
}

.confirmation-content p {
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.5;
}

.confirmation-content .btn {
    margin: 0 10px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 15px;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 95vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    margin-bottom: 10px;
    margin-top: 5px;
    color: #333;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

/* User Password Modal */
.user-password-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.user-password-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

.close-user-password-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.close-user-password-modal:hover {
    color: #000;
    transform: scale(1.1);
}

/* Action Buttons - Specific styling to override general .btn */
/* Action Buttons - Ensure text is ALWAYS visible */
.action-buttons .btn {
    padding: 8px 16px !important;
    font-size: 14px !important;
    margin: 0 !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    z-index: 20 !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;

    border: 2px solid #FFFFFF !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    line-height: 1.2 !important;
    min-width: 60px !important;
    /* Force text visibility */
    text-shadow: 0 0 0 #FFFFFF !important;
    -webkit-text-stroke: 0.5px #FFFFFF !important;
    /* Crisp text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-smooth: always;
}

.action-buttons .btn:hover {
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    text-shadow: 0 0 0 #FFFFFF !important;
    -webkit-text-stroke: 0.5px #FFFFFF !important;
}

/* Force text visibility for action buttons */
.action-buttons .btn * {
    color: #FFFFFF !important;
    text-shadow: 0 0 0 #FFFFFF !important;
    -webkit-text-stroke: 0.5px #FFFFFF !important;
}

.action-buttons .btn::before,
.action-buttons .btn::after {
    display: none !important;
}

.action-buttons .btn-success {
    background-color: #2196f3 !important;
    color: white !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: opacity 0.3s !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    box-shadow: none !important;
    font-weight: normal !important;
    font-family: inherit !important;
}

.action-buttons .btn-success:hover {
    opacity: 0.8 !important;
    background-color: #2196f3 !important;
    color: white !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    font-family: inherit !important;
}

.action-buttons .btn-danger {
    background-color: #f44336 !important;
    color: white !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: opacity 0.3s !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    box-shadow: none !important;
    font-weight: normal !important;
    font-family: inherit !important;
}

.action-buttons .btn-danger:hover {
    opacity: 0.8 !important;
    background-color: #f44336 !important;
    color: white !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    font-family: inherit !important;
}

/* Additional text visibility fixes */
.action-buttons .btn,
.action-buttons .btn:focus,
.action-buttons .btn:active,
.action-buttons .btn:visited {
    color: #FFFFFF !important;
    text-decoration: none !important;
    outline: none !important;
    text-shadow: 0 0 0 #FFFFFF !important;

}

/* Ensure button text is always visible */
.action-buttons .btn span,
.action-buttons .btn div,
.action-buttons .btn p {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-shadow: 0 0 0 #FFFFFF !important;

}

.hotel-title-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hotel-title-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hotel-title {
    display: inline-block;
    text-align: center;
}

.hotel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

/* Upload Button */
.upload-btn {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    margin: 5px;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

/* Text Path Button */
.text-path-btn {
    background: linear-gradient(45deg, #6c757d, #5a6268);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
    margin: 5px;
}

.text-path-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Breadcrumb Overlay */
.breadcrumb-overlay {
    position: absolute;
    top: 25px;
    left: 20px;
    padding: 10px 15px;
    z-index: 10;
}

.breadcrumb-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}



.breadcrumb-path {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.breadcrumb-text {
    color: rgb(255, 255, 255) !important;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.breadcrumb-link {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 4px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}


.breadcrumb-separator {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 0.75rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.breadcrumb-current {
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

/* Welcome Admin */
    .welcome-admin {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(13, 20, 14, 0.849);
    font-size: 1rem;
    font-weight: normal;
    padding: 8px 16px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(74, 222, 128, 0.2);
    transition: all 0.3s ease;
    z-index: 15;
}

/* .welcome-admin:hover removed */

/* Hotels Container */
.hotels-container {
    width: 100%;
}

/* Hotel item styling - consolidated with scroll fix above */

.hotel-item:last-child {
    margin-bottom: 0;
}

.hotel-item .content {
    padding: 20px;
    max-width: 1450px;
    margin: 0 auto;
}

/* Alternating Layout */
.normal-layout {
    display: grid;
    grid-template-columns: 1fr 550px;
    gap: 40px;
    align-items: start;
}

.reverse-layout {
    display: grid;
    grid-template-columns: 550px 1fr;
    gap: 40px;
    align-items: start;
}

.reverse-layout .resort-info {
    order: 2;
}

.reverse-layout .side-image {
    order: 1;
}


/* Add button styling to match Admin-Anahawan.php */
.add-btn {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4caf50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 5;
}

.add-btn:hover {
    background-color: #45a049;
}

/* Main image - no filter */
.main-image img {
    filter: none;
}

/* Remove background from Welcome Admin text */
.welcome-admin {
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Breadcrumb text size styling */
.breadcrumb-text {
    font-size: 14px;
}

.breadcrumb-link {
    font-size: 14px;
}

.breadcrumb-separator {
    font-size: 14px;
}

.breadcrumb-current {
    font-size: 14px;
}

/* Section heading with animated reveal */
.hotel-resort-header {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 40px auto 30px;
    padding: 0 20px;
    max-width: 1000px;
}

.hotel-resort-title {
    color: #1a1a1a !important;
    font-size: 36px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hotel-resort-title.fade-in,
.hotel-resort-title.fade-in.visible {
    font-family: 'Montserrat', sans-serif !important;
    color: #3d3d3d !important;
}

.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);
}

#hotelResortHeading.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);
    }
}

/* Grid container styling */
.hotels-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Hotel Card Size Adjustments */
.hotel-item {
    width: 430px !important;
    flex-shrink: 0;
}

/* Target the inner card container div with inline styles */
.hotel-item > div[style*="width: 430px"],
.hotel-item > div[style*="width: 500px"],
.hotel-item > div[style*="background: white"],
.hotel-item > div[style*="background: #f5f5f5"] {
    width: 430px !important;
    height: 460px !important;
    min-height: 360px !important;
    max-width: 430px !important;
}

.hotel-title {
    display: inline-block;
    text-align: center;
}

.hotel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

/* Side image container within hotel card */
.hotel-item .side-image {
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
}

/* Slideshow container within hotel card */
.hotel-item .slideshow-container {
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
}

.hotel-item .slideshow-container .slide img {
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
}

/* Image Zoom Modal Styles (Desktop Only) */
.image-zoom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-zoom-modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-zoom-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    cursor: default;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-zoom-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.image-zoom-close:hover,
.image-zoom-close:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Image Zoom Navigation Buttons */
.image-zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #f1f1f1;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;
    display: none; /* Hidden by default, shown by JavaScript when multiple images */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 0;
    margin: 0;
}

.image-zoom-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.image-zoom-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.image-zoom-prev {
    left: 30px;
}

.image-zoom-next {
    right: 30px;
}

.image-zoom-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.image-zoom-nav:disabled:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1);
}

.image-zoom-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    font-size: 18px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 80%;
}

/* Make zoomable images have pointer cursor on desktop only */
@media (min-width: 769px) {
    .zoomable-image {
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .zoomable-image:hover {
        transform: scale(1.02);
    }
}

/* Mobile zoom functionality */
@media (max-width: 768px) {
    .zoomable-image {
        cursor: pointer !important;
    }

    .image-zoom-content {
        max-width: 95%;
        max-height: 85%;
    }

    .image-zoom-close {
        top: 15px;
        right: 15px;
        font-size: 32px;
        width: 40px;
        height: 40px;
    }

    .image-zoom-nav {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .image-zoom-prev {
        left: 15px;
    }

    .image-zoom-next {
        right: 15px;
    }

    .image-zoom-caption {
        bottom: 15px;
        font-size: 14px;
        padding: 8px 16px;
        max-width: 90%;
    }
}

/* iPad Pro Portrait Orientation Fix - Prevent image-zoom-description overflow */
@media (max-width: 1024px) and (min-width: 768px) and (orientation: portrait) {
    .image-zoom-modal {
        overflow-y: auto;
        padding: 20px;
    }

    .image-zoom-dialog {
        width: 95% !important;
        max-width: 900px !important;
        height: auto !important;
        max-height: 90vh !important;
        padding: 24px !important;
    }

    .image-zoom-body {
        flex-direction: column !important;
        flex: 1 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .image-zoom-media {
        flex: 0 0 auto !important;
    }

    .image-zoom-image {
        height: 420px !important;
        max-height: 40vh !important;
    }

    .image-zoom-info {
        flex: 1 !important;
        min-height: 0 !important;
        max-height: none !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .image-zoom-description {
        flex: 1 !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: auto !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) and (min-width: 769px) {
    .hotels-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* Keep hamburger icon at top-right when menu opens across hotel pages */
    .hamburger {
        position: fixed;
        top: 10px;
        right: 5%;
        z-index: 300;
    }

    /* Enlarge top-level nav items in hamburger menu */
    .nav-menu.active .nav-links > li > a {
        color: black !important;
        font-weight: normal !important;
        font-size: 19px; /* bigger text */
        padding: 12px 18px; /* bigger tap area */
    }

    /* Larger dropdown items */
    .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;
    }
    .hotels-grid-container {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 10px;
    }
    
    .hotel-item {
        width: 100% !important;
        max-width: 95% !important;
        margin: 0 auto !important;
    }

    .hotel-item > div[style*="width: 430px"],
    .hotel-item > div[style*="width: 500px"] {
        width: 100% !important;
        max-width: 430px !important;
        margin: 0 auto !important;
    }

    /* Description adjustments for mobile */
    .resort-description {
        font-size: 0.95rem !important;
    }
    
    /* Hotel cards on mobile - remove card container */
    .hotel-item > div[style*="padding: 30px"] {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 10px !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    /* Reorder: Title, Image, then Description on mobile */
    .hotel-item > div[style*="padding: 30px"] .hotel-actions {
        order: 1;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    .hotel-item > div[style*="padding: 30px"] > .side-image {
        order: 2;
        margin-bottom: 15px;
        width: 100% !important;
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
        flex: none !important;
    }

    .hotel-item > div[style*="padding: 30px"] > .side-image .slideshow-container,
    .hotel-item > div[style*="padding: 30px"] > .side-image .slideshow-container .slide,
    .hotel-item > div[style*="padding: 30px"] > .side-image .slideshow-container .slide img {
        width: 100% !important;
        height: 100% !important;
        min-height: 280px !important;
        max-height: 280px !important;
        object-fit: cover !important;
    }
    
    /* Image animations disabled on mobile - only titles animate */
    .hotels-grid-container .hotel-item:first-child .side-image {
        animation: none;
    }
    
    /* Other hotel images - no animation */
    .hotel-item.scroll-animate-in .side-image {
        animation: none;
    }
    
    /* Image zoom in animation */
    @keyframes fadeZoomIn {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    
    .hotel-item > div[style*="padding: 30px"] > .hotel-title-wrapper {
        order: 3;
        margin-bottom: 20px !important;
        margin-top: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Description animations disabled on mobile - only titles animate */
    .hotels-grid-container .hotel-item:first-child > div[style*="padding: 30px"] > div[style*="margin-bottom:-15px"],
    .hotels-grid-container .hotel-item:first-child > div[style*="padding: 30px"] > div[style*="max-height: 100px"] {
        animation: none;
    }
    
    /* Other hotel descriptions - no animation */
    .hotel-item.scroll-animate-in > div[style*="padding: 30px"] > div[style*="margin-bottom:-15px"],
    .hotel-item.scroll-animate-in > div[style*="padding: 30px"] > div[style*="max-height: 100px"] {
        animation: none;
    }
    
    /* Description slide up animation */
    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Add button on mobile */
    .add-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    /* Title on mobile - allow wrapping */
    .hotel-item h2[style*="font-family"] {
        font-size: 1.2rem !important;
        white-space: normal !important;
        text-align: center !important;
        display: block !important;
    }
    
    /* First hotel title animates on load */
    .hotels-grid-container .hotel-item:first-child h2[style*="font-family"] {
        animation: slideInFromLeft 1s ease-out;
        animation-fill-mode: both;
    }
    
    /* Other hotel titles animate on scroll */
    .hotel-item.scroll-animate-in h2[style*="font-family"] {
        animation: slideInFromLeft 0.8s ease-out;
        animation-fill-mode: both;
    }
    
    /* Keyframe for title slide in from left - more noticeable */
    @keyframes slideInFromLeft {
        0% {
            opacity: 0;
            transform: translateX(-100px);
        }
        60% {
            transform: translateX(10px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* First hotel visible on load */
    .hotels-grid-container .hotel-item:first-child {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Other hotels visible immediately - no container animation */
    .hotels-grid-container .hotel-item:not(:first-child) {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Container animation disabled - only title animates */
    .hotel-item.scroll-animate-in {
        animation: none;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Description container on mobile */
    .hotel-item div[style*="max-height: 100px"] {
        max-height: 150px !important;
    }
    
    /* Action buttons on mobile */
    .btn-success, .btn-danger {
        font-size: 0.85rem !important;
        padding: 6px 12px !important;
    }
    
    .content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .normal-layout,
    .reverse-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .normal-layout .side-image,
    .reverse-layout .side-image {
        order: 1;
    }
    
    .normal-layout .resort-info,
    .reverse-layout .resort-info {
        order: 2;
    }
    
    .resort-info h1 {
        font-size: 2rem;
    }
    
    .main-image {
        height: 200px;
        font-size: 18px;
    }
    
    .side-image {
        width: 100% !important;
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
    }
    
    .hotel-item {
        border-bottom: none;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .hotel-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .action-buttons {
        margin-left: 10px;
    }

    .add-hotel-top-right {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px 0;
        text-align: center;
    }

    .add-hotel-top-right .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .add-hotel-under-breadcrumb {
        margin-top: 10px;
    }

    .add-hotel-under-breadcrumb .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Move breadcrumb to top left on mobile */
    .breadcrumb-overlay {
        left: 10px;
        right: auto;
        top: 10px;
        bottom: auto;
        padding: 8px 12px;
    }
    
    /* Smaller breadcrumb text on mobile */
    .breadcrumb-text,
    .breadcrumb-link,
    .breadcrumb-separator,
    .breadcrumb-current {
        font-size: 0.80rem !important;
    }
 
    /* Hide welcome admin on mobile */
    .welcome-admin {
        display: none !important;
    }
    
    /* Reduce Hotel & Resort title size on mobile with animation */
    .hotel-resort-header {
        margin: 30px auto 20px !important;
        padding: 0 12px !important;
    }

    .hotel-resort-title {
        font-size: 32px !important;
    }
    
    @keyframes bounceInTitle {
        0% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.3);
        }
        50% {
            transform: translate(-50%, -50%) scale(1.1);
        }
        100% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Image Zoom Dialog Styles - Matching Attraction Pages */
.image-zoom-dialog {
    background: white !important;
    color: #666 !important;
    font-family: 'Montserrat', sans-serif !important;
}

.image-zoom-dialog * {
    color: white !important;
    font-family: 'Montserrat', sans-serif !important;
}

.image-zoom-title {
    font-family: 'Montserrat', sans-serif !important;
    color: #1a1a1a !important;
    margin-bottom: 18px !important;
    padding-bottom: 12px !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: white !important;
}