@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    --gold: #F2D973;
    --white: #F5F5F5;
    --para: #dddddd;
    --headline: #F5F5F5;
}
body {
    background-color: #0f0e17;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--headline);
}
p {
    color: var(--para);
    padding-bottom: 50px;
}
.no-scroll {
    overflow: hidden;
}
nav {
    height: 120px; 
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: flex;
    padding: 0px 80px;
    text-transform: uppercase;
    text-align: center;
    background-color: #0f0e17;

}

.logo img {
    height: 190px;
}
nav ul {
    display: flex;
    gap: 50px;
    list-style: none;
    align-items: center;
}
nav ul a {
    color: var(--white);
    text-decoration: none;
    position: relative;
    line-height: 30px;
    letter-spacing: 1.3px;
    transition: all 0.4s linear;
}
nav ul a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--white);
    border-radius: 50px;
    transition: all 0.4s linear;
    top: 25px;
    left: 0;
}
nav ul a:hover {
    letter-spacing: 2px;
    color: var(--gold);
}
nav ul a:hover::after {
    width: 100%;
}
button {
    cursor: pointer;
    padding: 17px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 0 5px var(--gold);
    letter-spacing: 1.3px;
    text-transform: uppercase;
    transition: all 0.4s linear;
}
button:hover {
    box-shadow: 0 0 17px var(--white);
    letter-spacing: 3px;
    background-color: var(--gold);
    color: var(--white);
}
.hamburger {
    text-align: center;
    width: 50px;
    height: 50px;
    position: relative;
    margin-right: 30px;
    cursor: pointer;
    display: none;
    transition: all 0.4s linear;
}
.hamburger .line {
    position: absolute;
    width: 100%;
    height: 5px;
    background-color: var(--white);
    border-radius: 50px;
    transition: all 0.4s linear;
}
.hamburger .line.a {
    top: 25%;
}
.hamburger .line.b {
    top: 50%;
}
.hamburger .line.c {
    top: 75%;
}
.hamburger.active .line.a, .hamburger.active .line.c {
    transform: rotate(45deg);
    top: 50%;
}
.hamburger.active .line.b {
    opacity: 0;
}
.hamburger.active .line.c {
    transform: rotate(-45deg);
    top: 50%;
}
.banner {
    text-align: center;
    letter-spacing: 3px;
    padding: 100px 3rem;
    width: 100%;
}
header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/wedding5.jpg');
    background-size: cover; 
    background-position: center; 
}
.banner h1 {
    text-transform: uppercase;
    font-size: 40px;
    line-height: 50px;
}
.banner p {
    font-size: 20px;
    line-height: 30px;
}
hr {
    width: 15%;
    background-color: var(--white);
    margin: 20px auto; 
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
}
.gallery2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
}
.gallery-item img {
    width: 100%;
    border-radius: 8px;
    transition: all 1s ease;
}
.gallery-item img:hover, .individual-img img:hover {
    transform: translateY(-20px);
}
.footer {
    padding: 40px 0;
    background-color: #0d1117;
    color: white;
}
.footer ul {
    padding: 0;
    list-style: none;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
}
.footer li {
    display: inline-block; 
    padding: 0 10px;
}
.footer ul a {
    color: inherit;
    text-decoration: none;
}
.footer ul a:hover {
    color: var(--gold);
}
.footer .social {
    text-align: center;
    padding-bottom: 25px;
}
.footer .social > a {
    font-size: 24px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    margin: 0 8px;
    color: var(--gold);
}
.footer .social > a:hover {
    opacity: 0.9;
    color: var(--white);
}
.footer .copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}

@media only screen and (max-width: 1047px) {
    .banner {
        padding: 70px 0 ; 
    } 
    nav {
        padding: 0; 
        overflow-y: hidden;
    }
    .hamburger {
        display: block;
    }
    nav ul {
        position: absolute;
        flex-direction: column;
        background-color: #0f0e17;
        text-align: center;
        width: 100%;
        height: 100vh;
        top: 90px;
    }
    #menu { 
        right: 100%;
        transition: all 0.6s linear;
    }
    nav button {
        margin: 20px 0 ;
    }
}
  
@media only screen and (max-width: 862px) {
    .banner {
        padding: 60px 1.1rem ; 
    }
    .banner h1 {
        font-size: 35px;
    } 
    .banner p {
        font-size: 15px;
        line-height: 20px;
    }
}
  
@media only screen and (max-width: 801px) {
    .banner {
        padding: 60px 1.1rem ; 
    }
    .banner h1 {
        font-size: 30px;
    } 
    .banner p {
        font-size: 15px;
        line-height: 20px;
    }
}
  
@media only screen and (max-width: 801px) {
    .banner {
        padding: 60px 1.1rem ; 
    }
    .banner h1 {
        font-size: 25px;
        line-height: 30px;
    } 
    .banner p {
        font-size: 15px;
        line-height: 20px;
    }
}

@media only screen and (max-width: 462px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 10px;
    }
    .banner {
        padding: 60px 5px ; 
    }
    .banner h1 {
        font-size: 20px;
        line-height: 25px;
    } 
    .banner p {
        font-size: 10px;
        line-height: 20px;
    }
}
