/* contact-style.css | Coffee Life Cafe - Final Version */

/* Container */
.contact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    font-family: "Arial", sans-serif;
    color: #333;
    background-color: #1a1a1a;
    /* dark background for contrast */
}

/* Section heading */
.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #FFD66B;
    /* golden accent */
    font-weight: 700;
}

/* Grid layout for cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Contact card */
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Card headings */
.contact-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #FFD66B;
}

/* Text and links inside cards */
.contact-card p,
.contact-card a {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e5f094;
}

.contact-card a {
    color: #FFD66B;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Muted text */
.muted {
    color: rgba(155, 135, 0, 0.6);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Locations list */
.locations {
    padding-left: 1.2rem;
    list-style-type: decimal;
    font-size: 0.95rem;
    cursor: pointer;
}

.locations li:hover {
    color: #FFD66B;
    font-weight: 600;
}

/* Map card styling */
.map-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Map preview styling */
.map-preview {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments for map */
@media (max-width: 768px) {
    .map-preview {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .map-preview {
        height: 250px;
    }
}

/* Buttons */
.whatsapp-confirm,
.btn,
.btn-outline {
    display: inline-block;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

/* WhatsApp button */
.whatsapp-confirm {
    background-color: #25d366;
    color: #fff;
}

.whatsapp-confirm:hover {
    background-color: #1ebe57;
}

/* Standard button */
.btn {
    background-color: #FFD66B;
    color: #111;
}

.btn:hover {
    background-color: #e6c358;
}

/* Outline button */
.btn-outline {
    background-color: transparent;
    border: 2px solid #FFD66B;
    color: #FFD66B;
}

.btn-outline:hover {
    background-color: #FFD66B;
    color: #111;
}

/* Responsive adjustments for text inside cards */
@media (max-width: 768px) {
    .contact h2 {
        font-size: 1.75rem;
    }

    .contact-card h4 {
        font-size: 1.1rem;
    }

    .contact-card p,
    .contact-card a,
    .locations {
        font-size: 0.9rem;
    }
}