html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    box-sizing: border-box;
    margin: 0;
    font-family: 'Futura PT', sans-serif;
    background-color: #31302e;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden; /* Hide horizontal scroll if still present */
}

*, *::before, *::after {
    box-sizing: inherit;
}

.container {
    width: 100%;
    max-width: 2046px; /* Re-added for adaptive fit */
    margin: 0 auto; /* Re-added for adaptive fit */
    padding-left: 4rem;
    padding-right: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box; /* Ensures padding is included in the width */
}

header {
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(32px);
    padding: 0.5rem 4rem;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 2000;
}

header > .container {
    padding-left: 0;
    padding-right: 0;
}

header .logo {
    font-family: 'Futura PT', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 24px;
}

header .logo a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

header .logo img {
    height: 48px;
    width: auto;
}

header .navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header .navigation li {
    margin: 0 20px;
}

header .navigation a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Futura PT', sans-serif;
    font-weight: 300;
    font-size: 16px;
    position: relative; /* Added for pseudo-element positioning */
}

header .navigation a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: white;
    left: 50%; /* Start from center */
    bottom: -2px;
    transform: translateX(-50%); /* Center the underline */
    transition: width 0.5s ease-out; /* Animation duration */
}

header .navigation a:hover::after {
    width: 100%; /* Expand to full width on hover */
}

header .navigation {
    margin-left: auto; /* Pushes navigation to the right */
    margin-right: auto; /* Pushes navigation to the left, effectively centering it */
}

.call-to-action {
    font-family: 'Futura PT', sans-serif;
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    padding-right: 0;
    cursor: pointer;
}

.buy-design-button {
    cursor: pointer;
    user-select: none;
}

.buy-design-button:hover {
    opacity: 0.8;
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
}

.image-container .img-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-container .img-slide.active {
    opacity: 1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.fullscreen-text-container {
    width: 100%;
    text-align: center;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 200; /* Higher than image-container's z-index */
}

.fullscreen-text {
    font-size: 20vw;
    letter-spacing: -0.05em;
    font-family: 'Futura PT', sans-serif;
    font-weight: 600;
    line-height: 0.7;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 20px;
    margin: 0 -40px;
}

@media (max-width: 768px) {
    .fullscreen-text {
        font-size: 35vw;
    }
}

@media (max-width: 480px) {
    .fullscreen-text {
        font-size: 40vw;
    }
}

.homepage-container {
    position: relative;
    height: 100vh;
}

.main-page-text {
    font-family: 'Futura PT', sans-serif;
    line-height: 1;
    font-size: clamp(1.75rem, 2.6vw, 4.5rem);
    font-weight: 500;
    color: #ffffff;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    padding: 2rem 2.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    animation: containerDissolve 0.6s ease-in forwards;
    will-change: opacity;
}

.hero-reveal {
    overflow: hidden;
}

.hero-reveal > * {
    transform: translateY(100%);
    animation: textSlideUp 0.8s ease-out 0.8s forwards;
    will-change: transform;
}

.hero-reveal--delayed {
    margin-top: 40px;
}

.hero-reveal--delayed > * {
    animation-delay: 1.4s;
}

@keyframes containerDissolve {
    to { opacity: 1; }
}

@keyframes textSlideUp {
    to { transform: translateY(0); }
}

.scroll-reveal {
    overflow: hidden;
}

.scroll-reveal > * {
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    will-change: transform;
}

.scroll-reveal.visible > * {
    transform: translateY(0);
}

.scroll-fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.scroll-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-button {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-family: 'Futura PT', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #3a3a3a;
    background: #ffffff;
    border: none;
    cursor: pointer;
    line-height: 1;
    border-radius: 6px;
    overflow: hidden;
    padding: 4px 12px;
}

.portfolio-button span:first-child {
    padding: 14px 24px;
}

.portfolio-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 100%;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 14px 0;
    transition: transform 0.3s ease;
}

.portfolio-button:hover .portfolio-arrow {
    transform: translateX(8px);
}

.main-page-rectangle {
    margin-left: 16px; /* 16px gap to the left of the rectangle */
    width: 42px;
    height: 42px;
    margin-top: 10px;
    background-color: #840808;
    z-index: 2000;
}

.main-info-container {
    position: absolute;
    top: 60vh;
    left: 5vw;
    display: flex;
    align-items: flex-start; /* Align items to the top */
    z-index: 900; /* Ensure it's above other elements */
    justify-content: top;
}

.projects-section {
    margin-top: 120px;
    padding-left: 4rem;
}

.our-projects-description {
    font-family: 'Futura PT', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.8;/* Changed to #ffffff as per request "same text color as pricing-row-title" */
    margin-top: 0;
    margin-bottom: 0;
    max-width: 800px; /* Limit width for readability */
}

.page-section-title {
    font-family: 'Futura PT', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.projects-title {
    font-family: 'Futura PT', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 3.5rem);
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.project-filters {
    display: flex;
    margin-top: 20px;
    margin-left: -20px; /* Counteract link margin */
    margin-bottom: 50px;
}

.project-filter-link {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Futura PT', sans-serif;
    font-weight: 300;
    font-size: 16px;
    position: relative;
    margin: 0 20px;
}

.project-filter-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: white;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    transition: width 0.5s ease-out;
}

.project-filter-link:hover::after,
.project-filter-link.active::after {
    width: 100%;
}

/* additional-projects-section styles */
.additional-projects-section {
    margin-top: 60px;
    padding-left: 4rem;
    padding-right: 4rem;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Space between rows */
}

.additional-projects-section .projects-row {
    margin-bottom: 20px;
}

.additional-projects-section .projects-row:last-child {
    margin-bottom: 0;
}

.about-us-section {
    padding: 8rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-us-content {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.about-us-image-container {
    flex: 1.5; /* Takes up more space */
    aspect-ratio: 16 / 9; /* 16/9 aspect ratio */
    overflow: hidden;
}

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

.about-us-description-block {
    flex: 1; /* Takes up less space */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-us-description-block p {
    font-family: 'Futura PT', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.8;
    margin: 0;
}

.projects-row {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
}

.projects-row:last-child {
    margin-bottom: 0;
}

.projects-row .project-card {
    flex: 1; /* Distribute space evenly among cards in a row */
    aspect-ratio: 16 / 9; /* Landscape 16/9 aspect ratio */
    position: relative; /* For overlay and text positioning */
}

.project-card {
    overflow: hidden;
    position: relative; /* For the overlay and text */
    text-decoration: none;
    display: block;
    color: inherit;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 0.3; /* 30% opacity on hover */
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Ensure image behaves as a block element */
}

.project-name {
    font-family: 'Futura PT', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    padding: 8px 12px;
    border-radius: 16px;
}

.project-description {
    display: none;
}

.recent-projects-section {
    display: flex;
    align-items: flex-start;
    margin-top: 120px; /* 120px top margin */
    padding-left: 4rem; /* Aligned with projects section */
    padding-right: 4rem;
    justify-content: space-between;
    flex-direction: column;
    gap: 50px; /* Gap between the text container and project rows */
}

.recent-projects-header-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0;
    height: fit-content;
}

.project-detail-section {
    padding-top: 80px; /* To account for the fixed header */
    padding-left: 4rem;
    padding-right: 4rem; /* Ensure consistent padding with .project-info-wrapper */
}

.project-header-title {
    font-family: 'Futura PT', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 3rem);
    font-weight: 400;
    line-height: 150%;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.project-content-container {
    display: flex;
    width: 100%; /* Ensure it adapts to parent's width, accounting for padding */
    min-height: 50vh; /* Adaptive height */
    /* Removed negative margin to allow section padding to apply */
    gap: 6rem; /* 4rem gap between image and info */
    align-items: stretch; /* Make children stretch to match height */
}

.project-image-wrapper {
    flex: 2; /* Image takes up more space */
    position: relative; /* For text overlay */
    height: 100%; /* Ensure it stretches to parent's height */
}

.project-detail-image {
    width: 100%;
    height: auto;
    height: 100%; /* Fill the wrapper's height */
    object-fit: cover;
}

.project-image-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: 'Futura PT', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    opacity: 0.8;
    text-transform: uppercase;
    z-index: 10;
}

.project-info-wrapper {
    flex: 1; /* Info takes up less space */
    height: 100%; /* Ensure it stretches to parent's height */
    display: flex;
    flex-direction: column;
    padding-right: 0; /* Remove redundant padding */
}

.project-description-text {
    font-family: 'Futura PT', sans-serif;
    font-size: clamp(16px, 1.2vw, 18px); /* Responsive font scaling */
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.6;
    margin-bottom: 20px;
    margin-top: 0;
}

.project-details {
    margin-top: auto; /* Push to bottom when flex-direction is column */
    margin-top: 20px;
}

.project-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-family: 'Futura PT', sans-serif;
    font-size: clamp(14px, 1vw, 16px); /* Responsive font scaling */
    font-weight: 400;
    color: #ffffff;
}

.project-detail-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0.5rem 0;
}

.planning-solution-section {
    min-height: 50vh; /* Adaptive height */
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.planning-solution-title {
    font-family: 'Futura PT', sans-serif;
    text-transform: uppercase;
    font-size: clamp(1.5rem, 2.5vw, 3.5rem);
    font-weight: 400;
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
}

.planning-solution-image-wrap {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.planning-solution-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.planning-solution-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Futura PT', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
}

.project-photos-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-photos-row {
    display: flex;
    gap: 40px;
    width: 100%;
}

.project-photo {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.project-photo.vertical {
    flex: 1;
    min-width: 0;
    height: auto;
}

.project-photos-row.single-landscape .project-photo.landscape {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    flex: none;
}

.pricing-section {
    padding: 8rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.pricing-header {
    font-family: 'Futura PT', sans-serif;
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px; /* Adjusted based on the image spacing from attached data */
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center the entire content block and the arrow */
    width: 100%;
    padding: 60px 0; /* Keep from user changes */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Keep from user changes */
}

.pricing-row:last-child {
    border-bottom: none; /* No divider after the last row */
}

.pricing-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.pricing-row-content-left {
    display: flex;
    align-items: flex-start; /* Number and text align at top */
    flex: 1; /* Allow it to take available space */
    /* Removed max-width here, will let flex handle it or add later if needed */
}

.pricing-row-number {
    font-family: 'Futura PT', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #ffffff;
    opacity: 0.6;
    margin-right: 40px; /* Space between number and text */
    min-width: 30px; /* To ensure alignment for double-digit numbers */
}

.pricing-row-text-block {
    display: flex;
    flex-direction: column;
}

.pricing-row-title {
    font-family: 'Futura PT', sans-serif;
    font-size: clamp(24px, 3vw, 28px);
    font-weight: 300;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 12px;
}

.pricing-price {
    font-family: 'Futura PT', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 30px;
}

.pricing-row-description {
    font-family: 'Futura PT', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.8;/* Changed to #ffffff as per request "same text color as pricing-row-title" */
    margin-top: 0;
    margin-bottom: 0;
    max-width: 800px; /* Limit width for readability */
}

.pricing-row-content-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center; /* Vertically center content */
    min-width: 200px; /* Ensure space for content */
}

.pricing-button {
    display: inline-block;
    text-decoration: none;
    font-family: 'Futura PT', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    padding: 12px 20px;
    border: 1px solid #ffffff; /* Outlined button */
    border-radius: 5px;
    color: #ffffff;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.pricing-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.button-outline {
    display: inline-block;
    text-decoration: none;
    font-family: 'Futura PT', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    padding: 12px 20px;
    border: 1px solid #ffffff; /* Outlined button */
    border-radius: 5px;
    color: #ffffff;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    margin-left: auto; /* Push to the right */
}

.button-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .pricing-row {
        flex-direction: column;
        align-items: flex-start; /* Align content to start in column layout */
        text-align: left; /* Align text to left */
        padding: 30px 0;
    }

    .pricing-row-content-left {
        margin-bottom: 20px; /* Space between content and arrow in column layout */
        width: 100%; /* Take full width */
        justify-content: flex-start; /* Ensure items start from the left */
    }

    .pricing-row-number {
        font-size: 20px;
        margin-right: 15px;
    }

    .pricing-row-text-block {
        width: 100%;
    }

    .pricing-row-title {
        font-size: clamp(20px, 4vw, 28px);
    }

    .pricing-price {
        font-size: 20px;
        margin-bottom: 20px;
        align-self: flex-start; /* Align price to start in column layout */
    }

    .pricing-row-description {
        max-width: none;
        font-size: 15px;
    }

    .pricing-row-content-right {
        align-items: flex-start; /* Align content to start in column layout */
        margin-top: 20px;
        min-width: unset;
        width: 100%;
    }

    .pricing-button {
        width: auto;
        align-self: flex-start; /* Align button to start in column layout */
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 4rem 2rem;
    }
    .pricing-row {
        padding: 20px 0;
    }
}

/* Footer Styles */
footer {
    background-color: #262524;
    color: #ffffff;
    padding-bottom: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    max-width: 2046px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    align-items: stretch;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 30px 30px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-contacts-title {
    font-family: 'Futura PT', sans-serif;
    font-size: clamp(28px, 2.5vw, 42px);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
}

.footer-contacts-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
}

.footer-contact-label {
    font-family: 'Futura PT', sans-serif;
    font-size: 16px;
    text-transform: lowercase;
    opacity: 0.6;
    margin-bottom: 2px;
}

.footer-contact-item a {
    font-family: 'Futura PT', sans-serif;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact-item a:hover {
    opacity: 0.7;
}

.footer-center {
    width: 100%;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-right {
    display: flex;
    width: 360px;
    flex-direction: column;
    padding: 30px 0 30px 30px;
}

.footer-form-title {
    font-family: 'Futura PT', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 20px;
    line-height: 1.3;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-form input {
    padding: 10px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-family: 'Futura PT', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.footer-form input:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-form button {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: 'Futura PT', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 4px;
}

.footer-form button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    display: flex;
    align-items: center;
    height: 56px;
}

.footer-nav {
    display: flex;
    gap: 40px;
    margin-left: auto;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Futura PT', sans-serif;
    font-weight: 300;
    font-size: 16px;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: white;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    transition: width 0.5s ease-out;
}

.footer-nav a:hover::after {
    width: 100%;
}

.projects-section {
    margin-top: 120px;
    padding-left: 4rem;
    padding-right: 4rem; /* Ensure consistent padding with other sections */
}

.projects-section .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.projects-section .projects-row {
    display: contents;
}

.projects-section .project-card {
    aspect-ratio: 16 / 9;
    position: relative;
}

.projects-section .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.projects-section .project-card:hover::before {
    opacity: 0.3; /* 30% opacity on hover */
}

.projects-section .project-name {
    font-family: 'Futura PT', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    padding: 8px 12px;
    border-radius: 16px;
}

/* Buy Design Component Styles */
.buy-design-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear 0.8s;
    will-change: transform, opacity;
    pointer-events: none;
}

.buy-design-container:not(.active) {
    visibility: hidden;
}

.buy-design-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s linear;
    pointer-events: auto;
}

.buy-design-left {
    width: 50%;
    height: 100%;
    background: #31302e;
    padding: 2rem;
    overflow-y: auto;
    position: relative;
    transform: translateX(-50%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.buy-design-container.active .buy-design-left {
    transform: translateX(0);
}

.buy-design-right {
    width: 50%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    transform: translateX(50%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #31302e;
    will-change: transform;
}

.buy-design-container.active .buy-design-right {
    transform: translateX(0);
}

body.buy-design-open {
    overflow: hidden;
}

.close-button {
    position: absolute;
    top: 2rem;
    right: 4rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.close-button:hover {
    opacity: 0.7;
}

.buy-design-content {
    max-width: 600px;
    margin: 0 auto;
}

.buy-design-content h1 {
    font-family: 'Futura PT', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.experience-text {
    font-family: 'Futura PT', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.design-object-section {
    margin-bottom: 2rem;
}

.design-object-section h2 {
    font-family: 'Futura PT', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.selector-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.selector {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #ffffff;
    font-family: 'Futura PT', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.selector:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.selector.active {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.input-section {
    margin-top: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-field {
    display: flex;
    flex-direction: column;
}

.input-field label {
    font-family: 'Futura PT', sans-serif;
    font-size: 0.875rem;
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.input-field input,
.input-field textarea {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Futura PT', sans-serif;
    font-size: 1rem;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.input-field input:focus,
.input-field textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
}

.input-field textarea {
    min-height: 120px;
    resize: vertical;
}

.input-field input::placeholder,
.input-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    color: #31302e;
    border: none;
    font-family: 'Futura PT', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Sliding Gallery Styles */
.sliding-gallery {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
}

.sliding-row {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: slideLeft 100s linear infinite;
}

.sliding-row[data-direction="right"] {
    animation-name: slideRight;
}

.sliding-row .project-tile {
    flex: 0 0 360px;
    height: 240px;
    overflow: hidden;
    border-radius: 8px;
}

.sliding-row .project-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sliding-row .project-tile:hover img {
    transform: scale(1.1);
}

@keyframes slideLeft {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-1860px, 0, 0);
    }
}

@keyframes slideRight {
    from {
        transform: translate3d(-1860px, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .buy-design-container {
        flex-direction: column;
    }

    .buy-design-left {
        width: 100%;
        height: 100%;
        padding: 2rem;
        transform: translateY(100%);
    }

    .buy-design-container.active .buy-design-left {
        transform: translateY(0);
    }

    .buy-design-content h1 {
        font-size: 2rem;
    }

    .experience-text {
        font-size: 1rem;
    }

    .buy-design-right {
        display: none;
    }

    .selector-group {
        flex-direction: column;
    }

    .selector {
        width: 100%;
    }
}

/* ===== Burger Menu ===== */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 3100;
    -webkit-tap-highlight-color: transparent;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.4s ease, opacity 0.3s ease;
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Mobile Nav Overlay ===== */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background-color: #31302e;
    z-index: 3000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s linear;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Futura PT', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.mobile-nav .mobile-nav-cta {
    font-family: 'Futura PT', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    margin-top: 1rem;
}

.mobile-nav .mobile-nav-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-close::before,
.mobile-nav-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
}

.mobile-nav-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
}

/* ===== Tablet Breakpoint ===== */
@media (max-width: 1024px) {
    header {
        padding: 0.5rem 2rem;
    }

    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .main-info-container {
        left: 3vw;
        right: 3vw;
    }

    .recent-projects-section,
    .additional-projects-section,
    .about-us-section,
    .pricing-section,
    .projects-section,
    .project-detail-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer-content {
        padding: 0 2rem;
    }

    .about-us-content {
        gap: 40px;
    }

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

    .footer-right {
        width: auto;
    }
}

/* ===== Mobile Breakpoint ===== */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    header .navigation,
    header .call-to-action {
        display: none;
    }

    header {
        padding: 0.5rem 1.25rem;
        top: 10px;
    }

    header .logo img {
        height: 36px;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Hero */
    .main-info-container {
        left: 1.25rem;
        right: 1.25rem;
        top: auto;
        bottom: 8vh;
    }

    .main-page-text {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        padding: 1.25rem 1.5rem;
    }

    .main-page-text-inner br {
        display: none;
    }

    .hero-reveal--delayed {
        margin-top: 24px;
    }

    .portfolio-button {
        font-size: 15px;
        padding: 2px 8px;
    }

    .portfolio-button span:first-child {
        padding: 10px 16px;
    }

    .portfolio-arrow {
        width: 40px;
    }

    /* Recent Projects Section */
    .recent-projects-section {
        margin-top: 60px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        gap: 24px;
    }

    .recent-projects-header-row {
        flex-direction: column;
        gap: 12px;
    }

    .our-projects-description {
        font-size: 16px;
    }

    /* Projects Grid */
    .additional-projects-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        margin-top: 30px;
    }

    .projects-row {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 8px;
    }

    .projects-row .project-card {
        width: 100%;
    }

    /* Projects Page */
    .projects-section {
        margin-top: 80px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .projects-section .projects-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-filters {
        flex-wrap: wrap;
        margin-left: 0;
        gap: 8px;
        margin-bottom: 30px;
    }

    .project-filter-link {
        margin: 0;
        font-size: 14px;
    }

    .project-name {
        font-size: 14px;
        bottom: 12px;
        left: 12px;
        padding: 6px 10px;
    }

    /* About Us */
    .about-us-section {
        padding: 4rem 1.25rem;
        gap: 24px;
    }

    .about-us-content {
        flex-direction: column;
        gap: 24px;
    }

    .about-us-image-container {
        flex: none;
        width: 100%;
    }

    .about-us-description-block {
        flex: none;
    }

    .about-us-description-block p {
        font-size: 16px;
    }

    /* Pricing */
    .pricing-section {
        padding: 4rem 1.25rem;
    }

    .pricing-row {
        padding: 24px 0;
    }

    .pricing-row-content-left {
        flex-direction: column;
    }

    .pricing-row-number {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .pricing-row-description {
        font-size: 15px;
    }

    /* Project Detail */
    .project-detail-section {
        padding-top: 70px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .project-content-container {
        flex-direction: column;
        gap: 2rem;
    }

    .project-image-wrapper,
    .project-info-wrapper {
        flex: none;
        width: 100%;
    }

    .project-detail-image {
        height: auto;
    }

    .project-photos-row {
        flex-direction: column;
        gap: 16px;
    }

    .project-photos-section {
        gap: 16px;
    }

    .planning-solution-section {
        gap: 2rem;
    }

    /* Footer */
    .footer-content {
        padding: 0 1.25rem;
    }

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

    .footer-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding: 24px 0;
    }

    .footer-center {
        border-right: none;
        aspect-ratio: 16 / 9;
    }

    .footer-right {
        width: 100%;
        padding: 24px 0;
    }

    .footer-bottom {
        flex-direction: column;
        height: auto;
        gap: 12px;
        padding: 16px 0;
    }

    .footer-nav {
        margin-left: 0;
        gap: 24px;
    }

    /* Buy Design */
    .close-button {
        right: 1.25rem;
        top: 1.25rem;
    }

    .buy-design-left {
        padding: 1.25rem;
    }
}
