:root {
    --primary-bg: #fff;
    --yellow: #f3c77c;
    --black-bg: #000000;
    --white-bg: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.5); /* Adjust the overlay color and opacity as needed */
}

@font-face{
    font-family: Adler;
    src:url(Adler.ttf);
}

h1, h2{
    font-family: Adler;
}

p{
    font-family: "arial";
}

/* Navigation Bar */
::-webkit-scrollbar {
    display: none;
}

#main {
    width: 100%;
    position: relative;
    background-color: var(--black-bg);
    overflow-x: hidden;
    min-height: 100%;
}

header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1; /* Ensure header is above the cover section */
}

.hamburger {
    display: none;
    padding: 0;
}

.hamburger-box {
    width: 30px;
}

.hamburger-inner::before {
    display: none;
}

.hamburger-inner,
.hamburger-inner::after {
    background: var(--primary-bg) !important;
    border-radius: 0px !important;
    height: 2px;
    width: 30px;
    transition-duration: 0.3s !important; /* Adjusted to 0.2s for faster appearance */
    transition-timing-function: ease-in-out !important;
}

#menu {
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: center;
    justify-content: right;
    list-style: none;
    width: 100%;
    padding-inline: 20px;
    margin-top: 1em;
    position: relative;
    font-family: Adler, sans-serif; /* Apply font-family to the entire menu */
}

#menu li {
    position: relative; /* Important for absolute positioning of hover image */
}

/* Navigation Bar */
#menu li a {
    font-family: 'Adler', serif !important; /* Added !important to ensure application */
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    color: var(--primary-bg);
    overflow: hidden; /* Ensure the pseudo-element does not overflow */
}

#menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px; /* Adjust the height of the underline */
    background-color: var(--white-bg);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.1s ease;
}

#menu li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.link-text {
    position: relative; /* Maintain normal flow */
    z-index: 1; /* Ensure text is above the hover image */
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Adjust as needed */
    height: 100%; /* Adjust as needed */
    object-fit: cover; /* Cover the container */
    opacity: 0; /* Hide the image by default */
    transition: opacity 0.3s ease;
    z-index: 2; /* Ensure the image is behind the text */
}

#menu li a:hover .hover-image {
    opacity: 1; /* Show the image on hover */
}


/* Mobile Navigation */
#responsive_menu {
    display: none; /* Hide by default */
    position: absolute;
    top: 100%;
    right: -100%;
    width: 100%;
    height: 100dvh;
    background: var(--black-bg);
    padding: 24px;
    z-index: 99;
}

#responsive_menu li {
    overflow-y: hidden;
    margin-block: 12px;
}

#responsive_menu .link {
    text-transform: uppercase;
    display: block;
    text-decoration: none;
    color: var(--primary-bg);
    font-size: clamp(20px, 12.5vw, 50px);
    font-family: "Open Sans", sans-serif;
}

@media screen and (max-width: 1024px) {
    #menu {
        display: none;
    }
    .hamburger {
        display: inline-block;
    }
    #responsive_menu {
        display: block; /* Show in mobile view */
    }
}

/* Mobile Nav Menu Text */
.hero_text_container {
    width: 100vw;
    min-height: 65vh; /* Change from dvh to vh for compatibility */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "arial";
    color: var(--white-bg);
    z-index: 1;
}

ul.hero_text_title {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.hero_text_title li {
    font-size: 36vw;
    font-weight: 900;
    padding-inline: 2px;
    letter-spacing: -6px;
    color: var(--yellow);
    overflow-y: hidden;
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 12px; /* Adjust padding for smaller screens */
    }
    
    #menu li a {
        font-size: 16px; /* Smaller font size for mobile */
    }

    .hero_text_container {
        min-height: 50vh; /* Adjust for mobile screens */
    }

    .hero_text_title li {
        font-size: 24vw; /* Smaller font size for hero text on mobile */
    }
}

@media screen and (max-width: 480px) {
    header {
        flex-direction: column; /* Stack header items vertically */
        align-items: flex-start;
    }

    .hero_text_title li {
        font-size: 20vw; /* Even smaller font size for very small screens */
    }
}


/* Ensure body takes full height */
body, html {
    background-color: black;
    height: 100%;
    margin: 0;
    padding: 0;
}

.cover-section {
    position: relative;
    height: 900px; 
    overflow: hidden;
    margin-top: -4em;
}

.cover-section img:first-of-type {
    width: 100%;
    height: 90%;
    object-fit: cover;
    margin-top: 6em;
}

.spin-sticker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* Adjust the size as needed */
    height: auto;
    animation: spin 60s linear infinite;
    border: none;
    box-shadow: none;
    margin-top: -16em;
    margin-left: -10em;
}

/* Center the project-details section */
.project-details-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%; /* Full height of the container */
    color: white;
}

/* Project Details */
.project-details {
    display: flex;
    justify-content: space-between;
    margin-left: 16.5em;
    margin-right: auto;
    max-width: 1200px; /* Adjust max-width as needed */
    width: 90%; /* Adjust width as needed */
    position: relative;
    margin-top: 3em;
}

/* Style for the arrow icon */
.project-details .left a {
    color: white; /* Change the color of the text (arrow) */
    text-decoration: none; /* Remove underline from the link */
    font-size: 1.5em; /* Adjust size if needed */
}

/* If you need to specifically target the arrow icon and ensure it is white */
.project-details .left a i {
    color: white; /* Ensure the icon color is white */
}

/* If you want to ensure no hover effect adds an underline */
.project-details .left a:hover {
    text-decoration: none;
}

.project-details::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-30%);
    left: calc(50% + 20px); /* Adjust the left position to move the line to the right */
    width: 1px; /* Adjust the width of the separating line */
    height: 50%; /* Adjust the height of the separating line */
    background-color: white;
    opacity: 0.5; /* Adjust opacity as needed */
}

.left, .right {
    width: 45%;
}

.left p, .left h1, .right p {
    margin-bottom: 1em; /* Adjust vertical spacing between elements */
}

.left h1 {
    margin-top: -0.5em;
    position: relative;
    display: inline-block;
}

.left h1::after {
    content: '';
    display: block;
    width: calc(100% - 20px); /* Adjust width as needed */
    height: 1px;
    background-color: white;
    opacity: 45%;
    margin-top: 0.2em; /* Adjust this value to position the line */
}

.right {
    margin-top: 7em; /* Adjust vertical spacing between sections */
    position: relative; /* Ensure relative positioning for child elements */
}

.right {
    opacity: 93%;
}

.ptitle {
    font-size: 12px;
    margin-left: 3px;
    opacity: 80%;
}

.psum {
    font-size: 18px;
    margin-top: .50em;
}

.main-t {
    font-size: 2em;
}

.cont {
    margin-top: -.65em;
}

.left h1 {
    font-size: 1.5em;
}

/* Arrow after lorem ipsum */
.left .loreum {
    position: relative;
    line-height: 1.8em; /* Increase line height */
}

.left .fas.fa-arrow-left {
    display: block;
    margin-top: 0.5em;
    font-size: 1em;
    margin-top: 2em;
}

/* Category Tags */
.tags {
    margin-top: 1em; /* Adjust top margin */
    text-align: left; 
    margin-top: 2em;
    font-family: "arial";
}

.tag {
    display: inline-block;
    color: white; /* Text color */
    padding: 0.25em 0.5em; /* Padding */
    margin-right: 0.25em; /* Margin between tags */
    border: 1px solid white; /* Border style */
    border-radius: 5px; /* Border radius */
    font-size: 0.75em; /* Font size */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.tag:nth-child(1) {
    background-color: transparent; /* Amber */
}

.tag:nth-child(2) {
    background-color: transparent; /* Blue */
}

.tag:nth-child(3) {
    background-color: transparent; /* Green */
}

.tag:hover {
    background-color: white;
    color: black;
}

/* Image Section */

.image-section {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: flex-start;
    margin: 2em auto;
    max-width: 1200px;
    width: 90%;
    padding-bottom: 50px;
}

.big-square {
    width: 20%; /* Adjust width for the big square */
    margin-top: 20em;
}

.big-square .image {
    width: 70%; /* Full width for the big image */
}

.stacked-squares {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%; /* Adjust width for the stacked squares */
    margin-top: 19em;
}

/* Make sure both poster and city mockup images are the same size */
.stacked-squares .poster-image, 
.stacked-squares .city-mockup-image {
    width: 100%;
    height: auto;
}

/* Hover effect for the images */
.stacked-squares a:hover .image {
    transform: scale(1.05); /* Slight increase in size on hover */
    transition: transform 0.3s ease;
}


/* Footer Styles */
footer {
    background-color: var(--black-bg);
    color: var(--primary-bg);
    padding: 2em 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 10em;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 0 1em;
}

.footer-section h2 {
    border-bottom: 2px solid var(--white-bg);
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    font-family: Adler, serif;
    color: var(--primary-bg); /* Ensure the heading is also white */
}

.social-links {
    list-style: none;
    display: flex;
    gap: 1em;
    padding: 0;
    margin: 0;
}

.social-links li {
    display: inline;
    margin-left: 2em;
}


.social-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover box-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.social-icon img:hover {
    opacity: 0.8;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    font-family: Adler;
    margin-left: 2em;
    line-height: 1.4em;
}

.footer-nav a {
    color: var(--primary-bg); /* Ensure all links are white */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color and transform */
}

.footer-nav a:hover {
    color: var(--yellow); /* Change color on hover */
    transform: translateY(-2px); /* Slight move up on hover */
}

.footer-bottom {
    text-align: center;
    padding: 1em 0;
    background-color: var(--black-bg);
    color: var(--primary-bg); /* Ensure the bottom text is also white */
    border-top: 1px solid var(--white-bg);
    font-size: 0.9em;
    margin-top: 1em;
    margin-bottom: -8em;
}

.footer-bottom p{
    font-size: .50em;
}
