/* CSS Variables for fonts */
:root {
  --font-dm-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Styles */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  color: rgba(0, 0, 0, 0.87);
  font-family: var(--font-dm-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  background-color: #FFFEF8;
}

/* Header Styles */
.header {
  position: relative;
  top: 0;
  width: 100%;
  z-index: 1;
}

.container {
  width: 100%;
  margin-left: auto;
  box-sizing: border-box;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  max-width: 1200px;
}

@media (max-width: 430px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (min-width: 600px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.header-content {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

@media (max-width: 430px) {
  .header-content {
    gap: 16px;
  }
}

.logo-section {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}

@media (max-width: 430px) {
  .logo-section {
    gap: 12px;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 430px) {
  .logo-link {
    gap: 8px;
  }
}

.logo-link:hover {
  opacity: 0.85;
}

@media (max-width: 899px) {
  .logo-link {
    zoom: 0.5;
  }
}

.logo-text {
  margin: 0;
  font-family: var(--font-dm-sans);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.5;
}

.ipor-brand {
  width: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.ipor-link {
  margin: 0;
  font-family: var(--font-dm-sans);
  color: #463721;
  text-decoration: none;
  cursor: pointer;
  font-size: 27.06px;
  font-weight: 700;
}

@media (max-width: 899px) {
  .ipor-link {
    font-size: 16px;
  }
}

.separator {
  font-weight: 300;
  margin-right: 12px;
}

/* Navigation */
.desktop-nav {
  display: none;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin-right: auto;
}

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link, .cta-button {
  text-decoration: none;
  padding: 8px 24px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link {
  color: #463721;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.nav-link:hover {
  background-color: rgba(70, 55, 33, 0.1);
  opacity: 0.8;
}

.cta-button {
  background-color: #737C61;
  color: #FFFEF8;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 130px;
  height: 40.5px;
  justify-content: center;
}

.cta-button svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.cta-button:hover {
  background-color: #737C61;
  box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
  color: #D79D2D;
  position: relative;
  z-index: 1001;
}

@media (min-width: 900px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: #FFFEF8;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
  border-top-left-radius: 20px;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-content {
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  color: #463721;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.2s;
  text-align: left;
  border: 2px solid transparent;
}

.mobile-nav-link:hover {
  background-color: rgba(70, 55, 33, 0.1);
  border-color: rgba(70, 55, 33, 0.2);
}

.mobile-cta-button {
  background-color: #737C61;
  color: #FFFEF8;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 16px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12);
}

.mobile-cta-button:hover {
  background-color: #6a7859;
  box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* Mobile menu overlay */
body.mobile-menu-open {
  overflow: hidden;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 900px) {
  .mobile-nav {
    display: none;
  }
}

/* Main Content */
.main-content {
  min-height: 60vh;
  padding: 48px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F9F5F0;
}

.content-wrapper {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.main-title {
  font-family: var(--font-dm-sans);
  font-size: 2.5rem;
  font-weight: 600;
  color: #463721;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }
}

.main-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Form Styling */
.reservation-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .reservation-form {
    padding: 24px;
    margin: 0 16px;
  }
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-dm-sans);
  font-weight: 600;
  font-size: 16px;
  color: #463721;
  margin-bottom: 8px;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E5E5;
  border-radius: 25px;
  font-size: 16px;
  font-family: var(--font-inter);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: #737C61;
}

.form-select {
  background-color: white;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.submit-button {
  background-color: #737C61;
  color: #FFFEF8;
  border: none;
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-dm-sans);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12);
}

.submit-button:hover {
  background-color: #6a7859;
  box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.form-note {
  font-size: 14px;
  color: #666;
  margin-top: 16px;
  text-align: center;
  line-height: 1.4;
}

/* Form Validation Styles */
.form-input--error, .form-select--error {
  border-color: #d32f2f;
  animation: shake 0.3s ease-in-out;
}

.form-input--success, .form-select--success {
  border-color: #388e3c;
}

.form-error {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 4px;
  margin-left: 16px;
  font-family: var(--font-inter);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.form-input:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #d32f2f;
}

.form-input:valid:not(:focus):not(:placeholder-shown) {
  border-color: #388e3c;
}

/* Footer */
.footer {
  padding-top: 64px;
  padding-bottom: 0;
  background: #F9F5F0;
}

.footer-content {
  padding-bottom: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer-grid > div {
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .footer-grid > div {
    margin: 0;
  }
}

@media (min-width: 1200px) {
  .footer-grid {
    grid-template-columns: 5fr 2fr 2fr 3fr;
    gap: 0px;
  }
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-logo-section {
    align-items: flex-start;
  }
}

.social-section {
  margin-top: 24px;
}

.social-title {
  margin: 0 0 16px 0;
  font-weight: 600;
  color: #463721;
  text-align: center;
}

@media (min-width: 768px) {
  .social-title {
    text-align: left;
  }
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 768px) {
  .social-links {
    justify-content: flex-start;
  }
}

.social-links a {
  display: block;
  width: 44px;
  height: 44px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 1;
}

.footer-section-title {
  margin: 0 0 16px 0;
  font-weight: 600;
  color: #463721;
  font-size: 1.1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-section-title {
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-links {
    align-items: flex-start;
  }
}

.footer-link {
  color: #463721;
  text-decoration: none;
  padding: 6px 16px 6px 0;
  transition: all 0.2s;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  text-align: left;
}

.footer-link:hover {
  opacity: 0.7;
}

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  justify-content: center;
}

@media (min-width: 768px) {
  .contact-item {
    justify-content: flex-start;
  }
}

.contact-item svg.contact-icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  fill: #92A780;
}

.contact-item img {
  position: relative;
  top: 4px;
}

.contact-item a {
  color: #463721;
  text-decoration: underline;
}

.contact-item a:hover {
  opacity: 0.7;
}

.map-link {
  display: block;
  max-width: 250px;
  margin: 16px auto 0;
}

@media (min-width: 768px) {
  .map-link {
    margin: 16px 0 0;
  }
}

.map-link img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 280px;
}

.copyright {
  background-color: #92A780;
  color: white;
  text-align: center;
  padding: 16px 0;
  margin: 0;
  font-size: 0.9rem;
}

/* Thank You Page Styles */
.thank-you-box {
  background: white;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .thank-you-box {
    padding: 30px 24px;
    margin: 0 16px;
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #92A780;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark {
  width: 40px;
  height: 40px;
  color: white;
}

.contact-info {
  background-color: #F9F5F0;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 32px;
  font-size: 0.95rem;
  color: #463721;
  line-height: 1.5;
}

.back-button {
  background-color: #737C61;
  color: #FFFEF8;
  border: none;
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-family: var(--font-dm-sans);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12);
}

.back-button:hover {
  background-color: #6a7859;
  box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}