:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #000000;
    --muted-color: #666666;
    --grid-gap: 30px;
    --container-padding: 0 5%;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--container-padding);
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    opacity: 0.5;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 45vmax;
    padding-bottom: 30vmax;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--muted-color);
    font-style: italic;
}

.hero-sub {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--muted-color);
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
    transform: translateY(-5px);
    background: #333;
}

/* Work Section */
.work {
    padding-top: 20vmin;
    padding-bottom: 20vmin;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
}

.work-item {
    cursor: pointer;
    margin-bottom: 40px;
}

.work-image {
    width: 100%;
    aspect-ratio: 16/10;
    margin-bottom: 20px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border-radius: 10px;
}

.work-item:hover .work-image {
    transform: scale(0.98);
}

.work-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    border-radius: 10px;
}

.work-info p {
    font-size: 0.9rem;
    color: var(--muted-color);
}

/* Modern White Footer */
footer {
    background-color: #ffffff;
    color: var(--text-color);
}

footer .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
    gap: 48px;
}

footer .footer-left .footer-logo {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

footer .footer-left p {
    max-width: 260px;
    font-size: 0.9rem;
    color: var(--muted-color);
}

footer .footer-links-group {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}

footer .footer-column {
    min-width: 140px;
}

footer .footer-column h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

footer .footer-column ul {
    list-style: none;
    padding: 0;
}

footer .footer-column ul li {
    margin-bottom: 8px;
}

footer .footer-column ul li a {
    font-size: 0.9rem;
    color: var(--muted-color);
    position: relative;
    padding-bottom: 2px;
    transition: color 0.25s ease, opacity 0.25s ease;
}

footer .footer-column ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.25s ease;
}

footer .footer-column ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
}

footer .footer-column ul li a:hover::after {
    width: 100%;
}

footer .footer-bottom {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.8rem;
    color: var(--muted-color);
}

/* Footer: responsive */
@media (max-width: 900px) {
    footer {
        padding: 40px 0 24px; /* less vertical padding */
    }

    footer .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px; /* tighter gaps */
    }

    footer .footer-links-group {
        width: 100%;
        justify-content: flex-start;
        gap: 20px;
    }

    footer .footer-bottom {
        margin-top: 24px;
        padding-top: 16px;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 28px 0 18px; /* even smaller on small phones */
    }

    footer .footer-container {
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }

    footer .footer-left,
    footer .footer-links-group,
    footer .footer-column {
        width: 100%;
    }

    /* Make footer list items horizontal on mobile */
    footer .footer-column ul {
        display: flex;
        flex-direction: column; /* stack items vertically */
        justify-content: flex-start;
        align-items: flex-start;
        gap: 4px;
        text-align: left;
    }

    footer .footer-links-group {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    footer .footer-column {
        min-width: 0;
    }

    footer .footer-column h3 {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    footer .footer-column ul li {
        margin-bottom: 0;
    }

    footer .footer-column ul li a {
        font-size: 0.8rem;
    }

    footer .footer-bottom {
        margin-top: 18px;
        padding-top: 12px;
        font-size: 0.75rem;
    }
}


#intro_video{
    max-width: 100%;
    border-radius: 6px;
}

.work_image{
    max-width: 100%;
    border-radius: 10px;
}
#tag_line{
    padding-top: 20vmin;
    padding-bottom: 20vmin;
    display: flex;
}
#tag_container{
    margin-left: auto;
    margin-right: auto;
    font-size: 4vmax;
    font-family: Impact;
}

#upper_line{
    color: black;
}

#lower_line{
    color: rgba(0, 60, 255, 0.863);
}

#team{
    background-color: #f8f8f8;
    padding-top: 20vmin;
    padding-bottom: 20vmin;
}

#view_team{
    text-align: right;
    width: 85%;      
    display: block;  
    margin: 0 auto; 
    color: #5b5b5b;
    font-family: 'Courier New', Courier, monospace;
    font-size: 2.5vmin;
}

#view_team:hover{
    cursor: pointer;
    text-align: right;
    width: 85%;      
    display: block;  
    margin: 0 auto; 
    color: #000000;
}

#review{
    font-family: Apple Chancery;
    font-size: 3vmin;
    padding-top: 20vmin;
    padding-bottom: 20vmin;
    background-color: #f8f8f8;
}

#desc_review{
    text-align: center;
    margin-left: 10vmin;
    margin-right: 10vmin;
    max-width: 100%;
}

#name_review{
    margin-left: 10vmin;
    margin-right: 10vmin;
    text-align: right;
    max-width: 100%;
}

.line{
    width: 90%;
    border: 0.5px solid rgba(196, 196, 196, 0.373);
    display: flex;
    justify-content: center; 
    align-items: center;
    margin: 0 auto;
}

#team_image_2 {
    width: 85%;      
    display: block;  
    margin: 0 auto; 
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

.project_section{
    padding-top: 20vmin;
    padding-bottom: 20vmin;
    display: flex;
    max-width: 100%;
    background-color: #484848;
    color: #eee;
}

.main_project{
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.project_text{
    font-size: 4vmax;
    font-family: Big Caslon;
}

.button {
         display: flex;
         flex-direction: column;
         align-items: flex-end;
     }
    
     .project_button {
        padding: 2vmin 4vmin;
        background-color: rgb(138, 138, 138);
        border-radius: 50px;
        color: white;
        text-decoration: none;
        margin-top: 20px;
        border: none;
    }

     .project_button:hover {
        box-shadow: 2px 2px 5px #000000;
        padding: 2vmin 4vmin;
        background-color: rgba(106, 131, 255, 0.93);
        border-radius: 50px;
        color: rgb(0, 0, 0);
        text-decoration: none;
        transition: 0.5s;
    }

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001; /* Above mobile menu */
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* Animation for menu-toggle */
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%; /* Full width for mobile menu */
    height: 75vh; /* 75% of screen height */
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%); /* Hidden by default - slide from top */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    opacity: 1;
    pointer-events: none; /* Prevent interaction when hidden */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

.nav-menu.active {
    transform: translateY(0); /* Show menu - slide down */
    pointer-events: all; /* Allow interaction when active */
}

.nav-menu .nav-links-mobile {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

.nav-menu .nav-links-mobile li a {
    font-size: 1.8rem; /* Larger font size for mobile links */
    padding: 10px 0;
    display: block;
}

/* Responsive adjustments for navigation */
@media (max-width: 768px) {
    .nav-links { /* Hide desktop navigation */
        display: none;
    }

    .menu-toggle {
        display: flex; /* Show hamburger on mobile */
        width: 24px;
        height: 16px;
    }

    .menu-toggle .bar {
        height: 1.5px;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .nav-menu .nav-links-mobile li a {
        font-size: 1.3rem; /* Smaller font size for mobile links */
        padding: 8px 0;
    }

    .nav-menu .nav-links-mobile {
        gap: 25px;
    }
}

#contact{
    padding-top: 20vmin;
    padding-bottom: 3vmin;
}