/* =================================
   PAGES.CSS - Stili specifici pagine
   ================================= */

/* === HOME === */
.hero {
    margin-top: 72px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 72px - 100px);
}

.hero-section {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.hero-section:hover {
    transform: scale(1.02);
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 243, 240, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: #5B9AAE;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #666;
    font-weight: 300;
}

/* === SERVIZI (Osteopatia, Fisioterapia) === */
.intro-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    line-height: 2;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2.5rem 2rem;
    background: white;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: #666;
    font-weight: 300;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* === CHI SONO === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-image {
    width: 100%;
    height: 500px;
    background-image: url('https://i.imgur.com/HVK5ybO.jpeg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-text {
    color: #666;
    font-weight: 300;
    line-height: 2;
    font-size: 1.05rem;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #333;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: #333;
    font-weight: 400;
}

.values-section {
    background: white;
    padding: 4rem 3rem;
    margin-top: 5rem;
}

.values-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #5B9AAE;
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
}

.value-item h3 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    font-weight: 300;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* === STUDIO === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.studio-info {
    background: white;
    padding: 4rem 3rem;
    margin-top: 5rem;
    text-align: center;
}

.studio-info h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #333;
    margin-bottom: 2rem;
}

.studio-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.feature-item {
    text-align: center;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    font-weight: 300;
    line-height: 1.8;
    font-size: 0.95rem;
}

.location-section {
    margin-top: 5rem;
    background: white;
    padding: 4rem 3rem;
    text-align: center;
}

.location-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #5B9AAE;
    margin-bottom: 2rem;
}

.location-info {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 2;
}

.location-info p {
    margin-bottom: 1rem;
}

/* === APPUNTAMENTI === */
.booking-form {
    background: white;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #333;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    background: #f5f3f0;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #5B9AAE;
}

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

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: #5B9AAE;
    color: white;
    border: none;
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 300;
    min-height: 48px; /* Touch-friendly */
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

.btn-submit:hover {
    background: #4a8599;
}

.info-text {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* === CONTATTI === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 5rem;
    width: 100%;
    max-width: 100%;
}

.contact-info-section {
    background: white;
    padding: 3rem;
}

.contact-info-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #333;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f5f3f0;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #8B7355;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #666;
    font-weight: 300;
    line-height: 1.8;
    font-size: 1.05rem;
    word-break: break-word;
}

.contact-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-map {
    background: white;
    padding: 3rem;
}

.contact-map h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #333;
    margin-bottom: 2rem;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #f5f3f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.1rem;
    text-align: center;
    padding: 2rem;
}

.orari-section {
    background: white;
    padding: 4rem 3rem;
    text-align: center;
}

.orari-section h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: #5B9AAE;
    margin-bottom: 3rem;
}

.orari-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.orario-item {
    padding: 2rem;
    background: #f5f3f0;
}

.orario-item h3 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 1rem;
}

.orario-item p {
    color: #666;
    font-weight: 300;
    font-size: 1.05rem;
}

/* === CTA SECTION === */
.cta-section {
    text-align: center;
    margin-top: 5rem;
    padding: 3rem;
    background: white;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #5B9AAE;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: background 0.3s;
    font-weight: 300;
    min-height: 48px; /* Touch-friendly */
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

.cta-button:hover {
    background: #4a8599;
}

.whatsapp-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 2px;
    transition: background 0.3s;
    font-weight: 300;
    margin-left: 1rem;
    min-height: 48px; /* Touch-friendly */
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

.whatsapp-button:hover {
    background: #1fb855;
}

/* === RESPONSIVE PER PAGINE === */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-section {
        min-height: 45vh;
    }

    .hero-content h2 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

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

    .service-card {
        padding: 2rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        height: 350px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item {
        height: 300px;
    }

    .studio-features {
        grid-template-columns: 1fr;
    }

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

    .orari-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-button {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        width: 100%;
    }

    .cta-button {
        display: block;
        width: 100%;
        padding: 1.3rem 2rem;
        font-size: 1rem;
    }

    .booking-form {
        padding: 2rem 1.5rem;
    }

    .intro-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .studio-info,
    .location-section,
    .orari-section,
    .cta-section,
    .values-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero-section {
        min-height: 350px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }

    .booking-form {
        padding: 1.5rem 1rem;
    }

    input, select, textarea {
        padding: 0.9rem;
        font-size: 16px; /* Previene zoom su iOS */
    }

    .btn-submit {
        padding: 1.3rem;
        font-size: 1rem;
    }

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

    .intro-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .contact-info-section,
    .contact-map {
        padding: 2rem 1.5rem;
    }

    .map-placeholder {
        height: 300px;
        font-size: 0.95rem;
    }
}
