/* Hubungi Kami Page Styles - Mobile First */

/* Hide footer container on hubungi-kami page */
body:has(.contact-section) .footer .container {
    display: none;
}

body:has(.contact-section) .footer-bottom .container {
    display: block;
}

body:has(.contact-section) .footer-bottom {
    border-top: none;
}

/* Hero Section */
.contact-hero {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.contact-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
}

.contact-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.contact-hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #FFFFFF;
    margin: 0 0 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    color: #25D366;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn:hover {
    background: #F0F0F0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    color: #25D366;
}

/* Contact Section */
.contact-section {
    background: #FFFFFF;
    padding: 32px 0 48px;
}

.contact-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* Contact Form - Show first on mobile */
.contact-form-wrapper {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px 16px;
    order: 1;
}

.form-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #222222;
    margin: 0 0 4px;
}

.form-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #4D4D4D;
    margin: 0 0 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #222222;
    display: block;
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #222222;
    background: #FFFFFF;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #C62828;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #B0B0B0;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: #C62828;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #A02020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Contact Info - Show second on mobile */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    order: 2;
}

.contact-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #222222;
    margin: 0 0 8px;
}

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

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    color: #222222;
}

.contact-text {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #4D4D4D;
}

.contact-map {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #F5F5F5;
    margin-top: 8px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .contact-hero {
        padding: 64px 24px;
        display: none;
    }

    .contact-hero-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .contact-hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .contact-hero-image img {
        max-width: 360px;
    }

    .contact-section {
        padding: 64px 0;
    }

    .contact-wrapper {
        padding: 0 24px;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: start;
    }

    .contact-form-wrapper {
        order: 2;
        padding: 32px;
    }

    .contact-info {
        order: 1;
    }

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

    .contact-item {
        gap: 14px;
    }

    .contact-icon {
        width: 22px;
        height: 22px;
    }

    .contact-text {
        font-size: 14px;
        line-height: 22px;
    }

    .contact-map {
        height: 250px;
    }

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

    .form-subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-label {
        font-size: 14px;
    }

    .form-input,
    .form-textarea {
        padding: 13px 16px;
        font-size: 14px;
    }
}

/* Desktop Small */
@media (min-width: 1024px) {
    .contact-hero-wrapper {
        gap: 64px;
        padding: 0 40px;
    }

    .contact-hero-title {
        font-size: 42px;
        line-height: 52px;
    }

    .contact-wrapper {
        padding: 0 40px;
        gap: 64px;
    }

    .contact-title {
        font-size: 28px;
        line-height: 36px;
    }

    .contact-form-wrapper {
        padding: 40px;
    }

    .form-title {
        font-size: 28px;
        line-height: 36px;
    }

    .contact-map {
        height: 280px;
    }
}

/* Desktop Medium */
@media (min-width: 1200px) {
    .contact-wrapper {
        padding: 0 60px;
    }
}

/* Desktop Large */
@media (min-width: 1440px) {
    .contact-wrapper {
        padding: 0 80px;
    }
}

/* Desktop Extra Large */
@media (min-width: 1600px) {
    .contact-wrapper {
        padding: 0 160px;
    }
}
