/*
Theme Name: Noleggio Operativo
Theme URI: https://esempio.it
Author: Gabriele
Author URI: https://esempio.it
Description: Tema WordPress professionale per servizi di noleggio operativo punto cassa
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noleggio-operativo
Tags: business, e-commerce, responsive, custom-menu, featured-images
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    z-index: 1001;
    text-decoration: none;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation */
.main-navigation {
    display: flex;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-navigation a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #3498db;
}

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

/* Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #2ecc71;
    color: white;
}

.btn-secondary:hover {
    background: #27ae60;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Product Showcase */
.product-showcase {
    padding: 4rem 0;
    background: #fff;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-image {
    text-align: center;
}

.product-image img {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    transition: transform 0.3s;
}

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

.product-info h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin: 2rem 0;
}

.product-features li {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-features li:before {
    content: "✓";
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Banner Noleggio */
.banner-noleggio {
    background: #f8f9fa;
    padding: 3rem 0;
}

.banner-content {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.banner-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.highlight {
    background: #ffeaa7;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-weight: bold;
}

.price-box {
    background: #3498db;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.price {
    font-size: 3rem;
    font-weight: bold;
}

.price-label {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Vantaggi Section */
.vantaggi {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.vantaggio-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.vantaggio-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vantaggio-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.vantaggio-card p {
    color: #666;
}

/* Contratti Section */
.contratti {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contratti h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.wave-divider {
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,100 L0,100 Z" fill="%23ffffff"/></svg>') no-repeat center bottom;
    background-size: cover;
}

/* CTA Boxes */
.cta-boxes {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.cta-box {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.cta-box h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

/* Content Pages */
.site-main {
    padding: 4rem 0;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Mobile Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        padding-top: 80px;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        width: 100%;
    }

    .main-navigation ul li {
        width: 100%;
    }

    .main-navigation a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
        gap: 0.5rem;
    }

    .header-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .price {
        font-size: 2rem;
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-info h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .vantaggi-grid,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .site-logo {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .entry-title {
        font-size: 1.8rem;
    }
}
