/*
Theme Name: Sandarch Theme
Author: unknown
Version: 1.0
*/


/* =========================================================
   01. GLOBAL RESET
   ========================================================= */

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


/* =========================================================
   02. HTML & BODY
   ========================================================= */

html,
body {
    width: 100%;
    height: 100%;
}

body {
    overflow-x: hidden;
    background: #000;
}


/* =========================================================
   03. HERO SECTION
   ========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


/* =========================================================
   04. HERO SLIDES
   ========================================================= */

.slide {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;

    animation: heroSlide 25s infinite;
}

.slide::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .35);
}


/* =========================================================
   05. HERO SLIDE IMAGES
   ========================================================= */

.slide:nth-child(1) {
    background-image: url("../images/slide1.png");
    animation-delay: 0s;
}

.slide:nth-child(2) {
    background-image: url("../images/slide2.png");
    animation-delay: 5s;
}

.slide:nth-child(3) {
    background-image: url("../images/slide3.png");
    animation-delay: 10s;
}

.slide:nth-child(4) {
    background-image: url("../images/slide4.jpg");
    animation-delay: 15s;
}

.slide:nth-child(5) {
    background-image: url("../images/slide5.png");
    animation-delay: 20s;
}

.slide:nth-child(6) {
    background-image: url("../images/slide6.png");
    animation-delay: 25s;
}


/* =========================================================
   06. HERO SLIDE ANIMATION
   ========================================================= */

@keyframes heroSlide {

    0% {
        opacity: 0;
        transform: scale(1);
    }

    4% {
        opacity: 1;
    }

    20% {
        opacity: 1;
        transform: scale(1.05);
    }

    24% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}


/* =========================================================
   07. HERO CONTENT
   ========================================================= */

.hero-content {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: 10;

    width: 90%;

    text-align: center;
    color: transparent;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-content p {
    margin-top: 18px;

    font-size: 16px;
    letter-spacing: 6px;

    text-transform: uppercase;
}


/* =========================================================
   08. SCROLL INDICATOR
   ========================================================= */

.scroll {
    position: absolute;

    left: 50%;
    bottom: 40px;

    transform: translateX(-50%);

    color: transparent;

    z-index: 20;

    font-size: 13px;
    letter-spacing: 4px;

    animation: float 2s infinite;
}


/* =========================================================
   09. SCROLL ANIMATION
   ========================================================= */

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 10px);
    }
}


/* =========================================================
   10. HERO NAVIGATION
   ========================================================= */

.hero-nav {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    width: 90%;
    max-width: 1400px;

    height: 80px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent;

    z-index: 100;
}



/* =========================================================
   11. LOGO
   ========================================================= */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
}


/* =========================================================
   12. HERO NAVIGATION MENU
   ========================================================= */

.hero-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.hero-nav a {
    color: transparent;
    text-decoration: none;

    font-size: 24px;
    letter-spacing: 2px;

    transition: .35s;
    font-weight: bold;
}

.hero-nav a:hover {
    opacity: .6;
}


/* =========================================================
   13. HERO OVERLAY
   ========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(rgba(0, 0, 0, .15),
            rgba(0, 0, 0, .25),
            rgba(0, 0, 0, .35));

    pointer-events: none;
}


/* =========================================================
   14. RESPONSIVE - TABLET
   Max Width: 991px
   ========================================================= */

@media (max-width: 991px) {


    .hero-nav {
        background: transparent;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 14px;
        letter-spacing: 3px;
    }

}


/* =========================================================
   15. RESPONSIVE - MOBILE
   Max Width: 768px
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       HERO NAV
       ----------------------------------------- */

    .hero-nav {
        top: 0;
        left: 0;
        right: 0;

        width: 90%;
        height: 80px;

        margin: auto;

        display: flex;
        flex-direction: row;

        justify-content: space-between;
        align-items: center;

        background: transparent;

        border: none;
        outline: none;

        gap: 0;
    }


    /* -----------------------------------------
       LOGO
       ----------------------------------------- */

    .logo {
        display: flex;
        align-items: center;

        flex-shrink: 1;
        min-width: 0;

        background: transparent;
    }

    .logo a {
        display: flex;
        align-items: center;

        background: transparent;
    }

    .logo img {
        display: block;

        width: clamp(170px, 55vw, 250px);
        max-width: 100%;

        height: auto;
    }


    /* -----------------------------------------
       NAVIGATION
       ----------------------------------------- */

    .hero-nav ul {
        display: none;
    }


    /* -----------------------------------------
       HERO CONTENT
       ----------------------------------------- */

    .hero-content h1,
    .hero-content p {
        display: none;
    }


    /* -----------------------------------------
       SCROLL
       ----------------------------------------- */

    .scroll {
        display: none;
    }

}


/* =========================================================
   16. VERY SMALL MOBILE
   Max Width: 480px
   ========================================================= */

@media (max-width: 480px) {

    .hero-nav {
        width: 90%;
        height: 70px;

        background: transparent;
        border: none;
    }


    .logo {
        background: transparent;
    }


    .logo img {
        width: clamp(150px, 55vw, 200px);
        max-width: 100%;

        height: auto;
    }

}