/* ============================================
   ZAKIYAH ARREYS HEALTHCARE - BRIGHT GREEN + YELLOW THEME
   Primary: #22BB22 | Accent: #F4D03F
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #22BB22;
    --primary-dark: #1A8E1A;
    --primary-light: #4DCC4D;
    --secondary: #F4D03F;
    --secondary-dark: #E6C200;
    --secondary-light: #F7DC6F;
    --accent: #FFD700;
    --text-dark: #2C3E3E;
    --text-light: #5A6E6E;
    --text-muted: #8DA3A3;
    --bg-light: #F5F0E8;
    --bg-white: #FFFFFF;
    --bg-dark: #2C3E3E;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
    --border: #E8E2D8;
    --transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Scroll Reveal Classes */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-container > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stagger-container.active > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-container.active > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-container.active > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-container.active > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--text-dark);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--secondary);
}

.currency-selector {
    display: flex;
    gap: 0.5rem;
}

.currency-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    padding: 0.375rem 1.25rem;
    cursor: pointer;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.currency-btn:hover, .currency-btn.active {
    background: var(--secondary);
    color: var(--text-dark);
}

/* ============================================
   HEADER
   ============================================ */
header {
    background: var(--bg-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.logo .tagline {
    font-size: 0.7rem;
    color: var(--secondary);
    margin-top: 0.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    margin-left: 1rem;
}

.cart-count {
    position: absolute;
    top: -0.5rem;
    right: -0.75rem;
    background: var(--secondary);
    color: var(--text-dark);
    border-radius: 50%;
    padding: 0.125rem 0.375rem;
    font-size: 0.688rem;
    font-weight: 600;
    min-width: 1.25rem;
    text-align: center;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   HERO - WITH VISIBLE BACKGROUND IMAGE
   ============================================ */
.hero {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease forwards;
}

.hero-content h2 {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.25rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.hero-content .btn-primary {
    background: var(--secondary);
    color: var(--text-dark);
}

.hero-content .btn-primary:hover {
    background: var(--secondary-dark);
}

.hero-content .btn-secondary {
    color: white;
    border-color: white;
}

.hero-content .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.hero-image {
    animation: slideInRight 0.8s ease forwards;
}

.hero-image img {
    width: 100%;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   CATEGORIES
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-white);
    padding: 2rem 1rem;
    border-radius: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ============================================
   SECTION TITLES WITH YELLOW ACCENT
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 0.75rem auto 0;
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1rem 0;
}

.add-to-cart {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--primary-dark);
}

.whatsapp-inquiry {
    width: 100%;
    padding: 0.75rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.whatsapp-inquiry:hover {
    background: #128C7E;
}

/* ============================================
   ABOUT - WITH VISIBLE BACKGROUND
   ============================================ */
.about-preview {
    background: linear-gradient(135deg, var(--bg-light) 0%, #FFFFFF 100%);
    position: relative;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.focus-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.focus-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-white);
    border-radius: 1rem;
    transition: var(--transition);
    border-left: 3px solid var(--secondary);
}

.focus-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.focus-item i {
    color: var(--primary);
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 0.75rem;
}

/* ============================================
   SAFETY - WITH VISIBLE BACKGROUND IMAGE
   ============================================ */
.safety-commitment {
    background: linear-gradient(rgba(44, 62, 62, 0.75), rgba(44, 62, 62, 0.8)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.safety-commitment .section-title {
    color: white;
}

.safety-commitment .section-title::after {
    background: var(--secondary);
}

.disclaimer {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    border-left: 3px solid var(--secondary);
}

/* ============================================
   NEWSLETTER - WITH YELLOW ACCENT
   ============================================ */
.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: white;
}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter .section-title::after {
    background: var(--secondary);
}

.newsletter-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 0.9rem;
    background: var(--bg-white);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--secondary);
    color: var(--text-dark);
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
}

.whatsapp-float a:hover {
    transform: scale(1.08);
    background: #128C7E;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--text-dark);
    color: #E8E0D5;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #E8E0D5;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #E8E0D5;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary);
    color: var(--text-dark);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

/* ============================================
   LOADER & RESPONSIVE
   ============================================ */
.loader {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.loader i {
    font-size: 1.8rem;
    color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .hero-split, .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .whatsapp-float a {
        padding: 0.75rem;
        border-radius: 50%;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .focus-items {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
