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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Oswald', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 300;
}

.container {
    margin: 0 auto;
    padding-left: 120px;
    padding-right: 120px;
}

/* Hamburger icon color to match about page */
.hamburger span {
    background-color: #C979FF;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: none;
    backdrop-filter: none;
    z-index: 1000;
}

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

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 60px;
    margin: 0;
    padding: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.close-icon {
    display: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #C979FF;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.hamburger.active {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}



.nav-links a {
    color: #FFFFFF;
    text-align: left;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    text-decoration: none;
    position: relative;
}

.nav-links a:hover {
    color: #00FEA2E8;
    font-weight: 600;
    letter-spacing: 0.96px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 2ch;
    height: 2px;
    background: #00FEA2E8;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-links a:hover::after {
    opacity: 1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    flex-shrink: 0;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    border: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 32px 16px;
    max-width: 2000px;
}

.hero-title {
   /* font-family: 'Oswald', Arial, sans-serif; */
   /* font-size: clamp(2.5rem, 6vw, 4.5rem); */
    font-family: Oswald;
    font-size: 68px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    letter-spacing: 39.22px;
    text-transform: uppercase;
    margin-bottom: 32px;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero-titles {
    color: #FFF;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-family: Oswald;
    font-size: 68px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%; /* 103.6px */
    letter-spacing: 39.22px;
    text-transform: uppercase;
}

.highlight {
    color: #ffffff;
    position: relative;
    display: inline-block;
    background: linear-gradient(to bottom, transparent 0%, transparent 60%, #8b5cf6 60%, #a855f7 100%);
}

.highlightY {
    letter-spacing: 0.01em;
}

.mobile-break {
    display: none;
}

/* Background Effects */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.atmospheric-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 30%, rgba(139, 92, 246, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(168, 85, 247, 0.02) 50%, transparent 70%);
    animation: atmosphericGlow 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes atmosphericGlow {
    0% {
        opacity: 0.3;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0.7;
        transform: translateY(-20px) rotate(2deg);
    }
}

/* What We Offer anchor (home uses creative-section from services.css) */
#what-we-offer {
    scroll-margin-top: 96px; /* offset fixed navbar when using /#what-we-offer */
}

.section-content {
    display: grid;
    grid-template-columns: 394px 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 95px;
    font-weight: 200;
    line-height: 135%;
    letter-spacing: 31.35px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-align: left;
}

.section-title-right {
    text-align: right;
}

.learn-more-btn, .send-message-btn {
    display: inline-block;
    color: #4ade80;
    text-decoration: none;
    font-size: 36px;
    font-weight: 400;
    border-left: 17px solid #4ade80;
    padding: 15px;
    transition: all 0.3s ease;

    text-align: center;
    font-family: Ruda;
    font-style: normal;
    font-weight: 500;
    line-height: 42px;
}

.learn-more-btn:hover, .send-message-btn:hover {
    color: #22c55e;
    border-left-color: #22c55e;
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.service-card {
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    height: 378px;
    display: flex;
    align-items: center;
    margin: 0;
}

.creative-design {
    background: url('assets/images/wwo1.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: background 0.3s ease;
}

.creative-design::before {
    content: '';
    position: absolute;
    left: -8px;
    top: -15px;
    width: 26px;
    height: calc(100% + 30px);
    background: #C979FF;
    z-index: 1;
}

.creative-design:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.creative-design::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at calc(100% - 50px) 50%, rgba(255, 255, 255, 0.1) 30px, transparent 30px),
        rgba(0, 0, 0, 0.5);
    z-index: 0;
}


.card-content {
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.creative-design .card-content h3 {
    font-size: 24px;
}

.motion-effects .card-content h3 {
    font-size: 36px;
}

.card-icon {
    font-size: 24px;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-family: 'Ruda', Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
    flex: 1;
}

/* Our Work Section */
.our-work {
    padding: 80px 0;
    background: #0a0a0a;
}

.work-content {
    display: grid;
    grid-template-columns: 1fr 394px;
    gap: 80px;
    align-items: stretch;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 284px);
    gap: 40px;
    justify-content: start;
}

.work-item {
    width: 284px;
    height: 746px;
}

.work-image {
    width: 100%;
    height: 100%;
    background: url('assets/images/tow1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.work-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1;
}

.work-title-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.work-title-link:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.work-title {
    color: #FFF;
    text-align: center;
    font-family: Ruda;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 42px;
    z-index: 2;
    width: 90%;
    max-width: 250px;
}

.work-item:hover .work-image::before {
    background: rgba(0, 0, 0, 0.05);
}

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

.work-header {
    text-align: right;
    width: 394px;
    height: 566px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 44px;
    padding-top: 180px;
}

.see-all-btn {
    display: inline-block;
    color: #4ade80;
    text-decoration: none;
    text-align: center;
    font-family: Ruda;
    font-style: normal;
    line-height: 42px;
    font-size: 36px;
    font-weight: 500;
    border-right: 17px solid #4ade80;
    padding: 15px;
    transition: all 0.3s ease;
}

.see-all-btn:hover {
    color: #22c55e;
    border-right-color: #22c55e;
}

/* Showcase video: full viewport; iframe scales with cover (fills screen like hero) */
.showcase-video {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background: #000;
    overflow: hidden;
}

.showcase-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.showcase-video-embed iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 */
    transform: translate(-50%, -50%);
    border: none;
}

/* Get In Touch Section */
.get-in-touch {
    padding: 80px 0;
    background: #0a0a0a;
    scroll-margin-top: 96px; /* offset fixed navbar when using /#get-in-touch */
}

.contact-content {
    display: grid;
    grid-template-columns: 409px 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left {
    width: 409px;
    height: 256px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background: #ffffff;
    border: 1px solid #cccccc;
    border-left: 6px solid #cccccc;
    border-radius: 0;
    padding: 12px 16px;
    color: #333333;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #cccccc;
    border-left-color: #8b5cf6;
}

.form-group input.error,
.form-group textarea.error {
    border-left-color: #FF6A6A;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-left-color: #FF6A6A;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}



.error-message {
    color: #FF8B8B;
    font-family: 'Ruda', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-top: 5px;
    display: block;
    min-height: 20px;
}

.form-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.form-feedback.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

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

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-text-logo {
    height: 25px;
    width: auto;
    object-fit: contain;
}

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

.social-link {
    width: 35px;
    height: 35px;
    background: #1a1a1a;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #cccccc;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #8b5cf6;
    color: #ffffff;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    text-align: right;
    font-size: 12px;
    color: #666666;
}

.footer-right p {
    margin: 5px 0;
}

/* Desktop footer layout (default) */
.mobile-links {
    display: none; /* Hide mobile links on desktop */
}

.mobile-copyright {
    display: none; /* Hide mobile copyright on desktop */
}

.footer-top-row {
    display: contents; /* Don't create a flex container on desktop */
}

.desktop-links {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.footer-logo-image {
    width: 35px;
    height: 35px;
}

.footer-text-logo {
    height: 20px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: none;
        backdrop-filter: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(203deg, #000 33.16%, rgba(0, 0, 0, 0.00) 79.71%);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-overlay.active ~ * {
        filter: blur(2px);
        transition: filter 0.3s ease;
    }
    
    body.menu-active > *:not(.navbar) {
        filter: blur(2px);
        transition: filter 0.3s ease;
    }
    
    .navbar,
    .nav-links,
    .close-icon,
    .mobile-overlay,
    .logo,
    .logo-image {
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    .logo {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1001;
    }
    
    .logo-image {
        height: 35px;
        width: auto;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: transparent;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
        gap: 30px;
        padding-right: 24px;
        padding-top: 112px;
        transition: right 0.3s ease;
        z-index: 999;
        font-family: Ruda;
        font-style: normal;
        font-weight: 400;
        line-height: 36px;
        font-size: 24px;
    }
    
    .close-icon {
        position: absolute;
        top: 20px;
        right: 24px;
        width: 32px;
        height: 32px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .close-icon img {
        width: 32px;
        height: 32px;
        filter: brightness(0) saturate(100%) invert(76%) sepia(100%) saturate(5076%) hue-rotate(271deg) brightness(103%) contrast(101%);
    }
    
    .nav-links a {
        padding: 30px 0 0 0;
        display: block;
        color: #FFF;
        text-align: right;
        font-family: Ruda;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 36px;
    }
    
    .nav-links a::after {
        left: auto;
        right: 0;
        transform: none;
        width: 3ch;
        bottom: 2px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }
    
    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
        letter-spacing: 0.3em;
        line-height: 1.1;
        font-weight: 200;
    }
    
    .mobile-break::after {
        content: "\A";
        white-space: pre;
    }
    
    .section-content,
    .contact-content,
    .work-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    

    
    .service-card {
        width: 100%;
        max-width: 674px;
        height: auto;
        min-height: 200px;
    }
    
    .contact-left {
        width: 100%;
        height: auto;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        justify-content: center;
    }
    
    .work-item {
        width: 100%;
        max-width: 284px;
        height: auto;
        min-height: 400px;
    }
    
    .work-image {
        height: 350px;
    }
    
    .work-header {
        text-align: left;
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-right {
        text-align: center;
    }
    
    /* Mobile footer layout: Logo left, Links right (2x2 grid) */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    /* Hide desktop links on mobile, show mobile links */
    .desktop-links {
        display: none;
    }
    
    .mobile-links {
        display: none !important;
    }
    
    /* First row: Logo left, Links right (same line) */
    .footer-top-row {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .footer-left {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .footer-logo {
        justify-content: center;
        flex: 1;
    }
    
    .footer-right {
        display: none; /* Hide desktop footer-right on mobile */
    }
    
    /* Second row: Social icons centered and bigger */
    .social-links {
        justify-content: center;
        gap: 20px;
        width: 100%;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    /* Third row: Copyright centered */
    .mobile-copyright {
        display: block !important;
        text-align: center;
        width: 100%;
        font-size: 12px;
        color: #666666;
    }
    
    .mobile-copyright p {
        margin: 5px 0;
    }
    
    /* Hide desktop copyright on mobile */
    .footer-right .footer-copyright {
        display: none;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        font-weight: 200;
        letter-spacing: 0.25em;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
}