﻿/*
Theme Name: Vamos
Author: Vamos Avignon
Version: 1.0
*/

:root {
  --yellow: #ffc92e;
  --darker: #f5f5f5;
  --text: #1a1c1e;
  --text-muted: rgba(0,0,0,0.4);
  --border: rgba(0,0,0,0.07);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--darker);
  color: var(--text);
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(15,16,18,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  z-index: 10001;
}

.logo img { height: 44px; object-fit: contain; }

.nav { display: flex; gap: 4px; align-items: center; }

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-right: 12px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
  background: rgba(255,201,46,0.08);
}

.nav-socials {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-right: 14px;
}

.nav-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.nav-socials a:hover { transform: translateY(-2px) scale(1.05); }
.nav-socials svg { width: 16px; height: 16px; fill: black; }

.nav-cta {
  background: var(--yellow);
  color: black;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); }

.btn-nav {
  background: var(--yellow);
  color: black !important;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 12px 22px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn-nav:hover { transform: translateY(-2px); opacity: 0.9; }

.hero {
  height: 100vh;
  background: #1a1c1e url("image/vamos-heros.png") center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 80px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.55) 75%,
    rgba(0,0,0,0.75) 100%
  );
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-btn-primary {
  background: var(--yellow);
  color: black;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hero-btn-primary:hover { transform: translateY(-3px); opacity: 0.9; }

.hero-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.2s, background 0.2s;
}

.hero-btn-secondary:hover { transform: translateY(-3px); background: rgba(255,255,255,0.25); }

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.15;
}

.section-header h2 span { color: var(--yellow); }

.section-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.card-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card-img-wrapper img { transform: scale(1.06); }

.card-body { padding: 20px; }

.card-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.widget-box {
  border-radius: 24px;
  overflow: hidden;

}

.btns-commande {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-commande {
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-commande:hover { transform: translateY(-3px); opacity: 0.9; }
.btn-ubereats { background: var(--yellow); color: black; }
.btn-deliveroo { background: var(--yellow); color: black; }

.map-wrapper {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

.divider {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: var(--border);
}

footer {
  text-align: center;
  padding: 60px 24px;
  background: #1a1c1e;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
  opacity: 0.8;
}

footer span { color: var(--yellow); font-weight: 700; }

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--yellow); }

#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 999;
}

#scrollTop.visible { opacity: 1; pointer-events: all; }
#scrollTop:hover { transform: translateY(-3px); }
#scrollTop svg { width: 20px; height: 20px; fill: black; }

/* ── HAMBURGER ─────────────────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 10001;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span { background: #ffc92e; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── MENU MOBILE ──────────────────────────────────────────────────────────── */
.mobile-menu {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(15,16,18,0.98);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 100px 32px 60px;
}
.mobile-menu.open { display: flex !important; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.2s, background 0.2s;
  width: 100%;
  text-align: center;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--yellow); background: rgba(255,201,46,0.08); }
.mobile-menu-divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 12px 0;
}
.mobile-menu-cta {
  background: var(--yellow) !important;
  color: black !important;
  font-weight: 800 !important;
  margin-top: 8px;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.mobile-menu-close svg { stroke: #ffffff !important; }

.mobile-menu-socials {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
.mobile-menu-socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  padding: 0 !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  width: 44px !important;
  text-align: center;
}
.mobile-menu-socials svg { width: 18px; height: 18px; fill: black; }

/* ── RESPONSIVE GLOBAL ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .header { padding: 16px 24px; }
  .nav-links, .nav-socials, .btn-nav, .nav-cta { display: none !important; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .hero { padding-bottom: 50px; min-height: 100svh; }
  .hero-btns { flex-direction: column; align-items: center; gap: 10px; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; max-width: 320px; text-align: center; }
  section { padding: 50px 20px; }
  .section-header h2 { font-size: clamp(1.5rem,6vw,2.2rem); }
  .grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 40px 20px; }
  .footer-links { gap: 14px; flex-wrap: wrap; justify-content: center; }
  #scrollTop { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .hero-sub { font-size: 0.8rem; letter-spacing: 1px; }
}
/* #15 — tel/mail no underline on mobile */
a[href^="tel"], a[href^="mailto"] {
  color: inherit;
  text-decoration: none;
}

/* #17 — hamburger close button white */
#mobileMenuClose {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: white;
  line-height: 0;
}
#mobileMenuClose svg {
  stroke: white;
  display: block;
}