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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fef7ea;
}

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

/* Header */
.header {
    background-color: #d3ac74;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #fef7ea;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

.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);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 60vh;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Intro Section */
.intro-section {
    padding: 60px 0;
    background-color: #fef7ea;
}

.intro-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.intro-text {
    text-align: center;
    max-width: 600px;
}

.intro-text h1 {
    font-size: 2.5rem;
    color: #d3ac74;
    margin-bottom: 20px;
    font-weight: 700;
}

.intro-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: #d3ac74;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 172, 116, 0.3);
}

.cta-button:hover {
    background-color: #c19a63;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 172, 116, 0.4);
}

.intro-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.intro-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.intro-images img:hover {
    transform: scale(1.05);
}

/* Video Section */
.video-section {
    padding: 60px 0;
    background-color: #f5f0e6;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: #fef7ea;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #d3ac74;
    margin-bottom: 50px;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Description Section */
.description-section {
    padding: 80px 0;
    background-color: #f5f0e6;
}

.description-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #d3ac74;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.description-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #d3ac74;
    color: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fef7ea;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fef7ea;
}

.contact-item p {
    font-size: 1.2rem;
    font-weight: 600;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.contact-cta {
    text-align: center;
    margin-top: 40px;
}

.emotional-text {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #fef7ea;
}

/* Footer */
.footer {
    background-color: #b8956a;
    padding: 40px 0;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-info p {
    margin-bottom: 5px;
    color: #fef7ea;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .logo img {
        height: 60px;
        width: 60px;
    }
    
    .intro-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 60px;
    }
    
    .intro-text {
        flex: 1;
        text-align: left;
    }
    
    .intro-images {
        flex: 1;
        grid-template-columns: 1fr 1fr;
        max-width: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
    
    .hamburger {
        display: none;
    }
    
    .hero-image {
        height: 70vh;
    }
    
    .intro-text h1 {
        font-size: 3rem;
    }
    
    .intro-images {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .intro-images img {
        height: 350px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .gallery-item img {
        height: 300px;
    }
    
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile menu styles */
@media (max-width: 767px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #d3ac74;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active a {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    .nav-menu.active a:last-child {
        border-bottom: none;
    }
}


/* Form Section */
.form-section {
    padding: 80px 0;
    background-color: #f5f0e6;
}

.form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #d3ac74;
    margin-bottom: 20px;
    font-weight: 700;
}

.form-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d3ac74;
    box-shadow: 0 0 0 3px rgba(211, 172, 116, 0.1);
}

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

.form-submit-btn {
    background-color: #d3ac74;
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 172, 116, 0.3);
    width: 100%;
    margin-top: 20px;
}

.form-submit-btn:hover {
    background-color: #c19a63;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 172, 116, 0.4);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form Responsive Design */
@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form {
        padding: 50px;
    }
    
    .form-submit-btn {
        width: auto;
        min-width: 200px;
        margin: 20px auto 0;
        display: block;
    }
}

@media (min-width: 1024px) {
    .form-section h2 {
        font-size: 3rem;
    }
    
    .form-intro {
        font-size: 1.3rem;
    }
}



/* Experiences Section */
.experiences-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.experiences-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
}

.experiences-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.experience-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.experience-item img {
    width: 100%;
    height: auto;
    max-height: 300px; /* Limita l'altezza massima per evitare immagini troppo grandi */
    object-fit: contain;
    background-color: #f0f0f0; /* Sfondo per le immagini con 'contain' */
    padding: 10px;
}

.experience-text {
    padding: 25px;
}

.experience-text h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.experience-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.experience-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.experience-text ul li {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 5px;
}

/* Desktop layout (2 columns) */
@media (min-width: 768px) {
    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-item {
        flex-direction: column; /* Ensure image is above text */
    }
}

@media (max-width: 767px) {
    .experiences-section h2 {
        font-size: 2rem;
    }
    
    .experience-text h3 {
        font-size: 1.5rem;
    }
    
    .experience-text p,
    .experience-text ul li {
        font-size: 0.9rem;
    }
}

