*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#f5f3f3;
}

/* NAVBAR */

.navbar{
    background:#ffffff;
    padding:20px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.logo{
    font-size:24px;
    font-weight:700;
    white-space:nowrap;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-links a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#0077ff;
}

.profile{
    width:45px;
    height:45px;
    background:#e9eef5;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    flex-shrink:0;
}

.profile:hover{
    background:#dbe6f5;
}

/* HERO */

.hero{
    text-align:center;
    padding:60px 20px;
}

.hero h1{
    font-size:38px;
    color:#222;
    margin-bottom:30px;
}

.search-box{
    width:70%;
    max-width:700px;
    margin:auto;
    background:white;
    border-radius:50px;
    padding:15px 25px;
    display:flex;
    align-items:center;
    gap:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.search-box input{
    width:100%;
    border:none;
    outline:none;
    font-size:16px;
}

/* GALLERY */

.gallery{
    width:90%;
    margin:auto;
    column-count:3;
    column-gap:20px;
}

.card{
    margin-bottom:20px;
    break-inside:avoid;
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.4s;
}

.card:hover img{
    transform:scale(1.05);
}

.short{
    height:280px;
}

.medium{
    height:350px;
}

.large{
    height:450px;
}

/* LOAD MORE */

.load-more-container{
    text-align:center;
    margin:30px 0;
}

.load-more-btn{
    border:none;
    background:#ffffff;
    color:#000;
    padding:14px 30px;
    border-radius:30px;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

.load-more-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.load-more-btn i{
    margin-right:8px;
}

/* FOOTER */

footer{
    background:white;
    padding:25px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #ddd;
}

.footer-links{
    display:flex;
    gap:25px;
}

.footer-links a{
    text-decoration:none;
    color:#444;
}

.footer-links a:hover{
    color:#0077ff;
}

/* RESPONSIVE */

@media(max-width:900px){

    .gallery{
        column-count:2;
    }

    .navbar{
        padding:15px 20px;
    }

    .search-box{
        width:90%;
    }

    .hero h1{
        font-size:30px;
    }

    .nav-links{
        gap:15px;
    }
}

@media(max-width:600px){

    .gallery{
        column-count:1;
    }

    .navbar{
        padding:12px 15px;
    }

    .logo{
        font-size:20px;
    }

    .nav-links{
        gap:10px;
        overflow-x:auto;
        white-space:nowrap;
        scrollbar-width:none;
    }

    .nav-links::-webkit-scrollbar{
        display:none;
    }

    .nav-links a{
        font-size:14px;
    }

    .search-box{
        width:95%;
    }

    .hero h1{
        font-size:24px;
        margin-bottom:20px;
    }

    footer{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }

    .footer-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:10px;
    }
}