/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PAGE */

body {
    background: #000;
    color: white;
    font-family: Arial, Helvetica, sans-serif;

    overflow-x: hidden;
}

/* HERO */

.hero {
    text-align: center;
    padding-top: 60px;
}

.title {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 8px;

    transition: transform 0.15s ease;
}

.subtitle {
    margin-top: 15px;

    color: #888;

    font-size: 1rem;

    letter-spacing: 4px;

    text-transform: uppercase;
}

/* PORTFOLIO GALLERY */

.gallery-container {

    width: 100%;

    overflow: visible;

    margin-top: 80px;

    position: relative;

}

.gallery-track {
    display: flex;
    gap: 20px;
    width: max-content;

    padding: 40px 0;

    position: relative;

    overflow: visible;

    animation: scrollGallery 80s linear infinite;
}

.gallery-track img {

    width: 500px;
    height: auto;

    transition: all .7s ease;

    position: relative;
}

.gallery-track img:hover {

    filter: brightness(1.15);

}
/* SCROLL ANIMATION */

@keyframes scrollGallery {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

#preview {

    position: fixed;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;

    opacity: 0;

    transition: opacity .4s ease;

    z-index: 100000;
}

#preview img {

    max-width: 80vw;
    max-height: 80vh;

    border-radius: 12px;

    box-shadow:
        0 0 80px rgba(0,0,0,.8);
}

.video-section {

    margin-top: 80px;

    padding-bottom: 80px;

    text-align: center;
}

.video-section h2 {

    font-size: 2rem;

    letter-spacing: 6px;

    margin-bottom: 60px;

    color: white;
}

.video-grid {

    display: flex;

    justify-content: center;

    gap: 40px;

    flex-wrap: wrap;
}

.video-grid video {

    width: 300px;

    border-radius: 18px;

    transition:
        transform .4s ease,
        box-shadow .4s ease;

    box-shadow:
        0 0 40px rgba(255,255,255,.08);
}

.video-grid video:hover {

    transform: scale(1.55);

    box-shadow:
        0 0 60px rgba(255,255,255,.2);
}

.section-title {

    font-size: 2rem;

    letter-spacing: 6px;

    color: white;

    text-align: center;

    margin-bottom: 40px;
}

.ai-edits-section {
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
}

.ai-edits-section h2 {
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.ai-edits-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ai-edit-item {
    overflow: hidden;
    border-radius: 12px;
}

.ai-edit-item img {
    width: 350px;
    height: 650px;
    object-fit: cover;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    display: block;
}

.ai-edit-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255,255,255,0.25);
}

/* FEATURED WORK */

.hybrid-design-section {
    max-width: 1600px;
    margin: 80px auto;
    padding: 0 20px;
}

.hybrid-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hybrid-grid img {
    width: 350px;
    border-radius: 12px;
    cursor: pointer;
}