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

:root {
    --primary-blue: #1a237e;
    --secondary-blue: #283593;
    --accent-blue: #3f51b5;
    --light-blue: #5c6bc0;
    --dark-bg: #0d1421;
    --darker-bg: #070b14;
    --text-light: #ffffff;
    --text-gray: #e8eaf6;
    --overlay-dark: rgba(13, 20, 33, 0.92);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(0.4);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 20, 33, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--secondary-blue);
}

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

.nav-logo h2 {
    color: var(--light-blue);
    font-size: 1.5rem;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--light-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

main {
    padding-top: 80px;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.cta-button {
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--primary-blue), var(--accent-blue));
    color: var(--text-light);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(63, 81, 181, 0.3);
}

.section {
    padding: 80px 0;
    position: relative;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.video-item {
    background: rgba(26, 35, 126, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--secondary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(63, 81, 181, 0.2);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.video-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.shorts-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(26, 35, 126, 0.1);
    border-radius: 15px;
    border: 2px dashed var(--secondary-blue);
}

.placeholder-content h3 {
    font-size: 2rem;
    color: var(--light-blue);
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    background: rgba(26, 35, 126, 0.1);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--secondary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(63, 81, 181, 0.3);
}

.gallery-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 20, 33, 0.95));
    color: var(--text-light);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light-blue);
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.thumbnail-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.thumbnail-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-light);
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.thumbnail-item:hover img {
    filter: brightness(0.7);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.about-text p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.skills {
    text-align: left;
    background: rgba(26, 35, 126, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--secondary-blue);
}

.skills h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

.skills ul {
    list-style: none;
}

.skills li {
    padding: 0.5rem 0;
    color: #ffffff;
    position: relative;
    padding-left: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.skills li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.contact-info {
    background: rgba(26, 35, 126, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--secondary-blue);
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--text-light);
    font-size: 1rem;
}

.contact-info a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

footer {
    background: var(--darker-bg);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--secondary-blue);
}

footer p {
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(13, 20, 33, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-video {
        height: 200px;
    }

    .video-item {
        padding: 1rem;
    }

    .thumbnail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 50px 0;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-item {
        padding: 0.8rem;
    }
}