/* Contact Page Specific Styles */

/* Contact Information Section */
.contact-info-section {
    padding: 5rem 0;
    background: var(--navy-900);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: var(--navy-950);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.2);
    opacity: 0;
    transform: translateY(50px);
    height: fit-content;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.6);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-label {
    color: var(--golden-400);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 500;
}

/* Training Schedule Section */
.schedule-section {
    padding: 5rem 0;
    background: var(--navy-950);
}

.schedule-card {
    background: var(--navy-900);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.2);
    opacity: 0;
    transform: translateY(30px);
}

.schedule-table-wrapper {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th {
    background: var(--navy-950);
    color: var(--golden-400);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1rem 1.5rem;
    text-align: left;
}

.schedule-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    color: var(--gray-300);
    transition: all 0.3s ease;
}

.schedule-table tr:hover {
    background: rgba(15, 20, 25, 0.5);
}

.day-name {
    color: var(--white) !important;
    font-weight: 600;
    font-size: 1.125rem;
}

.schedule-table tr {
    opacity: 0;
    transform: translateX(-30px);
}

/* Facilities Section */
.facilities-section {
    padding: 5rem 0;
    background: var(--navy-900);
}

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

@media (min-width: 640px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .facilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.facility-card {
    background: var(--navy-950);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.2);
    opacity: 0;
    transform: translateY(50px);
}

.facility-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 38, 38, 0.6);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
}

.facility-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.05);
}

.facility-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 20, 25, 0.9), transparent);
}

.facility-content {
    padding: 1.5rem;
}

.facility-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.facility-description {
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: var(--navy-950);
}

.map-container {
    opacity: 0;
    transform: translateY(30px);
}

.map-wrapper {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.map-iframe {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.map-wrapper:hover .map-iframe {
    filter: grayscale(0%);
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 20, 25, 0.95), transparent);
    padding: 1.5rem;
}

.map-address {
    color: var(--white);
}

.address-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(255, 0, 0);
    margin-bottom: 0.5rem;
}

.address-line {
    color: var(--gray-300);
    margin-bottom: 0.25rem;
}

/* Final CTA Section */
.final-cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(220, 38, 38, 0.1), rgba(251, 191, 36, 0.1));
}

.cta-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.final-cta-section .cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.final-cta-section .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .final-cta-section .cta-title {
        font-size: 3rem;
    }
}

.text-navy {
    color: var(--navy-900);
}

.final-cta-section .cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .cta-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cta-card {
    text-align: center;
    padding: 1rem;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.cta-card-title {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cta-card-value {
    color: var(--red-500);
    font-weight: 600;
    font-size: 1.125rem;
}