
/* BitCorsi - Theme: Ocean Deep - 4 Colonne - SEO Optimized */

:root {
    --primary-color: #154360;
    --secondary-color: #1B4F72;
    --accent-color: #F4D03F;
    --bg-color: #EAF2F8;
    --text-color: #1B4F72;
    --light-color: #FFFFFF;
    --border-radius: 20px;
    --box-shadow: 0 8px 25px rgba(21,67,96,0.15);
    --columns: 4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Times New Roman, serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Courier New, monospace;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header ottimizzato */
.site-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    position: relative;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.telegram-btn {
    background: var(--accent-color);
    padding: 0.6rem 1.2rem !important;
    border-radius: var(--border-radius);
    font-weight: 700;
}

.telegram-btn:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Products Grid - Layout Variabile */
.products-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns), 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-color);
}

.product-card > a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card h3 {
    padding: 1rem;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #999;
}

/* Product Detail Page */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin: 2rem 0;
}

@media (max-width: 968px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
}

.product-hero {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.product-image {
    position: relative;
    margin-bottom: 2rem;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
}

.product-intro h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-intro h1 {
        font-size: 1.5rem;
    }
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rating {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating span {
    font-size: 0.9rem;
    color: #666;
}

.categories-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cat-tag {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: calc(var(--border-radius) * 2);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.cat-tag:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 1.5rem;
    color: #555;
}

/* Product Content */
.product-content {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.product-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.content-text {
    line-height: 1.8;
    font-size: 1rem;
}

.content-text p {
    margin-bottom: 1rem;
}

.content-text h3, 
.content-text h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
}

.content-text ul, 
.content-text ol {
    margin: 1rem 0 1rem 2rem;
}

.content-text li {
    margin-bottom: 0.5rem;
}
}

.content-text strong {
    font-weight: 600;
    color: var(--text-color);
}

.content-text em {
    font-style: italic;
}

.content-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.content-text a:hover {
    color: var(--primary-color);
}

/* Reviews */
.reviews-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.reviews-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.reviews-section h2 small {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.review-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
    transition: background 0.3s;
}

.review-item:hover {
    background: #f9f9f9;
    padding: 1.5rem;
    margin: -1.5rem;
    border-radius: 8px;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-header strong {
    color: var(--primary-color);
    font-weight: 600;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-rating {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: #FFD700;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-style: italic;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
}

/* Sidebar CTA */
.product-sidebar {
    position: relative;
}

.cta-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.cta-box.sticky {
    position: sticky;
    top: 100px;
}

@media (max-width: 968px) {
    .cta-box.sticky {
        position: relative;
        top: 0;
    }
}

.cta-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    opacity: 0.95;
}

.btn-large {
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
}

.cta-features {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #555;
    font-size: 0.95rem;
}

.feature-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.telegram-cta {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.telegram-cta p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.95rem;
}

.telegram-cta p strong {
    color: var(--accent-color);
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #0088cc;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.btn-telegram:hover {
    background: #0077b3;
    transform: translateY(-2px);
}

/* Footer ottimizzato */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
    border-top: 3px solid var(--accent-color);
}

.site-footer p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.site-footer strong {
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* HOMEPAGE SEO OTTIMIZZATA */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" opacity="0.1"><path d="M0,0 L1000,100 L0,100 Z" fill="white"/></svg>');
    background-size: cover;
    opacity: 0.1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}

.hero p {
    font-size: 1.5rem;
    opacity: 0.9;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero p {
        font-size: 1.2rem;
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* SEO Text Section MODIFICATO */
.seo-text {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.seo-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.seo-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.seo-text ul {
    margin: 1.5rem 0 1.5rem 2rem;
    color: #555;
    list-style-type: none;
    padding-left: 0;
}

.seo-text li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.seo-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.seo-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Category Links */
.category-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.category-link {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid #eee;
}

.category-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.category-link h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.category-link .count {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
}

.product-card h3 {
    padding: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
    flex-grow: 1;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* FAQ Section MODIFICATO (SOLO 1 FAQ) */
.faq-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.faq-item {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: #555;
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 3px solid var(--secondary-color);
}

/* Microdata e Schema.org */
[itemscope] {
    border: none !important;
}

/* Accessibilità */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Performance */
img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    .site-header, .product-sidebar, .telegram-cta, .footer-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}
