/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Raleway', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    padding: 15px 0;
    transition: background 0.3s ease;
}

#header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ff1500;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background: #000;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 700px;
    padding: 60px 40px;
    color: #fff;
}

.hero-content h1 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
}

.section-header h2 .light {
    font-weight: 400;
    color: #999;
}

.section-header.dark-bg {
    background: #333;
    color: #fff;
}

.section-header.dark-bg h2 .light {
    color: #ccc;
}

.subtitle {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Work Section */
.work-section {
    background: #fff;
    padding-bottom: 60px;
}

.work-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.work-item {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    padding: 60px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.work-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.work-overlay p {
    font-size: 13px;
    opacity: 0.9;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

/* About Section */
.about-section {
    position: relative;
    background: url('images/about-bg.jpg') center center / cover no-repeat;
    padding: 80px 0;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    text-align: center;
}

.about-content h2 .light {
    font-weight: 400;
    color: #999;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.about-text strong {
    color: #333;
}

/* Services Section */
.services-section {
    background: #fff;
    text-align: center;
    padding-bottom: 60px;
}

.platforms-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.platforms-list h3 {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Clients Section */
.clients-section {
    background: #fff;
    padding: 60px 0 80px;
}

.clients-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 40px;
    align-items: center;
    justify-items: center;
}

.client-logo img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.05);
}

/* Team Section */
.team-section {
    background: #8B4513;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('images/hero-bg.jpg') center center / cover no-repeat;
    padding: 60px 0;
}

.team-section .section-header {
    color: #fff;
}

.team-section .section-header h2 {
    color: #fff;
}

.team-section .subtitle {
    color: rgba(255,255,255,0.8);
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.3s ease;
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    padding: 40px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-overlay h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.team-overlay p {
    font-size: 12px;
    opacity: 0.9;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member:hover .team-overlay {
    transform: translateY(0);
}

.team-member a {
    display: block;
    position: relative;
}

/* Contact Section */
.contact-section {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
}

.contact-email {
    display: inline-block;
    margin-top: 20px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid #ff1500;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #ff1500;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 40px 20px;
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 12px;
    opacity: 0.7;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links span {
    font-size: 12px;
    opacity: 0.7;
}

.social-links a {
    display: block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 30px;
    height: 30px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
}

.mobile-nav a:hover {
    background: #f5f5f5;
    color: #ff1500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hero adjustments */
    .hero {
        min-height: 60vh;
    }

    .hero-video {
        object-fit: cover;
    }

    .hero-content {
        padding: 30px 20px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 14px;
    }

    /* Section headers */
    .section-header {
        padding: 40px 15px 30px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    /* Work gallery */
    .work-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    /* Show overlays on mobile (no hover) */
    .work-overlay {
        transform: translateY(0);
        padding: 30px 15px 15px;
    }

    .work-overlay h3 {
        font-size: 16px;
    }

    .work-overlay p {
        font-size: 12px;
    }

    /* About section */
    .about-section {
        padding: 50px 0;
    }

    .about-content h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .about-text p {
        font-size: 13px;
    }

    /* Services */
    .platforms-list {
        padding: 30px 15px;
    }

    .platforms-list h3 {
        font-size: 12px;
        margin-bottom: 12px;
    }

    /* Clients */
    .clients-section {
        padding: 40px 0 60px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        padding: 0 20px;
    }

    .client-logo img {
        max-height: 80px;
    }

    /* Team */
    .team-section {
        padding: 40px 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .team-member img {
        height: 280px;
    }

    /* Show team overlays on mobile */
    .team-overlay {
        transform: translateY(0);
        padding: 25px 10px 10px;
    }

    .team-overlay h4 {
        font-size: 13px;
    }

    .team-overlay p {
        font-size: 11px;
    }

    /* Contact */
    .contact-section {
        padding: 50px 15px;
    }

    .contact-email {
        font-size: 16px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-links span {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
    }

    .hero-content h1 {
        font-size: 18px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member img {
        height: 320px;
    }
}
