/*
 * Global styles for the Vevri Group website.
 *
 * The design uses a refined colour palette pulled from the company logo: deep
 * blue, vibrant pink and golden yellows. These colours are paired with dark
 * backgrounds and light text to evoke a sense of prestige and trust. A
 * combination of modern fonts and generous white space ensures legibility on
 * both desktop and mobile devices.
 */

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

html, body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #f5f5f5;
  background: #0f0f0f;
  scroll-behavior: smooth;
}

/* Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: #f4c542;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background: #111;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid #333;
}

header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

header img

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav li {
  position: relative;
}

nav a {
  font-size: 1rem;
  font-weight: 600;
  color: #f5f5f5;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #f4c542;
}

/* Hero section */
.hero {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #1f1f1f 0%, #2c2c2c 100%);
  position: relative;
  overflow: hidden;
}

/* Parallax effect: decorative stripes that move at different speeds */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-repeat: repeat;
}

/* top stripe layer */
.hero::before {
  background-image: linear-gradient(120deg, rgba(244, 197, 66, 0.1) 25%, transparent 25%, transparent 50%, rgba(244, 197, 66, 0.1) 50%, rgba(244, 197, 66, 0.1) 75%, transparent 75%, transparent);
  background-size: 200% 200%;
  animation: moveStripe1 30s linear infinite;
}

/* bottom stripe layer */
.hero::after {
  background-image: linear-gradient(60deg, rgba(147, 112, 219, 0.1) 25%, transparent 25%, transparent 50%, rgba(147, 112, 219, 0.1) 50%, rgba(147, 112, 219, 0.1) 75%, transparent 75%, transparent);
  background-size: 150% 150%;
  animation: moveStripe2 40s linear infinite;
}

@keyframes moveStripe1 {
  from { background-position: 0 0; }
  to { background-position: 100% 100%; }
}

@keyframes moveStripe2 {
  from { background-position: 0 100%; }
  to { background-position: 100% 0; }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #ddd;
}

/* Section styling */
section {
  padding: 4rem 0;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #f4c542;
}

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

.service-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

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

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #f4c542;
}

.service-card p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.service-card a {
  display: inline-block;
  background: #f4c542;
  color: #0f0f0f;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.service-card a:hover {
  background: #d4a837;
}

/* Vision & Mission section */
.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.vision-mission div {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2rem;
}

.vision-mission h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #f4c542;
}

.vision-mission p {
  color: #ccc;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: #111;
  color: #ccc;
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

footer .footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: #f4c542;
  margin-bottom: 0.5rem;
}

footer ul {
  list-style: none;
  line-height: 1.8;
}

footer a {
  color: #ccc;
}

footer a:hover {
  color: #f4c542;
}

.copyright {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 1rem;
  color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  nav ul {
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    display: none;
    border: 1px solid #333;
  }
  nav ul.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
    color: #f4c542;
    font-size: 1.5rem;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* === Elegant Dark Blue + Gold Theme (added) === */
:root{
  --bg:#0F1F2E;           /* deep navy */
  --bg-2:#13293D;         /* slightly lighter section */
  --gold:#D4AF37;         /* premium gold */
  --text:#F5F7FA;         /* near white */
  --muted:#C0CFD9;
  --card:#18293A;
}
body{background:var(--bg); color:var(--text);}
a{color:var(--gold); text-decoration:none;}
a:hover{opacity:.9}
header, .site-header{
  background:linear-gradient(90deg, rgba(12,25,40,.98), rgba(10,28,44,.98));
  border-bottom:1px solid rgba(212,175,55,.35);
  box-shadow:0 6px 20px rgba(0,0,0,.35);
}
.topbar{
  background:var(--gold);
  color:#0B1D2A;
  text-align:center;
  padding:.35rem .75rem;
  font-weight:700;
  letter-spacing:.5px;
}
.topbar a{color:#000; text-decoration:none;}
.btn, button, .cta{
  background:var(--gold);
  color:#0B1D2A;
  padding:.75rem 1.2rem;
  border-radius:10px;
  display:inline-block;
  font-weight:700;
  border:0;
}
.btn-outline{
  background:transparent; color:var(--gold);
  border:1px solid var(--gold);
}
.section{padding:60px 16px;}
.section.alt{background:var(--bg-2);}
.card{
  background:var(--card);
  border:1px solid rgba(212,175,55,.15);
  border-radius:16px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.hero{
  position:relative; display:flex; align-items:center; justify-content:center;
  min-height:58vh; text-align:center; overflow:hidden;
  background-size:cover; background-position:center;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,29,42,.35), rgba(11,29,42,.85));
}
.hero > .inner{position:relative; z-index:2; max-width:920px; padding:24px;}
.hero h1{font-size:clamp(28px, 4vw, 56px); margin:0 0 10px; color:#fff;}
.hero p{font-size:clamp(16px, 2.3vw, 22px); color:var(--muted)}
.gallery{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px;}
.gallery figure{margin:0}
.gallery img{width:100%; height:220px; object-fit:cover; border-radius:14px; box-shadow:0 6px 20px rgba(0,0,0,.35);}
.gallery figcaption{margin-top:8px; color:var(--muted); font-size:.95rem; text-align:center;}
footer, .site-footer{
  background:#091420;
  color:var(--muted);
  border-top:1px solid rgba(212,175,55,.25);
}
.table thead{background:#0E2030}


/* Floating WhatsApp */
.whatsapp-float{position:fixed; right:18px; bottom:18px; z-index:9999;}
.whatsapp-float a{
  display:flex; align-items:center; gap:.5rem;
  background:#25D366; color:#000; font-weight:800;
  padding:.8rem 1rem; border-radius:999px; box-shadow:0 10px 24px rgba(0,0,0,.3);
}
.whatsapp-float svg{width:20px; height:20px; fill:#0B1D2A;}


/* --- Uniform image sizing fixes --- */
/* Make all gallery images the same visual size across pages */
.gallery{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px;}
.gallery figure{margin:0}
.gallery img{
  width:100%;
  height:clamp(180px, 24vw, 260px);   /* responsive but consistent height */
  object-fit:cover; 
  border-radius:14px; 
  box-shadow:0 6px 20px rgba(0,0,0,.35);
  display:block;
}
/* Optional utility if plain <img> used outside gallery */
.img-uniform{
  width:100%;
  height:clamp(180px, 24vw, 260px);
  object-fit:cover;
  display:block;
}
/* Ensure hero banners always cover and keep aspect nicely */
.hero{
  position:relative; display:flex; align-items:center; justify-content:center;
  min-height:48vh; text-align:center; overflow:hidden;
  background-size:cover; background-position:center center; background-repeat:no-repeat;
}


/* === Uniform Galleries + Mobile Responsiveness (strong) === */

/* Global responsive base */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Gallery: make every tile same size with aspect-ratio */
.gallery {
  display:grid; 
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); 
  gap:16px;
}
.gallery figure {
  margin:0;
  aspect-ratio: 16 / 10;   /* force consistent tile height */
  overflow:hidden;
  border-radius:14px;
  box-shadow:0 6px 20px rgba(0,0,0,.35);
}
.gallery img {
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Hero banners */
.hero {
  position:relative; display:flex; align-items:center; justify-content:center;
  min-height:52vh; text-align:center; overflow:hidden;
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.hero .inner { padding: 24px; }

/* Sections */
.section { padding: 56px 16px; }
.section.alt { background: var(--bg-2); }

/* Footer spacing when gallery moved above it */
.site-footer, footer { margin-top: 0; }

/* Mobile */
@media (max-width: 768px) {
  .hero { min-height: 42vh; }
  .section { padding: 40px 14px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
}


/* === VEVRI Premium Tech-Luxe Palette (updated) === */
:root{
  --bg:#0F1F2E;
  --bg-2:#1C1C1C;
  --text:#FFFFFF;
  --muted:#F3F3F3;
  --cyan:#00E0FF;
  --gold:#D4AF37;
  --card:#18293A;
}
body{background:var(--bg); color:var(--text);}
a{color:var(--cyan); text-decoration:none; transition:color .2s ease, border-color .2s ease, background .2s ease;}
a:hover{color:var(--gold);}
header, .site-header{background:var(--bg); border-bottom:1px solid rgba(212,175,55,.35); box-shadow:0 6px 20px rgba(0,0,0,.35);}
.nav a{position:relative; padding:.5rem .75rem; display:inline-block;}
.nav a:hover::after{content:""; position:absolute; left:.75rem; right:.75rem; bottom:.3rem; height:2px; background:var(--gold);}

.btn, button, .cta{background:var(--cyan); color:#0A0F1C; padding:.8rem 1.25rem; border-radius:12px; border:0; font-weight:800; letter-spacing:.3px; box-shadow:0 8px 22px rgba(0,224,255,.25);}
.btn:hover{ background:var(--gold); color:#0A0F1C; box-shadow:0 8px 22px rgba(212,175,55,.25); }
.section{padding:60px 16px;}
.section.alt{background:var(--bg-2);}
.section .title{font-size:clamp(22px,3vw,32px); margin:0 0 10px;}
.divider{height:2px; background:linear-gradient(90deg, rgba(212,175,55,.9), rgba(0,224,255,.8)); border:0; margin:14px 0 24px;}
.card{background:var(--card); border:1px solid rgba(212,175,55,.18); border-radius:16px; padding:20px; box-shadow:0 10px 30px rgba(0,0,0,.25);}
.hero{position:relative; display:flex; align-items:center; justify-content:center; min-height:56vh; text-align:center; overflow:hidden; background-size:cover; background-position:center;}
.hero::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,15,28,.35), rgba(10,15,28,.9));}
.hero > .inner{position:relative; z-index:2; max-width:980px; padding:24px;}
.hero h1{color:#fff; font-size:clamp(28px,4.2vw,56px); margin:0 0 8px;}
.hero p{color:var(--muted)}
.gallery{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px;}
.gallery figure{margin:0; aspect-ratio:16/10; overflow:hidden; border-radius:14px; box-shadow:0 6px 20px rgba(0,0,0,.35);}
.gallery img{width:100%; height:100%; object-fit:cover; display:block;}
.gallery figcaption{margin-top:8px; color:var(--muted); font-size:.95rem; text-align:center;}
footer, .site-footer{background:var(--bg-2); color:var(--gold); border-top:1px solid rgba(212,175,55,.25);}


/* === Tech-Luxe Theme (Strong Overrides) === */
:root{
  --bg:#0F1F2E;           /* Deep Navy */
  --bg-2:#1C1C1C;         /* Charcoal Grey */
  --text:#FFFFFF;         /* Pure White */
  --muted:#F3F3F3;        /* Light Grey */
  --cyan:#00E0FF;         /* Electric Cyan */
  --gold:#D4AF37;         /* Metallic Gold */
  --card:#18293A;
}
html, body{background:var(--bg) !important; color:var(--text) !important;}
a{color:var(--cyan) !important; text-decoration:none;}
a:hover{color:var(--gold) !important;}
header, .site-header{background:var(--bg) !important; border-bottom:1px solid rgba(212,175,55,.35) !important; box-shadow:0 6px 20px rgba(0,0,0,.35) !important;}
.nav a{position:relative; padding:.5rem .75rem; display:inline-block;}
.nav a:hover::after{content:""; position:absolute; left:.75rem; right:.75rem; bottom:.3rem; height:2px; background:var(--gold);}
.btn, button, .cta{
  background:var(--cyan) !important; color:#0A0F1C !important; 
  padding:.8rem 1.25rem; border-radius:12px; border:0; font-weight:800;
  box-shadow:0 8px 22px rgba(0,224,255,.25);
}
.btn:hover{background:var(--gold) !important; color:#0A0F1C !important;}
.section{padding:60px 16px;}
.section.alt{background:var(--bg-2) !important;}
.title{color:#fff;}
.divider{height:2px; background:linear-gradient(90deg, rgba(212,175,55,.9), rgba(0,224,255,.8)); border:0; margin:14px 0 24px;}
.card{background:var(--card) !important; border:1px solid rgba(212,175,55,.18); border-radius:16px; padding:20px; box-shadow:0 10px 30px rgba(0,0,0,.25);}
.hero{background-size:cover !important; background-position:center !important;}
footer, .site-footer{background:var(--bg-2) !important; color:var(--gold) !important; border-top:1px solid rgba(212,175,55,.25) !important;}
.gallery{display:grid !important; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)) !important; gap:16px !important;}
.gallery figure{margin:0; aspect-ratio:16/10; overflow:hidden; border-radius:14px; box-shadow:0 6px 20px rgba(0,0,0,.35);}
.gallery img{width:100%; height:100%; object-fit:cover; display:block;}

/* --- Header logo alignment (final) --- */
.site-logo{height:50px; width:auto; display:block;}
header .nav-container{display:flex; align-items:center; gap:1rem;}
.brand-wrap{display:flex; align-items:center;}


/* ===== NAV BAR FIX (Desktop horizontal, Mobile slide-down) ===== */
header .nav-container{display:flex; align-items:center; justify-content:space-between; gap:1rem;}
header nav{position:relative;}
header nav ul{list-style:none !important; margin:0; padding:0; display:flex !important; gap:1.25rem; align-items:center;}
header nav li{list-style:none !important;}
header nav a{display:block; padding:.5rem .25rem; font-weight:700;}

.menu-toggle{display:none; cursor:pointer; font-size:1.6rem; color:var(--cyan); padding:.25rem .5rem;}

/* Mobile */
@media (max-width: 900px){
  .menu-toggle{display:block;}
  header nav ul{
    display:none !important;
    position:absolute; left:0; right:0; top:100%;
    flex-direction:column; background:var(--bg);
    border:1px solid rgba(255,255,255,.12);
    padding:.6rem .75rem; gap:.5rem;
    animation:navDrop .22s ease-out;
    z-index:999;
  }
  header nav ul.active{display:flex !important;}
}
@keyframes navDrop{from{opacity:0; transform:translateY(-6px);} to{opacity:1; transform:translateY(0);}}

/* Logo height & alignment */
.site-logo{height:50px !important; width:auto; display:block;}
.brand-wrap{display:flex; align-items:center;}


/* === Topbar + WhatsApp Color Fix === */

/* Top bar text and links — black */
.topbar {
  background: var(--gold) !important;
  color: #000 !important;
}
.topbar a {
  color: #000 !important;
  text-decoration: none;
}

/* WhatsApp button — black text and icon */
.whatsapp-float a {
  background: #25D366 !important;  /* keep green button */
  color: #000 !important;           /* black text */
  font-weight: 800;
}
.whatsapp-float svg {
  fill: #000 !important;            /* black icon */
}

/* === Fix: Make Hero Title Bright White (Overrides All) === */
.hero h1 {
  color: #ffffff !important;
  position: relative;
  z-index: 3; /* keep above dark overlay */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Optional: make subtitle slightly lighter */
.hero p {
  color: #e0e0e0 !important;
  position: relative;
  z-index: 3;
}