html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url('photography services page images/FSB.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.overlay-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    
    height: auto;
}

.hero-container img {
    max-width: 300px; /* Fixed width of 300 pixels */
    height: auto; /* Maintain aspect ratio */
    position: absolute; /* Positioned relative to the hero section */
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center horizontally and vertically */
    filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.933));
}

.text-overlay {
    position: absolute;
    top: 78%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
    padding: 0 10px;
    z-index: 11;
    background-color: #000000a3;
}

.text-overlay h1 {
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2;
    padding: 0 40px;
    margin: 0 auto;
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.933));
}

.text-overlay p {
    font-size: 1.5em;
    font-weight: normal;
    margin-top: 0;
    padding-left: 50px;
    padding-right: 50px;
}


.film-video-section {
    padding: 30px;
    background-color: #151515;
    color: #fff;
    min-height: 600px; /* Ensure at least 600px height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-content h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.video-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    width: 90vw; /* Adjust as needed */
    
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.film-service-section {
    background-color: #151515; /* Set the section background to green */
    padding: 50px 0; /* Add padding to the top and bottom */
}

/* Styling for the form */
.film-service-form {
    background-color: #222; /* Set the background color */
    padding: 30px; /* Add padding around the form */
    margin: 30px auto; /* Center the form horizontally */
    width: 80%; /* Make the form responsive */
    max-width: 600px; /* Prevent the form from becoming too wide */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Optional shadow for depth */
    color: #fff; /* Text color */
}

.film-service-form h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center; /* Center the heading */
}

.film-service-form label {
    display: block;
    font-size: 1em;
    margin-bottom: 5px;
}

.film-service-form input,
.film-service-form textarea {
    width: 100%; /* Full width */
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box; /* Ensure padding does not exceed width */
}

.film-service-form button {
    width: 100%; /* Full width */
    padding: 12px;
    background-color: #ffcc00; /* Button background color */
    color: #000; /* Button text color */
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.film-service-form button:hover {
    background-color: #000;
    color: #ffcc00;
}

/* Responsive Styles */
@media (max-width: 764px) {
    .menu-toggle {
        display: flex;
        padding-right: 20px;
    }

    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.85);
        flex-direction: column;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    nav ul.show {
        opacity: 1;
        visibility: visible;
    }

    .text-overlay {
        width: 90%;
    }

    .text-overlay h1 {
        font-size: 2em;
        padding: 0 10px;
    }

    .text-overlay p {
        font-size: 1.25em;
    }
}

@media (max-width: 520px) {
    .hero-banner {
        max-height: 550px;
    }

    .hero-banner img {
        max-height: 200px;
        width: auto;
        object-position: bottom center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .overlay-image {
        height: 500px;
    }

    .text-overlay {
        width: calc(100% - 40px);
        
        box-sizing: border-box;
    }

    .text-overlay h1 {
        font-size: 1.7em;
        margin: 0 auto;
        padding: 0 50px;
    }

    .text-overlay p {
        font-size: 20px;
        
    }

    .film-video-section {
        min-height: 200px;
    }
    
   
}

