/* Universal Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-page: radial-gradient(circle at center, #ffffff 0%, #e2e8f0 100%);
    --bg-card-dark: #3a3a3a;
    --bg-card-light: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #c4c4c4;
    --color-green: #008000;
    --color-green-hover: #006000;
    --color-wa: #25d366;
    --color-wa-hover: #1ebd59;
    --font-headings: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 3px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: #333333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    line-height: 1.6;
}

/* Header Khusus Mobile */
.mobile-header {
    display: none;
    width: 100%;
}

.mobile-logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.mobile-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Container Utama */
.main-container {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
}

/* Kelas Kartu Umum */
.card {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

/* Kartu Profil & Kontak (Kiri) */
.profile-card {
    flex: 1;
    max-width: 540px;
    background: var(--bg-card-dark);
    padding: 45px 40px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.desktop-logo-container {
    margin-bottom: 25px;
}

.desktop-logo {
    width: 125px;
    height: auto;
    display: block;
    transition: var(--transition);
}

.desktop-logo:hover {
    transform: scale(1.05);
}

.profile-title {
    font-family: var(--font-headings);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.profile-subtitle {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Grup Tombol */
.button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 5px;
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

.btn-green {
    background-color: var(--color-green);
    border: 2px solid var(--color-green);
    color: #ffffff;
}

.btn-green:hover {
    background-color: var(--color-green-hover);
    border-color: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--bg-card-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.15);
}

/* Pemisah (Divider) */
.divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    border: none;
    margin-bottom: 35px;
}

/* Daftar Kontak */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-icon-wrapper:hover {
    transform: scale(1.08);
}

.icon-white {
    background-color: #ffffff;
    color: var(--bg-card-dark);
}

.icon-whatsapp {
    background-color: var(--color-wa);
    color: #ffffff;
}

.icon-whatsapp:hover {
    background-color: var(--color-wa-hover);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-title {
    font-family: var(--font-headings);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.2;
    transition: var(--transition);
}

.contact-title:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.contact-detail {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Kolom Peta (Kanan) */
.maps-column {
    flex: 1;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.map-card {
    background-color: var(--bg-card-light);
}

.map-card-header {
    background-color: var(--bg-card-dark);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
}

.map-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--bg-card-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-icon {
    width: 18px;
    height: 18px;
}

.map-header-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.map-title {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
    transition: var(--transition);
}

.map-title:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.map-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.map-body {
    width: 100%;
    height: 250px;
    background-color: #e5e7eb;
}

.map-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive Styles */

/* Tablet & Kecil Desktop */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .profile-card,
    .maps-column {
        width: 100%;
        max-width: 600px;
        flex: none;
    }
}

/* Mobile Portrait & Landscape */
@media (max-width: 768px) {
    body {
        padding: 20px 15px 40px 15px;
    }
    
    .mobile-header {
        display: block;
    }
    
    .desktop-logo-container {
        display: none;
    }
    
    .profile-card {
        padding: 35px 25px;
        align-items: center;
        text-align: center;
    }
    
    .button-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .map-card-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 12px;
    }
    
    .map-header-info {
        align-items: center;
    }
}

/* Icon Link resets */
.contact-icon-link,
.map-icon-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}
