/* === GEMA HOSPITALITY — Shared Styles === */

@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

:root {
  --blue:      #00497c;
  --blue-dark: #003258;
  --bg:        #faf5f5;
  --rose:      #eedfe3;
  --text:      #1b1b1b;
  --muted:     #595959;
  --white:     #ffffff;
  --nav-h:     58px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Fjalla One', sans-serif;
  font-weight: 400;
}

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

img { max-width: 100%; display: block; }

/* === NAV === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e8dede;
  height: var(--nav-h);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--blue);
  color: var(--white);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
  padding: 4px;
}

/* === MOBILE NAV === */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--white);
  flex-direction: column;
  padding: 24px;
}

.mobile-nav.open { display: flex; }

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav ul a {
  display: block;
  padding: 14px 16px;
  font-family: 'Fjalla One', sans-serif;
  font-size: 18px;
  color: var(--blue);
  border-radius: 6px;
}

.mobile-nav ul a:hover,
.mobile-nav ul a.active {
  background: var(--blue);
  color: var(--white);
}

/* === HERO (pages intérieures) === */
.page-hero {
  background: var(--blue-dark);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.2;
}

.page-hero p {
  margin-top: 16px;
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* === SECTIONS === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 640px;
}

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,73,124,0.14);
}

.card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-family: 'Fjalla One', sans-serif;
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* === FOOTER === */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
}

.site-footer a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
}
