/* ========================================
   HOME PAGE
   Levy Martin
======================================== */

/* ==========================
   HERO
========================== */

.hero{
    position:relative;
    width:100%;
    height:100vh;
    margin-top:0;
}

.hero-image{
    position:absolute;
    inset:0;
}

.hero-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(0,0,0,.20),
        rgba(0,0,0,.35)
    );
}

.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    animation:heroZoom 18s ease-in-out infinite alternate;
}

.hero-content{
    position:relative;
    z-index:2;
    height:100%;
    width:min(90%,1400px);
    margin:auto;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;

    color:white;
}

.hero-content .subtitle{

    color:white;

    text-transform:uppercase;

    letter-spacing:5px;

    margin-bottom:25px;

    font-size:.9rem;

}

.hero-content h1{

    color:white;

    font-size:clamp(2.8rem,5vw,5rem);

    line-height:1.1;

    max-width:700px;

    margin-bottom:45px;

}

/* ==========================
   INTRO
========================== */

.intro{

    background:#fafafa;

}

.intro .container{

    max-width:800px;

    text-align:center;

}

.intro h2{

    margin-bottom:30px;

}

.intro p{

    font-size:1.1rem;

}

/* ==========================
   FEATURED
========================== */

.featured{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:100px;

    width:min(92%,1400px);

    margin:auto;

}

.featured .image{

    overflow:hidden;

}

.featured img{

    transition:1.2s;

}

.featured:hover img{

    transform:scale(1.08);

}

.featured h2{

    margin:20px 0;

}

.featured p{

    margin-bottom:35px;

}

/* ==========================
   PRODUCTS
========================== */

.products{

    width:min(92%,1400px);

    margin:auto;

}

.product-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:35px;

}

.product-card{

    cursor:pointer;

}

.product-card img{

    aspect-ratio:4/5;

    object-fit:cover;

    transition:.6s;

}

.product-card:hover img{

    transform:scale(1.05);

}

.product-card h3{

    margin-top:25px;

    margin-bottom:8px;

    font-size:1.3rem;

}

.product-card p{

    color:var(--color-primary);

    font-weight:600;

}

/* ==========================
   LOOKBOOK
========================== */

.lookbook{

    position:relative;

    min-height:90vh;

    background:url("../assets/images/lookbook/lookbook.jpg") center/cover;

    display:flex;

    justify-content:center;

    align-items:center;

}

.lookbook::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);

}

.lookbook .overlay{

    position:relative;

    z-index:2;

    text-align:center;

    color:white;

}

.lookbook p{

    color:white;

    letter-spacing:5px;

    text-transform:uppercase;

    margin-bottom:20px;

}

.lookbook h2{

    color:white;

    margin-bottom:40px;

}

/* ==========================
   JOURNAL
========================== */

.journal{

    width:min(92%,1400px);

    margin:auto;

}

.journal-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.journal article{

    overflow:hidden;

}

.journal article img{

    aspect-ratio:4/3;

    transition:.8s;

}

.journal article:hover img{

    transform:scale(1.08);

}

.journal h3{

    margin-top:25px;

}

/* ==========================
   NEWSLETTER
========================== */

.newsletter{

    background:#f7f7f7;

}

.newsletter .container{

    max-width:750px;

    text-align:center;

}

.newsletter h2{

    margin:20px 0 40px;

}

.newsletter form{

    display:flex;

    gap:15px;

}

.newsletter input{

    flex:1;

}

.newsletter button{

    background:var(--color-primary);

    color:white;

    padding:0 40px;

    border:none;

    cursor:pointer;

    transition:.3s;

}

.newsletter button:hover{

    background:black;

}

/* ==========================
   ANIMATIONS
========================== */

@keyframes heroZoom{

    from{

        transform:scale(1);

    }

    to{

        transform:scale(1.08);

    }

}

/*==========================
NORTH STAR
===========================*/

.north-star{

padding:140px 0;

background:#f8f8f8;

}

.north-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:40px;

margin-top:70px;

}

.north-card{

padding:50px;

background:white;

text-align:center;

transition:.4s;

}

.north-card:hover{

transform:translateY(-8px);

}

.north-card h3{

margin-bottom:20px;

}

@media(max-width:900px){

.north-grid{

grid-template-columns:1fr;

}

}

/*==========================
YOUTH CODE
===========================*/

.youth-code{

padding:140px 0;

background:#1F0E0A;

color:white;

}

.youth-code h2,

.youth-code h3,

.youth-code p{

color:white;

}

.code-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:50px;

margin-top:60px;

}

.code-grid div{

text-align:center;

}

@media(max-width:900px){

.code-grid{

grid-template-columns:1fr;

}

}

/*==========================
PROMISE
===========================*/

.brand-promise{

padding:180px 0;

background:#111;

text-align:center;

}

.brand-promise h2{

color:white;

max-width:900px;

margin:auto;

}

.brand-promise p{

margin-top:40px;

font-size:1.6rem;

color:#BEC0B7;

}

/*=========================
MARKET CONTEXT
==========================*/

.market-context{

padding:140px 0;

background:#fff;

}

.market-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:40px;

margin-top:70px;

}

.market-item{

padding:45px;

background:#fafafa;

text-align:center;

border:1px solid rgba(0,0,0,.05);

transition:.4s;

}

.market-item:hover{

transform:translateY(-8px);

}

.market-item i{

font-size:52px;

color:var(--primary);

margin-bottom:25px;

display:block;

}

.market-item h3{

margin-bottom:20px;

}

@media(max-width:900px){

.market-grid{

grid-template-columns:1fr;

}

}

/*=========================
DESIGN PHILOSOPHY
==========================*/

.design-philosophy{

padding:160px 0;

background:#1F0E0A;

text-align:center;

}

.design-philosophy h2{

color:white;

max-width:700px;

margin:auto;

}

.design-philosophy p{

color:#BEC0B7;

max-width:750px;

margin:40px auto 0;

font-size:1.1rem;

line-height:1.9;

}

/*=========================
PRODUCT ECOSYSTEM
==========================*/

.ecosystem{

padding:140px 0;

background:#fff;

}

.eco-grid{

display:grid;

grid-template-columns:repeat(6,1fr);

gap:25px;

margin-top:60px;

}

.eco-grid div{

padding:35px;

background:#fafafa;

text-align:center;

font-weight:600;

transition:.4s;

}

.eco-grid div:hover{

background:#1F0E0A;

color:white;

}

@media(max-width:1100px){

.eco-grid{

grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:700px){

.eco-grid{

grid-template-columns:repeat(2,1fr);

}

}

/*=========================
VISION
==========================*/

.vision{

padding:160px 0;

background:#f8f8f8;

text-align:center;

}

.vision-text{

max-width:750px;

margin:40px auto 0;

font-size:1.1rem;

line-height:1.9;

}

/* BRAND PERSONALITY */

.brand-personality{

padding:140px 0;

background:#fff;

}

.personality-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

margin-top:60px;

}

.personality-card{

padding:40px;

background:#fafafa;

border:1px solid rgba(0,0,0,.05);

text-align:center;

transition:.4s;

}

.personality-card:hover{

transform:translateY(-8px);

}

@media(max-width:900px){

.personality-grid{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:650px){

.personality-grid{

grid-template-columns:1fr;

}

}

/* =========================================
   Lifestyle Gallery
========================================= */

.lifestyle-gallery{

    padding:140px 0;

    background:#f8f8f8;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-top:70px;

}

.gallery-item{

    overflow:hidden;

    border-radius:18px;

}

.gallery-item img{

    width:100%;
    height:100%;
    object-fit:cover;

    /* Keeps the top of the image visible */
    object-position:center top;

    display:block;
    transition:.5s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

.gallery-item.large{

    height:620px;

}

.gallery-item.wide{

    height:620px;

}

.gallery-item{

    height:620px;

}

@media (max-width:768px){

.gallery-grid{

    grid-template-columns:1fr;
    gap:20px;

}

.gallery-item,
.gallery-item.large,
.gallery-item.wide{

    height:600px;
    grid-column:span 1;

}

.gallery-item img{

    object-fit:cover;
    object-position:center top;

}

}

/*==================================
LM EXPERIENCE
==================================*/

.experience-point{

    padding:140px 0;

    background:#ffffff;

}

.experience-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:60px;

}

.experience-card{

    padding:45px;

    background:#fafafa;

    border-radius:16px;

    text-align:center;

    transition:.4s;

}

.experience-card:hover{

    transform:translateY(-8px);

}

.experience-card i{

    font-size:48px;

    color:var(--primary);

    margin-bottom:20px;

    display:block;

}

@media(max-width:900px){

.experience-grid{

grid-template-columns:1fr;

}

}