/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #1A365F;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 2rem;
}

.nav-logo-img {
    max-height: 50px; /* Adjust this value as needed */
    width: auto;
}

/* Hamburger menu button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    margin-left: 1rem;
}
.hamburger {
    width: 28px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    transition: right 0.3s ease, opacity 0.3s ease;
}

/* Contact Actions */
.nav-contact-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: auto;
}

.nav-phone-pill {
    display: flex;
    align-items: center;
    background: #87CEEB;
    color: #1A365F;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    border: 2px solid #87CEEB;
}

.nav-phone-pill:hover {
    background: #1A365F;
    color: #87CEEB;
    transform: translateY(-2px);
}

.nav-phone-pill:hover .nav-phone-icon svg path {
    fill: #87CEEB;
}

.nav-phone-icon {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}

.nav-book-btn {
    background-color: #1A365F;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid white;
    transition: all 0.2s ease;
}

.nav-book-btn:hover {
    background-color: #87CEEB;
    color: #1A365F;
    border-color: #87CEEB;
    transform: translateY(-2px);
}
/* Responsive Navigation */
@media (max-width: 900px) {
    .nav-container {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        flex-direction: column;
        position: fixed;
        top: 60px;
        right: -100vw;
        width: 220px;
        background: #1A365F;
        height: calc(100vh - 60px);
        gap: 1.5rem;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        box-shadow: -2px 0 8px rgba(0,0,0,0.08);
        z-index: 1050;
        opacity: 0;
        pointer-events: none;
        transition: right 0.3s ease, opacity 0.3s ease;
    }
    .nav-menu.active {
        right: 0;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-logo {
        margin-right: 0;
    }
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #87CEEB;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    margin-top: 60px;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: white;
    background: rgba(26, 54, 95, 0.7);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #87CEEB;
    color: #1A365F;
}

.btn-primary:hover {
    background-color: #5aa9d6;
    transform: translateY(-2px);
}

/* External link indicator for buttons 
.btn-primary[target="_blank"]::after {
    content: " ↗";
    font-size: 0.9em;
    margin-left: 0.25em;
    vertical-align: super;
}
*/
.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1A365F;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1A365F;
}

.timeline {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.timeline-step {
    text-align: center;
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: #87CEEB;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.timeline-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1A365F;
}

.timeline-step p {
    color: #666;
}

/* Trailers Section */
.trailers {
    padding: 5rem 0;
}

.trailers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1A365F;
}

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

.trailer-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.trailer-card:hover {
    transform: translateY(-5px);
}

.trailer-images {
    height: 200px;
    overflow: hidden;
}

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

.trailer-details {
    padding: 1.5rem;
}

.trailer-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1A365F;
}

.trailer-details p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Footer */
.footer {
    background-color: #1A365F;
    color: white;
    padding: 2rem 0;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #87CEEB;
}

.footer-section ul {
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.25rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #87CEEB;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 1rem;
    color: white;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    margin-top: 60px;
}

.faq h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1A365F;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1A365F;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    margin-top: 60px;
}

.contact h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1A365F;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    margin-top: 3rem;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1A365F;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-contact-actions {
        display: none;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timeline {
        flex-direction: column;
        gap: 3rem;
    }

    .trailers-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Search and Filter */
.search-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-input, .filter-select {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-input {
    flex: 1;
    min-width: 200px;
}

.filter-select {
    min-width: 150px;
}

/* Service Area Section */
.service-area {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.service-area h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1A365F;
}

.service-area p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.locations-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.location-pill {
    background-color: #87CEEB;
    color: #1A365F;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #87CEEB;
    transition: all 0.3s ease;
}

.location-pill:hover {
    background-color: #1A365F;
    color: #87CEEB;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service-note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 1rem;
}

/* Booking Form */
.booking {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.booking .container {
    text-align: center;
}

.service-area .container {
    text-align: center;
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1A365F;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #87CEEB;
}

/* Error Notification */
.error-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff4757;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10000;
    max-width: 300px;
}

.error-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-icon {
    font-size: 1.2rem;
}

.error-message {
    flex: 1;
}

.error-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

/* Fluid typography */
html {
    font-size: 16px;
}

@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 20px;
    }
}

/* Trailers Detail Page Styles */
.trailers-header {
    background-color: #f8f9fa;
}

.trailers-detail {
    padding: 2rem 0;
}

.trailers-detail .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.trailer-detail-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.trailer-detail-images {
    position: relative;
    display: flex;
    flex-direction: column;
}

.trailer-image-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.trailer-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}

.image-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    color: #1A365F;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.trailer-thumbnails {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding: 5px;
}

.trailer-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.trailer-thumbnail:hover,
.trailer-thumbnail.active {
    border-color: #87CEEB;
}

.trailer-detail-content {
    padding: 2rem;
    padding-top: 1rem;
}

.trailer-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1A365F;
    margin-top: 0;
    padding-top: 0.5rem;
    border-top: none;
}

.trailer-specs, .trailer-features, .trailer-pricing {
    margin-bottom: 1.5rem;
}

.trailer-specs h3, .trailer-features h3, .trailer-pricing h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1A365F;
}

.trailer-specs ul, .trailer-features ul {
    list-style: none;
    padding-left: 0;
}

.trailer-specs li, .trailer-features li {
    margin-bottom: 0.25rem;
    color: #666;
}

.trailer-pricing p {
    font-size: 1.1rem;
    color: #1A365F;
    margin-bottom: 0.5rem;
}

/* Responsive design for trailers detail */
@media (max-width: 768px) {
    .trailers-detail .container {
        grid-template-columns: 1fr;
        gap: 1.5rem; /* Increased gap between trailer cards */
    }
    
    .trailer-detail-card {
        grid-template-columns: 1fr;
        margin-bottom: 2rem; /* Added margin to separate cards */
    }
    
    .trailer-main-image {
        height: 200px;
    }
    
    .trailer-detail-images {
        margin-bottom: 2rem; /* Increased space to prevent overlap with content */
        position: relative;
        z-index: 1; /* Ensure images stay above other content */
    }
    
    .trailer-thumbnails {
        margin-top: 15px;
        padding-bottom: 5px;
        overflow-x: auto;
        white-space: nowrap; /* Prevent thumbnails from wrapping */
    }
    
    .trailer-detail-content {
        padding: 1.5rem;
        padding-top: 0;
        position: relative;
        z-index: 2; /* Ensure content is above images if needed */
    }
    
    .trailer-detail-content h2 {
        font-size: 1.8rem;
        margin-top: 0;
        margin-bottom: 1.5rem; /* Increased margin for better spacing */
        padding-top: 0;
    }
    
    /* Prevent any absolute positioning issues */
    .trailer-detail-card * {
        position: static; /* Reset any absolute positioning that might cause overlap */
    }
}

/* Additional mobile-specific styles for very small screens */
@media (max-width: 480px) {
    .trailer-detail-images {
        margin-bottom: 1.5rem;
    }
    
    .trailer-thumbnails {
        margin-top: 10px;
    }
    
    .trailer-detail-content {
        padding: 1rem;
    }
    
    .trailer-detail-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1A365F;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #0f2a4a;
    transform: scale(1.1);
}

.back-to-top.show {
    display: flex;
}
/* Contact Page Layout */
.contact-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.contact-content .contact-form {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
}

.contact-content .contact-form iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-content .contact-urgent {
    flex: 0 0 300px;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: auto;
}

.contact-content .contact-urgent h3 {
    color: #1A365F;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-content .contact-urgent p {
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.contact-content .contact-urgent strong {
    color: #1A365F;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-content .contact-urgent {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .contact-content .contact-form iframe {
        height: 1500px;
    }
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    margin-top: 60px;
    background-color: #f8f9fa;
}

.gallery h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1A365F;
}

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

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

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery h1 {
        font-size: 2rem;
    }
    
    .gallery-intro {
        font-size: 1rem;
    }
}

/* Lightbox Modal Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.lightbox-close:hover {
    color: #87CEEB;
}

/* Lightbox Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #1A365F;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive Design for Lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-close {
        top: -30px;
        right: -10px;
        font-size: 2rem;
    }
    
    .lightbox-caption {
        font-size: 1rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}