/* styles.css */
:root {
  --color-primary:   #053B2E;
  --color-secondary: #FCF6EA;
  --color-accent:    #D7B1C8;
  --color-text:      #053B2E;
}

* {
  margin: 0; padding: 0; box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: var(--color-secondary);
  color: var(--color-text);
  line-height: 1.6;
}

/* HEADER: increase bottom padding to double the space above the line */
.main-header {
  position: relative;
  background: var(--color-secondary);
  /* top: 1rem, sides: 1rem, bottom: 2rem (was 1rem) */
  padding: 1rem 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--color-primary);
  overflow: visible;
}

.brand-name {
  position: absolute;
  top: 25%;
  left: 5%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
  z-index: 1002;
}

.top-right {
  position: absolute;
  top: 35%;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1001;
}

.lang-switcher button {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.lang-switcher button:hover {
  background: var(--color-accent);
}

/* HAMBURGER (mobile only) */
.mobile-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-secondary);
  border: none;
  font-size: 1.5rem;
  padding: 0.4rem;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1003;
}
.mobile-toggle:hover {
  background: var(--color-accent);
}

/* DESKTOP NAV */
.main-nav {
  order: 2;
  margin-top: 1rem;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  justify-content: center;
}
.main-nav li a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  transition: background 0.3s, color 0.3s;
  border-radius: 4px;
}
.main-nav li a:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* HERO */
.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* CONTENT */
.info-section {
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.info-section h2, .info-section h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

/* FOOTER */
footer {
  background: var(--color-secondary);
  border-top: 2px solid var(--color-primary);
  padding: 1rem;
  margin-top: 2rem;
}
.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.footer-social a {
  text-decoration: none;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hidden {
  display: none !important;
}

.result-section {
  margin-bottom: 2rem;
  text-align: center;
}

.result-section h3 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.image-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.image-gallery img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* MOBILE LAYOUT */
@media (max-width: 768px) {
  /* show hamburger fixed top-left */
  .mobile-toggle {
    display: block;
    position: fixed;
    top: 1rem;
    left: 1rem;
  }
   .image-gallery img {
    max-width: 100%;
  }

  .brand-name {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--color-primary);
  z-index: 1002;
}

  /* make room for toggle */
  .top-right {
    right: 1rem;
    bottom: 1rem;
  }

  /* overlay nav but only as tall as its content */
  .main-nav {
    position: fixed;
    top: 5%;
    left: -75%;
    width: 75%;
    background: var(--color-secondary);
    transition: left 0.3s ease;
    z-index: 1000;

    /* remove full‑height */
    height: auto;
  }
  .main-nav.open {
    left: 0;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    /* remove forced full‑height */
    height: auto;
  }

  /* each item auto‑height (no more flex:1) */
  .main-nav ul li {
    flex: none;
  }
  .main-nav ul li a {
    display: block;
    padding: 0.8rem 1rem;
    background: var(--color-primary);
    color: var(--color-secondary);
    text-align: center;
  }
  .main-nav ul li a:hover {
    background: var(--color-accent);
  }
}
