/* === Global Styles & Variables === */
:root {
    --primary-orange: #f39c12;
    --primary-green: #27ae60;
    --dark-blue: #2c3e50;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --text-dark: #34495e;
    --text-light: #7f8c8d;
    --border-color: #ecf0f1;
    --font-family: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-family); color: var(--text-dark); background-color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === Header === */
header { position: fixed; width: 100%; z-index: 1000; background: var(--white); transition: background-color 0.4s ease, box-shadow 0.4s ease; }
header.scrolled { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
nav { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { height: 40px; width: auto; }
/* Style untuk logo dan teks agar menyatu */
.logo-link {
    display: flex;
    align-items: center; /* Membuat logo dan teks sejajar secara vertikal */
    text-decoration: none; /* Menghapus garis bawah pada tautan */
    color: #333; /* Memberi warna pada teks (bisa disesuaikan) */
}

/* Style untuk gambar logo */
.logo-link .logo {
    height: 40px; /* Sesuaikan tinggi logo */
    width: auto;
    margin-right: 12px; /* Memberi jarak antara logo dan teks */
}

/* Style untuk teks "APOTEK BENSEHAT" */
.logo-link span {
    font-weight: 700; /* Membuat teks menjadi tebal (bold) */
    font-size: 20px; /* Sesuaikan ukuran font */
}
.nav-links { display: none; } /* Hide on mobile by default */
.nav-links a { text-decoration: none; color: var(--white); font-weight: 500; transition: color 0.3s; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }
header.scrolled .nav-links a { color: var(--text-dark); text-shadow: none;}
.nav-links a:hover { color: var(--primary-orange); }
.btn-hubungi { background-color: var(--primary-orange); color: var(--white); padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: 600; display: none; align-items: center; gap: 8px; transition: all 0.3s ease; } /* Hide on mobile by default */
.btn-hubungi:hover { background-color: #e67e22; transform: translateY(-2px); }
/* .mobile-menu-btn { display: block; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--white); z-index: 1002; }
header.scrolled .mobile-menu-btn { color: var(--text-dark); }
.mobile-menu { display: block; position: fixed; top: 0; left: 0; background: var(--white); width: 100%; height: 100vh; padding: 100px 20px 20px 20px; text-align: center; transform: translateX(-100%); transition: transform 0.4s ease; z-index: 1001; }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu ul { list-style: none; }
.mobile-menu li { margin-bottom: 30px; }
.mobile-menu a { text-decoration: none; color: var(--text-dark); font-size: 22px; font-weight: 500; } */

/* === Floating WhatsApp Button === */
.floating-wa { position: fixed; bottom: 30px; right: 30px; z-index: 999; text-decoration: none; }
.wa-icon { background-color: var(--primary-green); color: var(--white); width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; font-size: 30px; border-radius: 50%; box-shadow: 0 4px 15px rgba(0,0,0,0.2); border: 2px solid var(--primary-orange); transition: transform 0.3s ease; }
.floating-wa:hover .wa-icon { transform: scale(1.05); }

/* === Hero Section === */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; background: url('images/hero.jpeg') no-repeat center center/cover; position: relative; color: var(--white); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(44, 62, 80, 0.8), rgba(39, 174, 96, 0.6)); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-text h1 { font-size: 38px; font-weight: 700; line-height: 1.2; margin-bottom: 25px; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.hero-text p { font-size: 16px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; text-shadow: 1px 1px 5px rgba(0,0,0,0.2); }
.btn { background-color: var(--primary-orange); color: var(--white); padding: 14px 35px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-block; }
.btn:hover { background-color: #e67e22; transform: translateY(-3px); }

/* Section Title */
.section { padding: 80px 0; }
.section-title-bar { text-align: center; margin-bottom: 50px; }
.section-title-bar h3 { display: inline-block; padding: 10px 30px; background-color: var(--primary-green); color: var(--white); font-weight: 600; border-radius: 50px; font-size: 18px; letter-spacing: 1px; }

/* === About, Vision & Mission Sections (New) === */
#about { background-color: var(--white); }
.about-container { text-align: center; max-width: 800px; }
.about-icon { font-size: 40px; color: var(--primary-green); margin-bottom: 20px; }
.about-container h2 { margin-bottom: 20px; font-size: 32px; color: var(--dark-text); }
.vision-mission-section { background-color: var(--bg-light); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.vision-mission-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.vision-card, .mission-card { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 5px 25px rgba(0,0,0,0.05); }
.vision-card h3, .mission-card h3 { font-size: 24px; margin-bottom: 15px; display: flex; align-items: center; gap: 12px; color: var(--primary-green); }
.mission-card ul { list-style: none; padding-left: 0; }
.mission-card ul li { padding-left: 28px; position: relative; color: var(--light-text); }
.mission-card ul li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary-green); position: absolute; left: 0; top: 4px; }
.mission-card ul li:not(:last-child) { margin-bottom: 10px; }

/* === Services & Products === */
.services-container, .product-image-slider { width: 100%; overflow: hidden; }
.services-container.swiper { padding-bottom: 50px; }
.service-card { background-color: var(--white); border-radius: 10px; padding: 30px; text-align: center; border: 1px solid var(--border-color); height: auto; display: flex; flex-direction: column; }
.service-icon { font-size: 36px; color: var(--primary-orange); margin-bottom: 20px; }
.service-card h4 { font-size: 20px; color: var(--dark-blue); margin-bottom: 10px; flex-grow: 1; }
.service-card p { color: var(--text-light); font-size: 15px; }
.btn-card { display: inline-block; background-color: #f1f1f1; color: var(--primary-orange); padding: 8px 20px; border-radius: 50px; text-decoration: none; font-weight: 600; margin-top: 20px; transition: all 0.3s; }

.product-showcase { display: grid; grid-template-columns: 1fr; gap: 60px; }
.product-item { display: grid; grid-template-columns: 1fr; align-items: center; gap: 20px; background: var(--bg-light); border-radius: 10px; overflow: hidden; padding: 20px; }
.product-image-slider img { display: block; width: 100%; height: 500px; object-fit: contain; border-radius: 8px; }
.product-info { text-align: center; }
.product-info h4 { font-size: 28px; color: var(--dark-blue); margin: 15px 0; }
.product-info p { color: var(--text-light); margin-bottom: 30px; font-size: 16px; line-height: 1.6; }
.btn-pesan { display: inline-block; background-color: var(--primary-green); color: var(--white); padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 500; transition: all 0.3s; }

/* Swiper Controls */
.swiper-pagination { position: absolute; bottom: 10px; left: 0; width: 100%; }
.swiper-pagination-bullet { background-color: var(--primary-orange); opacity: 0.5; }
.swiper-pagination-bullet-active { background-color: var(--primary-orange); opacity: 1; }
.product-image-slider .swiper-pagination { bottom: 20px; }

/* === Tanya Apoteker Section === */
.tanya-apoteker-content { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.tanya-apoteker-image img { max-width: 100%; height: auto; border-radius: 10px; }
.tanya-apoteker-text h3 { color: var(--primary-orange); font-weight: 600; }
.tanya-apoteker-text h2 { font-size: 36px; color: var(--dark-blue); line-height: 1.3; margin: 10px 0 20px 0; }

/* Info & Footer */
.info-section { background-color: var(--dark-blue); color: var(--white); }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 50px; text-align: center; }
footer { background-color: #2c3e50; border-top: 1px solid #34495e; padding: 25px 0; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 20px; color: #bdc3c7; }
.social-links { display: flex; gap: 20px; }
.social-links a { color: #bdc3c7; font-size: 20px; transition: color 0.3s; }
.social-links a:hover { color: var(--primary-orange); }
.info-icon { font-size: 36px; color: var(--primary-orange); margin-bottom: 15px; }

/* === Media Queries (Desktop) === */
@media (min-width: 769px) {
    .mobile-menu-btn, .mobile-menu { display: none; }
    .nav-links, .btn-hubungi { display: flex; }
    .hero-text h1 { font-size: 52px; }
    .hero-text p { font-size: 18px; }
    .info-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-content { flex-direction: row; justify-content: space-between; }
    .tanya-apoteker-content { flex-direction: row; text-align: left; }
    .tanya-apoteker-text { flex-basis: 50%; }
    .tanya-apoteker-image { flex-basis: 50%; }
    .product-item { grid-template-columns: 1fr 1fr; text-align: left; padding: 20px; }
    .product-item:nth-child(even) .product-image-slider { order: 2; }
    .footer-content { flex-direction: row; justify-content: space-between; align-items: center; }
    .footer-content p { margin: 0; align-items: center;  }
}