/* Base Styles */
:root {
    --primary-color: #4A6FDC;
    --primary-dark: #3857b3;
    --secondary-color: #34C759;
    --secondary-dark: #28a347;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --border-color: #e1e4e8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 111, 220, 0.2);
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.full-width {
    width: 100%;
}

/* Header */
header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

#cart-count {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.benefits h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.benefit-item .icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-item h3 {
    margin-bottom: 15px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cta {
    text-align: center;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* About Products Section */
.about-products {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.about-products p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.quality-info {
    background-color: var(--bg-color);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.quality-info h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.quality-info ul {
    padding-left: 20px;
    list-style-type: disc;
}

.quality-info li {
    margin-bottom: 10px;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
}

.product-card .price {
    padding: 0 20px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.product-card p {
    padding: 10px 20px;
    color: var(--text-light);
}

.product-card .actions {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
}

.product-card .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Calculator Section */
.calculator {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.calculator h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.calculator-form {
    flex: 1;
    min-width: 300px;
}

.calculator-results {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
}

.calculator-results h3 {
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.result-item:last-child {
    border-bottom: none;
    font-weight: 700;
}

#efficiency-value {
    display: inline-block;
    margin-left: 10px;
    font-weight: 600;
}

/* Product Detail Page */
.product-detail {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.product-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.product-image {
    flex: 1;
    min-width: 300px;
}

.product-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-info {
    flex: 2;
    min-width: 300px;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.product-stock {
    color: var(--secondary-color);
    font-weight: 600;
}

.product-price {
    margin-bottom: 30px;
}

.product-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-description h3 {
    margin: 30px 0 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-description p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.product-description ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.product-description li {
    margin-bottom: 10px;
}

.product-actions {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity input {
    width: 70px;
    text-align: center;
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.related-products h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* Cart Page */
.cart-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.cart-section h1 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    margin-bottom: 50px;
}

.cart-empty {
    text-align: center;
    padding: 50px 0;
}

.cart-empty p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cart-content {
    display: none;
}

.cart-items {
    margin-bottom: 40px;
}

#cart-table {
    width: 100%;
    border-collapse: collapse;
}

#cart-table th, #cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

#cart-table th {
    background-color: var(--bg-color);
    font-weight: 600;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.quantity-control input {
    width: 50px;
    text-align: center;
    margin: 0 5px;
    padding: 5px;
}

.remove-btn {
    background-color: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    color: crimson;
}

.cart-summary {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    border-bottom: none;
}

.cart-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

/* Checkout Page */
.checkout-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.checkout-section h1 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    margin-bottom: 50px;
}

.checkout-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.checkout-form {
    flex: 2;
    min-width: 300px;
}

.checkout-form h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.checkout-form .form-group {
    width: 48%;
    display: inline-block;
    margin-right: 2%;
}

.checkout-form .full-width {
    width: 100%;
    margin-right: 0;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-checkbox input {
    width: auto;
    margin-top: 5px;
}

.order-summary {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    align-self: flex-start;
}

.order-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.order-items {
    margin-bottom: 30px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.item-quantity {
    color: var(--text-light);
    font-size: 0.9rem;
}

.item-price {
    font-weight: 600;
}

/* Success Page */
.success-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.success-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.success-icon {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.success-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.success-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.success-actions {
    margin-top: 40px;
}

/* Contact Page */
.contact-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-hero h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item .icon {
    margin-right: 20px;
    color: var(--primary-color);
}

.info-content h3 {
    margin-bottom: 10px;
}

.social-links h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* About Page */
.about-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.about-hero h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-story h2, .about-values h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.about-story p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-vision {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.mission, .vision {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.mission h3, .vision h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-values {
    margin-top: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.value-item .icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-item h3 {
    margin-bottom: 15px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.team-member h3 {
    padding: 20px 20px 5px;
    font-size: 1.2rem;
}

.team-member > p {
    padding: 0 20px 15px;
}

.team-member > p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
}

.team-member .social-icons {
    padding: 0 20px 20px;
}

.team-member .social-icons a {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
}

/* Certifications Section */
.certifications {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.certifications h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.certification-item {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.certification-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact .social-icons {
    margin-top: 20px;
}

.footer-contact .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-contact .social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    display: none;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 3;
    min-width: 300px;
}

.cookie-buttons {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 10px;
}

.cookie-more-info {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.cookie-more-info a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-content {
        flex-direction: column;
    }
    
    .product-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .product-info {
        margin-top: 30px;
    }
    
    .checkout-content {
        flex-direction: column;
    }
    
    .order-summary {
        margin-top: 40px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 10px 20px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .benefits h2, .products h2, .about-products h2, .calculator h2, .team-section h2, .certifications h2 {
        font-size: 1.8rem;
    }
    
    .benefits-container {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit-item {
        max-width: 100%;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    #cart-table th:nth-child(2), #cart-table td:nth-child(2) {
        display: none;
    }
    
    .checkout-form .form-group {
        width: 100%;
        margin-right: 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    #cart-table th:nth-child(4), #cart-table td:nth-child(4) {
        display: none;
    }
    
    .values-grid, .team-grid, .certifications-grid {
        grid-template-columns: 1fr;
    }
}
