/* =========================

1. BASE STYLES
   ========================= */

body {
font-family: Arial, sans-serif;
margin: 0;
background: #f9f9f9;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

/* =========================
2. UTILITIES
========================= */

.card {
padding: 15px;
border: 1px solid #ddd;
border-radius: 8px;
background: #fff;
transition: 0.2s;
}

.card:hover {
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.price {
color: #007bff;
font-weight: bold;
}

.alert {
padding: 10px;
border-radius: 5px;
margin-bottom: 15px;
}

.alert.error {
background: #ffe0e0;
color: #b30000;
}

.alert.success {
background: #e0ffe0;
color: #006600;
}

/* =========================
3. HEADER
========================= */

.site-header {
background: #fff;
border-bottom: 1px solid #ddd;
}

.header-flex {
display: flex;
align-items: center;
justify-content: space-between;
}

.main-menu {
display: flex;
align-items: center;
}

.main-menu a {
margin-right: 20px;
text-decoration: none;
color: #333;
font-weight: 500;
}

.main-menu a:hover {
color: #007bff;
}

.logo img {
height: 70px;
}

/* =========================
4. FOOTER
========================= */

.site-footer {
background: #222;
color: #fff;
padding: 30px 0;
margin-top: 40px;
}

.footer-menu {
text-align: center;
margin-bottom: 15px;
}

.footer-menu a {
margin: 0 10px;
color: #ccc;
text-decoration: none;
}

.footer-menu a:hover {
color: #fff;
}

.footer-bottom {
text-align: center;
font-size: 14px;
}

/* =========================
5. SLIDER
========================= */

.slideshow-container {
max-width: 100%;
position: relative;
}

.slider-slide {
display: none;
}

.slider-slide img {
width: 100%;
height: 400px;
object-fit: cover;
}

.slider-text {
color: #fff;
position: absolute;
bottom: 20px;
left: 20px;
}

.dot {
height: 12px;
width: 12px;
margin: 5px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
}

.dot.active {
background-color: #333;
}

.fade {
animation: fade 1s;
}

@keyframes fade {
from {opacity: 0.4}
to {opacity: 1}
}

/* =========================
6. ABOUT SECTION
========================= */

.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image,
.about-text {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-subtitle {
    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    font-size: 36px;
    margin: 10px 0 20px;
    line-height: 1.3;
}

.about-description {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.about-highlights li {
    margin-bottom: 10px;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.btn:hover {
    background: #0056b3;
}

/* MOBILE */
@media (max-width: 768px) {

    .about-content {
        flex-direction: column;
    }

    .about-text {
        text-align: center;
    }
}

/* =========================
7. PRODUCTS
========================= */

.product-card {
text-align: center;
}

.product-card img {
width: 120px;
height: 120px;
object-fit: cover;
border-radius: 6px;
margin: 0 auto 10px;
}

.product-layout {
display: flex;
gap: 40px;
}

.product-text {
flex: 1;
}

.product-images {
flex: 1;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}

.product-images img {
width: 100%;
height: 120px;
object-fit: cover;
border-radius: 6px;
}

/* =========================
8. CATEGORIES
========================= */

.categories-section {
padding: 50px 20px;
}

.category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
}

.category-card {
text-align: center;
}

.category-card img {
width: 120px;
height: 120px;
object-fit: cover;
border-radius: 6px;
margin-bottom: 10px;
}

.category-card h3 {
font-size: 16px;
}

/* =========================
9. PAGE LAYOUT
========================= */

.page-section {
padding: 60px 20px;
}

.page-layout {
display: flex;
gap: 30px;
}

.page-image {
flex: 0 0 300px;
}

.page-image img {
width: 100%;
border-radius: 8px;
}

.page-content {
flex: 1;
line-height: 1.7;
}

/* =========================
10. CONTACT FORM
========================= */

.contact-form {
max-width: 500px;
}

.contact-form input,
.contact-form textarea {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 6px;
}

.contact-form button {
background: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 6px;
}

/* =========================
11. RESPONSIVE
========================= */

@media (max-width: 768px) {

.about-content,
.product-layout,
.page-layout {
    flex-direction: column;
    text-align: center;
}

.product-images {
    grid-template-columns: repeat(2, 1fr);
}

}
