/* Gallery Hero Section */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/gallery-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding-top: 70px; /* Account for fixed header */
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.gallery-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-hero p {
    font-size: 1.2rem;
}

/* Video Gallery Section */
.video-gallery {
    padding: 5rem 10%;
    background: #000;
}

.video-gallery h2 {
    color: #FFD700;
    margin-bottom: 3rem;
    text-align: center;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-item {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.video-item iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.video-info {
    padding: 1.5rem;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
}

.video-info h3 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #fff;
    opacity: 0.9;
}

/* Photo Gallery Section */
.photo-gallery {
    padding: 5rem 10%;
    background: #1a1a1a;
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 2rem;
}

.photo-gallery h2 {
    color: #FFD700;
    margin-bottom: 3rem;
    text-align: center;
}

.photo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.photo-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    color: #FFD700;
}

.photo-info h3 {
    margin-bottom: 0.5rem;
}

/* Featured Tours Section */
.featured-tours {
    padding: 5rem 10%;
    background: #000;
}

.featured-tours h2 {
    color: #FFD700;
    margin-bottom: 3rem;
    text-align: center;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tour-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.tour-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tour-info {
    padding: 1.5rem;
    background: #1a1a1a;
}

.tour-info h3 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.tour-info p {
    color: #fff;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.book-now {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #FFD700;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.book-now:hover {
    background: #FFA500;
    transform: translateY(-2px);
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 0;
    right: 50px;
    width: 350px;
    height: 500px;
    background: #1a1a1a;
    border-radius: 10px 10px 0 0;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.chatbot-container.active {
    display: flex;
}

.chatbot-header {
    padding: 1rem;
    background: #000;
    border-bottom: 2px solid #FFD700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.chatbot-header h3 {
    color: #FFD700;
    margin: 0;
    font-size: 1.2rem;
}

.chatbot-header::before {
    content: 'Online';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #4CAF50;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: #FFD700;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.chatbot-close:hover {
    color: #FFA500;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    margin: 0.5rem 0;
    word-wrap: break-word;
}

.message.user {
    background: #FFD700;
    color: #000;
    align-self: flex-end;
    margin-left: auto;
}

.message.bot {
    background: #1a1a1a;
    color: #FFD700;
    align-self: flex-start;
    margin-right: auto;
}

.message p {
    margin: 0;
    font-size: 0.9rem;
}

.chatbot-input {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    background: #000;
    border-top: 2px solid #FFD700;
}

.chatbot-input input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: #1a1a1a;
    color: #FFD700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.chatbot-input input:focus {
    outline: none;
    background: #2a2a2a;
}

.chatbot-input button {
    padding: 0.8rem 1.5rem;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.chatbot-input button:hover {
    background: #FFA500;
    transform: translateY(-2px);
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 50px;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.chatbot-toggle:hover {
    background: #FFA500;
    transform: scale(1.1);
}

.chatbot-toggle i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.chatbot-toggle span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .gallery-hero {
        height: 300px;
    }

    .gallery-hero h1 {
        font-size: 2rem;
    }

    .video-container,
    .photo-container,
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .chatbot-container {
        width: 100%;
        right: 0;
        border-radius: 10px 10px 0 0;
    }

    .chatbot-toggle {
        right: 20px;
        bottom: 10px;
    }

    .message {
        max-width: 90%;
    }
}

/* Side Tray Styles */
.side-tray {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    visibility: hidden;
    overflow-y: auto;
}

.side-tray.active {
    right: 0;
    visibility: visible;
}

.tray-content {
    display: none;
    padding: 20px;
}

.tray-content.active {
    display: block;
}

.tray-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tray-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

.close-tray {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.close-tray:hover {
    color: #333;
}

/* Tour Options Styles */
.tour-options {
    display: grid;
    gap: 20px;
}

.tour-option {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.tour-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tour-option h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.tour-option p {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.4;
}

.tour-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tour-features li {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9em;
}

.tour-features i {
    color: #FFD700;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-section {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.dropdown-section:last-child {
    border-bottom: none;
}

.dropdown-section h4 {
    margin: 0 0 10px 20px;
    color: #666;
    font-size: 0.9em;
    text-transform: uppercase;
}

/* Gallery Responsive Styles */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
        padding: 10px;
    }
    
    .gallery-filters {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 24px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
    }
    
    .gallery-item:hover img {
        transform: none;
    }
}

/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #fff;
    padding: 4rem 0 0;
    margin-top: 4rem;
    border-top: 3px solid #FFD700;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-section h4 {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #FFD700;
}

.footer-about p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    border-radius: 50%;
    color: #FFD700;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-links a:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Quick Links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links ul li a i {
    font-size: 0.7rem;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.footer-links ul li a:hover {
    color: #FFD700;
    padding-left: 0.5rem;
}

.footer-links ul li a:hover i {
    transform: translateX(3px);
}

/* Contact Info */
.footer-contact .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact .contact-info li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.footer-contact .contact-info li i {
    color: #FFD700;
    font-size: 1.2rem;
    min-width: 20px;
    margin-top: 0.2rem;
}

.footer-contact .contact-info li div {
    flex: 1;
}

.footer-contact .contact-info li strong {
    display: block;
    color: #FFD700;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-contact .contact-info li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-contact .contact-info li a:hover {
    color: #FFD700;
}

.footer-contact .contact-info li span {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Newsletter */
.footer-newsletter p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.newsletter-form .input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    padding: 0.9rem 1.5rem;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.newsletter-form button:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.newsletter-form small {
    color: #999;
    font-size: 0.8rem;
    display: block;
    font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom-content p {
    margin: 0;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: #FFD700;
}

.footer-bottom-links span {
    color: #666;
}

.powered-by {
    font-size: 0.85rem;
}

.powered-by a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.powered-by a:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-bottom-content {
        gap: 0.8rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom-links span {
        display: none;
    }
}