@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;700&family=Manrope&family=Outfit&family=Poppins&display=swap');

/* General styles */
body {
    font-family: 'Jost', 'Manrope', 'Outfit', 'Poppins', sans-serif;
    margin: 0;
    background-color: #fff;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #333;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-image: url("../assets/images/heroparty.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #fff;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid transparent;
}

.cta-primary {
    background-color: #ff4b4b;
    color: #fff;
}

.cta-primary.footer-cta {
    margin-top: 28px;
}

.cta-secondary {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

/* Categories Section */
.categories {
    padding: 6rem 2rem;
    text-align: center;
}

.categories h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.categories .section-description {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #555;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    padding: 2.5rem 1.5rem;
    border-radius: 18px;
    text-decoration: none;
    color: #333;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px -10px rgba(0,0,0,0.15);
}

.category-card h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.category-card.jumper-card { background-color: #E0F2FE; }
.category-card.balloon-card { background-color: #FCE8F3; }
.category-card.table-card { background-color: #FFFBEB; }
.category-card.chair-card { background-color: #E6F8F0; }


/* About Section */
.about {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about p {
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

/* Hours Section */
.hours {
    padding: 4rem 2rem;
    background-color: #fff;
}

.hours-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.hours-card h2 {
    margin-top: 0;
}

.hours-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background-color: #333;
    color: #fff;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* === PRODUCT SECTION REDESIGN === */

.products {
    padding: 4rem 1rem;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem; 
    row-gap: 2.5rem;  
}

.product-card {
    background-color: #fff;
    border-radius: 18px;
    border: 1px solid #EAEAEA;
    padding: 24px;
    text-align: center;
    transition: transform 280ms ease, box-shadow 280ms ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.product-image-container {
    height: 180px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 280ms ease;
}

.product-card:hover img {
    transform: scale(1.04);
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 16px;
    color: #222;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-rating {
    color: #FFD700;
    font-size: 16px;
    margin-bottom: 16px;
}

.price-container {
    margin-top: auto;
}

.price {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #111;
}

/* Gallery Section */
.gallery {
    padding: 4rem 2rem;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

body.lightbox-active {
    overflow: hidden;
}

/* === RESPONSIVE DESIGN === */

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (min-width: 500px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 3rem; 
    }
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 3.5rem; 
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 4rem; 
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1rem 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 1rem 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .hero-buttons > a {
        width: 80%;
        text-align: center;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 499px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2rem;
    }

    .product-title {
        font-size: 16px;
    }

    .price {
        font-size: 20px;
    }

    .product-image-container {
        height: 120px;
    }
}