/* =========================
   CONTACT PAGE
========================= */

.contact-page {
    padding: var(--spacing-xl) 0;
    min-height: calc(100vh - 200px);
}

/* Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    align-items: stretch;            /* stessa altezza */
    min-height: 650px;               /* altezza di riferimento */
}

/* =========================
   CONTACT INFO CARD
========================= */

.contact-info-section {
    background: var(--color-dark);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    height: 100%;                    /* stessa altezza della mappa */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;              /* TESTO CENTRATO */
}

/* Logo */
.contact-logo {
    margin-bottom: var(--spacing-md);
}

.contact-logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Title */
.contact-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

/* Contact details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Item */
.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Labels */
.contact-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
}

/* Values */
.contact-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

.contact-value p {
    margin: 0.25rem 0;
}

.contact-value strong {
    color: var(--color-white);
    font-weight: 600;
}

/* Phone link */
.phone-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.phone-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* =========================
   BUTTON
========================= */

.contact-button,
.contact-buttons {
    margin-top: var(--spacing-md);
}

.contact-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    width: 100%;
}

.btn-book-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    background-color: #9fb5a2;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #9fb5a2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(159, 181, 162, 0.3);
    width: 100%;
    min-width: 240px;
    max-width: 280px;
    min-height: 52px;
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
}

.btn-book-now:hover {
    background-color: transparent;
    color: #9fb5a2;
    box-shadow: 0 6px 18px rgba(159, 181, 162, 0.4);
    transform: translateY(-2px);
}

/* =========================
   MAP SECTION
========================= */

.contact-map-section {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    height: 100%;                    /* uguale alla card */
    min-height: 650px;
}

.contact-map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .contact-map-section {
        min-height: 420px;
    }

    .contact-info-section {
        height: auto;
    }
}

@media (max-width: 768px) {
    .contact-info-section {
        padding: var(--spacing-md);
    }

    .contact-title {
        font-size: 1.4rem;
    }

    .btn-book-now {
        width: 100%;
        max-width: 280px;
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }

    .contact-buttons {
        flex-direction: column;
    }
}
