
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #0033cc;
  overflow-x: hidden;
}


/* =========================
   NAVBAR
========================= */
.navbar {
  background-color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  height: 40px;
  display: block;
}

.nav-link {
  text-decoration: none;
  color: #0033cc;
  font-weight: bold;
}

.nav-link:hover {
  color: #3498db;
}


/* =========================
   MAIN CONTENT BOX
========================= */
.box {
  background: white;
  margin: 20px auto;
  padding: 20px;
  width: 95%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}


/* =========================
   BUTTON ROW
========================= */
.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* Centers buttons horizontally */
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  width: 100%;               /* Prevents internal shrink */
}


/* =========================
   BUTTONS
========================= */
button,
.call-button {
  display: block;            /* Fixes anchor behavior */
  width: 260px;              /* Clean fixed desktop width */
  max-width: 100%;           /* Prevents overflow on small screens */
  background-color: #0033cc;
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 10px auto;
}

button:hover,
.call-button:hover {
  background-color: #2980b9;
}


/* =========================
   IMAGES
========================= */
.big-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.small-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 10px;
}

.gallery-img {
  width: calc(33.33% - 10px);
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}


/* =========================
   SECRET LINK
========================= */
.secret-link {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  font-size: 1em;
  text-decoration: none;
}

.secret-link:hover {
  color: #3498db;
}


/* =========================
   MODAL
========================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.modal-buttons button {
  width: 100%;
}

form {
  width: 100%;
}
/* Fix form inputs staying inside box */
input {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  box-sizing: border-box; /* CRITICAL */
}

textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  box-sizing: border-box; /* CRITICAL */
}




/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-row {
    flex-direction: column;   /* Stack buttons */
    align-items: center;      /* Keep centered */
  }

  button,
  .call-button {
    width: 100%;              /* Full width inside box */
    max-width: 320px;
  }

  .gallery-img {
    width: 100%;
  }
}
