@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #2D1717;
    color: #F2EADD;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2D1717;
    z-index: 1000;
}

.logo a {
    display: block;
    line-height: 0;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #F2EADD;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    padding: 150px 5% 80px;
}

.main-title {
    font-family: 'Instrument Serif', serif;
    font-size: 82px;
    font-weight: 400;
    line-height: 1.1;
    color: #F2EADD;
    margin-bottom: 2rem;
    text-align: right;
    padding-right: 150px;
}

.company-name {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #F2EADD;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.job-roles {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #F2EADD;
    opacity: 0.7;
    text-align: center;
}

/* Project Section - First Section */
.project-section {
    margin-bottom: 100px;
    position: relative;
}

.project-section .image-container.large{
    margin-top: 2px;
}

.project-section .section-title {
    text-align: right;
    padding-right: 250px;
    padding-top: 50px;
}

.project-section .description {
    text-align: right;
    padding-right: 250px;
    padding-left: 650px;
}

/* Image Containers */
.image-container {
    width: 80%;
    margin-right: 10%;
    margin-left: 10%;
    margin-top: -12%;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    
}

.image-container.large {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container.large .video-container {
    max-width: 800px;
    width: 100%;
}

.image-container.large img,
.image-container.large .video-thumbnail {
    width: 100%;
    max-width: 800px;
}

.image-container.medium img {
    width: 100%;
    max-width: 600px;
    padding-left: 250px;
}

.role-outcome-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 100px;
    align-items: flex-start;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
    padding: 0 5%;
}

.role-outcome-section .left {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.role-outcome-section .left img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.role-outcome-section .center-text-svg {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 40px;
    margin-top: 160px;
}

.role-outcome-section .center-text-svg img {
    width: 100%;
    height: auto;
}

.role-outcome-section .right-image-high {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 400px;
}

.role-outcome-section .grid-small {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Text Blocks */
.text-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text-block.right {
    grid-column: 2;
    padding-left: 40px;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: 20pt;
    font-weight: 400;
    line-height: 1.3;
    color: #F2EADD;
    margin-bottom: 10px;
}

.description {
    font-family: 'Inter', sans-serif;
    font-size: 10pt;
    font-weight: 400;
    line-height: 1.6;
    color: #F2EADD;
    opacity: 0.7;
}

/* Two Column Section - 1/2 Text, 1/2 Image/Video */
.visual-language-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 100px;
    align-items: flex-start;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
    margin-top: 100px;
}

.visual-language-section .left-grid {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visual-language-section .left-grid img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.visual-language-section .right-grid {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    margin-top: 10%;
}

.visual-language-section .right-grid img:first-child {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20%;
}

.visual-language-section .grid-small-left {
    grid-column: 1;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.visual-language-section .grid-small-right {
    grid-column: 2;
    width: 100%;
    height: auto;
    border-radius: 4px;
}



/* Three Column Section */
.three-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 100px;
    align-items: start;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
}

.three-column-section .column {
    width: 100%;
}

.three-column-section .column img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Campaign Section - 1/3 Text, 2/3 Image */
.campaign-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 100px;
    align-items: start;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
}

.campaign-left {
    grid-column: 1;
    padding: 0 20px;
}

.campaign-left img {
    width: 100%;
    height: auto;
}

.campaign-right {
    grid-column: 2;
}

.campaign-right img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}


/* Role Outcome Section - 3 Columns */
.role-outcome-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 100px;
    align-items: flex-start;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
    padding: 0 5%;
}

.role-outcome-section .left {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.role-outcome-section .left img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.role-outcome-section .left-text-svg {
    max-width: 30%;
}

.role-outcome-section .center-bottom-svg {
    margin-top: 400px;
}

.role-outcome-section .text-svg {
    width: 90%;
}

.role-outcome-section .center-text-svg {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
   padding: 0 40px;
    margin-top: 160px;
}

.role-outcome-section .center-text-svg img {
    width: 100%;
    height: auto;
    
}

.role-outcome-section .right-image-high {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 400px;
}

.role-outcome-section .grid-small {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Video Play Button Styles */
.video-container {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
}

.video-container .video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #F2EADD;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.video-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.2);
}

.video-container:hover .video-thumbnail {
    opacity: 0.8;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.video-modal .video-container {
    position: relative;
    width: min(90vw, 1200px);
    aspect-ratio: 16 / 9;
    z-index: 10000;
    cursor: default;
}

.video-modal .video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #F2EADD;
    font-size: 32px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

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

/* Footer */
.footer {
    background-color: #2D1717;
    padding: 4rem 5% 3rem;
    border-top: 1px solid rgba(45, 23, 23, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

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

.footer-contact p,
.footer-email p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #F2EADD;
}

.footer-bottom {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: end;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: #F2EADD;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.copyright p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #F2EADD;
    text-align: right;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-title {
        font-size: 56px;
    }

    .two-column-section,
    .three-column-section {
        grid-template-columns: 1fr;
    }

    .footer-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .copyright p {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 42px;
    }

    .company-name,
    .job-roles {
        font-size: 14pt;
    }
}
