/*
Theme Name: Mzee Musyoka
Theme URI: http://localhost/musyoka
Author: Mzee Musyoka
Author URI: http://localhost/musyoka
Description: Traditional African Healer & Witch Doctor - Psychic Services
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ================================
   CSS Variables & Root
================================ */
:root {
    --primary-red: #e63946;
    --secondary-red: #ff6b6b;
    --accent-green: #2ecc71;
    --accent-white: #ffffff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #111111;
    --purple-accent: #8e44ad;
    --purple-dark: #2d0a2e;
    --text-light: #ffffff;
    --text-muted: #c0c0c0;
    --primary-gold: #e63946;
    --secondary-gold: #ff6b6b;
    --gradient-mystical: linear-gradient(135deg, #1a0a0a 0%, #0a0a0a 50%, #0a1a0a 100%);
    --gradient-gold: linear-gradient(135deg, #e63946 0%, #ff6b6b 50%, #e63946 100%);
    --gradient-green: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.4);
    --shadow-green: 0 0 30px rgba(46, 204, 113, 0.4);
}

/* ================================
   Global Reset & Base
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================
   Container & Layout
================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--gradient-mystical);
}

.section-pattern {
    background: var(--darker-bg);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.1"/></svg>');
    background-size: 50px 50px;
}

/* ================================
   Header & Navigation
================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.site-logo span {
    color: var(--text-light);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ================================
   Hero Section
================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(74, 14, 78, 0.5) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 26, 0.5) 100%),
        url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1920&q=80') center/cover no-repeat;
    text-align: center;
    padding: 150px 30px 100px;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(212, 175, 55, 0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   Buttons
================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--accent-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(230, 57, 70, 0.6);
    color: var(--accent-white);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
}

.btn-secondary:hover {
    background: var(--accent-green);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c4e 100%);
    color: white;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c4e 0%, #25d366 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
    color: white;
}

/* ================================
   Section Titles
================================ */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ================================
   Services Grid
================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(10, 10, 10, 0.9) 100%);
}

.service-icon {
    position: absolute;
    bottom: -30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 2;
    box-shadow: var(--shadow-glow);
}

.service-content {
    padding: 50px 30px 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-gold);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-card .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
}

/* ================================
   Testimonials
================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary-gold);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    padding-top: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.testimonial-info span {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

/* ================================
   Countries Grid
================================ */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.country-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.country-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.country-flag {
    width: 50px;
    height: 35px;
    margin-bottom: 10px;
    border-radius: 5px;
    object-fit: cover;
}

.country-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================================
   Contact Section
================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
}

.contact-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--dark-bg);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-gold);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ================================
   About Section
================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 3px solid var(--primary-gold);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-list {
    list-style: none;
    margin: 30px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-list li i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* ================================
   Why Choose Us
================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-gold);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
}

/* ================================
   CTA Section
================================ */
.cta-section {
    background: linear-gradient(135deg, rgba(74, 14, 78, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%),
        url('https://images.unsplash.com/photo-1518495973542-4542c06a5843?w=1920&q=80') center/cover fixed;
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   Footer
================================ */
.site-footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-disclaimer {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 30px auto;
    max-width: 800px;
}

.footer-disclaimer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

/* ================================
   Page Hero (Inner Pages)
================================ */
.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 14, 78, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%),
        url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1920&q=80') center/cover no-repeat;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ================================
   Animations
================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ================================
   Responsive Design
================================ */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        padding: 0 25px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .header-inner {
        justify-content: space-between;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .countries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        padding: 100px 30px;
        transition: right 0.4s ease;
        border-left: 2px solid var(--primary-red);
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 18px 0;
        border-bottom: 1px solid rgba(230, 57, 70, 0.2);
        font-size: 1.1rem;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding: 130px 20px 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 10px 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .page-hero {
        padding: 140px 20px 60px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 15px 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .countries-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .site-logo {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .service-card {
        border-radius: 15px;
    }

    .service-content {
        padding: 40px 20px 25px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .country-item {
        padding: 15px 10px;
    }

    .country-flag {
        width: 40px;
        height: 28px;
    }

    .about-list li {
        font-size: 1rem;
        padding: 12px 0;
    }

    .footer-disclaimer {
        padding: 15px;
    }

    .footer-logo {
        font-size: 1.6rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}