/* Hood Studio Landing Page Styles */

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

html, body {
    height: 100%;
    overflow-x: hidden;
    font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

html {
    scroll-behavior: smooth;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Overlay for better readability */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

/* Main Container */
.landing-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Projects Section */
.projects-section {
    background: #0a0a0a;
    padding: 100px 50px;
}

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

.section-title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.section-description {
    font-size: 14px;
    font-weight: 300;
    color: #888;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

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

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay i {
    color: #ff0000;
    font-size: 48px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay i {
    transform: scale(1.1);
}

.watch-label {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Responsive for Projects */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-section {
        padding: 60px 20px;
    }

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

/* About Section */
.about-section {
    background: #ffffff;
    color: #1a1a1a;
    padding: 120px 50px;
    position: relative;
}

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

.about-intro {
    font-size: clamp(14px, 1.8vw, 17px);
    font-weight: 400;
    line-height: 1.9;
    margin-bottom: 40px;
    letter-spacing: -0.2px;
}

.about-intro strong {
    font-weight: 600;
}

.services-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 20px;
}

.services-list {
    list-style: none;
    margin-bottom: 50px;
    padding-left: 0;
}

.services-list li {
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 400;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.services-list li:first-child {
    border-top: 1px solid #eee;
}

.services-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #1a1a1a;
    transition: transform 0.3s ease;
}

.services-list li:hover {
    padding-left: 40px;
    color: #555;
}

.services-list li:hover::before {
    transform: translateX(5px);
}

.about-text {
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 300;
    line-height: 1.9;
    color: #444;
    margin-bottom: 30px;
}

.about-cta {
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 500;
    color: #1a1a1a;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    display: inline-block;
}

/* Responsive for About Section */
@media (max-width: 768px) {
    .about-section {
        padding: 80px 25px;
    }

    .services-list li {
        padding: 12px 0 12px 25px;
    }
}

/* Footer Section */
.footer-section {
    background: #0a0a0a;
    padding: 100px 50px 50px;
    border-top: 1px solid #1a1a1a;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    font-size: 14px;
}

.contact-item i {
    color: #fff;
    font-size: 16px;
    width: 20px;
}

.contact-item a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fff;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid #333;
    padding: 15px 20px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: #fff;
    border: none;
    color: #0a0a0a;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contact-form button:hover {
    background: #ddd;
}

.contact-form button i {
    transition: transform 0.3s ease;
}

.contact-form button:hover i {
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #1a1a1a;
}

.footer-logo img {
    height: 36px;
    opacity: 0.6;
}

.copyright {
    color: #555;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Responsive for Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 60px 25px 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: #111;
    border: 1px solid #222;
    padding: 50px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #fff;
}

.popup-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.popup-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row-half input {
    flex: 1;
}

.popup-form input,
.popup-form textarea {
    background: transparent;
    border: 1px solid #333;
    padding: 14px 18px;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    transition: border-color 0.3s ease;
    outline: none;
    width: 100%;
}

.popup-form input::placeholder,
.popup-form textarea::placeholder {
    color: #555;
}

.popup-form input:focus,
.popup-form textarea:focus {
    border-color: #fff;
}

.popup-form textarea {
    resize: vertical;
    min-height: 100px;
}

.popup-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: #fff;
    border: none;
    color: #0a0a0a;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.popup-submit:hover {
    background: #ddd;
}

.popup-submit i {
    transition: transform 0.3s ease;
}

.popup-submit:hover i {
    transform: translateX(5px);
}

/* Responsive Popup */
@media (max-width: 768px) {
    .popup-container {
        padding: 40px 25px;
    }

    .form-row-half {
        flex-direction: column;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 50px;
    z-index: 100;
}

/* Logo */
.logo {
    height: 64px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

/* YouTube Link */
.youtube-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.youtube-link:hover {
    color: #ff0000;
    transform: scale(1.1);
    text-decoration: none;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 50px;
    color: #ffffff;
}

.hero-tagline {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    min-height: 1.5em;
}

.hero-title {
    font-size: clamp(36px, 8vw, 80px);
    font-weight: 200;
    letter-spacing: -2px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.title-line {
    display: block;
    opacity: 0;
}

.hero-title em {
    font-style: normal;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    max-width: 750px;
    line-height: 1.8;
    opacity: 0;
}

/* Showreel Button */
.showreel-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.showreel-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

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

.showreel-btn:hover i {
    transform: scale(1.1);
}

/* Typewriter Effect */
.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    animation: 
        typing 2s steps(30, end) forwards,
        blink-caret 0.75s step-end infinite;
    width: 0;
}

.typewriter.done {
    border-right: none;
    width: auto;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: rgba(255, 255, 255, 0.8); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered letter animation */
.letter {
    display: inline-block;
    opacity: 0;
    animation: letterFadeIn 0.4s ease forwards;
}

@keyframes letterFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #ffffff;
    border-radius: 2px;
    animation: scroll-animation 2s infinite;
}

@keyframes scroll-animation {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header {
        padding: 20px 25px;
    }

    .logo {
        height: 50px;
    }

    .hamburger-btn {
        width: 28px;
        height: 20px;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-menu {
        max-width: 100%;
        padding: 100px 30px 30px;
    }

    .nav-menu a {
        font-size: 22px;
    }

    .hero-content {
        padding: 0 25px;
    }

    .hero-tagline {
        letter-spacing: 4px;
    }

    .scroll-indicator {
        bottom: 30px;
    }
}
