@import url('https://fonts.googleapis.com/css2?family=Poppins:300,400,500,600,700,800,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(#2b1055, #7597de);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
}

header .logo {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li {
    list-style: none;
    margin-left: 20px;
}

header ul li a {
    text-decoration: none;
    padding: 6px 15px;
    color: #fff;
    border-radius: 20px;
}

header ul li a:hover ,
header ul li a.active
{
    background: #fff;
    color: #2b1055;
}

section {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #1c0522, transparent);
    z-index: 1000;
}

section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

section img#moon {
    mix-blend-mode: screen;
  
}

section img#mountains_front {
    z-index: 10;
    
}

#text {
    position: absolute;
    right: -450px;
    color: #fff;
    white-space: nowrap;
    font-size: 6.5vw;
    z-index: 9;
}

#btn {
    text-decoration: none;
    display: inline-block;
    padding: 8px 30px;
    border-radius: 40px;
    background: #a7baf0;
    color: #2b1055;
    font-size: 1.5em;
    z-index: 9;
    transform: translateY(100px);
    
}

.sec {
    position: relative;
    padding: 100px;
    background: #1c0522;
}

.sec h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.sec p {
    padding-top: 30px;
    font-size: 1.43rem;
    color: #fff;
}

h2 {
    padding-top: 25px;
    font-size: 1.8rem;
    color: #fff; 
}

#gift {
    text-align: center; /* Center align the text */
    margin-top: 20px; /* Adjust as needed to control the vertical position */
    font-size: 2rem; /* Adjust the font size */
}

.gift-box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px; /* Adjust as needed to control the vertical position */
}

.gift_box {
    max-width: 600px; /* Adjust the maximum width */
    max-height: 600px; /* Adjust the maximum height */
    transition: transform 0.3s ease; 
}

.gift_box:hover {
    transform: scale(1.1); /* Increase size by 10% */
    filter: brightness(1.2); /* Increase brightness by 20% */
    
}

.gift-box-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.gift-box {
    position: relative;
    width: 200px;
    height: 200px;
    cursor: pointer;
}

.gift-box-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gift-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
    background: rgba(255, 215, 0, 0.2); /* Golden glow effect */
    border-radius: 10px;
}

.gift-image {
    width: 80%;
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.gift-box.revealed .gift-box-image {
    transform: scale(0);
}

.gift-box.revealed .gift-reveal {
    opacity: 1;
    transform: scale(1);
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
    0% { box-shadow: 0 0 5px gold; }
    50% { box-shadow: 0 0 20px gold; }
    100% { box-shadow: 0 0 5px gold; }
}


/* Existing CSS remains the same, add this new section */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.image-grid img {
    width: 120%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* Rest of your existing CSS for gift boxes remains unchanged */