/* ——— 0. FONT LOADING ——— */
@font-face {
  font-family: 'Agbalumo';
  src: url('fonts/Agbalumo-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'TT Chocolates';
  src: url('fonts/TT Chocolates Trial Medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ——— 1. PALETTE & FONT VARIABLES ——— */
:root {
  --bg-color:      #6A7ABD;    /* blue background */
  --accent-yellow: #FFF188;    /* headers & links */
  --body-color:    #FFFFFF;    /* everything that was brown is now white */

  --font-header:    'Agbalumo', serif;
  --font-subheader: 'Playfair Display', serif;
  --font-body:      'TT Chocolates', sans-serif;
}

/* ——— 2. RESET & BASE ——— */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--bg-color);
  color:            var(--body-color);  /* white text now */
  font-family:      var(--font-body);
  line-height:      1.6;
}

/* make sure all body‐level text uses white */
p, li, a, span {
  color: var(--body-color);
}
/* ——— 3. HEADER & NAV ——— */
header {
  background: rgba(255,255,255,0.1);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo {
  height: 50px;
  width: auto;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
nav ul li a {
  color: var(--accent-yellow);
  text-decoration: none;
  font-weight: bold;
  transition: opacity .2s;
}
nav ul li a:hover {
  opacity: .8;
}

/* ——— 4. TYPOGRAPHY ——— */
/* Main titles */
h1 {
  font-family: var(--font-header);
  color:       var(--accent-yellow);
  margin-bottom: .5rem;
}
/* Subheads */
h2, h3, h4 {
  font-family: var(--font-subheader);
  color:       var(--accent-yellow);
  margin-bottom: .5rem;
}
/* Body text (paragraphs, list items, links, spans) */
p, li, a, span {
  font-family: var(--font-body);
  color:       var(--text-brown);
  margin-bottom: 1rem;
}

/* ——— 5. LAYOUT UTILITY ——— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
/* CONTACT FORM CSS */
/* 1. Wrap each label+field in .form-group (as above) */
/* 2. Base styles: mobile-first, column layout */
.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.contact-form .form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* allow shrinking on very narrow viewports */
  min-width: 0;
}

/* 3. Switch to row layout on wider screens */
@media (min-width: 600px) {
  .contact-form .form-group {
    flex-direction: row;
    align-items: center;
  }

  .contact-form .form-group label {
    /* fixed width for label column – adjust as needed */
    width: 120px;
    margin-bottom: 0;
  }

  .contact-form .form-group input,
  .contact-form .form-group textarea {
    /* take up remaining space */
    flex: 1;
    margin-left: 0.5rem;
  }
}
/* MENU PAGE IMAGE FIX */
/* 1. Target the menu image—add a class in your HTML like `<img src="…” class="menu-image">` */
/* 2. Paste this at the very end of your style.css */

.menu-image {
  max-width: 100%;    /* never exceed its container’s width */
  height: auto;       /* preserve original aspect ratio */
  display: block;     /* make margin auto centering work */
  margin: 0 auto;     /* center horizontally */
}
/* ————————————————————————————————
   MENU IMAGE EMBEDDING & CENTERING
   ———————————————————————————————— */
.menu-image {
  max-width: 100%;    /* never overflow its container */
  height: auto;       /* keep correct aspect ratio */
  display: block;     /* so margin:0 auto will work */
  margin: 1rem auto;  /* vertical breathing + horizontal center */
}

/* if you want the PDF frame slightly taller on desktop */
@media (min-width: 600px) {
  .menu-image[type="application/pdf"] {
    height: 800px;
  }
}
/* ————————————————————————————————
   SITE LOGO (top-left)
   ———————————————————————————————— */
.site-logo {
  display: block;
  height: 40px;  /* adjust as you like */
  width: auto;
}

/* optional: position inside your existing header/nav */
.logo-link {
  display: block;
  padding: 0.5rem;   /* gives it some breathing room */
}
