/* Reset */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#111;
    color:white;
    animation: morphIn 0.8s ease;
}

/* ================= HEADER ================= */

header{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    background:#c40000;
    padding:20px 60px;
    position:sticky;
    top:0;
    z-index:1000;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    font-size:18px;
    font-weight:bold;
    transition:0.3s;
}

nav a:hover{
    color:gold;
}

/* Homepage Button */
.landing-page-btn{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;

    background: #ff3131;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.landing-page-btn:hover{
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 49, 49, .45);
}

.landing-page-btn a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.landing-page-btn:hover a{
    color: #ba0000;
}

/* ================= HOME ================= */

#home{

    display:flex;
    justify-content:space-between;
    align-items:center;

    min-height:90vh;

    padding:2px 8% 80px;

    background:linear-gradient(to right,#9d0000,#111);

}

/* ================= LEFT SIDE ================= */

.left{

    width:48%;

}

.left h1{

    font-size:72px;
    line-height:1.1;
    margin-bottom:30px;

    letter-spacing:2px;

}

.left p{

    font-size:21px;
    line-height:1.8;

    text-align:justify;

    max-width:600px;

    color:#f0f0f0;

}

/* ================= BUTTON ================= */

button{

    margin-top:40px;

    padding:16px 40px;

    border:none;

    border-radius:50px;

    background:#ff3131;

    color:white;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

button:hover{

    background:white;

    color:#c40000;

    transform:translateY(-5px);

    box-shadow:0 10px 20px rgba(255,49,49,.4);

}

button a{

    color:inherit;

    text-decoration:none;

}

/* ================= RIGHT SIDE ================= */

.right{

    width:45%;

    display:flex;

    justify-content:center;

}

.right img{

    width:100%;

    max-width:500px;

    border-radius:20px;

    filter:drop-shadow(0 15px 25px rgba(0,0,0,.4));

    transition:.3s;

}

.right img:hover{

    transform:scale(1.04);

}


/* ================= GALLERY ================= */
#gallery{

    scroll-margin-top:90px;

    padding:70px 80px;

    background:#181818;

    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:30px;

}

#gallery h2{
    grid-column:1 / -1;
    font-size:40px;
    color:#ff2d2d;
    margin-bottom:20px;
}

#gallery article{
    background:#222;
    padding:20px;
    border-radius:15px;
    transition:0.3s;
}

#gallery article:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 20px rgba(255,0,0,0.4);
}

#gallery article img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
}

#gallery article h3{
    margin-top:15px;
}

/* ================= LIGHTBOX ================= */

#lightbox{
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.9);

    justify-content: center;
    align-items: center;

    z-index: 9999;
}

#lightbox img{
    max-width: 85%;
    max-height: 85%;

    border-radius: 15px;

    border: 4px solid #c40000;

    box-shadow: 0 0 25px rgba(255, 49, 49, 0.6);

    animation: zoomIn .3s ease;
}

/* Close Button */

#close{
    position: absolute;

    top: 25px;
    right: 40px;

    font-size: 50px;

    color: white;

    font-weight: bold;

    cursor: pointer;

    transition: .3s;
}

#close:hover{
    color: #ff3131;
    transform: scale(1.2);
}

/* Cursor */

#gallery img{
    cursor: pointer;
    transition: .3s;
}

#gallery img:hover{
    transform: scale(1.05);
}

/* Zoom Animation */

@keyframes zoomIn{

    from{
        transform: scale(0.7);
        opacity: 0;
    }

    to{
        transform: scale(1);
        opacity: 1;
    }

}

/* ================= FOOTER ================= */

footer{

    background:#c40000;

    text-align:center;

    padding:20px;

    font-size:18px;

    font-weight:bold;

}

@keyframes morphIn{
    from{
        opacity: 0;
        transform: scale(0.95);
        filter: blur(10px);
    }

    to{
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}