/* --- Global Styles --- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Avenir', sans-serif;
}

h1 {
    font-family: 'Caveat Brush', cursive;
    font-size: 81px;
}

h2 {
    font-family: 'Caveat Brush', cursive;
    font-size: 81px;
}

h3{
    font-size: 40px;
}

body {
    background-color: #0b0c10;
    color: #ffffff;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

/* --- Navigation Bar --- */
nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px ;
    background: rgb(255, 255, 255, 0.15); /* Semi-transparent black */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin: 0 30px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00a8ff;
}

nav img {
    height: 80px;
}

/* --- Hero Section --- */
/* --- Fix Hero Section --- */
.hero {
    position: relative;
    width: 100vw;  /* Full screen width */
    height: 100vh; /* Full screen height */
    background-image: url("../images/home_heroimage1.webp"); /* Use image as background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    text-align: center;
}

/* Remove the <img> tag’s styling since we no longer need it */
.hero img {
    display: none;
}


.hero-content {
    position: absolute;
    top: 70%;
    left: 60%;
    transform: translate(-20%, -60%);
    text-align: center;
    color: white;
    max-width: 100%;
    padding: 4rem;
}


.hero h1 {
    font-family: 'Caveat Brush', cursive;
    font-size: 81px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;

}

.home_film_section{
    background-color: black;
}

.home_film_section h1{
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.home_film_container{
    display: flex;
    align-items: center;
    justify-content:space-around;
    background-color: black;

}

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

/* Walking Totoro Image */

.Walking_Totoro {
    display: flex;
    width: 150px;
    margin-top: 20px;
    justify-items:end;
}

/* --- Home About Section --- */
.tribute {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background-color: #0394C0;
}

.tribute-img {
    width: 50%;
    border-radius: 10px;
}

.tribute-content {
    width: 45%;
}

.about_hero-content {
    position: absolute;
    top: 70%;
    left: 20%;
    transform: translate(-20%, -60%);
    text-align: left;
    color: white;
    max-width: 35%;
    padding: 0px;
}


.about_hero h1 {
    font-family: 'Caveat Brush', cursive;
    font-size: 81px;
}

.about_hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Hayao Miyazaki Section */
.Hayao {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 50px;
    gap: 40px;
    background-color: #111;
}

.history-img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
}

.history-content {
    max-width: 600px;
}

.mononoke-img {
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
    border-radius: 10px;
}

/* Call-to-Action Section */
.cta {
    background-color: #4a90b6; /* Blue background */
    color: white;
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: space-between; /* Space between heading and text */
    padding: 50px 80px;
}

.cta h1 {
    font-size: 81px; /* Bigger heading */
    font-family: 'Caveat Brush', cursive;
    flex: 1; /* Take up half of the space */
}

.cta-content {
    flex: 1; /* Take up half of the space */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to the left */
    gap: 20px; /* Space between paragraph and button */
}

.cta p {
    font-size: 1.2rem;
    max-width: 500px;
}

.cta .btn {
    background-color: #d85757; /* Red button */
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.cta .btn:hover {
    background-color: #b84545; /* Darker red */
}

/* Make it responsive for smaller screens */
@media (max-width: 768px) {
    .cta {
        flex-direction: column;
        text-align: center;
    }

    .cta h1 {
        text-align: center;
    }

    .cta-content {
        align-items: center;
        text-align: center;
    }
}




/* General Styling */
body {
    background: linear-gradient(to bottom, #0f3b64, #62bbf5);
    color: white;
    font-family: 'Caveat Brush', cursive;
    margin: 0;
    padding: 0 ;
}

/* Page Title */

.film-section h1{ 
    text-align: center;
    margin-top: 10rem ;

}

.film-container h1 {
    text-align: left;
    font-size: 81px;
    margin-top: 50px;
}

.film-container h2 {
    text-align: right;
    font-size: 81px;
    margin-top: 50px;
}

.film-container h3{
    font-size:40px;
}



.film{
    /* turns on CSS Grid */
    display: grid;
    height: 61vh;
    width: 100%;
    padding: 3rem;
   
    /* Set up grid track template here */
    grid-template-columns: repeat(3, 1fr);



}

/* Centered Filmstrip */
.film_img{
    grid-column-start: 2; /* Always in the center */
    justify-content: center;
    align-content: center;
}

.film_img{
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

/* Alternating Text Placement */
.film_info1 {
    grid-column-start: 3; 
    grid-row-start: 1;
   
    text-align: left;

}

.film_info2 {
    grid-column-start: 1; /* Even films: Text on the left */
    grid-row-start: 1;
    text-align: right;
    margin-right: 2rem;

}

.film-bg img{
    width: 100%;
}

/* Hero Section */

.contact_hero{
    background-image: url(../images/contact_heroimage1.jpg);
    width: 100vw;
    height: 100vh;
}

.hero-text h1 {
    
    border-radius: 10px;
    padding-top: 40rem;
    text-align: center;
    justify-content: center;
}

.hero-text p{
    text-align: center;
    justify-content: center;

}

/* Contact Form Section */
.contact-form {
    text-align: center;
    padding: 5rem;
    background-color: black;
}

form {
    width: 100%;
    height: 80%;
    text-align:left;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    padding-top: 8rem;
    


}

.form-group {
    width: 100%;
    margin-bottom: 15px;

}

input, textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
 
    color: white;
}
 .custom-divider{
    color: white;
 }




/* Button styling */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e91e63;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
}

.btn:hover {
    background: #9b1441;
}


/* --- Footer --- */
footer {
    background: #222;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    height: 40px;
}

.social-links a img {
    width: 30px;
    margin: 0 10px;
    transition: transform 0.3s;
}

.social-links a img:hover {
    transform: scale(1.2);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 28px;
    }

    .tribute {
        flex-direction: column;
        text-align: center;
    }

    .tribute-img, .tribute-content {
        width: 100%;
    }

    section ul {
        flex-direction: column;
    }
}
