/**
 * Contact Page Styles
 *
 * @package Napule_Restaurant
 * @since 1.0.0
 */

/* Contact Page */
.contact-page {
    background-color: #f8f9fa;
    padding-top: 0;
    margin-top: 0;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding-top: calc(120px + 3rem);
    padding-bottom: 4rem;
    text-align: center;
    margin-top: 0;
    display: flex;
    align-items: center;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.contact-hero .container {
    width: 100%;
}

.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: white;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--color-accent);
    margin: 0 auto;
    font-weight: 300;
    max-width: 700px;
    line-height: 1.6;
}

/* Contact Content */
.contact-content {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4a7ba7 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(41, 59, 97, 0.2);
}

.contact-icon svg {
    color: white;
    width: 32px;
    height: 32px;
}

.contact-details h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.75rem;
}

.contact-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 0.5rem;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.875rem !important;
    color: #64748b !important;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.contact-link svg {
    width: 16px;
    height: 16px;
}

/* Map */
.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 600px;
}

.contact-map iframe {
    display: block;
}

/* Getting Here Section */
.getting-here {
    padding: 6rem 0;
    background-color: #e8f0f8;
}

.getting-here .section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: 0 0 3rem;
}

.getting-here-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.getting-here-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.getting-here-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.getting-here-icon svg {
    color: white;
    width: 32px;
    height: 32px;
}

.getting-here-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem;
}

.getting-here-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* CTA Section */
.contact-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.cta-box {
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem;
}

.cta-box p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-hero {
        padding-top: calc(115px + 2.5rem);
        min-height: 350px;
    }
    
    .contact-hero h1 {
        font-size: 2.25rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-map {
        height: 400px;
    }

    .getting-here .section-title {
        font-size: 2.5rem;
    }

    .getting-here-grid {
        grid-template-columns: 1fr;
    }

    .cta-box h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding-top: calc(110px + 2rem);
        padding-bottom: 3rem;
        min-height: 300px;
    }

    .contact-hero h1 {
        font-size: 1.875rem;
    }

    .contact-subtitle {
        font-size: 0.95rem;
    }

    .contact-content {
        padding: 4rem 0;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .getting-here {
        padding: 4rem 0;
    }

    .getting-here .section-title {
        font-size: 2rem;
    }

    .contact-cta {
        padding: 4rem 0;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .cta-box p {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
