/* 
   FILENAME: layout.css
   PATH: assets/layouts/layout.css
*/

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
  background-color: #1F1F1F;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ===== STICKY MENU (80px, WHITE) ===== */
.sticky-menu {
  position: sticky;
  top: 0;
  height: 80px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.menu-logo {
  height: 50px;
  width: auto;
  transition: filter 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}
.menu-logo:hover {
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.3));
  transform: scale(1.02);
}

/* Centered text in sticky menu - ROUNDED FONT, BOLD, LARGE */
.menu-center-text {
  font-family: 'Segoe UI', 'Nunito', 'Inter', system-ui, -apple-system, sans-serif;
  color: #C41E3A;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  text-align: center;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 15px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* MAIN CONTENT - this scrolls, not the body */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* PAGE TITLE (above hero split) - ROUNDED FONT, SOFT, APPROACHABLE */
.page-title {
  text-align: center;
  margin-bottom: 30px;
  flex-shrink: 0;
}
.page-title h1 {
  font-family: 'Segoe UI', 'Nunito', 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  display: inline-block;
  padding: 0 20px;
}

/* HERO SPLIT LAYOUT */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-shrink: 0;
}

.hero-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 380px;
  max-width: 85%;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s;
  display: block;
}
.hero-logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* BUTTONS */
.pill-btn-outline {
  background-color: transparent;
  border: 2.5px solid #FFFFFF;
  border-radius: 60px;
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 320px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.pill-btn-outline:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: scale(1.03);
  border-color: #FFFFFF;
}

/* Powered By section */
.poweredby-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 4px;
}

.poweredby-text {
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-align: center;
}

.poweredby-image {
  margin: 0;
  padding: 0;
  text-align: center;
}

.poweredby-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  cursor: pointer;
  transition: opacity 0.2s;
  display: block;
  margin: 0 auto;
}

.poweredby-image img:hover {
  opacity: 0.85;
}

/* PRE-FOOTER SOCIAL */
.prefooter {
  background-color: #000000;
  padding: 20px 20px;
  margin-top: 10px;
  flex-shrink: 0;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  background-color: transparent;
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.2s ease;
  cursor: pointer;
}
.social-icon span {
  font-size: 1.8rem;
  font-weight: 800;
}
.social-icon:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  transform: scale(1.1);
}

/* FOOTER */
.footer {
  background-color: #000000;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid #222;
  flex-shrink: 0;
}
.footer-col {
  flex: 1;
  text-align: center;
}
.disclaimer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.disclaimer-link {
  background: none;
  border: none;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  padding: 6px 14px;
  border-radius: 60px;
  font-family: inherit;
}
.disclaimer-link:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: scale(1.02);
}
.footer-center-text {
  color: #FFFFFF;
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer-center-text a {
  color: #FFFFFF;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 60px;
  transition: all 0.2s ease;
  display: inline-block;
}
.footer-center-text a:hover {
  background-color: #FFFFFF;
  color: #000000;
}
.vendor-btn {
  background-color: #C41E3A;
  border: 2.5px solid #C41E3A;
  border-radius: 60px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  width: auto;
  min-width: 180px;
}
.vendor-btn:hover {
  background-color: #000000;
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: scale(1.03);
}

/* MODAL STYLES */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal-content {
  background-color: #000000;
  width: 750px;
  max-width: 92%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  animation: fadeInUp 0.25s ease;
}
.modal-header {
  background-color: #C41E3A;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin: 0;
}
.close-modal {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #FFFFFF;
  font-weight: bold;
  transition: 0.2s;
  line-height: 1;
}
.close-modal:hover {
  transform: scale(1.2);
  opacity: 0.8;
}
.modal-body {
  padding: 30px 28px;
  color: #FFFFFF;
  line-height: 1.5;
  background-color: #000000;
  max-height: 70vh;
  overflow-y: auto;
}
.modal-footer {
  background-color: #000000;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #333;
}

/* Two column layout for owner modal */
.two-column-modal {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.left-col {
  flex: 1;
  text-align: center;
}
.left-col img {
  width: 100%;
  max-width: 180px;
  border-radius: 20px;
  background-color: #2a2a2a;
  border: 2px solid #C41E3A;
}
.caption {
  margin-top: 12px;
  font-weight: bold;
  color: #C41E3A;
  font-size: 1.1rem;
}
.right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Modal buttons */
.modal-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: transparent;
  border: 2px solid #C41E3A;
  border-radius: 60px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  font-family: inherit;
}
.modal-pill-btn:hover {
  background-color: #C41E3A;
  color: #FFFFFF;
  transform: scale(1.02);
  border-color: #C41E3A;
}
.btn-icon-left {
  font-size: 1.2rem;
}
.arrow-right {
  font-size: 1.2rem;
  margin-left: auto;
}
.back-button {
  background: none;
  border: none;
  color: #C41E3A;
  cursor: pointer;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 60px;
  transition: 0.2s;
}
.back-button:hover {
  background-color: #C41E3A;
  color: white;
}
.about-blurb-text {
  color: #FFFFFF;
  line-height: 1.6;
}
.about-blurb-text p {
  margin-bottom: 16px;
}

/* Availability table styling */
.availability-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.availability-table th,
.availability-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid #333;
}
.availability-table th {
  color: #C41E3A;
  font-weight: 700;
  font-size: 1rem;
}
.availability-table td {
  color: #FFFFFF;
}
.availability-table tr:last-child td {
  border-bottom: none;
}
.offer-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: transparent;
  border: 2px solid #C41E3A;
  border-radius: 60px;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: 20px;
  width: auto;
}
.offer-email-btn:hover {
  background-color: #C41E3A;
  color: #FFFFFF;
  transform: scale(1.02);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .hero-split {
    flex-direction: column;
    gap: 30px;
  }
  .sticky-menu {
    padding: 0 20px;
  }
  .container {
    padding: 15px 20px;
  }
  .page-title h1 {
    font-size: 2rem;
  }
  .menu-center-text {
    font-size: 0.85rem;
    white-space: normal;
    line-height: 1.3;
  }
  .two-column-modal {
    flex-direction: column;
    align-items: center;
  }
  .footer {
    flex-direction: column;
    gap: 20px;
  }
  .availability-table th,
  .availability-table td {
    padding: 8px 4px;
    font-size: 0.85rem;
  }
}

/* ACCESSIBILITY FOCUS */
button:focus-visible, a:focus-visible, .social-icon:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 3px;
}