/* ============================================
   PARTHENON DINER - Feedback Page Styles
   ============================================ */

/* ---------- Feedback Page Layout ---------- */
.feedback-page {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: var(--space-xl);
}

/* ---------- Dark Background ---------- */
.feedback-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary-dark);
  background: linear-gradient(135deg, #5a0f23 0%, var(--color-primary-dark) 50%, #4a0c1d 100%);
  z-index: -1;
}

/* ---------- Thank You Watermark ---------- */
.thank-you-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: clamp(4rem, 15vw, 12rem);
  color: rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 0.02em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* ---------- Feedback Content ---------- */
.feedback-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

/* ---------- Feedback Section ---------- */
.feedback-section {
  text-align: center;
}

.feedback-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  line-height: 1.4;
}

.feedback-heading span {
  color: var(--color-accent);
}

/* ---------- Review Buttons ---------- */
.review-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.review-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 90px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.review-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Logo Styles */
.review-logo {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
}

.google-logo {
  max-width: 90px;
  max-height: 35px;
}

.tripadvisor-logo {
  max-width: 110px;
  max-height: 45px;
}

/* Facebook Button */
.facebook-btn {
  background-color: #1877F2;
  flex-direction: column;
  gap: 4px;
}

.facebook-logo {
  width: 32px;
  height: 32px;
}

.facebook-text {
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Yelp SVG */
.yelp-svg {
  width: 70px;
  height: 70px;
}

/* ---------- Header Adjustments for Dark Background ---------- */
.feedback-page ~ .header,
body:has(.feedback-page) .header {
  background-color: transparent;
}

body:has(.feedback-page) .header.scrolled {
  background-color: rgba(90, 15, 35, 0.95);
  backdrop-filter: blur(10px);
}

body:has(.feedback-page) .header:not(.scrolled) .logo-text,
body:has(.feedback-page) .header:not(.scrolled) .nav-link,
body:has(.feedback-page) .header:not(.scrolled) .menu-toggle span {
  color: var(--color-white);
}

body:has(.feedback-page) .header:not(.scrolled) .logo-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Override body background */
body:has(.feedback-page) {
  background-color: var(--color-primary-dark);
}

body:has(.feedback-page)::before {
  display: none;
}

/* ---------- Footer Adjustments ---------- */
.feedback-page + .footer,
body:has(.feedback-page) .footer {
  background-color: #2D2D2D;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 767px) {
  .feedback-content {
    gap: var(--space-2xl);
  }

  .review-btn {
    width: 120px;
    height: 80px;
  }

  .thank-you-text {
    font-size: clamp(3rem, 20vw, 6rem);
  }
}

@media (min-width: 768px) {
  .review-buttons {
    gap: var(--space-lg);
  }

  .review-btn {
    width: 160px;
    height: 100px;
  }

  .google-logo {
    max-width: 100px;
  }

  .tripadvisor-logo {
    max-width: 120px;
  }
}

@media (min-width: 1024px) {
  .feedback-content {
    gap: var(--space-2xl);
  }

  .feedback-section {
    padding: var(--space-xl) 0;
  }
}

/* ============================================
   NOT HAPPY PAGE STYLES
   ============================================ */

.not-happy-page {
  padding-top: 100px;
}

.not-happy-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-lg) var(--container-padding) var(--space-2xl);
}

/* ---------- Apology Message ---------- */
.not-happy-message {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.apology-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  color: var(--color-accent);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Contact Form ---------- */
.contact-form-container {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.form-group .required {
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.btn-submit {
  margin-top: var(--space-sm);
  width: 100%;
}

@media (min-width: 480px) {
  .btn-submit {
    width: auto;
    align-self: flex-start;
  }
}

/* ---------- Form Success Message ---------- */
.form-success {
  text-align: center;
  padding: var(--space-xl);
}

.form-success h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--color-gray);
}

/* ============================================
   FEEDBACK LIGHTBOX MODAL
   ============================================ */

.feedback-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: var(--space-md);
}

.feedback-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.feedback-modal {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.feedback-modal-overlay.active .feedback-modal {
  transform: scale(1) translateY(0);
}

.feedback-modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-gray);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.feedback-modal-close:hover {
  background-color: var(--color-cream);
  color: var(--color-charcoal);
}

.feedback-modal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.feedback-modal-subtitle {
  color: var(--color-gray);
  font-size: 1rem;
  margin-bottom: var(--space-xl);
}

.feedback-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 480px) {
  .feedback-modal-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.feedback-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-normal);
  min-width: 160px;
}

.feedback-btn-happy {
  background-color: #4CAF50;
  color: var(--color-white);
}

.feedback-btn-happy:hover {
  background-color: #43A047;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feedback-btn-not-happy {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.feedback-btn-not-happy:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feedback-btn-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
}

.feedback-btn-text {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
