/* PAGESTYLE.CSS - Page-Specific Styles Only */

/* PAGE-SPECIFIC HERO BACKGROUNDS */
.hero-section {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-booking {
    background-image: url('image/bookus.jpg');
}

.hero-contact {
    background-image: url('image/contact.jpg');
}

.hero-gallery {
    background-image: url('image/gallery.jpg');
}

.hero-packages {
    background-image: url('image/packages.jpg');
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.0);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 3rem 0;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

/* BOOKING FORM */
.booking-form {
    padding: 4rem 1rem;
    background-color: #f5f8fb;
}

.booking-form .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1A374D;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    text-align: center;
    width: 100%;
}

.booking-form form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease;
}

.booking-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a374d;
    margin-bottom: 0.4rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1.4rem;
    border-radius: 4px;
    border: 1px solid #ccd6dd;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.booking-form ::placeholder {
    color: #9aa7b2;
    font-size: 0.85rem;
}

.booking-form textarea {
    min-height: 120px;
    resize: vertical;
}

.booking-form .honeypot {
    display: none;
}

.booking-form-error {
    color: #e63946;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

/* Optional - make required fields more visible */
input[required], select[required], textarea[required] {
    border-left: 3px solid #f4a261;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* GALLERY SECTION */
.gallery-section {
    padding: 70px 0;
    background: #fff;
}

.gallery-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1A374D;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    text-align: center;
    width: 100%;
}

.gallery-section .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1A374D;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 400px;
    flex: 1 1 calc(33.333% - 17px);
    min-width: 320px;
    max-width: 450px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    animation: gallerySlide 16s infinite;
}

.gallery-item img:nth-child(1) {
    animation-delay: 0s;
}

.gallery-item img:nth-child(2) {
    animation-delay: 4s;
}

.gallery-item img:nth-child(3) {
    animation-delay: 8s;
}

.gallery-item img:nth-child(4) {
    animation-delay: 12s;
}

.gallery-item:hover img {
    animation-play-state: paused;
}

@keyframes gallerySlide {
    0% {
        opacity: 0;
    }
    6.25% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    31.25% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 20px;
    background: linear-gradient(to top, rgba(26, 55, 77, 0.95) 0%, rgba(26, 55, 77, 0.7) 50%, rgba(0, 0, 0, 0) 100%);
    color: white;
    z-index: 2;
}

.gallery-item .overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-item .overlay p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    bottom: 70px;
    right: 20px;
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    z-index: 3;
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 70px;
    right: 20px;
    width: 10px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    z-index: 3;
    animation: indicatorMove 16s infinite;
}

@keyframes indicatorMove {
    0%, 25% {
        width: 10px;
    }
    25.1%, 50% {
        width: 20px;
    }
    50.1%, 75% {
        width: 30px;
    }
    75.1%, 100% {
        width: 40px;
    }
}

/* TOUR PACKAGES */
.tour-details-section {
    padding: 70px 0;
    text-align: center;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #B1D0E0;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.intro-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tour-card {
    margin-bottom: 4rem;
}

.tour-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2.5rem;
}

.tour-gallery {
    display: flex;
    gap: 12px;
    margin: 1rem 0;
}

.tour-gallery img {
    flex: 1;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.tour-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tour-card p {
    margin: 1rem 0;
    color: #666;
    line-height: 1.8;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ITINERARY MODAL */
.itinerary-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.itinerary-modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #212529;
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1A374D;
}

.itinerary-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.itinerary-item:last-child {
    border-bottom: none;
}

.itinerary-time {
    font-weight: 700;
    color: #1A374D;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.itinerary-description {
    color: #666;
    line-height: 1.8;
}