/* ============================================
   BEYIDO WEBSITE STYLES
   Facebook-inspired clean design
   ============================================ */

:root {
    --primary: #1877f2;
    --primary-dark: #166fe5;
    --success: #42b72a;
    --whatsapp: #25d366;
    --tiktok: #000000;
    --email: #ea4335;
    --bg-light: #f0f2f5;
    --bg-white: #ffffff;
    --text-dark: #1c1e21;
    --text-medium: #65676b;
    --text-light: #ffffff;
    --border: #dddfe2;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.15);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ============ NAVIGATION BAR ============ */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    background: var(--primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-links a {
    padding: 8px 15px;
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.nav-links a.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
    border-radius: 0;
    font-weight: 600;
}

/* ============ HERO SECTION ============ */
.hero {
    background: linear-gradient(135deg, #1877f2 0%, #0a5dc7 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.working-hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #42b72a;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(66, 183, 42, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(66, 183, 42, 0); }
    100% { box-shadow: 0 0 0 0 rgba(66, 183, 42, 0); }
}

/* ============ PAGE HERO (Inner Pages) ============ */
.page-hero {
    background: linear-gradient(135deg, #1877f2 0%, #0a5dc7 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 15px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: #1eb955;
}

.btn-tiktok {
    background: var(--tiktok);
    color: white;
}

.btn-email {
    background: var(--email);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 20px auto;
}

/* ============ SERVICES GRID ============ */
.services-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.learn-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============ REPAIR CARDS ============ */
.repair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.repair-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.repair-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.repair-card ul {
    list-style: none;
}

.repair-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-medium);
}

.repair-card ul li:last-child {
    border-bottom: none;
}

.repair-card ul li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
}

/* ============ TIKTOK CARDS ============ */
.tiktok-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tiktok-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.tiktok-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.tiktok-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.tiktok-card p {
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* ============ REGISTRATION SECTION ============ */
.registration-section {
    background: var(--bg-white);
    padding: 50px 20px;
    margin: 40px 0;
    text-align: center;
}

.register-text {
    max-width: 600px;
    margin: 0 auto 20px;
    color: var(--text-medium);
}

/* ============ SOCIAL ICONS ============ */
.quick-contact {
    background: var(--bg-white);
    padding: 50px 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.social-icon.tiktok {
    background: #000000;
}

.social-icon.whatsapp {
    background: #25d366;
}

.social-icon.jiji {
    background: #f68b1e;
}

.social-icon.email {
    background: #ea4335;
}

.social-icon.location {
    background: #4285f4;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-white);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 -1px 3px rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer p {
    color: var(--text-medium);
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
}

/* ============ FLOATING WHATSAPP BUTTON ============ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
    animation: bounce 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    
    .nav-links a.active {
        border-bottom: none;
        background: var(--bg-light);
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .repair-grid,
    .tiktok-cards {
        grid-template-columns: 1fr;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .contact-buttons {
        padding: 0 20px;
    }
}