/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
}

/* Container Principale */
.editorial-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: white;
    box-shadow: 0 0 40px rgba(0,0,0,0.05);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 3rem 0 1.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #000, #666);
}

h3 {
    font-size: 1.5rem;
    color: #2a2a2a;
    margin: 2rem 0 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: #333;
    line-height: 1.6;
    margin: 2rem 0;
}

strong {
    font-weight: 600;
    color: #000;
}

/* Header Articolo */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.date, .category {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero-section {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
    border-radius: 12px;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-section:hover .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 3rem 2rem 2rem;
}

.hero-overlay h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-overlay h2::after {
    background: white;
}

.hero-overlay p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Immagini Contenuto */
.content-image {
    margin: 3rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.content-image:hover img {
    transform: scale(1.02);
}

/* CTA Blocks */
.cta-block {
    background: linear-gradient(135deg, #f8f8f8, #fff);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000, #666);
}

.cta-block h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.cta-block p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0.5rem;
    border: 2px solid #000;
}

.cta-button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.cta-button.secondary {
    background: white;
    color: #000;
}

.cta-button.secondary:hover {
    background: #f0f0f0;
}

.cta-button.primary {
    background: #000;
    color: white;
}

/* Blockquote */
blockquote {
    background: #f8f8f8;
    border-left: 4px solid #000;
    margin: 3rem 0;
    padding: 2rem;
    border-radius: 0 8px 8px 0;
}

blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin-bottom: 1rem;
}

blockquote cite {
    font-style: normal;
    font-weight: 600;
    color: #666;
}

/* Technical Specs */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.spec-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.spec-item i {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.spec-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.spec-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

/* Collection Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.collection-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.collection-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

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

.collection-item h3 {
    font-size: 1.3rem;
    margin: 1rem;
    text-align: center;
}

.collection-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0 1rem 1.5rem;
    text-align: center;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: #ddd;
    font-family: 'Playfair Display', serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #444;
}

.testimonial-author strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Philosophy and Values Grid */
.philosophy-grid,
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.philosophy-item,
.value-item {
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.philosophy-item::before,
.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000, #666);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.philosophy-item:hover::before,
.value-item:hover::before {
    transform: scaleX(1);
}

.philosophy-item:hover,
.value-item:hover {
    border-color: #000;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.philosophy-item i,
.value-item i {
    font-size: 3rem;
    color: #000;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

.philosophy-item h3,
.value-item h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.philosophy-item p,
.value-item p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.6;
}

/* Collaboration Comparison */
.collab-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.brand-seletti,
.brand-okkia {
    background: linear-gradient(135deg, #ffffff, #fafafa);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-seletti::before,
.brand-okkia::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(0,0,0,0.02), transparent);
    border-radius: 16px;
    z-index: -1;
}

.brand-seletti:hover,
.brand-okkia:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-color: #ccc;
}

.brand-seletti h3,
.brand-okkia h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.brand-seletti h3::after,
.brand-okkia h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #000, #666);
    border-radius: 2px;
}

.brand-seletti p,
.brand-okkia p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.brand-seletti ul,
.brand-okkia ul {
    list-style: none;
    padding: 0;
}

.brand-seletti li,
.brand-okkia li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.brand-seletti li::before,
.brand-okkia li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.brand-seletti li:hover,
.brand-okkia li:hover {
    color: #000;
    padding-left: 2rem;
}

.brand-seletti li:hover::before,
.brand-okkia li:hover::before {
    transform: translateX(3px);
}

/* Tips Container */
.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tip-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.tip-item:hover {
    border-color: #000;
    transform: translateY(-3px);
}

.tip-item h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.tip-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

/* Sustainability List */
.sustainability-list {
    list-style: none;
    margin: 2rem 0;
}

.sustainability-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1rem;
}

.sustainability-list li:last-child {
    border-bottom: none;
}

/* Special CTA Blocks */
.final-cta {
    background: linear-gradient(135deg, #000, #333);
    color: white;
    border: none;
}

.final-cta h3,
.final-cta p {
    color: white;
}

.final-cta .cta-button {
    border-color: white;

}

.final-cta .cta-button:hover {
    background: white;
    color: #000;
}

.ultimate-cta {
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a);
    color: white;
    border: none;
}

.ultimate-cta h3,
.ultimate-cta p {
    color: white;
}

.ultimate-cta .cta-button {
    background: white;
    color: #000;
    border-color: white;
}

.ultimate-cta .cta-button:hover {
    background: #f0f0f0;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.legal-info {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.legal-info h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.legal-info p {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.legal-info p strong {
    color: #fff;
    font-weight: 600;
}

.disclaimer {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.disclaimer p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.copyright p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0;
}

/* Contact Form Styling */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff, #fafafa);
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #000, #666);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: #000;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.form-message {
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-weight: 500;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #b8daff;
}

.form-message.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #e6b4a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .editorial-container {
        padding: 1rem 0.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .hero-overlay h2 {
        font-size: 1.6rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .cta-block {
        padding: 2rem 1.5rem;
    }
    
    .specs-grid,
    .collection-grid,
    .testimonial-grid,
    .tips-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .legal-info {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .editorial-container {
        padding: 0.75rem 0.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero-image {
        height: 280px;
    }
    
    .hero-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-block {
        padding: 1.5rem 1rem;
    }
    
    .cta-button {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Animations e Transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.editorial-content > section {
    animation: fadeIn 0.8s ease-out;
}

/* Lazy loading image animations */
img {
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

img.lazy-loaded {
    animation: imageFadeIn 0.8s ease-out forwards;
}

img:not(.lazy-loaded) {
    opacity: 0;
}

/* Focus States per Accessibilità */
a:focus,
button:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cta-block,
    footer {
        display: none;
    }
    
    .editorial-container {
        box-shadow: none;
        max-width: 100%;
    }
}
