/* Contact Page Styles */

/* Page Header */
.page-header {
    background: #013d6b;
    color: var(--white);
    padding: 120px 0 80px;
    margin: 0;
    text-align: center;
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 61, 107, 0.60);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.page-header h1 {
    font-family: 'LightCable', 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.15;
    letter-spacing: 2px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
}

/* ─── Contact Section — Split Layout ─── */
.contact-section {
    background: #ffffff;
}

.contact-split {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Panel — info */
.contact-panel {
    padding: 72px 0;
    display: flex;
    flex-direction: column;
}

.contact-panel-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.contact-panel-sub {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 48px 0;
}

/* Contact items list */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-item-icon {
    flex-shrink: 0;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.contact-item-icon i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.contact-item-body {
    flex: 1;
    min-width: 0;
}

.contact-item-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 6px;
}

/* Phone numbers */
.contact-phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-number {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: 1.5;
}

.phone-number i {
    font-size: 0.8rem;
    color: var(--primary-color);
    width: 12px;
}

@media (hover: hover) {
    .phone-number:hover {
        color: var(--primary-color);
    }
}

/* Email */
.contact-email-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.25s ease;
}

@media (hover: hover) {
    .contact-email-link:hover {
        color: var(--primary-color);
    }
}

.contact-note {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-top: 4px;
}

/* WhatsApp */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(to top, #1a9e4a 50%, #25D366 50%);
    background-size: 100% 210%;
    background-position: 0% 0%;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    transition: background-position 0.35s ease, color 0.25s ease, transform 0.1s ease;
    cursor: pointer;
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

@media (hover: hover) {
    .whatsapp-btn:hover {
        background-position: 0% 100%;
        color: #ffffff;
    }
}

.whatsapp-btn:active {
    background: #157a38 !important;
    color: #fff;
    transform: scale(0.97);
}

/* Address */
.contact-address {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Hours */
.contact-hours p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0 0 2px 0;
    line-height: 1.5;
}

/* Social row */
.contact-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid #e8edf2;
}

.contact-social-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-right: 4px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: #e8f2fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.4s ease;
}

@media (hover: hover) {
    .social-link.facebook:hover {
        background: #1877F2;
        color: #fff;
    }
}

/* ─── Location Section ─── */
.location-showcase {
    padding: 80px 0;
    background: #ffffff;
}

.location-header {
    text-align: center;
    margin-bottom: 40px;
}

.location-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.location-header p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.device-showcase {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 80px;
    padding: 0 20px;
}

.device {
    display: block;
    background-color: #000;
    border: solid #111;
    margin: 0;
    position: relative;
    box-shadow: 0 1em 3em 0.3em rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.device-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    border-radius: inherit;
    overflow: hidden;
    z-index: 10;
}

.iphone {
    width: 180px;
    height: 360px;
    border-width: 8px;
    border-radius: 25px;
    z-index: 200;
}

.iphone .device-screen {
    width: 164px;
    height: 344px;
    border-radius: 18px;
}

.iphone .device-screen iframe {
    width: 164px !important;
    height: 344px !important;
    border: none;
    border-radius: 18px;
}

.ipad {
    width: 240px;
    height: 320px;
    border-width: 12px;
    border-radius: 20px;
    z-index: 100;
}

.ipad .device-screen {
    width: 216px;
    height: 296px;
    border-radius: 12px;
}

.ipad .device-screen iframe {
    width: 216px !important;
    height: 296px !important;
    border: none;
    border-radius: 12px;
}

.device-label { display: none; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .device-showcase {
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 1.5rem;
        overflow-x: auto;
        padding: 0 10px 10px;
    }

    .iphone {
        width: 120px;
        height: 240px;
        flex-shrink: 0;
    }

    .iphone .device-screen {
        width: 104px;
        height: 224px;
    }

    .iphone .device-screen iframe {
        width: 104px !important;
        height: 224px !important;
    }

    .ipad {
        width: 180px;
        height: 240px;
        flex-shrink: 0;
    }

    .ipad .device-screen {
        width: 156px;
        height: 216px;
    }

    .ipad .device-screen iframe {
        width: 156px !important;
        height: 216px !important;
    }
}

@media (max-width: 600px) {
    .page-header h1 { font-size: 2.2rem; }
    .page-header p  { font-size: 1rem; }

    .contact-panel {
        padding: 48px 20px;
    }

    .contact-panel-title { font-size: 1.7rem; }

    .contact-list { gap: 28px; }
}
