/* =========================================================
   IBASA CATERING – GLOBAL STYLES
   Modern • Minimal • Premium
   ========================================================= */

/* -------------------------
   CSS VARIABLES (THEME)
-------------------------- */
:root {
  --dry-sage: #B7AF8A;   /* Accent / highlights – 10% */
  --soft-linen: #EFF0E2; /* Background – 60% */
  --pine-teal: #31513C;  /* Primary – 30% */

  --text-dark: #1f2a24;
  --text-muted: #5f6f66;

  --radius: 10px;
  --transition: 0.3s ease;
}

/* -------------------------
   CSS RESET (Minimal)
-------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--soft-linen);
  color: var(--text-dark);
  line-height: 1.6;
}

/* -------------------------
   TYPOGRAPHY
-------------------------- */
h1, h2, h3 {
  font-weight: 600;
  color: var(--pine-teal);
  line-height: 1.2;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  max-width: 65ch;
}

/* -------------------------
   LINKS & BUTTONS
-------------------------- */
a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  background-color: var(--pine-teal);
  color: #fff;
  font-weight: 500;
  transition: var(--transition);
}

.btn:hover {
  background-color: #243d2e;
}

.whatsapp-btn {
  background-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
}

/* -------------------------
   NAVBAR
-------------------------- */
header {
  position: relative;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(239, 240, 226, 0.95);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pine-teal);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-menu a {
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background-color: var(--dry-sage);
  color: #000;
}

/* -------------------------
   HERO SECTION
-------------------------- */
.hero {
  min-height: 80vh;
  padding: 3rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.hero .tagline {
  font-size: 1rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

/* -------------------------
   SECTIONS
-------------------------- */
section {
  padding: 3rem 1.2rem;
}

section ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

section li {
  margin-bottom: 0.5rem;
}

/* -------------------------
   GALLERY
-------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* -------------------------
   MODAL (CONTACT / CUSTOM)
-------------------------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 1.5rem;
  position: relative;
  animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* -------------------------
   FORMS
-------------------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input,
select,
textarea {
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--pine-teal);
}

input[type="submit"] {
  margin-top: 0.5rem;
  background: var(--pine-teal);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
}

.form-message {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-message.hidden {
  display: none;
}

/* -------------------------
   FLOATING WHATSAPP
-------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #25D366;
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  z-index: 999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* -------------------------
   FOOTER
-------------------------- */
footer {
  background: var(--pine-teal);
  color: #fff;
  padding: 2rem 1.2rem;
  font-size: 0.85rem;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* -------------------------
   RESPONSIVE (DESKTOP)
-------------------------- */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  .hero {
    padding: 5rem 3rem;
  }

  section {
    padding: 4rem 3rem;
  }

  .modal-content {
    max-width: 500px;
  }
}
