/* Footer Styles */

.site-footer {
  background-color: #8b7355;
  color: white;
  border-radius: 40px 40px 0 0;
  margin-top: 100px;
}

.footer-content {
  padding: 40px 0;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-text h5 {
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: white;
}

.contact-text p {
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Main Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 0px;
}

.footer-col h4 {
  font-family: 'Fraunces', serif;
  color: white;
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 400;
}

.footer-col h3 {
  font-family: 'Fraunces', serif;
  color: white;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 400;
}

.footer-col p {
  font-family: 'Figtree', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-family: 'Figtree', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: white;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Footer Brand / Opening Hours */
.footer-brand {
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 140px;
  height: auto;
  display: block;
  padding-bottom: 15px;
}

.footer-opening-hours h4 {
  margin-bottom: 20px;
}

.opening-hours {
  column-count: 2;
  column-gap: 30px;
}

.opening-day {
  display: block;
  margin-bottom: 16px;
  break-inside: avoid;
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.opening-day:nth-child(3) {
  break-after: column;
}

.opening-day .day {
  display: block;
  font-weight: 600;
  color: white;
  margin-bottom: 3px;
}

.opening-day .hours {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-content p {
  font-family: 'Figtree', sans-serif;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    border-radius: 20px 20px 0 0;
    margin-top: 60px;
  }

  .footer-content {
    padding: 40px 0 30px;
  }

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

  .opening-hours {
    column-count: 1;
  }

  .opening-day:nth-child(3) {
    break-after: auto;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* Opening Hours Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 26, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.modal-content {
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 26px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #1a1a1a;
  padding: 0;
}

.modal-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0 0 28px 0;
  color: #1a1a1a;
}

.opening-hours-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.opening-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.opening-hours-day {
  font-weight: 600;
}

.opening-hours-time {
  text-align: right;
  color: #000000;
  line-height: 1.5;
}

.modal-book-btn {
  display: inline-block;
  background: #8b7355;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 26px;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
}

.modal-book-btn:hover:not(:disabled) {
  background: #6b5a43;
}

.modal-book-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #8b7355;
}

/* Client Policy Modal Styles */
.policy-modal-content {
  max-width: 560px;
}

.policy-modal-body {
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-modal-body p {
  margin: 0;
}

.policy-modal-body strong {
  color: #1a1a1a;
  font-weight: 600;
}

.policy-agreement-note {
  font-style: italic;
  color: #000000;
  padding-top: 6px;
  border-top: 1px solid #f0f0f0;
}

.policy-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.policy-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.9rem;
  color: #1a1a1a;
  cursor: pointer;
  user-select: none;
}

.policy-checkbox-label span {
  padding-top: 5px;
}

.policy-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #8b7355;
  flex-shrink: 0;
}
