/* Reset CSS e stili base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: #333;
}

/* Animazioni */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1505664194779-8beaceb93744');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #B8860B;
    color: white;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #8B6508;
    transform: scale(1.05);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
}

/* Tradition Section */
.tradition {
    padding: 5rem 0;
    background-color: white;
    text-align: center;
}

.tradition-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.tradition h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.tradition p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Toga Section */
.toga-section {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.toga-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.toga-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.toga-content p {
    color: #666;
    margin-bottom: 2rem;
}

.toga-features {
    list-style: none;
}

.toga-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
}

.toga-features li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #B8860B;
    border-radius: 50%;
    margin-right: 1rem;
}

.toga-image {
    background-image: url('https://plus.unsplash.com/premium_photo-1661497281000-b5ecb39a2114');
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 8px;
    filter: grayscale(20%);
}

/* Craftsmanship Section */
.craftsmanship {
    padding: 5rem 0;
    background-color: white;
}

.craftsmanship-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
}

.craft-image {
    background-image: url('https://images.unsplash.com/photo-1617203443952-6d2619f7ff4e');
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 8px;
    filter: grayscale(20%);
}

.craft-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.craft-content p {
    color: #666;
    margin-bottom: 2rem;
}

.craft-features {
    list-style: none;
}

.craft-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
}

.craft-features li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #B8860B;
    border-radius: 50%;
    margin-right: 1rem;
}

/* Contacts Section */
.contacts {
    padding: 5rem 0;
    background-color: white;
}

.contacts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-block p {
    color: #666;
}

.contact-image {
    background-image: url('https://images.unsplash.com/photo-1509470578905-4a29e9a1a4d9');
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    filter: grayscale(20%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .toga-grid,
    .craftsmanship-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .toga-image,
    .craft-image {
        height: 300px;
        margin-top: 2rem;
    }

    .contact-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .services h2,
    .tradition h2,
    .toga-content h2,
    .craft-content h2,
    .contacts h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}
