/*
Theme Name: Fazza Care Nursing Center
Theme URI: https://fazzacare.com
Author: Fazza Care Team
Author URI: https://fazzacare.com
Description: Tema WordPress SEO-friendly untuk Fazza Care Nursing Center - Home Care, Wound Care, dan Layanan Keperawatan Profesional. Fast loading, responsive, dan optimized untuk search engines.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fazzacare
Tags: medical, health-care, nursing, responsive, seo-friendly, fast-loading, accessibility-ready
*/

/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary: #1a237e;
    --primary-dark: #0d1642;
    --secondary: #e91e63;
    --secondary-light: #f48fb1;
    --accent: #00c853;
    --accent-blue: #2962ff;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --gradient: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    --font-main: 'Poppins', sans-serif;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--text); line-height: 1.6; overflow-x: hidden; background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: var(--font-main); }

/* ==================== CONTAINER ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==================== TOP BAR ==================== */
.top-bar { background: var(--primary); color: #fff; padding: 8px 0; font-size: 0.8125rem; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar-info { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-info span { display: flex; align-items: center; gap: 6px; }
.top-bar-info i { color: var(--secondary); font-size: 0.875rem; }
.top-bar-social { display: flex; gap: 15px; }
.top-bar-social a { color: #fff; opacity: 0.9; }
.top-bar-social a:hover { color: var(--secondary); opacity: 1; }

/* ==================== NAVBAR ==================== */
.navbar { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img {max-width:200px;}
.logo-icon { width: 50px; height: 50px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; font-weight: 700; flex-shrink: 0; }
.logo-text h1 { font-size: 1.375rem; font-weight: 800; color: var(--primary); line-height: 1.2; letter-spacing: 1px; }
.logo-text .tagline { font-size: 0.6875rem; color: var(--secondary); font-weight: 600; letter-spacing: 2px; display: block; }
.logo-text .motto { font-size: 0.625rem; color: var(--text-light); font-style: italic; }
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-menu a { color: var(--text); font-weight: 500; font-size: 0.875rem; position: relative; padding: 5px 0; }
.nav-menu a:hover, .nav-menu a.active { color: var(--secondary); }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--secondary); transition: width 0.3s; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.btn-wa-nav { background: var(--secondary); color: #fff; padding: 10px 20px; border-radius: 30px; font-weight: 600; font-size: 0.8125rem; display: flex; align-items: center; gap: 8px; }
.btn-wa-nav:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(233,30,99,0.4); }
.mobile-menu { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); background: none; border: none; }

/* ==================== HERO ==================== */
.hero { background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%); padding: 80px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: rgba(26,35,126,0.03); border-radius: 50%; pointer-events: none; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 10px; }
.hero-text h1 span { color: var(--secondary); }
.hero-text .subtitle { font-size: 1.25rem; color: var(--secondary); font-weight: 600; margin-bottom: 20px; display: block; }
.hero-text p { font-size: 1rem; color: var(--text-light); margin-bottom: 30px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.hero-badge { position: absolute; bottom: 30px; right: -20px; background: #fff; padding: 20px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-width: 260px; }
.hero-badge .icon { font-size: 1.875rem; color: var(--secondary); margin-bottom: 10px; }
.hero-badge p { font-size: 0.8125rem; color: var(--text-light); font-style: italic; line-height: 1.6; }

/* ==================== BUTTONS ==================== */
.btn-primary { background: var(--accent); color: #fff; padding: 14px 28px; border-radius: 30px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; border: none; cursor: pointer; font-size: 0.875rem; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,200,83,0.3); }
.btn-secondary { background: var(--accent-blue); color: #fff; padding: 14px 28px; border-radius: 30px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; font-size: 0.875rem; }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(41,98,255,0.3); }
.btn-outline { background: transparent; color: var(--secondary); padding: 14px 28px; border-radius: 30px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; border: 2px solid var(--secondary); font-size: 0.875rem; }
.btn-outline:hover { background: var(--secondary); color: #fff; transform: translateY(-3px); }

/* ==================== STATS ==================== */
.stats { background: var(--gradient); padding: 50px 0; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-item i { font-size: 2.25rem; margin-bottom: 15px; color: var(--secondary-light); }
.stat-number { font-size: 2.25rem; font-weight: 800; margin-bottom: 5px; }
.stat-label { font-size: 0.875rem; opacity: 0.9; }

/* ==================== SECTIONS ==================== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.25rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.section-header h2 span { color: var(--secondary); }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1rem; }
.divider { width: 60px; height: 4px; background: var(--secondary); margin: 15px auto; border-radius: 2px; }

/* ==================== SERVICES ==================== */
.services { background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card { background: #fff; border-radius: 20px; padding: 35px 25px; text-align: center; transition: all 0.4s; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-bottom: 4px solid transparent; height: 100%; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-bottom-color: var(--secondary); }
.service-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; color: #fff; }
.service-icon.green { background: linear-gradient(135deg, #00c853, #69f0ae); }
.service-icon.pink { background: linear-gradient(135deg, #e91e63, #f48fb1); }
.service-icon.blue { background: linear-gradient(135deg, #2962ff, #82b1ff); }
.service-icon.purple { background: linear-gradient(135deg, #7c4dff, #b388ff); }
.service-icon.orange { background: linear-gradient(135deg, #ff6d00, #ff9e80); }
.service-icon.teal { background: linear-gradient(135deg, #00b8d4, #84ffff); }
.service-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-card p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 20px; line-height: 1.7; flex-grow: 1; }
.service-link { color: var(--secondary); font-weight: 600; font-size: 0.8125rem; display: inline-flex; align-items: center; gap: 5px; margin-top: auto; }
.service-link:hover { gap: 10px; }

/* ==================== ABOUT ==================== */
.about { background: #fff; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.about-text h2 { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.about-text h2 span { color: var(--secondary); }
.about-text p { color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.about-feature { display: flex; align-items: center; gap: 10px; }
.about-feature i { color: var(--accent); font-size: 1.25rem; }
.about-feature span { font-weight: 600; font-size: 0.875rem; color: var(--primary); }

/* ==================== WHY US ==================== */
.why-us { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-item { display: flex; gap: 15px; align-items: flex-start; }
.why-icon { min-width: 50px; height: 50px; background: rgba(233,30,99,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--secondary); font-size: 1.25rem; }
.why-text h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.why-text p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

/* ==================== E-NURSYNC ==================== */
.enursync { background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%); position: relative; overflow: hidden; }
.enursync-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.enursync-text h2 { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 15px; }
.enursync-text h2 span { color: var(--secondary); }
.badge-coming { display: inline-block; background: var(--secondary); color: #fff!important; padding: 4px 12px; border-radius: 20px; font-size: 0.6875rem; font-weight: 700; margin-left: 10px; vertical-align: middle; }
.enursync-text p { color: var(--text-light); margin-bottom: 25px; line-height: 1.8; }
.enursync-list { margin-bottom: 30px; }
.enursync-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 0.9375rem; }
.enursync-list i { color: var(--accent); font-size: 1.125rem; }
.enursync-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }

/* ==================== TESTIMONIALS ==================== */
.testimonials { background: var(--bg-light); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testi-card { background: #fff; padding: 30px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); position: relative; height: 100%; display: flex; flex-direction: column; }
.testi-card::before { content: '"'; position: absolute; top: 20px; right: 30px; font-size: 3.75rem; color: var(--secondary); opacity: 0.2; font-family: Georgia, serif; line-height: 1; }
.testi-stars { color: #ffc107; margin-bottom: 15px; font-size: 0.875rem; }
.testi-text { font-size: 0.9375rem; color: var(--text); margin-bottom: 20px; line-height: 1.7; font-style: italic; flex-grow: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.875rem; }
.testi-info h5 { font-size: 0.9375rem; font-weight: 700; color: var(--primary); }
.testi-info span { font-size: 0.75rem; color: var(--text-light); }

/* ==================== ARTICLES ==================== */
.articles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.article-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s; height: 100%; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.article-img { height: 180px; background: linear-gradient(135deg, #e3f2fd, #bbdefb); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--primary); overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.article-tag { display: inline-block; background: rgba(233,30,99,0.1); color: var(--secondary); padding: 4px 10px; border-radius: 20px; font-size: 0.6875rem; font-weight: 600; margin-bottom: 10px; width: fit-content; }
.article-body h4 { font-size: 0.9375rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.article-body p { font-size: 0.8125rem; color: var(--text-light); line-height: 1.6; flex-grow: 1; }
.article-date { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--text-light); margin-top: 15px; }

/* ==================== CONTACT ==================== */
.contact { background: var(--gradient); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; top: 0; right: 0; width: 400px; height: 400px; background: rgba(255,255,255,0.03); border-radius: 50%; transform: translate(30%, -30%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; position: relative; z-index: 1; }
.contact-info h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.contact-info h2 span { color: var(--secondary-light); }
.contact-info p { opacity: 0.9; margin-bottom: 30px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-item i { font-size: 1.25rem; color: var(--secondary-light); margin-top: 3px; min-width: 24px; }
.contact-item div h4 { font-size: 1rem; font-weight: 600; margin-bottom: 3px; }
.contact-item div p, .contact-item div a { font-size: 0.875rem; opacity: 0.9; color: #fff; }
.contact-item div a:hover { color: var(--secondary-light); }
.contact-form { background: #fff; padding: 40px; border-radius: 20px; color: var(--text); }
.contact-form h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; color: var(--primary); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 2px solid #e0e0e0; border-radius: 10px; font-size: 0.875rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; background: var(--secondary); color: #fff; padding: 14px; border: none; border-radius: 30px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(233,30,99,0.3); }

/* ==================== FOOTER ==================== */
.footer { background: var(--primary-dark); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; }
.footer-brand h3 span { color: var(--secondary); }
.footer-brand p { font-size: 0.875rem; opacity: 0.8; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.3s; }
.footer-social a:hover { background: var(--secondary); transform: translateY(-3px); }
.footer-links h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--secondary-light); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.875rem; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--secondary-light); }
.footer-links a i { font-size: 0.75rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.8125rem; opacity: 0.7; }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--secondary-light); }

/* ==================== WHATSAPP FLOAT ==================== */
.wa-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 5px 20px rgba(37,211,102,0.4); z-index: 999; transition: all 0.3s; animation: pulse-wa 2s infinite; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ==================== BREADCRUMB ==================== */
.breadcrumb { background: var(--bg-light); padding: 15px 0; font-size: 0.875rem; color: var(--text-light); }
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }
.breadcrumb .current { color: var(--secondary); font-weight: 600; }

/* ==================== ACCESSIBILITY ==================== */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary); color: #fff; padding: 8px 16px; z-index: 10000; transition: top 0.3s; }
.skip-link:focus { top: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ==================== ANIMATIONS ==================== */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-content, .about-content, .enursync-content, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .testi-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-text h1 { font-size: 2.25rem; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); gap: 15px; }
    .nav-menu.active { display: flex; }
    .mobile-menu { display: block; }
    .hero-badge { right: 10px; max-width: 220px; }
}

@media (max-width: 576px) {
    .services-grid, .stats-grid, .articles-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 1.75rem; }
    .section-header h2 { font-size: 1.625rem; }
    .hero-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary, .btn-outline { justify-content: center; width: 100%; }
    .contact-form { padding: 25px; }
    .about-features { grid-template-columns: 1fr; }
    .top-bar-info { flex-direction: column; gap: 5px; align-items: flex-start; }
    .top-bar-content { flex-direction: column; align-items: flex-start; }
    .hero-badge { display: none; }
}

/* Print styles */
@media print {
    .top-bar, .navbar, .wa-float, .footer { display: none; }
    .hero { padding: 20px 0; }
    .section { padding: 20px 0; }
}
