/*
Theme Name: Le Gotta QR Menu
Theme URI: https://legotta.fr/
Author: Diamond Agency
Description: Thème WordPress mobile-first pour la carte QR code du restaurant Le Gotta.
Version: 2.0.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: le-gotta-qr-menu
*/

:root{
  --bg:#050505;--bg2:#0b0a08;--panel:#0e0e0e;--gold:#d6ad3a;--gold2:#ffe09a;--text:#f6f2e9;--muted:#c9c2b4;--line:rgba(214,173,58,.38);
  --shadow:0 24px 70px rgba(0,0,0,.5);
}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--bg)}body{margin:0;background:radial-gradient(circle at 50% -10%,#251a08 0,transparent 28%),linear-gradient(#060606,#090807 45%,#050505);color:var(--text);font-family:Arial,Helvetica,sans-serif;min-height:100vh;overflow-x:hidden}.shell{width:min(100%,780px);margin:0 auto;position:relative;z-index:2;background:linear-gradient(180deg,rgba(5,5,5,.92),rgba(7,7,7,.98));box-shadow:0 0 90px rgba(0,0,0,.45)}.ambient{position:fixed;pointer-events:none;filter:blur(80px);opacity:.18;z-index:0}.ambient-one{width:260px;height:260px;background:#9d6b00;top:8%;left:-80px}.ambient-two{width:220px;height:220px;background:#b88417;right:-90px;top:55%}.hero{min-height:590px;position:relative;display:grid;place-items:center;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.05)}.hero-photo{position:absolute;inset:0;background-image:url('assets/restaurant.jpg');background-size:cover;background-position:center 42%;filter:grayscale(.2) contrast(1.15)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.62),rgba(0,0,0,.72) 55%,#070707 100%),radial-gradient(circle at center 20%,transparent,rgba(0,0,0,.62) 70%)}.hero-content{position:relative;z-index:2;text-align:center;padding:72px 28px 55px;width:100%}.brand-logo{width:min(280px,64vw);height:auto;filter:drop-shadow(0 10px 34px rgba(214,173,58,.18));margin-bottom:16px}.eyebrow{text-transform:uppercase;letter-spacing:.26em;font-size:11px;color:var(--gold2);margin:0 0 12px;font-weight:700}.hero h1,.category-section h2,.panel-hero h2,.menu-section h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}.hero h1{font-size:clamp(38px,10vw,64px);line-height:.98;margin:0;color:#fff;text-shadow:0 4px 30px rgba(0,0,0,.45)}.gold-rule{width:145px;height:24px;margin:17px auto 8px;position:relative}.gold-rule:before,.gold-rule:after{content:"";position:absolute;top:50%;height:1px;width:58px;background:linear-gradient(90deg,transparent,var(--gold))}.gold-rule:before{left:0}.gold-rule:after{right:0;transform:scaleX(-1)}.gold-rule span{width:8px;height:8px;background:var(--gold2);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(45deg);box-shadow:0 0 16px rgba(255,224,154,.5)}.intro{font-size:18px;line-height:1.55;max-width:530px;margin:6px auto;color:#f0ece3}.discover{font-weight:700;font-size:16px;letter-spacing:.02em;margin:10px 0 0;color:var(--gold2)}.category-section{padding:34px 18px 54px}.section-kicker{text-align:center;color:var(--gold);text-transform:uppercase;letter-spacing:.25em;font-weight:700;font-size:10px;margin:0 0 8px}.category-section h2{text-align:center;margin:0 0 25px;font-size:34px}.cards{display:grid;gap:14px}.menu-card{height:220px;position:relative;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#111;color:#fff;text-align:left;padding:0;box-shadow:var(--shadow);cursor:pointer;appearance:none}.menu-card img{position:absolute;width:100%;height:100%;object-fit:cover;transition:transform .55s ease}.menu-card .shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.93) 0%,rgba(0,0,0,.72) 48%,rgba(0,0,0,.18) 100%),linear-gradient(0deg,rgba(0,0,0,.48),transparent 55%)}.menu-card:active img{transform:scale(1.03)}.card-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:24px;max-width:78%}.card-icon{font-size:28px;color:var(--gold2);margin-bottom:7px}.card-title{font-family:Georgia,'Times New Roman',serif;font-size:34px;line-height:1;color:#fff}.card-sub{font-size:13px;line-height:1.4;color:#ddd3c0;margin-top:10px;max-width:310px}.card-link{margin-top:18px;color:var(--gold2);font-weight:700;font-size:13px;border-bottom:1px solid rgba(255,224,154,.5);padding-bottom:4px}.card-link b{font-size:17px;margin-left:4px}.footer{border-top:1px solid rgba(255,255,255,.06);background:radial-gradient(circle at 50% 0,#17130d,transparent 34%),linear-gradient(#090909,#030303);padding:44px 18px max(34px,env(safe-area-inset-bottom));text-align:center}.footer-logo{width:180px;max-width:48vw}.footer h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:20px;margin:10px 0 22px}.socials{display:grid;gap:10px}.social{display:grid;grid-template-columns:48px 1fr 20px;align-items:center;gap:12px;text-decoration:none;color:#fff;border:1px solid var(--line);background:rgba(255,255,255,.025);border-radius:18px;padding:12px 14px;text-align:left}.social-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--gold2),#aa7412);color:#080808;font-weight:900;font-size:22px}.social small{display:block;text-transform:uppercase;letter-spacing:.14em;color:#a8a094;font-size:9px;margin-bottom:3px}.social strong{font-size:14px}.social b{font-size:28px;color:var(--gold)}.footer-note{color:#6f685e;font-size:11px;margin:24px 0 0;letter-spacing:.16em;text-transform:uppercase}.panel{position:fixed;inset:0;background:#050505;z-index:30;transform:translateX(100%);transition:transform .42s cubic-bezier(.2,.8,.2,1);overflow-y:auto;overscroll-behavior:contain}.panel.open{transform:translateX(0)}.panel-inner{width:min(100%,780px);min-height:100vh;margin:0 auto;background:#090909}.panel-topbar{height:74px;position:sticky;top:0;z-index:10;background:rgba(5,5,5,.9);backdrop-filter:blur(16px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:env(safe-area-inset-top) 15px 0;border-bottom:1px solid rgba(255,255,255,.06)}.panel-topbar img{height:46px;width:86px;object-fit:contain}.back{appearance:none;border:0;background:none;color:var(--gold2);font-weight:700;font-size:14px;text-align:left;padding:12px 0}.spacer{display:block}.panel-hero{height:310px;position:relative;overflow:hidden;display:flex;align-items:flex-end}.panel-hero-bg{position:absolute;inset:0;background-position:center;background-size:cover}.panel-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.86) 80%,#090909)}.panel-hero-content{position:relative;z-index:2;padding:0 22px 28px}.panel-hero h2{font-size:46px;line-height:1;margin:0 0 10px}.panel-hero p:last-child{margin:0;color:#d7d0c4;line-height:1.45}.subnav{position:sticky;top:74px;z-index:9;display:flex;gap:8px;overflow-x:auto;background:rgba(9,9,9,.94);backdrop-filter:blur(12px);padding:11px 14px;border-bottom:1px solid rgba(255,255,255,.06);scrollbar-width:none}.subnav::-webkit-scrollbar{display:none}.subnav a{white-space:nowrap;text-decoration:none;color:#ddd4c4;border:1px solid rgba(214,173,58,.25);border-radius:999px;padding:8px 12px;font-size:11px}.subnav a:active{background:var(--gold);color:#080808}.menu-content{padding:20px 16px 42px}.menu-section{scroll-margin-top:140px;padding:20px 0 25px;border-bottom:1px solid rgba(214,173,58,.18)}.menu-section:last-child{border-bottom:0}.menu-section h3{font-size:32px;margin:0 0 16px;display:flex;align-items:center;gap:10px}.menu-section h3:before{content:"";width:28px;height:1px;background:var(--gold)}.menu-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:12px 0}.menu-item+.menu-item{border-top:1px dashed rgba(255,255,255,.07)}.item-name{font-weight:700;font-size:15px;line-height:1.32}.item-desc{display:block;color:#978f84;font-size:12px;line-height:1.4;margin-top:4px;font-weight:400}.item-price{color:var(--gold2);font-family:Georgia,'Times New Roman',serif;font-size:18px;white-space:nowrap}.menu-note{border:1px solid rgba(214,173,58,.22);background:linear-gradient(135deg,rgba(214,173,58,.09),rgba(255,255,255,.02));padding:14px 15px;border-radius:16px;color:#d8d0c1;font-size:13px;line-height:1.5;margin:5px 0 12px}.panel-footer{text-align:center;padding:36px 18px max(40px,env(safe-area-inset-bottom));background:#050505;border-top:1px solid rgba(255,255,255,.05)}.panel-footer img{width:150px}.panel-footer p{font-family:Georgia,'Times New Roman',serif;font-size:20px}.return-home{appearance:none;border:1px solid var(--gold);background:transparent;color:var(--gold2);border-radius:999px;padding:13px 20px;font-weight:700}.reveal{opacity:0;transform:translateY(18px);animation:reveal .7s ease forwards}.cards .reveal:nth-child(2){animation-delay:.08s}.cards .reveal:nth-child(3){animation-delay:.16s}.cards .reveal:nth-child(4){animation-delay:.24s}@keyframes reveal{to{opacity:1;transform:none}}@media(min-width:700px){body{padding:24px}.shell{border-radius:28px;overflow:hidden}.menu-card{height:250px}.card-copy{padding:32px}.panel{padding:24px}.panel-inner{border-radius:28px;overflow:hidden}.panel-topbar{border-radius:28px 28px 0 0}.panel-hero{height:360px}}@media(max-width:390px){.hero{min-height:555px}.hero-content{padding-left:18px;padding-right:18px}.hero h1{font-size:42px}.intro{font-size:16px}.category-section h2{font-size:31px}.menu-card{height:205px}.card-title{font-size:30px}.card-copy{padding:20px}.panel-hero h2{font-size:39px}}

/* === Le Gotta premium image pass v1.1 === */
body{
  position:relative;
  background:#030303;
}
.site-background{
  position:fixed;
  z-index:0;
  inset:0;
  background:
    linear-gradient(180deg,rgba(2,3,5,.40) 0%,rgba(2,3,5,.66) 38%,rgba(2,3,5,.84) 100%),
    radial-gradient(circle at 50% 12%,rgba(214,173,58,.08),transparent 35%),
    url('assets/restaurant-bg.jpg') center top / cover no-repeat;
  transform:translateZ(0);
}
.site-background:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.16),transparent 20%,transparent 80%,rgba(0,0,0,.16)),
    linear-gradient(180deg,transparent 0%,rgba(0,0,0,.20) 55%,rgba(0,0,0,.48) 100%);
}
.shell{
  background:linear-gradient(180deg,rgba(5,5,5,.70),rgba(5,5,5,.84) 45%,rgba(4,4,4,.91));
  backdrop-filter:blur(1.5px);
  -webkit-backdrop-filter:blur(1.5px);
}
.hero{
  min-height:600px;
  border-bottom:1px solid rgba(214,173,58,.15);
}
.hero-photo{
  filter:saturate(.96) contrast(1.08) brightness(.83);
  background-position:center 45% !important;
}
.hero-overlay{
  background:
    linear-gradient(180deg,rgba(0,0,0,.48),rgba(0,0,0,.56) 52%,rgba(5,5,5,.92) 100%),
    radial-gradient(circle at 50% 26%,rgba(214,173,58,.05),rgba(0,0,0,.64) 78%);
}
.category-section{
  background:linear-gradient(180deg,rgba(4,4,4,.68),rgba(4,4,4,.83));
}
.category-section h2{
  white-space:nowrap;
  font-size:clamp(24px,7vw,34px);
  letter-spacing:-.02em;
}
.menu-card{
  border:1px solid rgba(224,180,55,.68);
  box-shadow:0 18px 55px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,224,154,.06);
  background:#080808;
}
.menu-card .shade{
  background:
    linear-gradient(90deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.83) 43%,rgba(0,0,0,.24) 73%,rgba(0,0,0,.08) 100%),
    linear-gradient(0deg,rgba(0,0,0,.45),transparent 55%);
}
.menu-card img{
  object-position:center;
  filter:saturate(1.05) contrast(1.05);
}
.card-copy{
  max-width:73%;
}
.card-icon{
  width:48px;
  height:48px;
  border:1px solid rgba(255,224,154,.62);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--gold2);
  background:rgba(0,0,0,.28);
  box-shadow:0 8px 28px rgba(0,0,0,.30),inset 0 0 18px rgba(214,173,58,.05);
  margin-bottom:12px;
}
.category-svg{
  width:27px;
  height:27px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.3;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.card-title{
  text-shadow:0 3px 22px rgba(0,0,0,.7);
}
.footer{
  background:
    linear-gradient(180deg,rgba(6,6,6,.86),rgba(2,2,2,.96)),
    radial-gradient(circle at 50% 0,rgba(214,173,58,.12),transparent 36%);
  border-top:1px solid rgba(214,173,58,.22);
}
.social{
  border-color:rgba(214,173,58,.56);
  background:linear-gradient(135deg,rgba(255,255,255,.035),rgba(214,173,58,.035));
  box-shadow:0 10px 35px rgba(0,0,0,.34);
}
.social-icon{
  overflow:hidden;
  background:linear-gradient(135deg,#f6d771,#bd7d12);
}
.social-icon svg{
  width:27px;
  height:27px;
}
.social-icon.snap svg{
  fill:#050505;
}
.social-icon.insta{
  background:linear-gradient(135deg,#7b2cff,#e7368e 50%,#f0b12a);
}
.social-icon.insta svg{
  fill:none;
  stroke:#fff;
  stroke-width:3.5;
}
.panel-inner{
  background:linear-gradient(180deg,#070707,#090807 38%,#050505);
}
.panel-hero-bg{
  filter:saturate(1.05) contrast(1.06);
}
@media(max-width:430px){
  .category-section{padding-left:14px;padding-right:14px}
  .category-section h2{font-size:27px}
  .menu-card{height:212px;border-radius:20px}
  .card-copy{padding:18px;max-width:72%}
  .card-title{font-size:29px}
  .card-sub{font-size:12.5px;max-width:230px}
  .card-icon{width:44px;height:44px;margin-bottom:10px}
  .category-svg{width:24px;height:24px}
}
@media(max-width:350px){
  .category-section h2{font-size:23px}
  .card-title{font-size:26px}
}
@media(min-width:700px){
  .site-background{background-position:center 35%}
}

/* === Le Gotta v1.2 full-image cards + header-footer === */

/* Header */
.hero{
  min-height:620px;
  position:relative;
  overflow:hidden;
}
.hero-photo{
  background-size:cover !important;
  background-position:center 31% !important;
  filter:saturate(1.05) contrast(1.08) brightness(.94);
  transform:scale(1.01);
}
.hero-overlay{
  background:
    linear-gradient(180deg,rgba(2,3,5,.22) 0%,rgba(2,3,5,.34) 34%,rgba(2,3,5,.62) 70%,rgba(4,4,4,.90) 100%),
    radial-gradient(circle at 50% 32%,rgba(212,170,49,.04),rgba(0,0,0,.28) 70%);
}

/* Category cards: the image now fills the WHOLE card */
.menu-card{
  position:relative;
  overflow:hidden;
  background:#050505;
  min-height:220px;
}
.menu-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(1.08) contrast(1.05) brightness(.92);
  transform:scale(1.001);
}
.menu-card .shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.50) 43%,rgba(0,0,0,.16) 73%,rgba(0,0,0,.12) 100%),
    linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.26));
}
.menu-card:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,221,140,.06), inset 0 -35px 80px rgba(0,0,0,.18);
}
.card-copy{
  position:relative;
  z-index:3;
  max-width:72%;
}
.card-title,
.card-sub,
.card-link{
  text-shadow:0 2px 16px rgba(0,0,0,.88);
}
.card-icon{
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  background:rgba(0,0,0,.38);
}

/* Footer shares the same restaurant/pool image as the header */
.footer{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:#050505;
  border-top:1px solid rgba(214,173,58,.30);
}
.footer-photo{
  position:absolute;
  z-index:-3;
  inset:0;
  background-size:cover;
  background-position:center 34%;
  filter:saturate(1.05) contrast(1.08) brightness(.78);
  transform:scale(1.02);
}
.footer-overlay{
  position:absolute;
  z-index:-2;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.64),rgba(0,0,0,.80)),
    radial-gradient(circle at 50% 15%,rgba(214,173,58,.06),transparent 45%);
}
.footer-content{
  position:relative;
  z-index:2;
  width:100%;
}
.footer-logo{
  filter:drop-shadow(0 10px 25px rgba(0,0,0,.52));
}
.social{
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  background:linear-gradient(135deg,rgba(7,7,7,.72),rgba(25,20,8,.56));
}

/* Keep "Choisissez votre univers" in one line on phones */
.category-section h2{
  white-space:nowrap;
  font-size:clamp(22px,6.7vw,33px);
}

/* Mobile framing */
@media(max-width:430px){
  .hero{
    min-height:585px;
  }
  .hero-photo{
    background-position:center 29% !important;
  }
  .menu-card{
    height:225px;
    min-height:225px;
  }
  .menu-card img{
    object-position:center center;
  }
  .menu-card .shade{
    background:
      linear-gradient(90deg,rgba(0,0,0,.70) 0%,rgba(0,0,0,.48) 46%,rgba(0,0,0,.15) 78%,rgba(0,0,0,.10) 100%),
      linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.24));
  }
  .card-copy{
    max-width:74%;
  }
  .footer-photo{
    background-position:center 32%;
  }
}

@media(max-width:360px){
  .category-section h2{
    font-size:21px;
  }
}

/* === Le Gotta v1.3 social + panel footer === */

/* Snapchat : vrai jaune de marque + pictogramme noir */
.social-icon.snap{
  background:#FFFC00 !important;
  border:1px solid rgba(0,0,0,.08);
}
.social-icon.snap svg{
  fill:#000 !important;
  stroke:none !important;
}

/* Instagram conserve son dégradé officiel */
.social-icon.insta{
  background:linear-gradient(135deg,#833AB4 0%,#C13584 38%,#E1306C 58%,#F77737 78%,#FCAF45 100%) !important;
}

/* Footer des cartes : même ambiance photo que le footer principal */
.panel-footer{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:#050505;
  padding-top:42px;
  padding-bottom:42px;
}
.panel-footer-photo{
  position:absolute;
  z-index:-3;
  inset:0;
  background-size:cover;
  background-position:center 32%;
  filter:saturate(1.05) contrast(1.08) brightness(.76);
  transform:scale(1.02);
}
.panel-footer-overlay{
  position:absolute;
  z-index:-2;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.64),rgba(0,0,0,.82)),
    radial-gradient(circle at 50% 18%,rgba(214,173,58,.08),transparent 46%);
}
.panel-footer-content{
  position:relative;
  z-index:2;
}
.panel-footer img{
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.55));
}
.panel-footer p{
  text-shadow:0 2px 15px rgba(0,0,0,.9);
}
.return-home{
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}


/* === Le Gotta v2.0 hierarchical menu === */
.home-menu-cards{gap:18px}
.panel-category-intro{text-align:center;padding:4px 4px 22px}
.panel-category-intro h3{font-family:Georgia,'Times New Roman',serif;font-size:32px;font-weight:400;margin:0}
.panel-category-grid{gap:14px}
.panel-category-card{width:100%}
.subnav.is-hidden{display:none}
@media(max-width:430px){
  .home-menu-cards .menu-card,.panel-category-grid .menu-card{height:225px;min-height:225px}
  .panel-category-intro h3{font-size:28px}
}
@media(min-width:700px){.home-menu-cards,.panel-category-grid{gap:16px}}




/* === Le Gotta v2.0.3 compact panel hero === */
/* Seule modification : les photos d'en-tête des cartes ouvertes
   sont nettement plus compactes en hauteur. */
.panel-hero{
  height:245px !important;
  min-height:245px !important;
  max-height:245px !important;
}
@media(max-width:430px){
  .panel-hero{
    height:215px !important;
    min-height:215px !important;
    max-height:215px !important;
  }
}
@media(max-width:360px){
  .panel-hero{
    height:205px !important;
    min-height:205px !important;
    max-height:205px !important;
  }
}
