/* ==========================================================================
   KONTAK KAMI PAGE STYLES — FIGMA DESIGN SPECIFICATION
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION (WITH ASPECT RATIO 1440/387)
   -------------------------------------------------------------------------- */
.kontak-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 387;
    min-height: 240px;
    background: #1D3A72;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Hero Background Image */
.kontak-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.kontak-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1440 / 387;
    display: block;
}

/* Image Overlay on top of Hero Image */
.kontak-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.kontak-overlay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1440 / 387;
    display: block;
}

/* Hero Content */
.kontak-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
    box-sizing: border-box;
}

.kontak-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 32px;
}

.kontak-hero-subtag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.kontak-hero-red-bar {
    width: 64px;
    height: 3px;
    background: #C62828;
    border-radius: 0px;
}

.kontak-breadcrumb {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 1.4px;
    text-transform: capitalize;
}

.breadcrumb-item {
    color: #E8E8E8;
    opacity: 0.75;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumb-item:hover {
    opacity: 1;
}

.breadcrumb-current {
    color: #E8E8E8;
    font-weight: 500;
}

.kontak-hero-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 130%;
    color: #F5F5F5;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    margin: 0;
}

/* --------------------------------------------------------------------------
   2. MAIN CONTENT SECTION (MAP & CONTACT DETAILS)
   -------------------------------------------------------------------------- */
.kontak-main-section {
    padding: 80px 0;
    background: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
}

.kontak-main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 70px;
    box-sizing: border-box;
}

/* Left Column: Interactive Map */
.kontak-map-col {
    width: 565px;
    height: 563px;
    flex-shrink: 0;
}

.kontak-map-card {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    box-sizing: border-box;
}

/* Right Column: Contact Details */
.kontak-details-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}

/* Header Hubungi Kami Frame 2147227999 */
.kontak-section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    width: 100%;
    max-width: 565px;
    min-height: 199px;
    box-sizing: border-box;
}

.kontak-subtag-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    max-width: 144px;
}

.kontak-red-bar {
    width: 64px;
    height: 3px;
    background: #E7000B;
    border-radius: 0px;
    flex-shrink: 0;
}

.kontak-subtag-text {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #4A5565;
}

.kontak-section-title {
    width: 100%;
    max-width: 565px;
    min-height: 48px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 48px;
    display: flex;
    align-items: center;
    text-transform: capitalize;
    color: #000000;
    margin: 0;
}

.kontak-section-desc {
    width: 100%;
    max-width: 565px;
    min-height: 84px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #606060;
    margin: 0;
}

/* Cards List */
.kontak-cards-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.kontak-card-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.kontak-icon-circle {
    box-sizing: border-box;
    width: 68px;
    height: 68px;
    padding: 16px;
    gap: 10px;
    border-radius: 40px;
    background: linear-gradient(180deg, #1D3A72 0%, #201F7B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(29, 58, 114, 0.22);
}

.kontak-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.kontak-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
    flex: 1;
}

.kontak-card-label {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #333333;
    margin: 0;
    text-transform: uppercase;
}

.kontak-card-link {
    position: relative;
    display: inline-block;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #606060;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kontak-card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1D3A72;
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.kontak-card-link:hover {
    color: #1D3A72;
    text-decoration: none;
}

.kontak-card-link:hover::after {
    transform: scaleX(1);
}

.kontak-links-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.kontak-sep {
    color: #606060;
    font-size: 18px;
    margin: 0 4px;
}

.kontak-emails-column {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* --------------------------------------------------------------------------
   3. ENTRANCE & EXIT ANIMATIONS (SCROLL INTERSECTION)
   -------------------------------------------------------------------------- */
.anim-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

.anim-fade-out-active {
    opacity: 0;
    transform: translateY(-20px);
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE BREAKPOINTS (Desktop, Macbook, Tablet, Mobile)
   -------------------------------------------------------------------------- */

/* MACBOOK & LAPTOP (1025px - 1440px) */
@media (max-width: 1440px) {
    .kontak-hero {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: auto;
    }

    .kontak-hero-img,
    .kontak-overlay-img {
        aspect-ratio: 4 / 3;
        height: auto;
        object-fit: cover;
    }

    .kontak-hero-container,
    .kontak-main-container {
        padding-left: 60px;
        padding-right: 60px;
    }

    .kontak-map-col {
        width: 480px;
        height: 480px;
    }
}

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) {
    .kontak-hero {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: auto;
    }

    .kontak-hero-container,
    .kontak-main-container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .kontak-hero-title {
        font-size: 38px;
    }

    .kontak-main-section {
        padding: 60px 0;
    }

    .kontak-main-container {
        flex-direction: column;
        align-items: stretch;
        gap: 48px;
    }

    .kontak-map-col {
        width: 100%;
        height: 420px;
    }

    .kontak-section-title {
        font-size: 28px;
        line-height: 38px;
    }

    .kontak-section-desc,
    .kontak-card-label,
    .kontak-card-link {
        font-size: 16px;
        line-height: 26px;
    }
}

/* MOBILE (< 767px) */
@media (max-width: 767px) {
    .kontak-hero {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: auto;
        padding-bottom: 0;
    }

    .kontak-hero-img,
    .kontak-overlay-img {
        aspect-ratio: 4 / 3;
        height: auto;
        object-fit: cover;
    }

    .kontak-hero-container,
    .kontak-main-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .kontak-hero-title {
        font-size: 30px;
    }

    .kontak-breadcrumb {
        font-size: 15px;
    }

    .kontak-main-section {
        padding: 40px 0;
    }

    .kontak-main-container {
        gap: 36px;
    }

    .kontak-map-col {
        height: 320px;
    }

    .kontak-icon-circle {
        width: 54px;
        height: 54px;
        padding: 12px;
    }

    .kontak-icon-img {
        width: 28px;
        height: 28px;
    }

    .kontak-section-title {
        font-size: 24px;
        line-height: 32px;
    }

    .kontak-section-desc,
    .kontak-card-label,
    .kontak-card-link {
        font-size: 15px;
        line-height: 24px;
    }
}
