/* ===========================
   KIKITSA
   style.css
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#ffffff;
    color:#222;
    line-height:1.7;
}

/* HEADER */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:22px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(10px);
    z-index:1000;
    border-bottom:1px solid #ececec;
}

.logo{
    font-family:'Cormorant Garamond',serif;
    font-size:34px;
    letter-spacing:4px;
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    color:#222;
    text-decoration:none;
    font-size:15px;
    transition:.3s;
}

nav a:hover{
    color:#888;
}

/* HERO */

.hero{
    height:100vh;
    background:url("images/hero.jpg") center center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.hero-content{
    position:relative;
    z-index:2;
    color:#ffff;
    text-align:center;
    width:90%;
    max-width:850px;
}

.hero h1{
    font-family:'Cormorant Garamond',serif;
    font-size:92px;
    letter-spacing:8px;
}

.hero h2{
    font-size:28px;
    font-weight:300;
    margin-top:10px;
}

.hero p{
    margin:35px auto;
    max-width:650px;
    font-size:20px;
    color:#fff;   
}

.button{
    display:inline-block;
    padding:16px 42px;
    border:2px solid white;
    color:white;
    text-decoration:none;
    transition:.35s;
}

.button:hover{
    background:white;
    color:#111;
}

/* GENERAL */

section{
    padding:120px 8%;
}

.container{
    max-width:1200px;
    margin:auto;
}

h2{
    font-family:'Cormorant Garamond',serif;
    font-size:54px;
    margin-bottom:35px;
    font-weight:600;
}

p{
    font-size:18px;
    color:#555;
}

/* ABOUT */

#about{
    background:#fafafa;
}

.features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:60px;
}

.feature{
    background:white;
    padding:35px;
    border-radius:10px;
    transition:.3s;
}

.feature:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.feature h3{
    margin-bottom:15px;
}

/* SPACE */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    margin-top:60px;
}

.card{
    padding:40px;
    border:1px solid #eee;
    transition:.3s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

/* GALLERY */

#gallery{
    background:#111;
}

#gallery h2{
    color:white;
    text-align:center;
    margin-bottom:60px;
}

.gallery{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.gallery img{
    width:100%;
    height:380px;
    object-fit:cover;
    cursor:pointer;
    transition:.4s;
}

.gallery img:hover{
    transform:scale(1.03);
}

/* CONTACT */

#contact{
    text-align:center;
}

.contact-box{
    margin:40px auto;
    max-width:500px;
}

.contact-box p{
    margin-bottom:18px;
}

#contact .button{
    color:#111;
    border:2px solid #111;
}

#contact .button:hover{
    background:#111;
    color:white;
}

/* FOOTER */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:50px 20px;
}

footer p{
    color:#bbb;
    margin:8px;
}

/* ANIMATION */

.feature,
.card,
.gallery img{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1 !important;
    transform:translateY(0) !important;
}

/* MOBILE */

@media(max-width:900px){

header{
    flex-direction:column;
    gap:20px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

.hero h1{
    font-size:56px;
}

.hero h2{
    font-size:22px;
}

.hero p{
    font-size:18px;
}

.features{
    grid-template-columns:1fr;
}

.gallery{
    grid-template-columns:1fr;
}

.gallery img{
    height:260px;
}

h2{
    font-size:42px;
}

section{
    padding:90px 6%;
}

}
/* Active navigation */

nav a.active{
    color:#888;
}

/* Lightbox */

#lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

#lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:8px;
}

#close-lightbox{
    position:absolute;
    top:30px;
    right:40px;
    color:white;
    font-size:50px;
    cursor:pointer;
    font-family:Arial,sans-serif;
}
