/* =================================================================
   LC Events S.r.l. - Custom Stylesheet
   ================================================================= */

/* CSS Variables */
:root {
    --primary-color: #1a365d;
    --primary-light: #2b6cb0;
    --accent-color: #48bb78;
    --background-light: #f7fafc;
    --text-color: #2d3748;
    --text-muted: #718096;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

/* =================================================================
   Navigation
   ================================================================= */

.navbar {
    padding: 1rem 0;
    background-color: transparent !important;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--primary-color) !important;
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar-brand {
    padding: 0;
}

.navbar-logo {
    height: 50px;
    width: auto;
    border-radius: 4px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-logo {
    height: 40px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* =================================================================
   Hero Section
   ================================================================= */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
    font-size: 1.125rem;
    opacity: 0.85;
    font-style: italic;
}

.hero-section .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(72, 187, 120, 0.4);
}

.hero-section .btn-primary:hover {
    background-color: #38a169;
    border-color: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.5);
}

.hero-section .btn-outline-light {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 6px;
    border-width: 2px;
}

.hero-section .btn-outline-light:hover {
    transform: translateY(-2px);
}

/* =================================================================
   Section Styles
   ================================================================= */

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    position: relative;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* =================================================================
   Chi Siamo Section
   ================================================================= */

#chi-siamo {
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.about-content .lead {
    color: var(--text-color);
    font-weight: 500;
}

.stat-box {
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 12px;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-box i {
    display: block;
}

.stat-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* =================================================================
   Servizi Section
   ================================================================= */

#servizi {
    background-color: var(--background-light);
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
}

.service-list li i {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* =================================================================
   Contatti Section
   ================================================================= */

#contatti {
    background-color: var(--white);
}

.contact-card {
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 12px;
    height: 100%;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-card h5 {
    color: var(--primary-color);
}

.contact-link {
    color: var(--primary-light);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* =================================================================
   Footer
   ================================================================= */

.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer p {
    margin: 0;
    font-size: 0.875rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
}

/* =================================================================
   Utility Classes
   ================================================================= */

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

/* =================================================================
   Responsive Styles
   ================================================================= */

/* Tablet */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 100px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }

    section {
        padding: 4rem 0;
    }

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

/* Mobile */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-section .btn:last-child {
        margin-bottom: 0;
    }

    section {
        padding: 3rem 0;
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .about-content p {
        font-size: 1rem;
    }
}

/* =================================================================
   Animations
   ================================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
