/* Main Styles */
body {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), 
                url('../images/ksd.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}




/* Hero Section */
.hero-container {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/ksd.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
}

.hero-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.7), rgba(41, 128, 185, 0.7));
    opacity: 0.7;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem;
    background: ();
    border-radius: 30px;
    max-width: 1200px;
    width: 90%;
    animation: fadeInUp 1.2s ease;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background:#f4f2ee;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: ();
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #ecf0f1;
}

/* Filter Section */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 2rem 0;
    flex-wrap: wrap;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.filter-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    background: white;
    color: #444;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.filter-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #e67e22, #f39c12);
    transition: width 0.4s ease;
    z-index: -1;
}

.filter-btn:hover:before,
.filter-btn.active:before {
    width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.2);
}

/* Cards Section */
.section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    padding: 2rem 1rem;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: translateY(0);
}

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

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.card:hover img {
    transform: scale(1.08);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
    flex-grow: 1;
}

.card-buttons {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.whatsapp-btn,
.location-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    flex: 1;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.location-btn {
    background: #3498db;
    color: white;
}

.whatsapp-btn:hover,
.location-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
    letter-spacing: 1px;
}

/* Rating Stars */
.rating {
    color: #f1c40f;
    margin: 0.8rem 0;
    font-size: 1.2rem;
    display: flex;
    gap: 0.2rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/artisan.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    margin-top: 4rem;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(230, 126, 34, 0.9), rgba(241, 196, 15, 0.9));
    opacity: 0.9;
}

.contact-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.contact-btn {
    padding: 1.2rem 3rem;
    background: white;
    color: #e67e22;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    background: #e67e22;
    color: white;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    position: relative;
}

footer p {
    opacity: 0.9;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.card:nth-child(2) {
    animation-delay: 0.1s;
}

.card:nth-child(3) {
    animation-delay: 0.2s;
}

.card:nth-child(4) {
    animation-delay: 0.3s;
}

.card:nth-child(5) {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .cards {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {

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

    .hero-content {
        padding: 4rem;
        width: 90%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content {
        padding: 3rem;
        width: 90%;
    }

    .cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }

    .filter-container {
        gap: 0.8rem;
    }

    .filter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    .search-wrapper {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 2.5rem;
    }

    .cards {
        grid-template-columns: 1fr;
        padding: 1rem 0.5rem;
    }

    .filter-container {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 2rem 1rem;
    }


    .card-content h3 {
        font-size: 1.4rem;
    }
}

/* Search Bar */
.search-wrapper {
    position: relative;
    max-width: 300px;
}

.search-wrapper input {
    width: 100%;
    padding: 1rem 1.2rem;
    padding-right: 3rem;
    border: 1px solid #eee;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.9);
}

.search-wrapper input:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.15);
    background: white;
}

.search-icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: #e67e22;
}