/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Satisfy&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Spectral:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  --night: #0c1720;
  --night-2: #16283a;
  --paper: #f6efe0;
  --card: #fffdf8;
  --ink: #17222c;
  --muted: #5c6a76;
  --gold: #c68a2e;
  --gold-dark: #9c6a1d;
  --rust: #9c3a26;
  --line: #e3dabf;
  --shadow: 0 18px 40px rgba(12, 23, 32, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

h1, h2, h3 {
  font-family: "Spectral", Georgia, serif;
}

/* Navbar */
.nav-bar {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  height: 53px;
  background-color: var(--night);
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(198, 138, 46, 0.35);
}

.logo {
  flex: 1;
  font-size: 34px;
  margin-left: 20px;
  font-family: Satisfy;
  color: #f6efe0;
}

ul.menu {
  flex: 2;
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  justify-content: flex-end;
  margin-right: 20px;
}

.menu li {
  flex: none;
  font-size: 16px;
  font-family: "Barlow Condensed";
  text-align: center;
}

.menu li a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #d8dfe6;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 17px;
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.menu li a:hover,
.menu li a:focus-visible {
  color: var(--gold);
  background-color: rgba(198, 138, 46, 0.1);
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  position: fixed;
  margin-top: 12px;
  right: 20px;
  font-size: 30px;
  color: #f6efe0;
  cursor: pointer;
  z-index: 1100;
  background: none;
  border: none;
  line-height: 1;
}

.menu-toggle:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Container */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

/* Intro paragraph (first .section, plain welcome text) */
.container > .section:first-child p {
  max-width: 68ch;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
  color: var(--muted);
  font-size: 16px;
}

/* Section spacing + headings */
.section {
  margin-bottom: 64px;
}

.section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 14px;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: var(--gold);
}

.section > p {
  text-align: center;
  line-height: 1.7;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

/* Card design */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px 22px 24px;
  text-align: center;
}

.card-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.card-content p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Phone and WhatsApp */
.contact-icons {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  gap: 20px;
  z-index: 999;
}

.contact-icons a img {
  width: 40px;
  height: 40px;
  background-color: var(--night);
  border-radius: 20%;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  animation: bounce 1s ease-in-out 2s infinite;
}

.contact-icons a img:hover,
.contact-icons a img:focus-visible {
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .contact-icons a img { animation: none; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Footer */
footer {
  background: var(--night);
  color: #cdd5db;
  text-align: center;
  padding: 22px 10px;
}

footer p {
  margin: 0;
  font-size: 14px;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 992px) {
  .menu-toggle { display: block; }

  .nav-bar {
    justify-content: space-between;
    padding: 0 20px;
  }

  ul.menu {
    position: absolute;
    top: 53px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    background: var(--night);
    margin: 0;
    border-top: 1px solid rgba(198, 138, 46, 0.35);
  }

  ul.menu.active { display: flex; }

  .menu li {
    text-align: left;
    padding: 4px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .menu li a { font-size: 16px; }
}

@media (max-width: 600px) {
  .logo { font-size: 26px; margin-left: 14px; }

  .section h2 { font-size: 24px; }

  .card img { height: 180px; }

  .card-content h3 { font-size: 17px; }

  .card-content p { font-size: 14px; }
}