/* Hero Section */
.hero {
    text-align: left;
    padding: 80px 5%;
    background:  url('/static/home/assets/header_banner.png') center/cover no-repeat;
    color: var(--accent3);
    margin: auto;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
}

.hero p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0;
    padding-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--text-dark);
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent2);
    transform: translateY(-2px);
}

.section{
    height: fit-content;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin: 40px 0;
    /* font-size: 28px; */
    color: var(--gold);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    margin: auto ;
}

/* Featured Carousel Section */
.featured-products {
    background-color: var(--primary) !important;
    margin-top: -38px;
   }



.add-to-cart,
.buy-now {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 90%;
    font-weight: bold;
    margin: 0 auto 15px;
    display: block;
    transition: var(--transition);
}

.add-to-cart:hover,
.buy-now:hover {
    background-color: var(--gold);
    transform: translateY(-2px);
}


/* Top Sellers Grid Section */
.top-sellers {
    padding: 0 20px 60px;
    background-color: var(--primary);
    margin-top: -38px;
}

.suggestion-box {
    margin-top: 5px;
    text-align: center;
    grid-column: 1 / -1;
}

.suggestion-box h3 {
    margin-bottom: 15px;
    color: var(--gold);
}

.suggestion-input {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.suggestion-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--primary);
    border-radius: 5px 0 0 5px;
    background-color: var(--accent1);
    color: #d1d1d1;
}

.suggestion-input button {
    padding: 12px 20px;
    background-color: var(--accent2);
    color: #d1d1d1;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.suggestion-input button:hover {
    background-color: var(--gold);
}

/* Weekly Wonders Section */
.weekly-wonders {
    padding: 2rem 1rem;
    background: url('/static/home/assets/blue.png') center/cover no-repeat;
}

.weekly-container {
    max-width: 1000px;
    margin: 0 auto;

}

.weekly-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3.5rem;
    color: var(--accent1) !important;
}

.weekly-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.weekly-image {
    grid-column: 1;
}

.weekly-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.summary {
    grid-column: 2;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    margin-left: 20px;

}

.summary h3 {
    color: var(--accent4) !important;
    font-size: 2rem;
    font-weight: 400;
}

.summary span {
    font-size: 16px;
    font-weight: 400;
    color: #f1f1f1 !important;

}

.summary p {
    font-size: 14px;
    font-weight: lighter;
    white-space: wrap;
    line-height: 2rem;
    width: 70%;
    color: #f1f1f1 !important;
    
}

.vendor-img {
    grid-column: 3;
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 5%;
    align-self: start;
}

.vendor-button {
    background-color: var(--accent4);
    color: #b1b1b1;
    width: fit-content;
    padding: 6px;
    border-radius: 6px;
    padding-right: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .weekly-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .weekly-image,
    .summary,
    .vendor-img {
        grid-column: 1;
    }

    .vendor-img {
        order: -1;
        margin: 0 auto;
    }

    .weekly-image img {
        margin: 0 auto;
    }
}

/* Open Doors Banner */
.open-doors {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('/static/home/assets/open_booth.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
    margin: 40px 0;
}

.open-doors h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-transform: capitalize;
    font-weight: 200;
    background-color: var(--blue);
    width: fit-content;
    padding: 12px;
    transition: 2s;
    border-radius: 10px;
    border: var(--accent4) 1px solid;
}
.open-doors h2:hover {
    font-weight: 300;
    background-color: var(--accent2);
    border: #d1d1d1 1px solid;
}

/* Sell/Buy Section */
.sell-buy {
    display: grid;
    grid-template-columns: repeat(2, auto);
    margin: auto;
    gap: 150px;
    color: #2a2a2a;
    font-weight: 100;
    width: 100%;
    padding: 0 20px;
    justify-content: center;
}

.sell-buy-column {
   
    width: 300px;
    height: 400px;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--accent1);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: flex-start;
}

.sell-buy-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sell-buy-column h2 {
    font-size: 3rem;
    color: #2a2a2a;
    margin-bottom: 20px;
    font-weight: 300;
}

.sell-buy-column h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #2a2a2a;
    font-weight: 300;
}

.sell-buy-column p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #2a2a2a;
    font-weight: 200;
}

/* Drop Note Section */
.drop-note {
    background-color: var(--primary);
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   align-items: center;
   padding: 50px;
   gap: 120px;
   height: auto;
   width: 98%;
   margin: auto;
}


.drop-note p {
    
    /* margin-bottom: 30px; */
    max-width: 100%;
    /* margin-left: auto;
    margin-right: auto; */
    font-size: 1.6rem;
    font-weight: 400;
    
    color: var(--accent2);
    text-align: center;
    white-space: nowrap;
    margin: 60px auto;
 
}

.note-input {
    display: flex;
    max-width: 250px;
    height: 200px;
    margin: 0 auto;
    justify-content: center;
    transition: var(--transition);
     position: relative;
}

.note-input input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--accent1);
   color: #1b1b1b;
  
}

.note-input i{
    position: absolute;
    top: 5px;
    left: 5px;
    opacity: .5;

}
.note-input input::placeholder{
    font-weight: 400;
    color: #d1d1d1;
}
/* Crafted Section */
.crafted-section {
    background-color: var(--accent1);
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--accent2);
    overflow: hidden;
}

.crafted-heading {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out;
    width: 80%;
    margin: auto;
    color: #f1f1f1;
    padding-bottom: 1.5rem;
}

.crafted-subheading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out 0.2s forwards;
    opacity: .7;
    width: 90%;
    margin: auto;
    word-wrap: nowrap;
}

.crafted-form {
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
    width: 80%;
    margin: auto;
    border: 1px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--accent2);
    color: var(--text-dark);
}

.form-group input:focus {
    border-color: var(--text-dark);
    outline: none;
    transform: scale(1.02);
}

.whatsapp-option {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #f1f1f1;
    justify-content: flex-start;
}

.whatsapp-option input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submit-btn {
    background-color: var(--accent2);
    color: #d1d1d1;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.bath-banner{
    background: url('/static/home/assets/bathstuff.png') no-repeat center/cover;
    height: 200px;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .sell-buy-column {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 5%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin: 30px 0;
    }

    .product-card {
        margin: 0 8px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        width: 90%;
    }

    .sell-buy {
        /* flex-direction: column;
        gap: 20px; */
        grid-template-columns: 1fr;
        height: fit-content;
        gap: 20px;
    }

    .sell-buy-column {
        width: 100%;
        height: auto;
    }

    .open-doors {
        height: 300px;
        padding: 30px;
    }

    .crafted-heading {
        font-size: 2.2rem;
        width: 90%;
    }

    .crafted-form {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 4%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 25px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-btn {
        padding: 12px;
        font-size: 0.9rem;
    }

    .weekly-container h2 {
        font-size: 2rem;
    }

    .open-doors h2 {
        font-size: 1.5rem;
    }

    .drop-note {
        padding: 40px 20px;
    }

    .drop-note h2 {
        font-size: 1.8rem;
    }

    .crafted-heading {
        font-size: 2rem;
    }

    .crafted-subheading {
        font-size: 1.2rem;
    }
    .sell-buy {
        /* flex-direction: column;
        gap: 20px; */
        grid-template-columns: 1fr;
        height: fit-content;
        gap: 20px;
    }

}