/* ============================================================
   Ginocchi Arredamenti — CSS Principale
   ============================================================ */

/* === VARIABILI === */
:root {
    --primary-color: #375474;
    --secondary-color: #e4763e;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --bg-light: #f8f9fa;
    --transition-medium: 0.4s;
    --gradient-overlay: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    --focus-outline-color: #e4763e;
}

/* === BASE === */
body {
    font-family: 'Manrope', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
}
main { flex: 1; }

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--focus-outline-color);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* === NAVBAR === */
.navbar {
    padding: 1rem 0;
    background-color: var(--primary-color) !important;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}
.navbar-brand img { height: 75px; width: 75px; transition: all 0.3s ease; }
.navbar-scrolled .navbar-brand img { height: 40px; width: 40px; }
.navbar .nav-link {
    position: relative; margin: 0 0.5rem; padding: 0.5rem 0.7rem !important;
    color: #fff !important; font-weight: 500; transition: all 0.3s ease; z-index: 1;
}
.navbar .nav-link::before {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background-color: #fff; transition: all 0.3s ease; z-index: -1;
}
.navbar .nav-link:hover::before,
.navbar .nav-item.active .nav-link::before { width: 100%; }
.navbar .nav-link i { margin-right: 5px; font-size: 0.85em; opacity: 0.8; }

/* === BUTTONS === */
.btn { padding: 0.6rem 1.5rem; border-radius: 6px; font-weight: 500; transition: all 0.3s ease; }
.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }

/* === SECTION UTILITIES === */
.section { padding: 5rem 0; }
.section-title {
    position: relative; margin-bottom: 3rem; font-weight: 700;
}
.section-title::after {
    content: ''; position: absolute; left: 0; bottom: -15px;
    width: 60px; height: 3px; background: var(--primary-color);
}

/* === HERO SLIDER === */
.hero-slider-container { position: relative; margin-bottom: 0; overflow: hidden; }
.hero-slider-container, #heroCarousel, .carousel-inner,
.carousel-item, .hero-default, .hero-slide { height: 90vh; width: 100%; }
.hero-slide-link { text-decoration: none; color: var(--text-light); display: block; height: 100%; }
.hero-slide { position: relative; overflow: hidden; }
.hero-image-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }

@media (prefers-reduced-motion: no-preference) {
    .carousel-item.active .hero-image { transform: scale(1.1); }
}
.hero-slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-overlay); z-index: 1; transition: background 0.3s ease;
}
.hero-slide-link:hover .hero-slide-overlay,
.hero-slide-link:focus .hero-slide-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}
.hero-slide-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center; color: #fff; z-index: 2;
    text-align: center; padding: 2rem;
}
.hero-slide-text { max-width: 800px; }
.hero-category {
    display: inline-block; background-color: rgba(228,118,62,0.8);
    padding: 8px 20px; border-radius: 30px; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem;
}
.hero-slide-text h2 {
    font-size: 3.5rem; font-weight: 700; margin-bottom: 0.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}
.hero-slide-text p { font-size: 1.5rem; margin-bottom: 2rem; text-shadow: 0 3px 6px rgba(0,0,0,0.7); }
.hero-link-button {
    display: inline-block; background-color: var(--primary-color); color: white;
    padding: 12px 30px; border-radius: 30px; font-weight: 500;
    transition: all 0.3s ease; border: 2px solid transparent;
}
.hero-slide-link:hover .hero-link-button,
.hero-slide-link:focus .hero-link-button {
    background-color: transparent; border-color: white; transform: translateY(-5px);
}
.hero-link-button i { margin-left: 8px; transition: transform 0.3s ease; }
.hero-slide-link:hover .hero-link-button i,
.hero-slide-link:focus .hero-link-button i { transform: translateX(5px); }
.hero-default {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/default-hero.jpg') center/cover no-repeat;
    position: relative; display: flex; align-items: center; justify-content: center;
}

/* Carousel controls */
.carousel-controls { position: relative; z-index: 5; }
.carousel-control-prev, .carousel-control-next {
    width: 50px; height: 50px; background-color: rgba(0,0,0,0.5);
    border-radius: 50%; opacity: 0.7; top: 50%; transform: translateY(-50%);
}
.carousel-control-prev:hover, .carousel-control-next:hover,
.carousel-control-prev:focus, .carousel-control-next:focus {
    opacity: 1; background-color: rgba(0,0,0,0.8);
}
.carousel-indicators { margin-bottom: 2rem; z-index: 5; flex-wrap: wrap; gap: 4px; }
.carousel-indicators button, .carousel-indicators [data-bs-target] {
    width: 12px !important; height: 12px !important; border-radius: 50% !important;
    background-color: rgba(255,255,255,0.5) !important; border: none !important;
    border-top: 0 !important; border-bottom: 0 !important;
    margin: 0 5px !important; padding: 0 !important; box-sizing: border-box !important;
    opacity: 1 !important; background-clip: unset !important; text-indent: 0 !important;
}
.carousel-indicators button.active, .carousel-indicators [data-bs-target].active {
    background-color: white !important;
}

@media (prefers-reduced-motion: no-preference) {
    .carousel.slide .carousel-item-next.carousel-item-start .hero-slide-text,
    .carousel.slide .carousel-item-prev.carousel-item-end .hero-slide-text,
    .carousel.slide .carousel-item.active .hero-slide-text {
        opacity: 0; animation: simpleSlideUp 0.5s ease-out 0.3s forwards;
    }
    @keyframes simpleSlideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
    .carousel.slide .carousel-item-next.carousel-item-start .hero-slide-text,
    .carousel.slide .carousel-item-prev.carousel-item-end .hero-slide-text,
    .carousel.slide .carousel-item.active .hero-slide-text { opacity:1; animation:none; }
    .hero-image, .hero-slide-link:hover .hero-link-button,
    .service-card:hover, .welcome-button:hover, .category-hero-button:hover,
    .category-hero-section:hover .category-hero-bg { transition:none!important; transform:none!important; }
}

/* === WELCOME === */
.welcome-section { padding: 100px 0; background-color: var(--bg-light); position: relative; overflow: hidden; }
.welcome-container { padding: 60px 40px; text-align: center; }
.welcome-title {
    font-size: 3rem; font-weight: 700; color: var(--primary-color); margin-bottom: 20px;
    position: relative; display: inline-block;
}
.welcome-title::after {
    content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 3px; background: var(--secondary-color);
}
.welcome-subtitle { font-size: 1.5rem; line-height: 1.6; color: var(--text-dark); margin: 30px 0; font-weight: 300; }
.welcome-button {
    display: inline-block; background-color: var(--primary-color); color: white;
    padding: 15px 40px; border-radius: 30px; text-decoration: none; font-weight: 500;
    transition: all 0.3s ease; border: 2px solid var(--primary-color);
    margin-top: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.welcome-button:hover, .welcome-button:focus {
    background-color: transparent; color: var(--primary-color); transform: translateY(-5px);
}

/* === SERVICES === */
.services-section { padding: 100px 0; background-color: white; }
.services-section .section-title,
.section-header .section-title {
    font-size: 2.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem;
    position: relative; display: inline-block;
}
.services-section .section-title::after,
.section-header .section-title::after {
    content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 3px; background: var(--secondary-color);
}
.section-subtitle { font-size: 1.25rem; color: var(--primary-color); margin-top: 30px; font-weight: 500; }
.service-card {
    background-color: var(--bg-light); border-radius: var(--border-radius);
    padding: 40px 30px; height: 100%; text-align: center;
    transition: all 0.4s ease; box-shadow: var(--box-shadow);
}
.service-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.service-icon {
    width: 80px; height: 80px; margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), #294360);
    color: white; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 2rem;
}
.service-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 15px; color: var(--text-dark); }
.service-description { color: #6c757d; font-size: 0.95rem; line-height: 1.6; }

/* === CATEGORY HERO SECTIONS === */
.category-showcase { background-color: var(--bg-light); }
.category-hero-section {
    position: relative; height: 80vh; width: 100%;
    display: flex; align-items: center; overflow: hidden;
}
.category-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    transition: transform 0.6s ease-out; z-index: 1;
}
.category-hero-section:hover .category-hero-bg { transform: scale(1.05); }
.category-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); z-index: 2;
}
.category-hero-content { position: relative; z-index: 3; width: 100%; }
.category-hero-text { color: var(--text-light); max-width: 600px; padding: 30px; }
.text-start { margin-right: auto; }
.text-end { margin-left: auto; }
.category-hero-badge {
    display: inline-block; background-color: var(--secondary-color); color: white;
    padding: 8px 16px; border-radius: 4px; font-size: 0.9rem; font-weight: 500;
    margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px;
}
.category-hero-title {
    font-size: 3.5rem; font-weight: 700; margin-bottom: 2rem;
    line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.category-hero-button {
    display: inline-block; background-color: var(--primary-color); color: white;
    padding: 14px 32px; text-decoration: none; font-weight: 500; font-size: 1.1rem;
    transition: all var(--transition-medium) ease; border: 2px solid transparent; border-radius: 30px;
}
.category-hero-button i { margin-left: 10px; transition: transform 0.3s ease; }
.category-hero-button:hover, .category-hero-button:focus {
    background-color: transparent; border-color: white; color: white;
}
.category-hero-button:hover i, .category-hero-button:focus i { transform: translateX(5px); }

/* === FOOTER === */
footer { background-color: var(--primary-color); color: #fff; position: relative; overflow: hidden; }
footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: rgba(255,255,255,0.1);
}
footer h5 { font-weight: 600; margin-bottom: 1.5rem; position: relative; display: inline-block; }
footer h5::after {
    content: ''; position: absolute; left: 0; bottom: -8px;
    width: 30px; height: 2px; background-color: #fff;
}
.footer-link {
    color: rgba(255,255,255,0.8); text-decoration: none; display: block;
    padding: 0.4rem 0; transition: all 0.3s ease; position: relative;
}
.footer-link:hover { color: #fff; transform: translateX(5px); }
.footer-link i { font-size: 0.75rem; transition: all 0.3s ease; }
.footer-link:hover i { transform: translateX(3px); }
.footer-contact-item { display: flex; align-items: flex-start; margin-bottom: 1rem; }
.footer-contact-icon {
    flex-shrink: 0; margin-right: 10px; background: rgba(255,255,255,0.1);
    width: 36px; height: 36px; display: flex; align-items: center;
    justify-content: center; border-radius: 50%;
}
.copyright-bar {
    background: rgba(0,0,0,0.1); padding: 1rem 0;
    text-align: center; font-size: 0.9rem;
}
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
    color: #fff; margin-right: 10px; transition: all 0.3s ease;
}
.social-links a:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }

/* === CONTATTI === */
.contact-header {
    padding: 120px 0 60px; background-color: var(--primary-color);
    color: var(--text-light); position: relative;
}
.contact-title { font-size: 3.5rem; font-weight: 700; position: relative; z-index: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.contact-info-section { padding: 80px 0 40px; background-color: white; }
.contact-card {
    background-color: var(--bg-light); border-radius: var(--border-radius);
    padding: 40px; box-shadow: var(--box-shadow); margin-top: -100px; position: relative; z-index: 10;
}
.info-block { text-align: center; padding: 20px 15px; }
.info-icon {
    width: 70px; height: 70px; margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), #294360);
    color: white; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 1.8rem;
}
.info-block h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 15px; color: var(--text-dark); }
.info-block p { font-size: 1.1rem; color: #555; margin-bottom: 0; }
.info-block p a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
.info-block p a:hover { color: var(--secondary-color); text-decoration: underline; }

.hours-section { padding: 40px 0 80px; background-color: white; }
.hours-card {
    background-color: white; border-radius: var(--border-radius);
    padding: 40px; box-shadow: var(--box-shadow);
}
.hours-card h2 {
    font-size: 2rem; font-weight: 700; color: var(--text-dark);
    margin-bottom: 10px; position: relative; padding-bottom: 15px;
}
.hours-card h2::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 60px; height: 3px; background: var(--secondary-color);
}
.hours-intro { font-size: 1.1rem; color: #555; margin-bottom: 30px; margin-top: 20px; }
.timetable { margin-top: 20px; }
.time-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; border-bottom: 1px solid #e9ecef;
}
.time-row:last-child { border-bottom: none; }
.time-row.closed { color: #999; }
.day { font-weight: 600; font-size: 1.1rem; }
.hours { font-size: 1rem; }
.map-section { padding: 0 0 80px; background-color: white; }
.map-wrapper { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); }

/* === PAGE HEADERS (Azienda, Categorie, Realizzazioni, etc.) === */
.page-header {
    padding: 120px 0 60px; background-color: var(--primary-color);
    color: var(--text-light); position: relative; text-align: center;
}
.page-header h1 {
    font-size: 3.5rem; font-weight: 700; position: relative; z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.page-header .page-subtitle {
    font-size: 1.3rem; margin-top: 15px; opacity: 0.9; font-weight: 300;
}

/* === AZIENDA === */
.azienda-hero { padding: 120px 0 60px; background-color: var(--primary-color); color: var(--text-light); position: relative; text-align: center; }
.azienda-title { font-size: 3.5rem; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.azienda-subtitle { font-size: 1.3rem; margin-top: 15px; opacity: 0.9; font-weight: 300; }
.mission-section { padding: 80px 0; background-color: white; }
.mission-container { padding: 60px 40px; text-align: center; }
.quotation-mark { font-size: 5rem; color: var(--secondary-color); line-height: 1; margin-bottom: -20px; font-family: Georgia, serif; }
.mission-text { font-size: 1.4rem; line-height: 1.8; color: var(--text-dark); font-style: italic; margin: 20px 0; }
.mission-author { font-weight: 600; color: var(--primary-color); font-size: 1.1rem; }
.principi-section { padding: 80px 0; background-color: var(--bg-light); }
.principi-text p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 1.5rem; }

/* === BREADCRUMB === */
.breadcrumb-container { background-color: var(--bg-light); padding: 15px 0; border-bottom: 1px solid #e9ecef; }
.breadcrumb { margin-bottom: 0; font-size: 0.9rem; }
.breadcrumb-item a { color: var(--primary-color); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--secondary-color); text-decoration: underline; }
.breadcrumb-item.active { color: #6c757d; }
.breadcrumb-item+.breadcrumb-item::before { color: #adb5bd; }

/* === PRODUCT PAGE === */
.product-hero { position: relative; overflow: hidden; height: 60vh; }
.product-hero-image { width: 100%; height: 100%; object-fit: cover; }
.product-hero-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white;
}
.product-hero-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 5px; }
.product-hero-brand { font-size: 1.2rem; opacity: 0.9; }
.product-detail-section { padding: 60px 0; }
.product-description { font-size: 1.1rem; line-height: 1.8; color: #555; }
.product-gallery { margin-top: 40px; }
.product-gallery img { border-radius: var(--border-radius); cursor: pointer; transition: transform 0.3s ease; }
.product-gallery img:hover { transform: scale(1.03); }
.related-products { padding: 60px 0; background-color: var(--bg-light); }
.related-product-card {
    background: white; border-radius: var(--border-radius); overflow: hidden;
    box-shadow: var(--box-shadow); transition: all 0.3s ease; text-decoration: none; color: inherit; display: block;
}
.related-product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.related-product-card img { width: 100%; height: 200px; object-fit: cover; }
.related-product-info { padding: 15px; }
.related-product-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 5px; color: var(--text-dark); }
.related-product-info p { font-size: 0.9rem; color: #6c757d; margin-bottom: 0; }

/* === CATEGORY PAGE === */
.category-header { padding: 120px 0 60px; background-color: var(--primary-color); color: var(--text-light); text-align: center; }
.category-title { font-size: 3.5rem; font-weight: 700; }
.category-count { font-size: 1.2rem; opacity: 0.85; margin-top: 10px; }
.products-grid { padding: 60px 0; background-color: white; }
.product-card {
    background: white; border-radius: var(--border-radius); overflow: hidden;
    box-shadow: var(--box-shadow); transition: all 0.3s ease; text-decoration: none; color: inherit; display: block;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.product-card img { width: 100%; height: 280px; object-fit: cover; }
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; color: var(--text-dark); }
.product-card-body p { font-size: 0.9rem; color: #6c757d; margin-bottom: 0; }

/* === CATEGORIES LISTING === */
.categories-grid { padding: 60px 0; background-color: white; }
.category-card {
    position: relative; border-radius: var(--border-radius); overflow: hidden;
    height: 350px; display: block; text-decoration: none; color: white;
    box-shadow: var(--box-shadow); transition: all 0.3s ease;
}
.category-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); color: white; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.category-card-overlay h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 5px; }
.category-card-overlay span { font-size: 0.9rem; opacity: 0.8; }

/* === REALIZZAZIONI === */
.gallery-section { padding: 60px 0; }
.gallery-item { border-radius: var(--border-radius); overflow: hidden; margin-bottom: 20px; cursor: pointer; }
.gallery-item img { width: 100%; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* === FAQ === */
.faq-section { padding: 60px 0; background-color: white; }
.faq-item { border-bottom: 1px solid #e9ecef; }
.faq-question {
    padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; font-size: 1.1rem; font-weight: 600; color: var(--text-dark);
}
.faq-question:hover { color: var(--primary-color); }
.faq-question i { transition: transform 0.3s ease; color: var(--secondary-color); }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { padding: 0 0 20px; font-size: 1rem; line-height: 1.8; color: #555; display: none; }
.faq-answer.active { display: block; }

/* === LIGHTBOX === */
.lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 9999; display: none;
    align-items: center; justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90%; max-height: 90vh; object-fit: contain; }
.lightbox-close {
    position: absolute; top: 20px; right: 30px; color: white;
    font-size: 2rem; cursor: pointer; z-index: 10000;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed; bottom: 30px; left: 30px; max-width: 400px;
    background: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    border-radius: 10px; padding: 20px; z-index: 1000;
    transform: translateY(100px); opacity: 0; transition: all 0.5s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }

/* === FADE ANIMATION === */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.active { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .hero-slider-container, #heroCarousel, .carousel-inner,
    .carousel-item, .hero-default, .hero-slide { height: 80vh; }
    .hero-slide-text h2 { font-size: 3rem; }
    .category-hero-section { height: 70vh; }
    .category-hero-title { font-size: 3rem; }
}
@media (max-width: 992px) {
    .hero-slider-container, #heroCarousel, .carousel-inner,
    .carousel-item, .hero-default, .hero-slide { height: 70vh; }
    .hero-slide-text h2 { font-size: 2.5rem; }
    .hero-slide-text p { font-size: 1.25rem; }
    .welcome-section, .services-section { padding: 70px 0; }
    .welcome-title { font-size: 2.5rem; }
    .welcome-subtitle { font-size: 1.3rem; }
    .services-section .section-title, .section-header .section-title { font-size: 2.2rem; }
    .category-hero-section { height: 60vh; }
    .category-hero-title { font-size: 2.5rem; }
    .contact-title, .page-header h1, .azienda-title { font-size: 3rem; }
    .contact-card, .hours-card { padding: 30px; }
    .info-block { margin-bottom: 20px; }
}
@media (max-width: 768px) {
    .hero-slider-container, #heroCarousel, .carousel-inner,
    .carousel-item, .hero-default, .hero-slide { height: 60vh; }
    .hero-slide-text h2 { font-size: 2rem; }
    .hero-slide-text p { font-size: 1rem; }
    .welcome-section, .services-section { padding: 50px 0; }
    .welcome-title { font-size: 2rem; }
    .welcome-subtitle { font-size: 1.1rem; }
    .welcome-container { padding: 40px 20px; }
    .services-section .section-title, .section-header .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1.1rem; }
    .category-hero-section { height: 50vh; }
    .category-hero-text { text-align: center !important; margin: 0 auto; }
    .category-hero-title { font-size: 2rem; margin-bottom: 1.5rem; }
    .category-hero-button { padding: 12px 25px; font-size: 1rem; }
    .contact-header, .page-header, .azienda-hero { padding: 100px 0 100px; }
    .contact-title, .page-header h1, .azienda-title { font-size: 2.5rem; }
    .contact-card { margin-top: -70px; }
    .info-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .hours-card h2 { font-size: 1.8rem; }
    .product-hero { height: 40vh; }
    .product-hero-title { font-size: 2rem; }
    .category-card { height: 250px; }
}
@media (max-width: 576px) {
    .hero-slider-container, #heroCarousel, .carousel-inner,
    .carousel-item, .hero-default, .hero-slide { height: 50vh; }
    .hero-category { font-size: 0.8rem; padding: 6px 15px; margin-bottom: 1rem; }
    .hero-slide-text h2 { font-size: 1.8rem; margin-bottom: 0.3rem; }
    .hero-slide-text p { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .hero-link-button { padding: 10px 20px; font-size: 0.9rem; }
    .welcome-title { font-size: 1.8rem; }
    .welcome-subtitle { font-size: 1rem; }
    .welcome-button { padding: 12px 30px; font-size: 0.9rem; }
    .services-section .section-title, .section-header .section-title { font-size: 1.6rem; }
    .category-hero-section { height: 40vh; }
    .category-hero-badge { font-size: 0.8rem; padding: 5px 12px; margin-bottom: 1rem; }
    .category-hero-title { font-size: 1.6rem; margin-bottom: 1rem; }
    .category-hero-button { padding: 10px 20px; font-size: 0.9rem; }
    .contact-header, .page-header, .azienda-hero { padding: 80px 0 80px; }
    .contact-title, .page-header h1, .azienda-title { font-size: 2rem; }
    .contact-card { margin-top: -50px; padding: 25px 15px; }
    .info-block h3 { font-size: 1.2rem; }
    .info-block p { font-size: 1rem; }
    .hours-card { padding: 25px 15px; }
    .hours-card h2 { font-size: 1.6rem; }
    .hours-intro { font-size: 1rem; }
    .time-row { flex-direction: column; align-items: flex-start; padding: 10px 0; }
    .day { margin-bottom: 5px; }
    .product-hero { height: 35vh; }
    .product-hero-title { font-size: 1.6rem; }
    .product-card img { height: 200px; }
    .breadcrumb-container { padding: 10px 0; }
}
