/* global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #fff;
    background-color: #000;
    scroll-behavior: smooth;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* header and navigation section */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 30px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

/* hero section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.book-now-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background-color 0.3s, color 0.3s;
}

/* Buffer image section */
.collage-section {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.collage-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}

.quote-overlay {
    position: absolute;
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    padding: 20px;
    max-width: 80%;
    font-style: italic;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}


/* Portfolio section */
.portfolio-section {
    background-color: #000;
}

.video-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    grid-auto-rows: 30vh; 
    width: 100%;
    font-size: 0; 
}

.grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block; 
}

.grid-item .thumbnail {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); 
    transition: filter 0.3s;
    min-height: 100%;
}

.grid-item:hover .thumbnail {
    filter: brightness(0.9);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 40px;
    opacity: 0.8;
    z-index: 5;
    pointer-events: none;
}

.full-width {
    grid-column: span 4;
    grid-row: span 2;
}

.half-width {
    grid-column: span 2;
    grid-row: span 1;
}

.quarter-width {
    grid-column: span 1;
    grid-row: span 1;
}


/* About section */
.about-section {
    padding: 100px 50px;
    background-color: #f5f5f5; 
    color: #000; 
}

.about-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1.5; 
    font-weight: 400;
    order: 1; 
}

.about-image-container {
    flex: 1; 
    max-width: 400px;
    height: 500px; 
    overflow: hidden;
    order: 2; 
}

.about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 0;
    color: #000; 
    background-color: #fff;
    overflow: hidden;
}

.contact-form-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    z-index: 2;
}

.contact-text-and-form {
    flex: 1.5; 
    padding: 20px 50px;
    background-color: #fff;
    z-index: 3;
}

.contact-info-text {
    margin-bottom: 30px;
    max-width: 450px;
    font-size: 16px;
    line-height: 1.8;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0px; 
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd; 
    background-color: #f9f9f9; 
    font-size: 16px;
}

.send-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
}

.contact-image-overlay {
    flex: 1;
    position: relative; 
    height: 100%;
    min-height: 500px; 
    z-index: 1; 
    overflow: hidden;
}

.contact-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) grayscale(100%); 
}

/* Footer */
footer {
    padding: 20px 50px;
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
}

.social-links a {
    font-size: 24px;
    margin-left: 15px;
    color: #000;
}


.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; 
    background-color: rgba(0,0,0,0.95); 
    cursor: default;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: auto;
    max-height: 90vh;
}


.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
}



.faq-section {
    background-color: #fff;
    color: #000;
    padding-top: 80px;
}

.faq-hero {
    position: relative;
    height: 50vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.faq-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    position: absolute;
    z-index: 1;
}

.faq-hero h1 {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 4vw;
    text-transform: uppercase;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.faq-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 30px;
}

.faq-group {
    margin-bottom: 50px;
}

.faq-group h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.faq-group p {
    font-size: 16px;
    margin-bottom: 15px;
}

.faq-group-two-col {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.faq-col {
    flex: 1;
}

.booking-steps {
    display: flex;
    gap: 50px;
}

.booking-steps ol {
    flex: 1;
    list-style: none;
    counter-reset: step-counter; 
    padding-left: 0;
}

.booking-steps ol li {
    counter-increment: step-counter; 
    position: relative;
    padding: 0 0 25px 50px;
    font-size: 16px;
    line-height: 1.4;
}

.booking-steps ol li::before {
    content: counter(step-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}


/* Media queries */
@media (max-width: 1000px) {
    .contact-form-container {
        flex-direction: column;
    }
    
    .contact-image-overlay {
        width: 100%;
        height: 300px;
        min-height: 0; 
        order: -1;
    }
    
    .contact-text-and-form {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image-container {
        order: -1; 
        margin-bottom: 30px;
        max-width: 100%;
        height: 300px;
    }

    .faq-group-two-col, .booking-steps {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 500px) {
    .video-grid {
        grid-auto-rows: 25vh;
    }
    .full-width, .half-width, .quarter-width {
        grid-column: span 4;
        grid-row: span 1;
    }

    nav ul {
        gap: 10px;
    }
    .faq-hero h1 {
        font-size: 8vw;
    }
}