body {
  margin: 0;
  padding: 0;
  font-family: Georgia,Times,Times New Roman,serif; 
  color: #ffffff;   
  background-color: #2d2b29;
  background-image: url('bg.png');
  background-repeat: repeat;
}

/* Accessibility - Visually hidden but available to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  max-width: 68%;
  margin: 0 auto;
}

.center {
  display: flex;
  justify-content: center;
}

#mainImage {
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 0 6px 28px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.39);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fffff9;
  margin: 5% auto;
  border: 2px solid #fffff9;
  border-radius: 0px;
  width: 35%;
  max-width: 700px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
  outline: none;
}

.modal-header {
  background-color: #fffff9;
  border-bottom: 0px solid #fffff9;
  border-radius: 0px 0px 0 0;
  overflow: hidden;
}

.modal-header-image {
  width: 100%;
  height: auto;
  display: block;
}

.modal-body {
  padding: 20px 30px;
  color: #2d2b29;
  line-height: 1.6;
}

.modal-body h2 {
  color: #2d2b29;
  margin-top: 0;
  font-size: 1.8em;
  border-bottom: 1px solid #2d2b29;
  padding-bottom: 10px;
}

.modal-body p {
  margin: 10px 0;
  font-size: 1.1em;
  text-align: left;
}

.modal-footer-image {
  display: block;
  margin: 10px auto 5px auto;
  width: 15%;
  max-width: 50px;
  height: auto;
}

/* Easter Egg Modal Styles */
.easter-egg-body {
  text-align: center;
  padding: 30px;
}

.easter-egg-text {
  font-style: italic;
  font-size: 1.2em;
  margin: 20px 0;
  text-align: center !important;
}

.close {
  color: #2d2b29;
  float: right;
  font-size: 3.0em;
  font-weight: bold;
  padding: 10px 15px;
  cursor: pointer;
  line-height: 1;
  outline: none;
  transition: color 0.2s ease;
}

.close:hover,
.close:focus {
  color: #6a6a6a;
  outline: none;
}

/* Contact Form Styles */
.contact-intro {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #2d2b29;
  font-size: 0.95em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #2d2b29;
  border-radius: 0px;
  font-family: Georgia, Times, Times New Roman, serif;
  font-size: 0.95em;
  color: #2d2b29;
  background-color: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #0060df;
  border-radius: 2px;
  border-color: #0060df;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #2d2b29;
  color: #ffffff;
  border: none;
  border-radius: 0px;
  font-family: Georgia, Times, Times New Roman, serif;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #6a6a6a;
}

/* Privacy Notice Styles */
.privacy-notice {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #d0d0d0;
  font-size: 0.75em;
  line-height: 1.5;
  color: #6a6a6a;
}

.privacy-notice p {
  margin: 8px 0;
  font-size: 1em;
  text-align: left;
}

.privacy-notice a {
  color: #0060df;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s;
}

.privacy-notice a:hover {
  border-bottom-color: #0060df;
}

/* Privacy Policy Page Styles */
.privacy-page {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background-color: #fffff9;
  color: #2d2b29;
  line-height: 1.7;
  box-shadow: 0 6px 28px 0 rgba(0, 0, 0, 0.5);
}

.privacy-page h1 {
  color: #2d2b29;
  font-size: 2.5em;
  margin-bottom: 10px;
  border-bottom: 2px solid #2d2b29;
  padding-bottom: 15px;
}

.privacy-page h2 {
  color: #2d2b29;
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 8px;
}

.privacy-page h3 {
  color: #2d2b29;
  font-size: 1.2em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.privacy-page p {
  margin: 15px 0;
  font-size: 1.05em;
  text-align: left;
}

.privacy-page ul {
  margin: 15px 0;
  padding-left: 30px;
}

.privacy-page li {
  margin: 10px 0;
  font-size: 1.05em;
}

.privacy-page a {
  color: #0060df;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s;
}

.privacy-page a:hover {
  border-bottom-color: #0060df;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .modal-content {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .page {
    max-width: 95%;
  }
  
  .modal-content {
    width: 85%;
    margin: 10% auto;
  }
  
  .modal-body {
    padding: 15px 20px;
  }
  
  .modal-body h2 {
    font-size: 1.5em;
  }
  
  .privacy-page {
    margin: 20px;
    padding: 25px;
  }
  
  .privacy-page h1 {
    font-size: 2em;
  }
  
  .privacy-page h2 {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .page {
    max-width: 100%;
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .modal-body {
    padding: 15px;
  }
  
  .modal-body h2 {
    font-size: 1.3em;
  }
  
  .close {
    font-size: 2.5em;
    padding: 5px 10px;
  }
}

/* Portrait orientation - expand to full width on phones/tablets */
/* This must come AFTER other rules to override them */
@media (orientation: portrait) and (max-width: 1280px) {
  .page {
    max-width: 100% !important;
  }
}
