/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #1a2e3a;
    background: #f8faf8;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== HEADER ========== */
header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2e3a;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}
.logo-symbol {
    background: #2d7d46;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(45, 125, 70, 0.30);
    font-family: 'Inter', 'Segoe UI', sans-serif;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text .company {
    font-size: 2rem;
    font-weight: 800;
    color: #1a2e3a;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.logo-text .tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #2d7d46;
    background: #e8f0e8;
    padding: 0.1rem 1rem;
    border-radius: 30px;
    display: inline-block;
    width: fit-content;
    margin-top: 2px;
    letter-spacing: 0.3px;
}


.logo img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #2d7d46;
}

.logo small {
    font-size: 0.7rem;
    color: #2d7d46;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

nav ul li a {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
    background: #e8f0e8;
    color: #2d7d46;
}

nav ul li a.active {
    font-weight: 600;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    background: #e8f0e8;
    border: none;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1a2e3a;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.lang-toggle:hover {
    background: #d0e0d0;
}

.cart-icon {
    position: relative;
    font-size: 1.4rem;
    color: #1a2e3a;
    padding: 6px;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #2d7d46;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a2e3a;
    padding: 4px 8px;
}

/* ========== HERO SLIDESHOW ========== */
.hero-slideshow {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    margin-bottom: 0;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-text {
    position: absolute;
    bottom: 20%;
    left: 10%;
    max-width: 600px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.slide-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: #2d7d46;
    color: white;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: #1f5f34;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #2d7d46;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid #2d7d46;
    transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background: #2d7d46;
    color: white;
}

.slide-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.slide-controls span {
    font-size: 2.5rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    user-select: none;
}

.slide-controls span:hover {
    background: rgba(0, 0, 0, 0.6);
}

.dot-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

.fade {
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* ========== FEATURES ========== */
.features {
    padding: 60px 0;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background: #f8faf8;
    transition: box-shadow 0.3s, transform 0.3s;
}

.feature-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-item i {
    font-size: 2.8rem;
    color: #2d7d46;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-item p {
    color: #4a6a75;
    font-size: 0.95rem;
}

/* ========== CATEGORY PREVIEW ========== */
.category-preview {
    padding: 60px 0;
    background: #f8faf8;
}

.category-preview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.cat-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cat-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.cat-card i {
    font-size: 2.4rem;
    color: #2d7d46;
    margin-bottom: 12px;
}

.cat-card span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

/* ========== ABOUT TEASER ========== */
.about-teaser {
    padding: 60px 0;
    background: white;
}

.about-teaser-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-teaser-text {
    flex: 1;
}

.about-teaser-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-teaser-text p {
    color: #4a6a75;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.about-teaser-image {
    flex: 1;
}

.about-teaser-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 10px 0;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid #dce6dc;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 40px;
}

.pagination button:hover:not(:disabled):not(.active) {
    background: #f0f5f0;
    border-color: #2d7d46;
}

.pagination button.active {
    background: #2d7d46;
    color: white;
    border-color: #2d7d46;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.85rem;
    color: #4a6a75;
    margin-left: 12px;
    padding: 8px 12px;
    background: #f0f5f0;
    border-radius: 8px;
    font-weight: 500;
}

@media (max-width: 600px) {
    .pagination button {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 32px;
    }
    .pagination-info {
        font-size: 0.75rem;
        margin-left: 8px;
        padding: 4px 10px;
        width: 100%;
        text-align: center;
    }
}

/* ========== FOOTER ========== */
footer {
    background: #1a2e3a;
    color: #c8d6d0;
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #2a4a5a;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
    font-size: 0.9rem;
    line-height: 2;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col i {
    width: 20px;
    color: #2d7d46;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #6a8a96;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        order: 3;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 12px 0;
        gap: 4px;
    }

    nav ul li a {
        display: block;
        padding: 10px 16px;
    }

    .slide-text h1 {
        font-size: 1.8rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .slide img {
        height: 350px;
    }

    .about-teaser-content {
        flex-direction: column;
    }

    .slide-controls span {
        font-size: 1.5rem;
        padding: 4px 12px;
    }

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

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

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

    .slide-text {
        bottom: 10%;
        left: 5%;
        max-width: 90%;
    }

    .slide-text h1 {
        font-size: 1.4rem;
    }

    .slide img {
        height: 280px;
    }

    .header-actions {
        gap: 8px;
    }

    .lang-toggle {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}