:root {
  --primary: #ff6b9d;
  --primary-hover: #ff5a8f;
  --bg-dark: #121212;
  --bg-card: #1e1e1e;
  --text-main: #ffffff;
  --text-muted: #a3a3a3;
  --font-main: 'Oswald', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  background-color: var(--bg-dark);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  /* Background Pattern */
  background-image: url("./background.svg");
  background-size: 400px 400px;
  animation: moveBackground 60s linear infinite;
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 400px 400px;
  }
}

#app {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  /* Push footer down */
}

/* Profile Section */
.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  margin-top: 4rem;
  /* Added spacing to move image down */
  text-align: center;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-glow 3s infinite ease-in-out;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.profile-img:hover {
  animation: none;
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(255, 107, 157, 0.6);
}

@keyframes pulse-glow {
  0% {
    transform: scale(1) translateZ(0);
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.3), 0 0 0 0px rgba(255, 107, 157, 0.1);
  }

  50% {
    transform: scale(1.03) translateZ(0);
    box-shadow: 0 0 35px rgba(255, 107, 157, 0.6), 0 0 0 12px rgba(255, 107, 157, 0);
  }

  100% {
    transform: scale(1) translateZ(0);
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.3), 0 0 0 0px rgba(255, 107, 157, 0.1);
  }
}

h1 {
  font-size: 2.8rem;
  /* Slightly larger again to compensate for Oswald being condensed */
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Links Section */
.links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-card {
  background-color: var(--bg-card);
  color: var(--text-main);
  text-decoration: none;
  padding: 1.1rem;
  /* Slightly more padding */
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  /* Increased weight */
  letter-spacing: 0.05em;
  /* Cleaner spacing for buttons */
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center text/icon */
  gap: 0.5rem;
}

.link-card:hover {
  transform: translateY(-2px);
  background-color: #2a2a2a;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
  /* Pink glow restored and improved */
}

.link-card.primary {
  background-color: var(--primary);
  color: white;
  margin-top: 0;
  /* Separate booking button slightly */
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.link-card.primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 25px rgba(255, 107, 157, 0.7);
}

/* Footer */
/* Footer */
.site-footer {
  margin-top: 2rem;
  /* Was auto, changed to bring it closer to content */
  padding-top: 1rem;
  /* Reduced from 3rem */
  padding-bottom: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* Separator line added */
  width: 80%;
  /* Width constrained for the line */
  align-self: center;
  /* Center the footer in flex container */
}

.site-footer p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.35);
}

.footer-policy-link {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.footer-policy-link:hover {
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* --- BOOKING PAGE STYLES --- */

.booking-page {
  align-items: stretch !important;
  /* Force full width within max-width */
}

/* Header */
.booking-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
}

.back-link {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--primary);
}

.booking-header h2 {
  font-size: 2.2rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Form Styles */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row .form-group {
  min-width: 0;
  /* Allows grid items to shrink below content size */
}

label {
  font-size: 1rem;
  font-weight: 600;
  color: #ddd;
  margin-left: 2px;
  letter-spacing: 0.03em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  background-color: var(--bg-card);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select::-ms-expand {
  display: none;
}

select option {
  background-color: var(--bg-card);
  color: var(--text-main);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.2);
}

/* Phone Group */
.phone-input-group {
  display: flex;
  gap: 0.5rem;
}

.country-select {
  width: 130px;
  /* Adjust width as needed */
  padding-right: 2rem;
}

/* Custom File Upload Styling */
.file-upload-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-visual {
  background-color: var(--bg-card);
  border: 1px dashed #555;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: border-color 0.2s;
}

.file-upload-wrapper:hover .file-upload-visual {
  border-color: var(--primary);
}

.icon {
  font-size: 1.2rem;
}

.hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  display: block;
}

.submit-btn {
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 1.1rem;
  padding: 1rem;
  font-weight: 600;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Notification Toast */
.notification-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--bg-card);
  color: var(--text-main);
  padding: 16px 24px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.notification-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.notification-toast.success {
  border-left-color: #22c55e;
  /* Green for success */
}

.notification-toast.error {
  border-left-color: #ef4444;
  /* Red for error */
}

/* Consent Checkbox Styling */
.consent-group {
  margin-top: 1rem;
}

/* Shake animation for validation feedback */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  padding-left: 0;
}

.consent-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  height: 20px;
  min-width: 20px;
  width: 20px;
  background-color: var(--bg-card);
  border: 2px solid #555;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.consent-checkbox:hover .checkmark {
  border-color: var(--primary);
}

.consent-checkbox input:checked~.checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-checkbox input:checked~.checkmark:after {
  display: block;
}

.consent-text {
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.5;
}

.consent-link {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}

.consent-link:hover {
  color: var(--primary-hover);
}

/* Consent Popup Modal */
.consent-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
  box-sizing: border-box;
}

.consent-popup.active {
  opacity: 1;
  visibility: visible;
}

.consent-popup-content {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.consent-popup.active .consent-popup-content {
  transform: scale(1);
}

.consent-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.consent-close:hover {
  color: var(--primary);
}

.consent-popup-content h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.consent-popup-content h4 {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 500;
}

.consent-body p+h4,
.consent-body ul+h4 {
  margin-top: 1.35rem;
}

.consent-body {
  color: #ddd;
  line-height: 1.7;
}

.consent-body p {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.consent-body ul {
  margin: 0.35rem 0 0.8rem 1.5rem;
  padding: 0;
}

.consent-body li {
  margin-bottom: 0.5rem;
}

.consent-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.consent-ok-btn {
  width: 100%;
  margin-top: 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-main);
}

.consent-ok-btn:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.5);
}

/* --- Language Switcher --- */
.language-switcher {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 100;
  background: rgba(10, 10, 10, 0.6);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 107, 157, 0.2);
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  font-weight: 500;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.7);
}

.lang-btn.active {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.language-switcher .divider {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
  pointer-events: none;
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .booking-header h2 {
    font-size: 1.6rem;
  }

  label {
    font-size: 0.95rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 1rem;
  }

  .link-card {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  .submit-btn {
    font-size: 1rem;
    padding: 0.9rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .phone-input-group {
    flex-direction: column;
  }

  .country-select {
    width: 100%;
  }

  .notification-toast {
    left: 20px;
    right: 20px;
    text-align: center;
    justify-content: center;
  }

  .consent-popup-content {
    padding: 1.5rem;
    max-height: 85vh;
  }

  .consent-popup-content h3 {
    font-size: 1.3rem;
    padding-right: 2rem;
  }
}