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

body {
    background-color: white;
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    padding-top: 80px; /* offset for fixed nav */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Takes up the full height of the screen */
    margin: 0;
}

/* ========== FIXED NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1a1a1a;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 80px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #cccccc;
}

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

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Important: keeps the video from spilling out */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensures video fills the area like background-size: cover */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Darkens video so text is easy to read */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Sits above video and overlay */
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Buttons */
.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background-color: #cccccc;
}

.btn-secondary {
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========== FEATURED SECTION ========== */
.featured-work {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

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

.featured-work h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-card-placeholder {
    height: 380px;
    background-color: #f4f4f4;
    border: 1px dashed #ddd;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    display: flex;
    flex-direction: column;
}

.work-card-placeholder:hover {
    transform: translateY(-10px); /* Lifts the card up */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Adds a soft shadow */
    border-style: solid; /* Optional: changes dashed border to solid on hover */
}

/* ========== WORK CARDS ========== */
.work-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px); /* Subtle lift effect */
}

/* Responsive Iframe Container (16:9 Aspect Ratio) */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video Title Styling */
.video-title {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

/* ========== SEE MORE SECTION ========== */
.see-more-container {
    margin-top: 4rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2.5rem;
}

.btn-see-more {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid #1a1a1a;
    transition: all 0.3s ease;
}

.btn-see-more:hover {
    background-color: transparent;
    color: #1a1a1a;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .see-more-container {
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}

/* ========== FOOTER ========== */
.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid #1a1a1a;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Links left, Logo center, Links right */
    align-items: flex-start;       /* Keeps everything parallel at the top */
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    flex: 1; /* Gives each of the 3 columns equal weight */
    min-width: 200px;
}

/* Alignment for the three columns */
.footer-left {
    text-align: left;
}

.footer-brand {
    text-align: center;
}

.footer-right {
    text-align: right;
}

/* Logo specific centering */
.footer-brand .footer-logo {
    width: 200px;
    height: auto;
    margin: 0 auto 1rem auto; /* Centers image inside the brand div */
    display: block;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: #aaaaaa;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #666;
}

/* ========== RESPONSIVE FOOTER ========== */
@media (max-width: 850px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .footer-left, .footer-right {
        text-align: center;
    }
}

/* ========== RESPONSIVE NAV ========== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 2rem;
    }

    .nav-links a {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 70px;
    }

    body {
        padding-top: 70px;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .logo img {
        height: 35px;
    }
}