/* =============================================
   BÉKAN TIÉ — Hôtel Restaurant
   bekantie-hotel.com
   Palette : vert foncé #3B6E22 | terracotta #C4522A | crème #F5F0E8
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #3B6E22;
  --green-dark: #2A4F18;
  --terra:      #C4522A;
  --terra-dark: #A03E1E;
  --cream:      #F5F0E8;
  --cream-dark: #EAE3D5;
  --text:       #2C2C2C;
  --text-light: #5A5A5A;
  --white:      #FFFFFF;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --radius:     8px;
  --transition: 0.3s ease;
  --font-head:  'Cormorant Garamond', 'Georgia', serif;
  --font-body:  'Lato', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

/* ---- Layout ---- */
.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}
.section { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green); color: var(--white); }

.section-title {
  text-align: center;
  margin-bottom: 0.4rem;
  color: var(--green);
}
.section-title--white { color: var(--white); }
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.section-subtitle--white { color: rgba(255,255,255,0.75); }
.divider {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--terra);
  margin: 0.6rem auto 1rem;
  border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.btn-primary:hover { background: var(--terra-dark); border-color: var(--terra-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--green); }
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}
.navbar__logo img { height: 64px; width: auto; }
.navbar__menu {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}
.navbar__menu a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.navbar__menu a:hover:not(.btn),
.navbar__menu a.active:not(.btn) { color: var(--terra); }
.navbar__cta { margin-left: 0.8rem; }
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.navbar__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}
/* Burger open state */
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #5A9A35 100%);
  color: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__badge {
  display: inline-block;
  background: var(--terra);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero__title { color: var(--white); margin-bottom: 0.5rem; }
.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.4rem; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; margin: 0; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.8rem;
}
.breadcrumb a { color: inherit; }
.breadcrumb span { opacity: 0.5; }

/* ============================================
   HOME — FEATURES STRIP
   ============================================ */
.features {
  background: var(--terra);
  color: var(--white);
  padding: 24px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: center;
}
.feature-item { display: flex; align-items: center; gap: 0.7rem; justify-content: center; }
.feature-item svg { flex-shrink: 0; opacity: 0.9; }
.feature-item p { margin: 0; font-size: 0.9rem; font-weight: 600; }

/* ============================================
   HOME — ABOUT SECTION
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__visual {
  background: var(--cream-dark);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__visual-placeholder {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
}
.about__visual-placeholder svg { margin: 0 auto 1rem; opacity: 0.4; }
.about__tagline {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--terra);
  margin-bottom: 1.2rem;
}
.about__meaning {
  background: var(--cream);
  border-left: 4px solid var(--terra);
  padding: 1.2rem 1.6rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.about__meaning strong { color: var(--green); font-family: var(--font-head); font-size: 1.05rem; }

/* ============================================
   HOME — CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.card__img {
  aspect-ratio: 16/9;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img-placeholder {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
}
.card__img-placeholder svg { opacity: 0.35; margin: 0 auto 0.5rem; }
.card__body { padding: 1.5rem; }
.card__icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--terra);
}
.card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.5rem;
}
.card h3 { color: var(--green); margin-bottom: 0.5rem; }
.card p { color: var(--text-light); font-size: 0.93rem; margin-bottom: 1.2rem; }

/* ============================================
   PRICE BADGE
   ============================================ */
.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  background: var(--cream);
  border: 2px solid var(--terra);
  border-radius: var(--radius);
  padding: 0.4rem 0.9rem;
  margin-bottom: 1rem;
}
.price-badge__amount {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--terra);
}
.price-badge__unit { font-size: 0.8rem; color: var(--text-light); }
.price-badge__note { font-size: 0.7rem; color: var(--terra); font-weight: 600; }

/* ============================================
   ROOMS PAGE
   ============================================ */
.room-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  margin-bottom: 2rem;
  transition: box-shadow var(--transition);
}
.room-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.14); }
.room-card__img {
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.room-card__img-placeholder {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
}
.room-card__img-placeholder svg { opacity: 0.35; margin: 0 auto 0.5rem; }
.room-card__body { padding: 2rem; }
.room-card__body h3 { color: var(--green); margin-bottom: 0.8rem; }
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--cream);
  border-radius: 20px;
  padding: 0.25rem 0.8rem;
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 600;
}

/* ============================================
   RESTAURANT PAGE
   ============================================ */
.menu-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.menu-tab {
  padding: 0.5rem 1.4rem;
  border-radius: 20px;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.menu-tab.active,
.menu-tab:hover { background: var(--green); color: var(--white); }
.menu-panel { display: none; animation: fadeIn 0.3s ease; }
.menu-panel.active { display: block; }

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.dish-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--terra);
  transition: transform var(--transition);
}
.dish-card:hover { transform: translateY(-4px); }
.dish-card__name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 0.4rem;
}
.dish-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--terra);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}
.dish-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ============================================
   LOCALISATION PAGE
   ============================================ */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-dark);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder {
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
}
.map-placeholder svg { opacity: 0.3; margin: 0 auto 1rem; }
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.info-card__icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  color: var(--terra);
}
.info-card h4 { color: var(--green); margin-bottom: 0.4rem; }
.info-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ============================================
   TEAM PAGE
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}
.team-card__avatar {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 3rem 2rem 2rem;
  position: relative;
}
.team-card__avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 4px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
}
.team-card__badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terra);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}
.team-card__body { padding: 2.5rem 1.8rem 1.8rem; }
.team-card__name { color: var(--green); margin-bottom: 0.2rem; }
.team-card__nickname {
  font-style: italic;
  color: var(--terra);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.team-card p { color: var(--text-light); font-size: 0.93rem; }

.vision-block {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow);
}
.vision-block h2 { color: var(--green); margin-bottom: 0.5rem; }
.vision-quote {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--terra);
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  margin: 1.5rem 0;
}
.philosophy-block {
  background: var(--cream);
  border-radius: 16px;
  padding: 3rem;
  margin-top: 3rem;
}
.philosophy-block h2 { color: var(--green); text-align: center; margin-bottom: 0.5rem; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { color: var(--green); margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}
.contact-info-item__icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra);
  flex-shrink: 0;
}
.contact-info-item h4 { color: var(--green); font-size: 0.9rem; margin-bottom: 0.15rem; }
.contact-info-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }
.contact-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { color: var(--green); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(59, 110, 34, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-success {
  display: none;
  background: #e8f5e3;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-top: 1rem;
  align-items: center;
  gap: 0.5rem;
}
.form-success.show { display: flex; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 60px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__logo { margin-bottom: 1rem; }
.footer__logo img {
  height: 52px;
  width: auto;
  border-radius: 6px;
  opacity: 0.92;
}
.footer h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,0.9);
}
.footer ul li { margin-bottom: 0.6rem; }
.footer ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer ul li a:hover { color: var(--white); }
.footer p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.75; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer__social {
  display: flex;
  gap: 0.6rem;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition);
}
.footer__social a:hover { background: var(--terra); color: var(--white); }

/* ============================================
   NOTIFICATION BANNER
   ============================================ */
.opening-banner {
  background: var(--terra);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.opening-banner a { color: var(--white); text-decoration: underline; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeIn 0.6s ease both; }
.fade-in-delay { animation: fadeIn 0.6s ease 0.2s both; }
.fade-in-delay-2 { animation: fadeIn 0.6s ease 0.4s both; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { aspect-ratio: 16/7; order: -1; }
  .room-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right var(--transition);
    gap: 0.3rem;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navbar__menu.open { right: 0; }
  .navbar__menu a { font-size: 1.1rem; padding: 0.85rem 0.5rem; width: 100%; border-radius: 0; border-bottom: 1px solid var(--cream-dark); display: block; min-height: 48px; display: flex; align-items: center; }
  .navbar__cta { margin-left: 0; margin-top: 1rem; width: 100%; }
  .navbar__cta a { justify-content: center; border-bottom: none; }
  .navbar__burger { display: flex; }
  .navbar__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    display: none;
  }
  .navbar__overlay.open { display: block; }
  .section { padding: 55px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .vision-block, .philosophy-block { padding: 2rem 1.4rem; }
}
