/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    text-align: center;
}

a {
    text-decoration: none;
    color: #2c7e56;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d5e3f;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
    color: #1a1a1a;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

h3 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 6rem 0;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    margin: 1rem 0;
}

.logo img {
    height: 6rem;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav li {
    margin-left: 3rem;
}

nav a {
    color: #333;
    font-weight: 500;
    padding: 1rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2c7e56;
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.cart-link {
    display: flex;
    align-items: center;
    position: relative;
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #2c7e56;
    color: white;
    font-size: 1.2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn, .btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.6rem;
}

.btn {
    background-color: #2c7e56;
    color: white;
    box-shadow: 0 2px 5px rgba(44, 126, 86, 0.2);
}

.btn:hover {
    background-color: #1d5e3f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 126, 86, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #2c7e56;
    border: 2px solid #2c7e56;
}

.btn-secondary:hover {
    background-color: rgba(44, 126, 86, 0.1);
    color: #1d5e3f;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 126, 86, 0.8), rgba(44, 126, 86, 0.8)), url('images/logo.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 10rem 0;
}

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: white;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background-color: #f0f7f4;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.feature {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature svg {
    margin: 0 auto 2rem;
    color: #2c7e56;
}

.statistics {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 5rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 2rem;
}

.number {
    font-size: 3.6rem;
    font-weight: 700;
    color: #2c7e56;
    margin-bottom: 0.5rem;
}

.label {
    font-size: 1.8rem;
    color: #666;
}

/* About Products Section */
.about-products {
    background-color: #fff;
    text-align: center;
}

.about-products p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.quality-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.quality-feature {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.quality-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quality-feature h3 {
    color: #2c7e56;
    margin-bottom: 1rem;
}

/* Products Section */
.products {
    background-color: #f9f9f9;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
}

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

.product {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.8rem;
}

.price {
    font-weight: 700;
    color: #2c7e56;
    font-size: 1.8rem;
    padding: 0 1.5rem;
}

.product p {
    padding: 0 1.5rem;
    color: #666;
}

.product .btn-secondary {
    margin: 1.5rem;
}

/* Product Detail Page */
.product-detail {
    padding: 5rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.product-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-info h1 {
    margin-bottom: 1rem;
}

.product-description {
    margin-bottom: 2rem;
    color: #555;
}

.product-features {
    margin-bottom: 3rem;
    background-color: #f0f7f4;
    padding: 2rem;
    border-radius: 8px;
}

.product-features ul {
    list-style-position: inside;
    margin-left: 2rem;
}

.quantity {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.quantity label {
    margin-right: 1rem;
}

.quantity input {
    width: 6rem;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-actions {
    display: flex;
    gap: 1.5rem;
}

.add-to-cart, .buy-now {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart svg {
    margin-right: 1rem;
}

.product-details-tabs {
    margin-bottom: 5rem;
}

.tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    padding: 1rem 2rem;
    border: none;
    background: none;
    font-size: 1.6rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #2c7e56;
    transition: width 0.3s ease;
}

.tab-button.active {
    color: #2c7e56;
}

.tab-button.active::after {
    width: 100%;
}

.tab-content {
    display: none;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.tab-content.active {
    display: block;
}

.related-products h2 {
    margin-bottom: 3rem;
}

/* Cart Page */
.cart-section {
    padding: 5rem 0;
}

.cart-empty {
    text-align: center;
    padding: 5rem 0;
}

.cart-empty svg {
    color: #ccc;
    margin-bottom: 2rem;
}

.cart-empty h2 {
    color: #555;
    margin-bottom: 1rem;
}

.cart-empty p {
    color: #777;
    margin-bottom: 3rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 2rem;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    align-items: center;
}

.cart-item-image img {
    width: 100%;
    border-radius: 4px;
}

.cart-item-details h3 {
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 700;
    color: #2c7e56;
    margin-bottom: 1rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.cart-item-quantity button {
    width: 3rem;
    height: 3rem;
    border: 1px solid #ddd;
    background: none;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-item-quantity button:hover {
    background-color: #f0f0f0;
}

.cart-item-quantity input {
    width: 4rem;
    height: 3rem;
    border: 1px solid #ddd;
    text-align: center;
    margin: 0 0.5rem;
}

.cart-item-remove {
    color: #ff6b6b;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #ff5252;
}

.cart-summary {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.total {
    font-weight: 700;
    font-size: 1.8rem;
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.cart-summary .btn, .cart-summary .btn-secondary {
    width: 100%;
    margin-bottom: 1rem;
}

/* Checkout Page */
.checkout-section {
    padding: 5rem 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 5rem;
}

.checkout-form {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #2c7e56;
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.4rem;
}

.required {
    color: #ff6b6b;
}

.order-summary {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.order-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.order-item-image {
    width: 6rem;
    margin-right: 1.5rem;
}

.order-item-image img {
    width: 100%;
    border-radius: 4px;
}

.order-item-details {
    flex: 1;
}

.order-item-details h4 {
    margin-bottom: 0.5rem;
}

.order-totals {
    margin-top: 3rem;
}

.order-total-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.order-total-item.total {
    font-weight: 700;
    font-size: 1.8rem;
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
}

.order-summary .btn-secondary {
    width: 100%;
    margin-top: 2rem;
}

/* Success Page */
.success-section {
    padding: 8rem 0;
}

.success-message {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.success-message svg {
    color: #2c7e56;
    margin-bottom: 2rem;
}

.success-message h1 {
    margin-bottom: 2rem;
    color: #2c7e56;
}

.success-buttons {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Contact Page */
.page-banner {
    background-color: #2c7e56;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.page-banner h1 {
    color: white;
    margin-bottom: 1rem;
}

.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-method {
    display: flex;
    margin-bottom: 3rem;
}

.contact-icon {
    margin-right: 2rem;
    color: #2c7e56;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
    color: #2c7e56;
}

.social-contact {
    margin-top: 4rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #f0f7f4;
    color: #2c7e56;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #2c7e56;
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form .btn {
    width: 100%;
}

/* About Page */
.about-intro {
    padding: 6rem 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: center;
}

.mission-values {
    background-color: #f0f7f4;
    padding: 6rem 0;
}

.mission-box {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.value-box {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-box:hover {
    transform: translateY(-5px);
}

.value-box svg {
    color: #2c7e56;
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 6rem 0;
    background-color: white;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.team-member {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 2rem 0 0.5rem;
    padding: 0 2rem;
}

.team-member p {
    padding: 0 2rem;
    margin-bottom: 1rem;
}

.team-member p:first-of-type {
    color: #2c7e56;
    font-weight: 600;
}

.team-member .social-icons {
    margin: 2rem 0;
}

.certifications {
    background-color: #f0f7f4;
    padding: 6rem 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.cert-item {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-item svg {
    color: #2c7e56;
    margin-bottom: 1.5rem;
}

.cta-section {
    background-color: #2c7e56;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-section p {
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: white;
    color: #2c7e56;
}

.cta-section .btn:hover {
    background-color: #f0f0f0;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.social-media {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #333;
    color: white;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: #2c7e56;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
    color: #888;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.cookie-buttons {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background-color: #2c7e56;
    color: white;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background-color: #1d5e3f;
}

.btn-cookie-secondary {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #2c7e56;
    background-color: transparent;
    color: #2c7e56;
    transition: all 0.3s ease;
}

.btn-cookie-secondary:hover {
    background-color: rgba(44, 126, 86, 0.1);
}

.cookie-more {
    font-size: 1.4rem;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 3rem;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    header {
        padding: 1rem 0;
    }
    
    .logo img {
        height: 5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 0 1.5rem;
    }
    
    .features-grid,
    .products-grid,
    .values-grid,
    .team-grid,
    .cert-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
    }
    
    .cart-item-actions {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .success-message {
        padding: 3rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
}
