:root {
    --gold: #C5A059;
    --black: #0b0b0b;
    --dark: #121212;
    --gray: #aaa;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--black);
    color: #fff;
}

/* HERO */
.contact-banner {
    padding: 120px 10%;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('film-strip-bg.jpg');
    background-size: cover;
}

.banner-content h1 {
    font-size: 3rem;
    letter-spacing: 2px;
}

.banner-content p {
    max-width: 600px;
    color: #ccc;
}

/* GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    padding: 80px 10%;
}

/* SOCIAL */
.social-list h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.social-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    text-decoration: none;
    color: white;
    /* Ginamit ang transition effect mula sa bio */
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex; 
    width: fit-content; /* Para hindi lumagpas ang hover area sa buong screen */
}

/* Hover Zoom Effect katulad ng sa bio */
.social-row:hover {
    transform: scale(1.05) translateX(5px); /* Swabe na zoom at konting usog sa kanan */
}

.social-row i {
    font-size: 2.5rem;
    width: 50px;
    text-align: center;
}

/* Mga Brand Colors kapag hinoveran ang row */
.social-row:hover .fa-facebook-f {
    color: #1877F2;
}

.social-row:hover .fa-tiktok {
    color: #fe2c55;
    text-shadow: 1px 1px #25f4ee, -1px -1px #fe2c55;
}

.social-row:hover .fa-instagram {
    color: #E4405F;
}

.social-row:hover .fa-youtube {
    color: #FF0000;
}

/* Kulay ng text kapag nandoon ang mouse pointer */
.social-row:hover span {
    color: var(--gold);
}

@media (max-width: 1000px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 70px 8%;
    }

    /* Pwepwesto sa gitna ang buong listahan at pamagat */
    .social-list {
        display: flex;
        flex-direction: column;
        align-items: center; /* Inilalagay ang h2 at rows sa center horizontal axis */
        text-align: center;
    }

    .social-row {
        margin-left: auto;
        margin-right: auto; /* Sigurado na sentrong-sentro ang mga hilera sa mobile */
    }

    .direct-info {
        padding: 45px 8%;
    }
}

.map-area img {
    width: 100%;
    border-radius: 10px;
}

/* INFO */
.direct-info {
    padding: 50px 10%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 25px;
    border-top: 1px solid #222;
    padding: 25px 0;
}

.info-item i {
    font-size: 1.5rem;
}

/* MAP SIDE */
.map-side{
    display:flex;
    align-items:center;
    justify-content:center;
}

.map-side {
    width: 100%;
}

.google-map-wrap {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 18px;
}

.google-map-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.open-map-btn {
    position: absolute;
    left: 20px;
    bottom: 20px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 18px;

    background: rgba(17, 17, 17, 0.92);
    color: #fff;

    border-radius: 10px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);

    transition: 0.25s ease;

    z-index: 5;
}

.open-map-btn i {
    color: #C5A059;
}

.open-map-btn:hover {
    transform: translateY(-2px);
    background: #111;
}

@media (max-width: 768px) {
    .google-map-wrap {
        height: 350px;
        border-radius: 14px;
    }

    .open-map-btn {
        left: 14px;
        bottom: 14px;
        padding: 11px 15px;
        font-size: 13px;
    }
}


/* OVERLAY */
.map-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.15)
    );

    display:flex;
    align-items:flex-end;
    gap:12px;

    padding:25px;

    color:#fff;

    font-weight:700;

    transition:0.3s;
}

.map-overlay i{
    color:var(--gold);
    font-size:1.2rem;
}

.map-link:hover .map-overlay{
    background:linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.05)
    );
}

/* ================= RESPONSIVE FIX ================= */

@media (max-width: 1000px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 70px 8%;
    }

    .direct-info {
        padding: 45px 8%;
    }

}

@media (max-width: 700px) {

    .contact-banner {
        padding: 110px 7% 70px;
    }

    .banner-content h1 {
        font-size: 2.2rem;
    }

    .banner-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .contact-grid {
        padding: 60px 7%;
        gap: 35px;
    }

    .social-list h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .social-row {
        gap: 16px;
        margin-bottom: 24px;
        align-items: center;
    }

    .social-row i {
        font-size: 2rem;
        width: 42px;
    }

    .social-row span {
        font-size: 0.95rem;
    }

    .map-overlay {
        padding: 20px;
        font-size: 0.9rem;
    }

    .direct-info {
        padding: 40px 7%;
    }

    .info-item {
        align-items: flex-start;
        gap: 18px;
        padding: 22px 0;
    }

    .info-item i {
        font-size: 1.25rem;
        margin-top: 4px;
    }

    .info-item p {
        font-size: 0.95rem;
        line-height: 1.6;
        word-break: break-word;
    }

}

@media (max-width: 420px) {

    .banner-content h1 {
        font-size: 1.9rem;
    }

    .social-row {
        gap: 14px;
    }

    .social-row i {
        font-size: 1.7rem;
        width: 36px;
    }

}