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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:white;
    color:black;
}

/* HERO */

.hero{
    position:relative;
    height:100vh;

    background-image:url("image/heroimage.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.25);
}

.hero-content{
    position:relative;
    z-index:2;
    color:white;
}

.logo{
    font-size:5rem;
    font-weight:500;
    letter-spacing:0.12em;
}

.tagline{
    margin-top:20px;
    font-size:1rem;
    letter-spacing:0.2em;
    text-transform:uppercase;
}

.button{
    display:inline-block;
    margin-top:40px;
    padding:14px 28px;

    border:1px solid white;
    color:white;
    text-decoration:none;

    transition:0.3s;
}

.button:hover{
    background:white;
    color:black;
}

/* SECTIONS */

section{
    padding:120px 8%;
}

.section-title{
    font-size:2rem;
    margin-bottom:60px;
    text-transform:uppercase;
    letter-spacing:0.1em;
}

/* PHILOSOPHY */

.philosophy{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:60px;
}

.philosophy h3{
    margin-bottom:15px;
}

/* COLLECTION */

.collection{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:60px;
    text-align:center;
    justify-items:center;
    align-items:start;
}

.product{
    display:block;
    color:black;
    text-decoration:none;
    width:100%;
}

.product:visited{
    color:black;
}

.product:hover{
    color:black;
}

.product img{
    width:100%;
    max-width:300px;
    display:block;
    margin:0 auto;
}

.product-name{
    margin-top:20px;
    text-transform:uppercase;
    color:black;
}

/* FEATURED PRODUCT */

.featured{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.featured img{
    width:100%;
}

.features{
    display:flex;
    flex-direction:column;
    gap:30px;
}

/* FOOTER */

.footer{
    text-align:center;
    padding:150px 20px;
}

.footer p{
    margin:10px 0;
    font-size:1.2rem;
}

/* INSTAGRAM */

.instagram-link{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    color:black;
    text-decoration:none;
    letter-spacing:0.1em;
    text-transform:uppercase;
    font-size:0.9rem;
    transition:opacity 0.3s ease;
}

.instagram-link:hover{
    opacity:0.5;
}

/* MOBILE */

@media(max-width:900px){

    .logo{
        font-size:3rem;
    }

    .philosophy{
        grid-template-columns:1fr;
    }

    .collection{
        grid-template-columns:1fr;
    }

    .featured{
        grid-template-columns:1fr;
    }

}

.image-wrapper{
    position:relative;
    width:100%;
    max-width:300px;
    margin:0 auto;
}

.image-wrapper img{
    width:100%;
    display:block;
    transition:opacity 0.3s ease;
}

/* second image sits on top */
.hover-img{
    position:absolute;
    top:0;
    left:0;
    opacity:0;
}

/* hover effect */
.hover-swap:hover .default-img{
    opacity:0;
}

.hover-swap:hover .hover-img{
    opacity:1;
}

.price-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:40px;
}

.color-options{
    display:flex;
    gap:10px;
    align-items:center;
}

.color{
    width:16px;
    height:16px;
    border-radius:50%;
    border:1px solid black;
    cursor:pointer;
    background:transparent;
    padding:0;
}

/* actual colors */
.color.black{
    background:black;
}

.color.skin{
    background:#d8b08c;
}

/* active state */
.color.active{
    outline:2px solid black;
    outline-offset:2px;
}

.lost-ball-entry{
    text-align:center;
    padding:140px 8%;
}

.lost-ball-text{
    font-size:1rem;
    opacity:0.7;
    margin-bottom:40px;
    max-width:500px;
    margin-left:auto;
    margin-right:auto;
    line-height:1.6;
}

.lost-ball-link{
    display:inline-block;
    padding:14px 28px;

    border:1px solid black;
    color:black;
    text-decoration:none;

    letter-spacing:0.1em;
    text-transform:uppercase;

    transition:0.3s ease;
}

.lost-ball-link:hover{
    background:black;
    color:white;
}
