:root {
    --primary-color: #2a5298;
    --secondary-color: #4f7de8;
    --accent-color: #f2a63b;
    --dark-color: #1a2b4e;
    --light-color: #f4f7fd;
    --success-color: #28a745;
    --error-color: #dc3545;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 6px;
    --transition: all 0.3s ease;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

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

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

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

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

.btn-tertiary {
    background-color: transparent;
    color: var(--text-light);
}

.btn-tertiary:hover {
    color: var(--text-color);
}

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

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

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

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

nav ul li {
    margin-left: 30px;
}

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

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

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

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

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark-color);
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

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

.feature {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

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

.feature h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature p {
    color: var(--text-light);
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: 40px 0;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    color: white;
}

.stat {
    text-align: center;
    padding: 0 20px;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta {
    text-align: center;
    padding: 40px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.cta h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

.about-products h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--dark-color);
    position: relative;
}

.about-products h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

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

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.quality-guarantee, .certifications, .company-story {
    margin-top: 40px;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quality-guarantee h3, .certifications h3, .company-story h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: white;
}

.products h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark-color);
    position: relative;
}

.products h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

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

.product-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.testimonials h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
}

.testimonial {
    flex: 0 0 100%;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    text-align: center;
    margin: 0 15px;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-color);
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 100%;
    max-width: 250px;
    margin-bottom: 30px;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding-right: 20px;
}

.footer-column h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
}

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

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li svg {
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    margin-bottom: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.newsletter h3 {
    margin-top: 20px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-main);
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 10px 15px;
}

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 400px;
    margin: 0 auto;
}

.cookie-content h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-more {
    font-size: 0.85rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid, .products-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input, .newsletter-form button {
        width: 100%;
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-actions a, .product-actions button {
        width: 100%;
    }
}

/* Cart Page Styles */
.cart-page {
    padding: 60px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    text-align: left;
    padding: 15px 10px;
    background-color: var(--light-color);
    border-bottom: 2px solid var(--border-color);
}

.cart-table td {
    padding: 15px 10px;
    border-bottom: 1px solid var(--border-color);
}

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

.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: var(--border-radius);
}

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

.cart-quantity button {
    background: none;
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-quantity input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
}

.cart-remove {
    color: var(--error-color);
    cursor: pointer;
    transition: var(--transition);
}

.cart-remove:hover {
    color: #b52d3a;
}

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

.cart-summary h3 {
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

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

.summary-total {
    font-weight: bold;
    font-size: 1.2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
}

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

.cart-empty h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Product Detail Page */
.product-detail {
    padding: 60px 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-detail-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: auto;
}

.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-detail-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.product-features h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-features ul {
    list-style: disc;
    padding-left: 20px;
}

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

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-section h2, .contact-form-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

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

.contact-info-item svg {
    margin-right: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-main);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* About Page */
.about-page {
    padding: 60px 0;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-intro h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.about-story {
    margin-bottom: 60px;
}

.about-story h2, .team-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    text-align: center;
}

.about-story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-story-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

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

.team-member {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

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

.team-member img {
    width: 100%;
    height: auto;
}

.team-member-info {
    padding: 20px;
}

.team-member-info h3 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
    color: var(--dark-color);
}

.team-member-info p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-social {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(42, 82, 152, 0.1);
    border-radius: 50%;
    margin: 0 5px;
    color: var(--primary-color);
    transition: var(--transition);
}

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

/* Checkout & Success Pages */
.checkout-page, .success-page {
    padding: 60px 0;
}

.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.checkout-form, .order-summary {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.checkout-form h2, .order-summary h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.checkout-form-section {
    margin-bottom: 30px;
}

.checkout-form-section h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--dark-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
}

.checkout-submit {
    margin-top: 30px;
}

.success-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.success-icon {
    color: var(--success-color);
    font-size: 5rem;
    margin-bottom: 30px;
}

.success-container h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.success-container p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.8s ease-in-out;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    transform: translateX(150%);
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background-color: var(--error-color);
}
