/* ============================================================
   RESET
============================================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: "Inter", sans-serif;
    color: #222;
    line-height: 1.6;

    background-image: url("/assets/images/landing/background.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    display:block;
    max-width:100%;
}

main{
    overflow:hidden;
}

/* ============================================================
   VARIABLES
============================================================ */

:root{
    --cream:#fdfbf8;
    --gold:#b4945b;
    --text:#222;
    --container:1200px;
}

/* ============================================================
   LOGO 
============================================================ */

.site-logo{
    position:absolute;
    top:1.5rem;
    left:1.5rem;
    z-index:100;
}

.site-logo img{
    width:155px;
    height:auto;
    display:block;
}

@media (max-width: 768px){

    .site-logo{
        top: 1.25rem;
        left: 1.25rem;
    }
    .site-logo img{
        width: 120px;
    }

}

/* ============================================================
   HERO
============================================================ */

.landing-hero{
    display:flex;
    justify-content:center;
    text-align:center;
    padding:7rem 2rem 3rem;
}

.hero-content{
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1{
    font-family:"Playfair Display",serif;
    font-size:clamp(4rem,8vw,6rem);
    font-weight:500;
    letter-spacing:.03em;
    margin-bottom:.5rem;
}

.hero-subtitle{
    background: linear-gradient(90deg,#B9924A 0%,#ebc471 50%,#a77e34 100%);
    display:block;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size:clamp(1.25rem,2vw,2rem);
    letter-spacing:.7rem;
    margin-bottom:2rem;
}

.hero-divider{
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 15px;
    margin-bottom: 2rem;
}

.hero-divider span{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.hero-divider::before, .hero-divider::after{
    content:"";
    width: 65px;
    height: 1px;
    background: var(--gold);
}

.hero-content h2{
    font-family:cursive;
    font-size: clamp(2rem,3vw,3rem);
    font-weight:400;
    margin-bottom:1rem;
}

.hero-content p{
    color:#444;
}

/* ============================================================
   HERO TITLE ANIMATION
============================================================ */

.hero-content h1,
.hero-subtitle{
    opacity: 0;
    transform: translateY(18px);
    animation: heroTitleIn 1s ease-out forwards;
}

.hero-subtitle{
    animation-delay: .15s;
}

@keyframes heroTitleIn{
    from{
        opacity: 0;
        transform: translateY(18px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   WORLDS
============================================================ */

.worlds{
    width: min(88%, 1050px);
    margin: 0 auto;

    padding: 0 0 7rem;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}

.world{
    position: relative;

    min-height: 760px;

    overflow: hidden;

    display: flex;
    align-items: stretch;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: transform .35s ease;
}

.world:hover{
    transform: translateY(-6px);
}

.world-overlay{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:3rem 2.5rem;
    color:#fff;
}

/* ============================================================
   ICON
============================================================ */

.world-icon{
    width:95px;
    height:95px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-top:2rem;
    margin-bottom:2.75rem;
    border:1px solid rgba(255,255,255,.35);
    border-radius:50%;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(8px);
}

.world-icon i{
    font-size: 2rem;
}

/* ============================================================
   TITLES
============================================================ */

.world h3{
    min-height:110px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:"Playfair Display",serif;
    font-size:2.35rem;
    line-height:1.15;
    margin-bottom:1.25rem;
}

.card-divider{
    background: rgba(255,255,255,.75);
    margin-bottom: 2rem;
}

.world p{
    min-height:150px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    line-height:1.8;
    margin-bottom:2.5rem;
}

/* ============================================================
   BUTTON
============================================================ */

.discover-btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top:auto;
    padding: .95rem 2.5rem;

    border: 1px solid rgba(255,255,255,.8);

    font-size: .85rem;
    font-weight: 600;

    letter-spacing: .18em;
    text-transform: uppercase;

    transition: .3s ease;
}

.world:hover .discover-btn{
    background: #fff;
    color: #222;
}

/* ============================================================
   BACKGROUNDS
============================================================ */

.clean{
    background-image:
        linear-gradient(rgba(0,0,0,.30), rgba(0,0,0,.30)),
        url("/assets/images/landing/car.png");
}

.ceramic{
    background-image:
        linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.18)),
        url("/assets/images/landing/ceramics.png");
}

.paintings{
    background-image:
        linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.18)),
        url("/assets/images/landing/painting.png");
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 900px){

    .worlds{
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .world{
        min-height: 560px;
    }

    .world h3{
        font-size: 1.8rem;
    }

    .world p{
        font-size: .9rem;
    }

    .discover-btn{
        padding: .8rem 1.8rem;
    }

}

@media (max-width: 650px){

    .worlds{
        grid-template-columns: 1fr;
        max-width: 450px;
    }

}

@media (max-width: 600px){

    .world{
        min-height: 560px;
    }

    .world h3{
        font-size: 2rem;
    }

    .world p{
        font-size: 1.1rem;
    }

    .world-icon{
        width: 80px;
        height: 80px;
    }

    .world-icon i{
        font-size: 1.6rem;
    }

}

/* ============================================================
   FOOTER
============================================================ */

.landing-footer{
    text-align:center;
    padding:5rem 2rem;
}

.landing-footer h2{
    font-family:cursive;
    font-size:clamp(2rem,3vw,3rem);
    font-weight:400;
    margin-bottom:2rem;
}

.landing-socials{
    display:flex;
    justify-content:center;
    gap:2rem;
}

.landing-socials a{
    font-size:2rem;
    color:var(--gold);
    transition:opacity .3s ease;
}

.landing-socials a:hover{
    opacity:.7;
}