/* contact.css */

.contact-main {
    padding-bottom: 5rem;
}

/* Page Header - Consistent with News/FAQs */
.page-header {
    background-color: var(--color-light);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Map Section */
.map-section {
    position: relative;
    width: 90%;
    /* 90% width requested */
    max-width: 1600px;
    /* Max cap for ultra-wide screens */
    margin: 0 auto 3rem;
    text-align: center;
}

.section-title-overlay {
    font-size: 1.5rem;
    color: var(--color-text-body);
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0.8;
}

.map-container {
    width: 100%;
    height: 500px;
    /* h-[500px] */
    border-radius: 1rem;
    /* rounded-xl */
    overflow: hidden;
    /* Shadow-lg from style.css var if available or custom */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }
}

/* Info Section */
.info-section {
    width: 90%;
    max-width: 1024px;
    /* max-w-5xl approx */
    margin: 3rem auto 0;
}

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

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        /* gap-12 equiv approx */
    }
}

/* Contact Details Column */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: var(--color-text-body);
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.contact-item:hover {
    color: var(--color-primary);
    background-color: #fff7ed;
    /* Light orange bg on hover for better active feel */
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: 0.2rem;
    width: 1.5rem;
    text-align: center;
}

.contact-item span {
    font-size: 1rem;
    line-height: 1.5;
}

/* Social Media Grid */
.social-media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) {
    .social-media-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Transport Details Column */
.transport-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-left: 0.5rem;
}

.transport-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-body);
    padding-left: 0.5rem;
}

.transport-icon {
    font-size: 1.1rem;
    color: var(--color-text-light);
    /* Softer icon color for transport */
    width: 1.5rem;
    text-align: center;
}

/* La Pista Section */
.track-section {
    width: 90%;
    max-width: 1600px;
    margin: 4rem auto 0;
    /* mt-16 */
    padding-top: 4rem;
    border-top: 2px solid var(--color-primary);
    /* Primary color horizontal line */
}

@media (min-width: 768px) {
    .track-section {
        margin-top: 6rem;
        /* mt-24 approx for larger screens */
    }
}

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

@media (min-width: 768px) {
    .track-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        /* gap-12 equiv */
    }
}

/* Images Column - Centered Single Image */
.track-images {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.poster-img {
    width: 100%;
    max-width: 450px;
    /* Limit width to keep it looking like a poster */
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.poster-img:hover {
    transform: scale(1.02);
}

/* Card Column - Minimalist Impact */
.track-card {
    background-color: white;
    padding: 3rem;
    border-radius: 1.5rem;
    /* More rounded */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Soft, deep shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Decorative top accent */
.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-primary);
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.track-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin: 0;
    letter-spacing: -0.02em;
}

.track-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ecfdf5;
    /* Green-50 */
    color: #059669;
    /* Green-600 */
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #059669;
    border-radius: 50%;
}

/* Card Body Grid */
.track-card-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .track-card-body {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
        gap: 2rem;
    }
}

.track-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0;
    /* Remove bottom margin as it's now in grid */
}

.track-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-body);
    font-size: 0.95rem;
}

.track-icon {
    color: var(--color-primary);
    width: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
}

/* Certificate Section inside Card - Redefined */
.certificate-container {
    background-color: var(--color-light);
    /* Gray-50/100ish */
    padding: 2rem;
    /* More padding */
    border-radius: 1rem;
    text-align: center;
    /* Height auto to fit larger image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cert-label {
    font-size: 0.875rem;
    /* Slightly larger */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.certificate-img {
    width: 100%;
    max-width: 250px;
    /* Much larger than before (was max-height 80px) */
    height: auto;
    display: block;
    margin: 0 auto;
    filter: none;
    align-items: center;
    justify-content: center;
    /* Remove grayscale to make it impactful */
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    /* Add shadow to image itself */
}