*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#faf8f4;
color:#140b01;
}

a{
text-decoration:none;
}

img{
width:100%;
display:block;
}


/* nav */
.hamburger{
    display:none;
    width:35px;
    height:30px;
    position:relative;
    background:none;
    border:none;
    cursor:pointer;
}

.hamburger span{
    position:absolute;
    width:100%;
    height:3px;
    background:#222;
    left:0;
    transition:.3s;
}

.hamburger span:nth-child(1){
    top:4px;
}

.hamburger span:nth-child(2){
    top:13px;
}

.hamburger span:nth-child(3){
    top:22px;
}

.hamburger.active span:nth-child(1){
    transform:rotate(45deg);
    top:13px;
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg);
    top:13px;
}
/* HEADER */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:25px 8%;
background:white;
}

.logo h2{
font-size:40px;
font-weight:800;
}

.logo span{
font-size:12px;
letter-spacing:1px;
}

nav{
display:flex;
gap:25px;
}

nav a{
color:#2e170d;
font-weight:600;
text-transform:uppercase;
font-size:24px;
}

nav a.active{

    color:#d6a323;

}

nav  a.active::after{

    width:100%;

}

.white{
background:white;
color:rgb(29, 17, 6);
}
a {
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background-color: #A6A6A6;
  width: 0%;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
  animation: heartbeat116 1.5s ease-in-out 0.3s infinite;
}

/* ===========================
   ORDER BUTTON
=========================== */

.order-btn{

    background:#d6a323;
    color:#222;
    text-decoration:none;
    padding:14px 28px;
    border-radius:8px;
    font-weight:700;
    transition:.3s;

}

.order-btn:hover{

    background:#222;
    color:#fff;

}




/* Gallery */
.gallery-section {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 80px 0;
}

/* Header */

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.eyebrow {
    color: #a67c52;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.gallery-header h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 15px;
}

.description {
    max-width: 600px;
    margin: auto;
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

/* Filter buttons */

.filter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid #ddd;
    background: white;
    color: #444;
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #222;
    color: white;
    border-color: #222;
}

.filter-btn.active {
    background: #222;
    color: white;
    border-color: #222;
}

/* Gallery */

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    background: #ddd;

    animation: fadeIn 0.4s ease;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(4),
.gallery-item:nth-child(6) {
    grid-row: span 2;
    height: 578px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Image overlay */

.image-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 50px 20px 20px;

    color: white;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.75)
    );

    transform: translateY(5px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.image-overlay p {
    font-size: 13px;
    opacity: 0.85;
}

/* Hidden gallery items */

.gallery-item.hide {
    display: none;
}

/* Animation */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Gallery */


/* ================= FOOTER ================= */


footer{

    background:#220801;

    color:#fff;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:35px;

    padding:45px 60px;

}

.footer-box h4{

    margin-bottom:18px;

    font-size:16px;

}

.footer-box p{

    color:#d6d6d6;

    margin-bottom:8px;

    font-size:14px;

}

.footer-box h3{

    font-size:28px;

    margin:15px 0;

}

.footer-box a{

    color:#d8a028;

    font-weight:600;

}



.social{

    display:flex;

    gap:12px;

    margin-bottom:18px;

}

.social a{

    width:34px;

    height:34px;

    border:1px solid rgba(255,255,255,.35);

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

}

.footer-box span{

    color:#d8a028;

    font-weight:600;

}

.copyright{

    background:#110600;

    color:#bbb;

    text-align:center;

    padding:15px;

    font-size:13px;

}
/* Responsive */

@media(max-width:990px){

   nav{
flex-wrap:wrap;
justify-content:center;
}
nav{
flex-wrap:wrap;
justify-content:center;
}
    .gallery{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-item.wide{
        grid-column:span 2;
    }

    footer{
        grid-template-columns:1fr 1fr;
        gap:30px;
    }

    .footer-box{
        border:none;
    }


    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) {
        grid-row: span 1;
        height: 320px;
    }

    .gallery-item {
        height: 320px;
    }
}

@media(max-width:600px){
    .cards{
grid-template-columns:1fr;
}

    .gallery{
        grid-template-columns:1fr;
    }

    .gallery-item.wide{
        grid-column:span 1;
    }


    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:28px;
    }


    .order-btn{
        display:none;
    }
 .header{
        padding:18px 20px;
    }
    footer{
    grid-template-columns:1fr;
    }

    header{
        position:relative;
        padding:15px 20px;
    }

    .hamburger{
        display:block;
        order:3;
    }

  

    nav{
        display:flex;
        flex-direction:column;
        position:absolute;
        top:82px;
        left:0;
        width:100%;
        background:#fff;
        border-top:1px solid #eee;
        box-shadow:0 8px 20px rgba(0,0,0,.08);

        max-height:0;
        overflow:hidden;
        transition:max-height .35s ease;
        z-index:1000;
    }

    nav.active{
        max-height:500px;
    }

    nav a{
        padding:18px 25px;
        border-bottom:1px solid #f2f2f2;
    }

    .gallery-section {
        width: 90%;
        padding: 55px 0;
    }

    .gallery-header {
        margin-bottom: 30px;
    }

    .gallery-header h1 {
        font-size: 34px;
    }

    .description {
        font-size: 14px;
    }

    .filter-buttons {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) {
        height: 300px;
        grid-row: auto;
    }
}