/* Color Scheme Variables */
:root {
    --primary-color: #073044;
    --primary-light: #145c72;
    --primary-dark: #031821;
    --secondary-color: #17bebb;
    --accent-color: #ff6f59;
    --success-color: #08953c;
    --warning-color: #fba411;
    --error-color: #f54a4a;
    --text-primary: #16313d;
    --text-secondary: #5d7480;
    --bg-primary: #ffffff;
    --bg-secondary: #eef8f7;
    --border-color: #d7e8e7;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #fbfffe;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.feature-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--bg-primary);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white !important;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Header Styles */

.header-two-level {
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--bg-secondary);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.header-top-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    gap: 2rem;
}

.header-main {
    padding: 1.5rem 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

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

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

/* Hero Styles */

.hero-centered {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    position: relative;
}

.hero-centered::before,
.hero-centered::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.05;
}

.hero-centered::before {
    top: -150px;
    left: -150px;
    background: var(--primary-color);
}

.hero-centered::after {
    bottom: -150px;
    right: -150px;
    background: var(--secondary-color);
}

.hero-centered-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-color);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-centered-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-centered-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-centered-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-centered-title {
        font-size: 2.5rem;
    }

    .hero-centered-subtitle {
        font-size: 1.2rem;
    }
}

/* Footer Styles */

.footer-newsletter {
    margin-top: 5rem;
}

.footer-newsletter-content {
    background: var(--bg-secondary);
    padding: 3rem 0 0;
}

.footer-newsletter-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.footer-newsletter-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-newsletter-info p {
    color: var(--text-secondary);
}

.footer-newsletter-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-newsletter-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-newsletter-links a:hover {
    color: var(--primary-color);
}

.footer-newsletter-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.footer-newsletter-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .footer-newsletter-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-newsletter-links {
        justify-content: center;
    }
}

/* Card Styles */

.card-minimal {
    background: var(--bg-primary);
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.card-minimal:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.minimal-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.minimal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: var(--bg-secondary);
}

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

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

.minimal-content {
    padding: 1.25rem;
}

.minimal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.minimal-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
}

.minimal-add {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.minimal-add:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--primary-dark);
}

.card-minimal .product-card-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.card-minimal .product-card-stars { display: flex; gap: 1px; color: var(--accent-color, #fbbf24); }
.card-minimal .product-card-stars svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.card-minimal .product-card-stars .empty { color: var(--border-color, #d1d5db); }
.card-minimal .product-card-stars .half-filled { margin-left: -14px; clip-path: inset(0 50% 0 0); }
.card-minimal .product-card-rating span { font-size: 12px; color: var(--text-secondary); }

/* Button Styles */

/* Base button styles */
.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: 50px;
}

.btn-primary, .btn-rounded {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover, .btn-rounded:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: var(--primary-dark);
}

.btn-primary:active, .btn-rounded:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    border-radius: 50px;
}

.btn-secondary:hover {
    transform: scale(1.05);
    background: var(--accent-color);
}

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

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

.add-to-cart, .product-btn, .cart-button {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.add-to-cart:hover, .product-btn:hover, .cart-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Item Page Styles */

/* Modern Layout Styles */
.item-modern {
    min-height: 100vh;
}

.modern-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
}

.modern-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 20px;
}

.image-showcase {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.product-details {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: fit-content;
}

.modern-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.modern-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.modern-rating .stars {
    color: #fbbf24;
    font-size: 20px;
}

.modern-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.price-main {
    font-size: 36px;
    font-weight: 700;
}

.modern-description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 30px;
}

.modern-cta {
    margin-bottom: 30px;
}

.cta-primary {
    width: 100%;
    padding: 18px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modern-details {
    padding: 60px 0;
}

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

.detail-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.detail-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.detail-card p {
    color: #666;
    line-height: 1.8;
}

@media (max-width: 968px) {
    .modern-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
}

/* Seafood Theme */
.header-two-level {
    border-bottom: 1px solid rgba(7, 48, 68, 0.08);
}

.header-top {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.78);
    border-bottom: none;
}

.header-promo {
    color: #ffffff;
    font-weight: 700;
}

.logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.logo span {
    line-height: 1.05;
}

.hero-seafood {
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-align: left;
    background: url("../images/hero-seafood.png") center center / cover no-repeat;
}

.hero-seafood::before {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    opacity: 1;
    background: linear-gradient(90deg, rgba(3, 24, 33, 0.88) 0%, rgba(7, 48, 68, 0.72) 42%, rgba(7, 48, 68, 0.15) 76%);
    z-index: 0;
}

.hero-seafood::after {
    display: none;
}

.hero-seafood-content {
    width: 100%;
    max-width: 1400px;
    z-index: 1;
}

.hero-seafood .hero-badge {
    background: rgba(255, 111, 89, 0.95);
    color: #ffffff;
    border-radius: 8px;
}

.hero-seafood .hero-centered-title {
    max-width: 720px;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-seafood .hero-centered-subtitle {
    margin-left: 0;
    margin-right: 0;
    color: rgba(255, 255, 255, 0.88);
}

.hero-seafood .hero-centered-buttons {
    justify-content: flex-start;
}

.hero-seafood .btn-outline {
    border-color: rgba(255, 255, 255, 0.86);
    color: #ffffff;
}

.hero-seafood .btn-outline:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--primary-color);
}

.assortment,
.process {
    padding: 5rem 0;
    background: #fbfffe;
}

.assortment-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.assortment-card,
.process-step {
    min-height: 230px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(7, 48, 68, 0.06);
}

.assortment-card {
    border-top: 4px solid var(--secondary-color);
}

.assortment-kicker,
.process-step span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.assortment-card h3,
.process-step h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 1.35rem;
}

.assortment-card p,
.process-step p {
    color: var(--text-secondary);
}

.process {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-secondary) 100%);
}

.process-step span {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.products {
    background: var(--bg-secondary);
}

.cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

.cta .btn-primary {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(3, 24, 33, 0.22);
}

.cta .btn-primary:hover {
    background: var(--bg-secondary);
    color: var(--primary-dark);
}

.cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

.cta .btn-outline:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--primary-color);
}

.footer-newsletter {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .assortment-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top-content,
    .header-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .header-main {
        padding: 1rem 0;
    }

    .header-content {
        justify-content: center;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .hero-seafood {
        min-height: 760px;
        background-position: 62% center;
    }

    .hero-seafood::before {
        background: linear-gradient(180deg, rgba(3, 24, 33, 0.92) 0%, rgba(7, 48, 68, 0.8) 58%, rgba(7, 48, 68, 0.42) 100%);
    }

    .hero-seafood .hero-centered-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .assortment,
    .process {
        padding: 3.5rem 0;
    }
}
