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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0A0A0A;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #ffffff, #66FFE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 166, 126, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover {
    opacity: 0.8;
}

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

.logo-text {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #00A67E, #66FFE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #66FFE2;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00A67E, #66FFE2);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(145deg, #003C3C 0%, #00A67E 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff, #66FFE2, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 6s ease-in-out infinite;
}

.title-line:nth-child(2) {
    animation-delay: -2s;
}

.title-line:nth-child(3) {
    animation-delay: -4s;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00A67E, #66FFE2);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 166, 126, 0.4);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-cube,
.floating-sphere,
.floating-pyramid {
    position: absolute;
    background: linear-gradient(135deg, #00A67E, #66FFE2);
    animation: float 4s ease-in-out infinite;
}

.floating-cube {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.floating-sphere {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: 60%;
    right: 40%;
    animation-delay: -1.3s;
}

.floating-pyramid {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 60px solid #66FFE2;
    top: 40%;
    right: 60%;
    animation-delay: -2.6s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, #66FFE2, transparent);
    animation: scroll 2s ease-in-out infinite;
}

/* Featured Project */
.featured-project {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1A3F3F, #003C3C);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-text h2 {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: left;
}

.featured-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.featured-visual {
    position: relative;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1A3F3F, #003C3C);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 166, 126, 0.2);
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A67E, #66FFE2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

/* Services */
.services {
    padding: 8rem 0;
    background: #0A0A0A;
}

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

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #1A3F3F, #003C3C);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 166, 126, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #66FFE2;
    box-shadow: 0 20px 40px rgba(0, 166, 126, 0.3);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00A67E, #66FFE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Projects */
.projects {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1A3F3F, #003C3C);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1A3F3F, #003C3C);
    border: 1px solid rgba(0, 166, 126, 0.2);
    transition: all 0.4s ease;
}

.project-card:hover {
    border-color: #66FFE2;
    box-shadow: 0 20px 40px rgba(0, 166, 126, 0.3);
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.project-overlay h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.project-overlay p {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-link {
    color: #66FFE2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #00A67E;
}

/* Gallery */
.gallery {
    padding: 8rem 0;
    background: #0A0A0A;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.gallery-item {
    position: relative;
    background: linear-gradient(135deg, #1A3F3F, #003C3C);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 166, 126, 0.2);
    overflow: hidden;
    /* Remove fixed aspect ratio to allow natural video proportions */
}

.gallery-item video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: #66FFE2;
    box-shadow: 0 15px 30px rgba(0, 166, 126, 0.3);
}

.gallery-loading {
    text-align: center;
    padding: 2rem;
    color: #66FFE2;
    font-size: 1.1rem;
}

/* Responsive gallery adjustments */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Clients */
.clients {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1A3F3F, #003C3C);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 166, 126, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 166, 126, 0.1);
}

.client-logo:hover {
    background: rgba(0, 166, 126, 0.15);
    transform: translateY(-5px);
    border-color: #66FFE2;
}

.client-logo img {
    max-width: 120px;
    max-height: 60px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* Contact */
.contact {
    padding: 8rem 0;
    background: #0A0A0A;
}

.contact-content h2 {
    margin-bottom: 4rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 166, 126, 0.05);
    border: 2px solid rgba(0, 166, 126, 0.2);
    border-radius: 15px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #66FFE2;
    background: rgba(0, 166, 126, 0.1);
    box-shadow: 0 0 20px rgba(0, 166, 126, 0.2);
}

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

/* Footer */
.footer {
    background: #000000;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    height: 30px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

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

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-social a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666666;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-visual {
        height: 200px;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
}
