/* Base styles */
:root {
    --primary-color: #3e6ae1;
    --primary-dark: #2e57c7;
    --secondary-color: #ff7c43;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e5e5e5;
    --success-color: #28a745;
    --error-color: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

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

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

button, .btn-primary, .btn-secondary, .btn-outline {
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: #e66b32;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--background-light);
}

ul {
    list-style: none;
}

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

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

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

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

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

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

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

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

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

/* Benefits section */
.benefits {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.benefit-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.benefit-card .icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
    padding: 1rem;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* About products section */
.about-products {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.about-products .container {
    max-width: 900px;
}

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

.about-products h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-products p {
    margin-bottom: 1.5rem;
}

.about-products ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.about-products li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.about-products li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Products section */
.products {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

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

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

.product-card p {
    padding: 0 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    min-height: 80px;
}

.product-card .price {
    padding: 0 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.product-actions a, .product-actions button {
    flex: 1;
}

/* Interesting facts section */
.interesting-facts {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.interesting-facts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.facts-container {
    max-width: 800px;
    margin: 0 auto;
}

.fact {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.fact-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 1.5rem;
    flex-shrink: 0;
    width: 60px;
}

.fact p {
    font-size: 1.1rem;
}

/* Final facts section */
.final-facts {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.final-facts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.fact-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background-color: var(--background-light);
    transition: var(--transition);
}

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

.fact-card .icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fact-card h3 {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #1a2942;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-col p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

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

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

address {
    font-style: normal;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

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

/* Cart notification */
.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--background-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

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

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

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--background-white);
        flex-direction: column;
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        right: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .benefits, .products, .interesting-facts, .final-facts, .about-products {
        padding: 3rem 0;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Product detail page */
.product-detail {
    padding: 5rem 0;
    background-color: var(--background-white);
}

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

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

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

.product-price {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

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

.product-features {
    margin-bottom: 2rem;
}

.product-features h3 {
    margin-bottom: 1rem;
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.product-actions-detail {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.product-actions-detail button {
    flex: 1;
}

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

.quantity-selector button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    font-size: 1.25rem;
}

.quantity-selector button:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.quantity-selector button:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    font-size: 1rem;
}

/* Related products */
.related-products {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
    }
}

/* Cart page */
.cart-page {
    padding: 5rem 0;
    background-color: var(--background-white);
}

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

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.cart-item img {
    width: 100%;
    border-radius: var(--radius-sm);
}

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

.cart-item-price {
    font-weight: bold;
    color: var(--primary-color);
}

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

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

.cart-item-quantity span {
    width: 40px;
    text-align: center;
}

.cart-item-remove button {
    background-color: transparent;
    color: var(--error-color);
    box-shadow: none;
    padding: 0.5rem;
}

.cart-summary {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
}

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

.summary-row.total {
    font-weight: bold;
    font-size: 1.25rem;
    border-bottom: none;
    margin-top: 1.5rem;
}

.checkout-button {
    width: 100%;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        padding: 1rem;
    }
    
    .cart-item-details {
        grid-column: 1 / -1;
    }
    
    .cart-item-price, .cart-item-quantity, .cart-item-remove {
        margin-top: 1rem;
    }
}

/* Checkout page */
.checkout-page {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.checkout-form h2 {
    margin-bottom: 2rem;
}

.form-row {
    margin-bottom: 1.5rem;
}

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

.form-row input, .form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.form-row input:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row .error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.checkout-summary {
    background-color: var(--background-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: sticky;
    top: 100px;
    align-self: start;
}

.checkout-summary h3 {
    margin-bottom: 1.5rem;
}

.checkout-items {
    margin-bottom: 1.5rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-item-name {
    max-width: 70%;
}

.checkout-item-quantity {
    color: var(--text-light);
}

.checkout-item-price {
    font-weight: 500;
}

.submit-button {
    width: 100%;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
        margin-top: 2rem;
    }
}

/* Success page */
.success-page {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--background-white);
}

.success-container {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.success-page h1 {
    margin-bottom: 1.5rem;
}

.success-page p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Contact page */
.contact-page {
    padding: 5rem 0;
    background-color: var(--background-white);
}

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

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-method svg {
    color: var(--primary-color);
}

.contact-method p {
    margin-bottom: 0.5rem;
}

.contact-form h2 {
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* About page */
.about-page {
    padding: 5rem 0;
    background-color: var(--background-white);
}

.about-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.about-hero h1 {
    margin-bottom: 1.5rem;
}

.about-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.about-story {
    margin-bottom: 4rem;
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.team-section {
    margin-bottom: 4rem;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background-light);
    color: var(--text-color);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .story-container {
        grid-template-columns: 1fr;
    }
}
