:root {--dark: #0a0a0a;--ferrari-red: #f7310e;}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {scroll-behavior: smooth;}

body {
    font-family: "Times New Roman", Times, serif;
    color: white;
    background-color: var(--dark);
    overflow-x: hidden;
}

/* ========== HOME ============= */

.Main1 {
    width: 100vw;
    height: 100vh;
    background: black;
    position: relative;
}

.sub11 {
    width: 80vw;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 0;
}

.sub11 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub12 {
    width: 30vw;
    height: 20vh;
    position: absolute;
    left: 0;
    top: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.sub12 span {color: rgb(253, 89, 0);font-size: 90px;}

.sub12 h1 {color: silver;font-size: 80px;}

/* Logo */
.sub13 {
    width: 20vw;
    height: 15vh;
    position: fixed;
    top: 3vh;
    left: 2vw;
    display: flex;
    z-index: 1000;
}

/* Navigation */
.sub14 {
    width: 40vw;
    height: 10vh;
    position: fixed;
    top: 3vh;
    left: 10vw;

    display: flex;
    justify-content: space-evenly;
    align-items: center;

    color: rgb(253, 122, 0);
    font-size: 20px;

    background: rgba(10, 10, 10, 0.85);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.sub14 a {
    color: inherit;
    text-decoration: none;
    padding: 8px 15px;
    transition: 0.3s;
}

.sub14 a:hover {
    color: rgb(255, 225, 0);
    transform: scale(1.15);
}

/* Explore Button */
.sub15 {
    width: 15vw;
    height: 10vh;

    position: fixed;
    top: 2vh;
    right: 3vw;

    display: flex;
    justify-content: center;
    align-items: center;

    color: rgb(253, 89, 0);
    z-index: 1000;
}

.sub15 h1:hover {
    color: rgb(255, 225, 0);
    cursor: pointer;
}

/* ======= INTRO ========= */

.Main2 {
    width: 100vw;
    height: 100vh;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.Main2 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;

    bottom: 13%;
    left: 50%;
    transform: translateX(-50%);

    background: rgba(0, 0, 0, 0.75);

    padding: 25px 60px;

    border-radius: 15px;
    backdrop-filter: blur(8px);

    text-align: center;
    color: rgb(255, 153, 0);
    font-size: 20px;
}

/* ======= GALLERY ========= */

.Main3 {
    padding: 100px 5%;
    background: #111;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* ========= ABOUT ========== */

.Main4 {
    padding: 120px 10%;
    text-align: center;
    background: var(--dark);
}

.Main4 h1 {
    color: var(--ferrari-red);
    font-size: 3.8rem;
    margin-bottom: 30px;
}

.Main4 p {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.3rem;
    line-height: 1.8;
    opacity: 0.9;
}

.Main4 button {
    font-size: 1.2rem;
    padding: 16px 45px;
    background: #ff3814;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.Main4 button:hover {background: #ff5722;transform: scale(1.05);}

/* ======= FOOTER ======= */

footer {
    margin: 0;
    padding: 20px;
    text-align: center;
    background: #0a0a0a;
    color: #666;
}