.wallpaper-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.wallpaper-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: bold;
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wallpaper-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wallpaper-card:hover {
    transform: translateY(-5px);
}

.wallpaper-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.wallpaper-info {
    padding: 20px;
}

.wallpaper-info h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}

.wallpaper-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.incele-button {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    background-color: #FFD700;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.incele-button:hover {
    background-color: #FFC800;
    transform: scale(1.02);
}

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

@media (max-width: 640px) {
    .wallpaper-section {
        padding: 30px 0;
    }

    .wallpaper-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .wallpaper-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 40px;
}

.main-content {
    width: 100%;
}

.main-content h2 {
    text-align: center;
    margin-bottom: 0;
    color: var(--secondary-color);
    font-size: 25px;
}

.description-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 15px;
    line-height: 1.8;
    text-align: justify;
    width: 100%;
    font-size: 15px;
    color: #444444;
}

.features-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0;
    padding: 15px;
    line-height: 1.8;
    text-align: justify;
    color: #444444;
    width: 100%;
    font-size: 15px;
}

.features-container p {
    color: #444444;
    margin-bottom: 15px;
    font-size: 15px;
}

.features-container h4 {
    color: #000000;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.section-title {
    text-align: center;
    margin: 15px 0;
    font-size: 25px;
    color: var(--secondary-color);
}

.curtain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    padding: 30px;
}

.curtain-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.curtain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.curtain-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.curtain-info {
    padding: 20px;
    text-align: center;
    background: white;
}

.curtain-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
        margin-top: 20px;
    }

    .main-content h2 {
        font-size: 15px;
    }

    .section-title {
        font-size: 15px;
    }

    .features-container p {
        font-size: 10px;
    }

    .curtain-grid {
        padding: 15px;
        gap: 20px;
    }

    .curtain-card img {
        height: 250px;
    }
}

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




.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover {
    color: #fff;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 4px;
    transition: background 0.3s;
    z-index: 1001;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

#prevButton {
    left: 20px;
}

#nextButton {
    right: 20px;
}

#caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .nav-button {
        padding: 12px;
        font-size: 15px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 125vh;
        top: 47%;
    }

    .description-container {
        font-size: 10px;
    }

    .h2 { 
        font-size: 1em;
    }

    .nav-button {
        top: 49%;
    }

    #prevButton {
        left: 10px;
    }

    #nextButton {
        right: 10px;
    }
}




