/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #29aae1;
    --secondary-blue: #00a2b9;
    --primary-red: #eb2127;
    --primary-yellow: #fcee1e;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--gray-color);
}

a {
    text-decoration: none;
    color: inherit;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.section-highlight {
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 50px;
}

.logo-text {
    color: var(--dark-color);
}

.logo-highlight {
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link.active {
    color: var(--primary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.contact-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--border-radius);
}

.contact-btn:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: var(--dark-color);
    margin: 3px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HOMEPAGE SPECIFIC ========== */
/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(41, 170, 225, 0.1) 0%, rgba(0, 162, 185, 0.05) 100%);
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 15px;
}

.hero-highlight {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.image-placeholder {
    background-color: rgba(41, 170, 225, 0.1);
    border-radius: var(--border-radius);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 5rem;
    padding: 20px;
    text-align: center;
}

.image-placeholder p {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--primary-blue);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 1.8rem;
}

/* Activities Section */
.activities {
    background-color: var(--light-color);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.activity-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.activity-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.activity-content {
    padding: 25px;
}

.activity-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.activity-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
}

.activity-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.activity-link:hover {
    color: var(--secondary-blue);
}

.activity-link:hover i {
    transform: translateX(5px);
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
}

.contact-form h3 {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 170, 225, 0.2);
}

.contact-form button {
    width: 100%;
}

/* ========== WEATHER PAGE SPECIFIC ========== */
/* Main Content */
.weather-main {
    margin-top: 80px;
    flex: 1;
}

/* Logo Header Section */
.logo-header {
    background: linear-gradient(135deg, rgba(41, 170, 225, 0.1) 0%, rgba(0, 162, 185, 0.05) 100%);
    padding: 40px 0;
}

.logo-header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-header-item {
    flex: 0 0 auto;
}

.logo-header-item img {
    height: 80px;
    width: auto;
    max-height: 80px;
}

.logo-header-title {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.logo-header-title h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.logo-header-title .subtitle {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Real-time Clock Section */
.real-time-clock {
    padding: 40px 0;
}

.clock-container {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.clock-container h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.clock-display {
    margin-bottom: 20px;
}

.date-display {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.time-display {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.timezone {
    font-size: 0.9rem;
    opacity: 0.9;
}

.clock-info {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* Current Weather Section */
.current-weather {
    padding: 40px 0;
}

.weather-loading, .forecast-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(41, 170, 225, 0.2);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.weather-main-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.weather-icon-container {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.weather-temp-container {
    flex: 1;
    min-width: 200px;
}

.current-temp {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
    margin-bottom: 5px;
}

.feels-like {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.weather-desc {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: capitalize;
}

.weather-location {
    flex: 1;
    min-width: 250px;
    text-align: right;
}

.weather-location h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.weather-location p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.weather-location i {
    margin-right: 8px;
    color: var(--primary-blue);
}

.weather-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.weather-detail-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.weather-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.detail-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    flex-shrink: 0;
}

.detail-icon.humidity {
    background-color: #29aae1;
}

.detail-icon.precipitation {
    background-color: #00a2b9;
}

.detail-icon.pressure {
    background-color: #eb2127;
}

.detail-icon.wind {
    background-color: #fcee1e;
    color: var(--dark-color);
}

.detail-icon.wind-direction {
    background-color: #8a2be2;
}

.detail-icon.rain {
    background-color: #1e90ff;
}

.detail-content {
    flex: 1;
}

.detail-content h4 {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
}

.detail-subvalue {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 5px;
}

/* Today's Forecast Section */
.today-forecast {
    background-color: var(--light-color);
    padding: 40px 0;
}

.chart-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-toggle {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chart-toggle-btn {
    padding: 8px 20px;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.chart-toggle-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.chart-toggle-btn:hover:not(.active) {
    background-color: #f0f0f0;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.chart-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    position: relative;
    height: 400px;
}

.chart-tooltip {
    position: absolute;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 100;
    min-width: 200px;
    border: 1px solid #ddd;
}

.chart-tooltip.active {
    opacity: 1;
}

.tooltip-time {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.tooltip-values {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tooltip-value {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.tooltip-label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tooltip-color {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.forecast-summary {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.forecast-summary h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.forecast-summary h3 i {
    color: var(--primary-blue);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-item {
    text-align: center;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
}

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.summary-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Weather Info Section */
.weather-info {
    padding: 40px 0;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.info-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    min-width: 300px;
}

.info-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.info-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.info-content li {
    margin-bottom: 8px;
    color: var(--gray-color);
}

.info-content li strong {
    color: var(--dark-color);
}

.update-info {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Error States */
.weather-error {
    text-align: center;
    padding: 40px;
    background-color: #fff5f5;
    border-radius: var(--border-radius);
    border: 1px solid #f8d7da;
}

.error-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.error-icon i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.weather-error h3 {
    color: #dc3545;
    margin-bottom: 10px;
}

.weather-error p {
    color: #721c24;
    margin-bottom: 20px;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 5px;
}

.footer-logo p:first-child {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.footer-logo p:nth-child(2) {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-address {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-blue);
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.social-icons a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer khusus untuk homepage (tanpa footer-note) */
.homepage .footer .footer-note {
    display: none;
}

/* ========== COMMON COMPONENTS ========== */
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-5px);
}

/* Section Active State (for homepage) */
.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.7rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Weather Page Responsive */
    .logo-header-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .logo-header-title h1 {
        font-size: 1.8rem;
    }
    
    .time-display {
        font-size: 2.8rem;
    }
    
    .current-temp {
        font-size: 2.8rem;
    }
    
    .weather-icon-container {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Weather Page Responsive */
    .weather-main-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .weather-location {
        text-align: center;
    }
    
    .chart-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chart-container {
        height: 350px;
        padding: 15px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Weather Page Responsive */
    .logo-header-title h1 {
        font-size: 1.5rem;
    }
    
    .time-display {
        font-size: 2.2rem;
    }
    
    .date-display {
        font-size: 1.2rem;
    }
    
    .current-temp {
        font-size: 2.2rem;
    }
    
    .weather-details-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        height: 300px;
        padding: 10px;
    }
    
    .chart-toggle {
        flex-direction: column;
        width: 100%;
    }
    
    .chart-toggle-btn {
        width: 100%;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

/* ========== EARTHQUAKE PAGE SPECIFIC ========== */
/* Earthquake Card */
.earthquake-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

.earthquake-card.latest {
    border-top: 5px solid var(--primary-red);
}

.earthquake-header {
    display: flex;
    align-items: center;
    padding: 25px;
    background-color: var(--light-color);
    gap: 25px;
    flex-wrap: wrap;
}

.magnitude-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--primary-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.magnitude-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.magnitude-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 5px;
}

.earthquake-info {
    flex: 1;
    min-width: 300px;
}

.earthquake-info h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.earthquake-datetime {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.earthquake-datetime span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
}

.earthquake-datetime i {
    color: var(--primary-blue);
    width: 16px;
}

.earthquake-coordinates {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.earthquake-coordinates i {
    color: var(--primary-blue);
    margin-right: 8px;
}

.earthquake-details {
    padding: 25px;
}

.detail-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-item .detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detail-item .detail-content h4 {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.detail-item .detail-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
}

.shakemap-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.shakemap-container h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shakemap-container h4 i {
    color: var(--primary-blue);
}

.shakemap-image {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shakemap-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.shakemap-note {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-align: center;
}

/* Felt Earthquakes Table */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

.earthquake-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.earthquake-table thead {
    background-color: var(--primary-blue);
    color: var(--white);
}

.earthquake-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.earthquake-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.earthquake-table tbody tr:hover {
    background-color: rgba(41, 170, 225, 0.05);
}

.earthquake-table td {
    padding: 15px;
    color: var(--dark-color);
}

.earthquake-table td strong {
    font-weight: 600;
}

.earthquake-table td small {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.magnitude-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 50px;
    text-align: center;
}

.earthquake-note {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.earthquake-note p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.earthquake-note i {
    color: var(--primary-blue);
    width: 16px;
}

.earthquake-loading, .earthquake-error {
    text-align: center;
    padding: 40px;
}

.earthquake-error {
    background-color: #fff5f5;
    border-radius: var(--border-radius);
    border: 1px solid #f8d7da;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .earthquake-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .earthquake-info {
        text-align: center;
    }
    
    .earthquake-datetime {
        justify-content: center;
    }
    
    .detail-row {
        grid-template-columns: 1fr;
    }
    
    .earthquake-table {
        font-size: 0.9rem;
    }
    
    .earthquake-table th,
    .earthquake-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 576px) {
    .magnitude-circle {
        width: 80px;
        height: 80px;
    }
    
    .magnitude-value {
        font-size: 2rem;
    }
    
    .earthquake-info h3 {
        font-size: 1.4rem;
    }
    
    .earthquake-table {
        font-size: 0.8rem;
    }
    
    .earthquake-table th,
    .earthquake-table td {
        padding: 8px 5px;
    }
    
    .magnitude-badge {
        padding: 3px 8px;
        font-size: 0.8rem;
    }
}

/* ========== GEMPA PAGE SPECIFIC (impor dari gempa.css) ========== */
/* Styles akan diimpor dari gempa.css */

/* Error States untuk semua halaman */
.weather-error {
    text-align: center;
    padding: 40px;
    background-color: #fff5f5;
    border-radius: var(--border-radius);
    border: 1px solid #f8d7da;
}

.weather-error .error-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 20px;
}

.weather-error h3 {
    color: #dc3545;
    margin-bottom: 10px;
}

.weather-error p {
    color: #721c24;
    margin-bottom: 20px;
}
