/* Reset margin and padding for body and html */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Remove space above navbar */
.navbar {
    margin-top: 0;
    padding-top: 0;
}

.traditional-snacks {
    padding: 2rem 0;
    background-color: #fff8f8;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

.snacks-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.snack-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
}

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

.snack-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.snack-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.snack-card .price {
    font-size: 1.1rem;
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 15px;
}

.snack-card .btn-primary {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.snack-card .btn-primary:hover {
    background-color: #ff5252;
    border-color: #ff5252;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    background-color: #ff6b6b;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 25px;
}

.modal-body .price {
    font-size: 1.2rem;
    color: #ff6b6b;
    font-weight: 600;
    margin: 15px 0;
}

.modal-body .contact-details {
    margin-top: 20px;
}

.modal-body .contact-details ul {
    list-style: none;
    padding-left: 0;
}

.modal-body .contact-details ul li {
    margin-bottom: 10px;
    color: #666;
}

.modal-footer .btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

.modal-footer .btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

/* Enhanced Responsive Adjustments */
@media (max-width: 1200px) {
    .snack-img {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .snack-img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .snack-card {
        margin-bottom: 15px;
    }
    
    .snack-img {
        height: 160px;
    }
    
    .snack-card h3 {
        font-size: 1.1rem;
    }
    
    .snack-card .description {
        font-size: 0.85rem;
        min-height: 50px;
    }
}

@media (max-width: 576px) {
    .snack-img {
        height: 140px;
    }
    
    .snack-card {
        padding: 10px;
    }
    
    .snack-card h3 {
        font-size: 1rem;
    }
    
    .snack-card .price {
        font-size: 1rem;
    }
    
    .snack-card .btn-primary {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.snack-card .description {
    color: #666;
    font-size: 0.9rem;
    margin: 10px 0;
    min-height: 60px;
    line-height: 1.4;
} 