/* Base Styles */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --secondary-color: #ff9900;
    --text-color: #333333;
    --light-text: #666666;
    --lightest-text: #999999;
    --background-color: #ffffff;
    --light-background: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
    --transition: all 0.3s ease;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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;
    display: block;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

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

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

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

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

/* Header */
header {
    background-color: white;
    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;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

#increase-font {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 5px 10px;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
}

#increase-font:hover {
    background-color: var(--light-background);
}

.search-container {
    position: relative;
}

.search-container form {
    display: flex;
}

.search-container input {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 10px 15px;
    width: 200px;
    font-size: 0.9rem;
}

.search-container button {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--light-text);
}

.cart-icon {
    position: relative;
}

.cart-icon a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 600;
}

.cart-icon svg {
    margin-right: 5px;
}

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

/* Navigation */
.main-nav {
    background-color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    color: white;
    padding: 15px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/random/1600x800/?fishing');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background-color: var(--light-background);
    text-align: center;
}

.advantages h2 {
    margin-bottom: 50px;
}

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

.advantage-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.statistics {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px 0;
}

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

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

.cta-block {
    margin-top: 50px;
}

.cta-block h3 {
    margin-bottom: 20px;
}

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

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

.product-certifications {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--light-background);
    border-radius: var(--border-radius);
}

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

.company-history {
    margin-top: 30px;
}

/* History of Day Section */
.history-of-day {
    padding: 50px 0;
    background-color: #f0f8ff;
    text-align: center;
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

#today-date {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

.products h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

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

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

.product-details {
    padding: 20px;
}

.product-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-details h3 a {
    color: var(--text-color);
}

.product-details h3 a:hover {
    color: var(--primary-color);
}

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

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

.product-actions {
    display: flex;
    gap: 10px;
}

.add-to-cart-btn {
    background-color: var(--primary-color);
    color: white;
    flex: 1;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-dark);
}

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

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

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
}

.newsletter h2,
.newsletter p {
    color: white;
}

.newsletter-form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: white;
}

.newsletter-form button:hover {
    background-color: #e68a00;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column p {
    color: #bbb;
    margin-bottom: 20px;
}

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

.footer-column ul li a {
    color: #bbb;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

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

.social-links svg {
    color: white;
}

.footer-column address p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-column address p svg {
    margin-right: 10px;
    flex-shrink: 0;
}

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

.footer-bottom p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c2c2c;
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

#accept-all-cookies {
    background-color: var(--success-color);
    color: white;
}

#customize-cookies {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

#decline-cookies {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.cookie-policy-link {
    color: var(--secondary-color);
    margin-left: 10px;
    font-size: 0.9rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--success-color);
    color: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    z-index: 1001;
    display: none;
    transition: var(--transition);
    animation: fadeInOut 3s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

/* Product Page */
.product-details-container {
    padding: 80px 0;
}

.product-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

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

.product-price-large {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    margin: 20px 0;
}

.product-description-long {
    margin-bottom: 20px;
}

.product-specifications {
    margin: 30px 0;
}

.product-specifications h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.specs-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

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

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

.buy-now-btn:hover {
    background-color: #e68a00;
}

/* Cart Page */
.cart-container {
    padding: 80px 0;
}

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

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

.cart-item {
    display: grid;
    grid-template-columns: 100px 3fr 1fr 1fr 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:first-child {
    border-top: 1px solid var(--border-color);
}

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

.cart-item-name {
    font-weight: 600;
}

.cart-item-price {
    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: none;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

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

.cart-item-total {
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--error-color);
}

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

.cart-summary h3 {
    margin-bottom: 20px;
}

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

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

.checkout-button {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 1.1rem;
    text-align: center;
}

.checkout-button:hover {
    background-color: #e68a00;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--primary-color);
}

/* Checkout Page */
.checkout-container {
    padding: 80px 0;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.checkout-form h2,
.order-summary h2 {
    margin-bottom: 30px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

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

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

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

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

.order-item:last-child {
    border-bottom: none;
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-color);
    color: white;
    font-size: 1.1rem;
}

.place-order-btn:hover {
    background-color: #e68a00;
}

/* Success Page */
.success-container {
    padding: 100px 0;
    text-align: center;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.success-icon svg {
    width: 80px;
    height: 80px;
    color: var(--success-color);
}

.success-message h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.success-message p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.back-to-home {
    margin-top: 30px;
}

/* Contact Page */
.contact-container {
    padding: 80px 0;
}

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

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details svg {
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-map {
    margin-top: 30px;
    height: 300px;
    background-color: var(--light-background);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
}

/* About Page */
.about-container {
    padding: 80px 0;
}

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

.about-intro h1 {
    margin-bottom: 20px;
}

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

.value-item {
    text-align: center;
    padding: 30px;
    background-color: var(--light-background);
    border-radius: var(--border-radius);
}

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

.team-section {
    margin-top: 80px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 20px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 5px;
}

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

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

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

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

.team-social a:hover svg {
    color: white;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-details-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .search-container input {
        width: 150px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .advantages-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .statistics {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        row-gap: 10px;
    }
    
    .cart-item-quantity,
    .cart-item-price,
    .cart-item-total {
        grid-column: 2;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
