/* globals.css - Core styles for Bameka online */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --blue-50: #EFF6FF;
    --blue-300: #93C5FD;
    --blue-400: #60A5FA;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;

    --red-300: #FCA5A5;
    --red-400: #F87171;
    --red-500: #EF4444;
    --red-600: #DC2626;

    --navy-400: #334155;
    --navy-500: #1E293B;
    --navy-600: #0F172A;
    --navy-800: #020617;
    --navy-900: #010409;

    --white: #FFFFFF;
    --dark: #050B14;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-500);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-400);
}

/* Base Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-blue {
    color: var(--blue-500);
}

.text-blue-light {
    color: var(--blue-400);
}

.text-white {
    color: var(--white);
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.75);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-navy-dark {
    background-color: var(--navy-900);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-600) 50%, var(--blue-500) 100%);
    background-size: 200% auto;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
    transform: translateY(-3px) scale(1.02);
}

.btn-premium {
    background: linear-gradient(135deg, #FFF, var(--blue-300));
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    border: 2px solid #FFF;
}

.btn-premium:hover {
    background: #FFF;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.05);
}

.btn-outline {
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: var(--blue-400);
}

.btn-outline:hover {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-300);
    transform: translateY(-2px);
}

/* African Pattern Border */
.african-border-top {
    position: relative;
}

.african-border-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(90deg,
            var(--blue-500) 0px,
            var(--blue-500) 12px,
            var(--red-500) 12px,
            var(--red-500) 24px,
            var(--navy-500) 24px,
            var(--navy-500) 36px);
    z-index: 10;
}

/* African Divider */
.african-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.african-divider::before,
.african-divider::after {
    content: '';
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
}

.african-divider-diamond {
    width: 12px;
    height: 12px;
    background: var(--blue-500);
    transform: rotate(45deg);
}

/* Glass Card */
.glass-card {
    background: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Geometric Background */
.african-bg-pattern {
    position: relative;
}

.african-bg-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(30deg, var(--blue-500) 12%, transparent 12.5%, transparent 87%, var(--blue-500) 87.5%, var(--blue-500)),
        linear-gradient(150deg, var(--blue-500) 12%, transparent 12.5%, transparent 87%, var(--blue-500) 87.5%, var(--blue-500)),
        linear-gradient(30deg, var(--blue-500) 12%, transparent 12.5%, transparent 87%, var(--blue-500) 87.5%, var(--blue-500)),
        linear-gradient(150deg, var(--blue-500) 12%, transparent 12.5%, transparent 87%, var(--blue-500) 87.5%, var(--blue-500)),
        linear-gradient(60deg, rgba(59, 130, 246, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(59, 130, 246, 0.5) 75%, rgba(59, 130, 246, 0.5)),
        linear-gradient(60deg, rgba(59, 130, 246, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(59, 130, 246, 0.5) 75%, rgba(59, 130, 246, 0.5));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    pointer-events: none;
    z-index: 0;
}

/* Image Placeholder */
.img-placeholder {
    background: linear-gradient(135deg, rgba(92, 61, 46, 0.6), rgba(2, 6, 23, 0.8));
    border: 1px dashed rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(59, 130, 246, 0.4);
    font-size: 0.875rem;
    border-radius: 12px;
    min-height: 200px;
    width: 100%;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.blue-shimmer {
    background: linear-gradient(90deg, var(--blue-500), #EF4444, var(--blue-500));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}


.btn-premium {
    background: linear-gradient(135deg, #FFF, var(--blue-300));
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    border: 2px solid #FFF;
}

.btn-premium:hover {
    background: #FFF;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.05);
}

.btn-outline {
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: var(--blue-400);
}

.btn-outline:hover {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-300);
    transform: translateY(-2px);
}

/* African Pattern Border */
.african-border-top {
    position: relative;
}

.african-border-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(90deg,
            var(--blue-500) 0px,
            var(--blue-500) 12px,
            var(--red-500) 12px,
            var(--red-500) 24px,
            var(--navy-500) 24px,
            var(--navy-500) 36px);
    z-index: 10;
}

/* African Divider */
.african-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.african-divider::before,
.african-divider::after {
    content: '';
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
}

.african-divider-diamond {
    width: 12px;
    height: 12px;
    background: var(--blue-500);
    transform: rotate(45deg);
}

/* Glass Card */
.glass-card {
    background: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Geometric Background */
.african-bg-pattern {
    position: relative;
}

.african-bg-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(30deg, var(--blue-500) 12%, transparent 12.5%, transparent 87%, var(--blue-500) 87.5%, var(--blue-500)),
        linear-gradient(150deg, var(--blue-500) 12%, transparent 12.5%, transparent 87%, var(--blue-500) 87.5%, var(--blue-500)),
        linear-gradient(30deg, var(--blue-500) 12%, transparent 12.5%, transparent 87%, var(--blue-500) 87.5%, var(--blue-500)),
        linear-gradient(150deg, var(--blue-500) 12%, transparent 12.5%, transparent 87%, var(--blue-500) 87.5%, var(--blue-500)),
        linear-gradient(60deg, rgba(59, 130, 246, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(59, 130, 246, 0.5) 75%, rgba(59, 130, 246, 0.5)),
        linear-gradient(60deg, rgba(59, 130, 246, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(59, 130, 246, 0.5) 75%, rgba(59, 130, 246, 0.5));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    pointer-events: none;
    z-index: 0;
}

/* Image Placeholder */
.img-placeholder {
    background: linear-gradient(135deg, rgba(92, 61, 46, 0.6), rgba(2, 6, 23, 0.8));
    border: 1px dashed rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(59, 130, 246, 0.4);
    font-size: 0.875rem;
    border-radius: 12px;
    min-height: 200px;
    width: 100%;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.blue-shimmer {
    background: linear-gradient(90deg, var(--blue-500), #EF4444, var(--blue-500));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Section Padding */
.section-padding {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 7rem 0;
    }
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.9) 0%, rgba(59, 130, 246, 0.15) 50%, rgba(2, 6, 23, 0.9) 100%),
        radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%),
        var(--dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(5, 11, 20, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    height: 80px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
    object-fit: cover;
}

.nav-links {
    display: none;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
        gap: 1.5rem;
    }
}

.nav-link {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--blue-500);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-500);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    gap: 4px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.lang-switch span {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
}

.lang-switch span.active {
    color: var(--blue-500);
    font-weight: 700;
}

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

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 49;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav .nav-link {
    color: var(--white);
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.mobile-nav .nav-link:hover {
    color: var(--blue-500);
}

/* =============================================
   SITE FOOTER — DARK ON WHITE PREMIUM
   ============================================= */
.site-footer {
  background: #050B14;
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding: 0 2rem 2.5rem;
  border-bottom: 1px solid rgba(59, 130, 246,0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--blue-500);
  flex-shrink: 0;
}

.footer-logo-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--blue-400);
  letter-spacing: 0.05em;
}

.footer-logo-tagline {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255,0.4);
  margin-top: 2px;
}

.footer-brand-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255,0.4);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue-400);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--blue-400);
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255,0.7);
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #050B14;
  transform: scale(1.1);
}

.footer-newsletter-btn {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(59, 130, 246,0.4);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255,0.7);
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}

.footer-newsletter-btn:hover {
  background: rgba(59, 130, 246,0.1);
  border-color: var(--blue-400);
  color: var(--blue-300);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255,0.5);
}
.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue-500);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255,0.2);
}
.footer-bottom-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255,0.2);
}
.footer-bottom-links a {
  color: rgba(255, 255, 255,0.2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--blue-400); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .contact-layout { flex-direction: column !important; }
  .contact-layout > div { max-width: 100% !important; width: 100% !important; }
}
