* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

body {
    background: #0c0f18;
    color: #fff;
}

/* === HOMEPAGE-SPECIFIC STYLES === */
.banner {
    width: 100%;
    height: 100vh;
    position: relative;
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar {
    width: 85%;
    margin: auto;
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1010;
}

.navbar ul li a {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.navbar ul li::after {
    content: '';
    height: 3px;
    width: 0;
    background: #009688;
    position: absolute;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
}

.navbar ul li:hover::after {
    width: 100%;
}

/* Hide video background on small screens to save mobile data; a static
   image takes over via .banner's background (see mobile media query). */
@media (max-width: 600px) {
    .back-video {
        display: none;
    }

    .banner {
        background: url('background.png') center/cover no-repeat;
    }
}

.content {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.content h1 {
    font-size: 70px;
    margin-top: 80px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.content p {
    margin: 20px auto;
    font-weight: 100;
    line-height: 25px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}


/* === SHARED STYLES (Used on multiple pages) === */
.logo {
    width: 120px;
    cursor: pointer;
}

.navbar ul li, .top-nav ul li {
    list-style: none;
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

.navbar ul li a, .top-nav ul li a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
}

.button-link {
    width: 200px;
    padding: 15px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #009688;
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.button-link span {
    background: #009688;
    height: 100%;
    width: 0;
    border-radius: 25px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.5s;
}

.button-link:hover span {
    width: 100%;
}

.top-nav {
    width: 85%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-nav ul li a:hover {
    color: #009688;
    transition: 0.3s;
}

/* === MOBILE NAVIGATION === */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

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

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .navbar ul, .top-nav ul {
        position: fixed;
        top: 85px;
        right: 20px;
        left: auto;
        width: auto;
        min-width: 180px;
        max-width: 250px;
        height: auto;
        margin: 0;
        padding: 15px 0;
        background: #12151f;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        transform: translateY(-12px) scale(0.96);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
        z-index: 1000;
        isolation: isolate;
    }

    .navbar ul.active, .top-nav ul.active {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .navbar ul li, .top-nav ul li {
        margin: 10px 0;
    }

    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-backdrop.active {
        display: block;
    }
}

/* === FOOTER === */
.site-footer {
    width: 100%;
    padding: 25px 0;
    text-align: center;
    color: #888;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer a {
    color: #009688;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}


/* === CREATIONS PAGE STYLES === */
.gallery-page {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    padding: 40px 0;
    text-align: center;
}

.gallery-page h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

.gallery-page .gallery-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    color: #ddd;
}

.creation-section {
    margin-bottom: 60px;
}

.creation-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #009688;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.video-item {
    width: 100%;
    max-width: 600px;
    flex-grow: 1;
}

.video-item.vertical {
    max-width: 320px;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border: 3px solid #009688;
    box-shadow: 0 0 25px rgba(0, 150, 136, 0.5);
    border-radius: 5px;
    overflow: hidden;
}

.video-item.vertical .video-embed {
    padding-top: 177.78%;
}

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

.video-description {
    margin-top: 15px;
    font-size: 16px;
    color: #aaa;
    font-style: italic;
}

/* === ABOUT PAGE STYLES === */
.about-page {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
    text-align: center;
}

.about-page h1 {
    font-size: 50px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    text-align: left;
}

.profile-picture-container {
    flex-shrink: 0;
}

.profile-picture-container img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #009688;
    box-shadow: 0 0 25px rgba(0, 150, 136, 0.5);
}

.profile-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.profile-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ddd;
}

.profile-text p strong {
    color: #fff;
}

/* Responsive adjustments for the About page */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-text {
        text-align: center;
    }
}