/* style.css */
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}


body {
    background-color: #3E4654;
    color: #ffffff;
    scroll-behavior: smooth;
}


/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(62, 70, 84, 0); /* Transparent */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Solid background and shadow on scroll */
header.scrolled {
    background-color: rgba(62, 70, 84, 1); /* Solid color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

header .logo img {
    width: 150px;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #f39c12;
}



/* Hero Section */
.hero {
    height: 100vh;
    background: url('images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 70, 84, 0.6);
}


.hero-content {
    position: relative;
    color: #f39c12;
    max-width: 800px;
}


.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 60px;
    margin-bottom: 20px;
}


.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
}


.hero-btn {
    padding: 15px 30px;
    background-color: #f39c12;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s;
}


.hero-btn:hover {
    background-color: #e67e22;
}


/* Sections */
.section {
    padding: 120px 50px 50px 50px;
    text-align: center;
}


.section h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #f39c12;
}


.section-subtitle {
    font-size: 18px;
    color: #d1d5db;
    margin-bottom: 50px;
}


/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}


.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
    text-align: left;
}


.portfolio-item h3 {
    color: #f39c12;
    margin-bottom: 10px;
}


.portfolio-item p {
    color: #ffffff;
}


.portfolio-item:hover {
    transform: translateY(-10px);
    background-color: rgba(243, 156, 18, 0.2);
}


/* Videos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}


.video-grid iframe {
    width: 50%;
    height: 500px;
    border-radius: 15px;
    transition: transform 0.3s;
    align-items: center;
    justify-content: center;
    margin-left: 450px;
}


.video-grid iframe:hover {
    transform: scale(1.05);
}


/* About */
.about-content {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-left: 350px;
    margin-right: 350px;
}


.about-content img {
    width: 300px;
    border-radius: 20px;
    object-fit: cover;
}


.about-content div p {
    text-align: center;
    line-height: 1.7;
}


/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}


form input,
form textarea {
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}


form input::placeholder,
form textarea::placeholder {
    color: #d1d5db;
}


form button {
    padding: 15px;
    border: none;
    background-color: #f39c12;
    color: #ffffff;
    font-size: 18px;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}


form button:hover {
    background-color: #e67e22;
}


#formMessage {
    margin-top: 15px;
    font-weight: bold;
}


/* Footer */
footer {
    background-color: rgba(62, 70, 84, 0.95);
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
    color: #ffffff;
}


/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
    }

    header nav ul li {
        margin: 10px 0;
    }


    .about-content {
        flex-direction: column;
    }


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


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




/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
    width: 28px;
    margin-left: 145px;
}


.burger div {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}


/* Mobile Styles */
@media (max-width: 768px) {
    header nav ul.nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 60%;
        background-color: rgba(62, 70, 84, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 120px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }


    header nav ul.nav-links li {
        margin: 30px 0;
    }


    .burger {
        display: flex;
    }


    /* Burger toggle animation */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }


    .burger.toggle .line2 {
        opacity: 0;
    }


    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }


    /* Active nav */
    nav ul.nav-links.nav-active {
        transform: translateX(0);
    }

    header .logo img {
        width: 120px;
        align-items: center;
        justify-content: center;
        margin-left: 100px;
    }

    .about-content {
        margin-left: 50px;
        margin-right: 50px;
    }

    .video-grid iframe {
        width: 100%;
        height: 300px;
        margin-left: 0;
    }
}