@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto+Condensed:wght@400;700&display=swap');

/* Tailwind CSS variables and base styles */
:root {
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 240 10% 3.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 240 10% 3.9%;
  --primary: 240 5.9% 10%;
  --primary-foreground: 0 0% 98%;
  --secondary: 240 4.8% 95.9%;
  --secondary-foreground: 240 5.9% 10%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 46.1%;
  --accent: 240 4.8% 95.9%;
  --accent-foreground: 240 5.9% 10%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 240 5.9% 90%;
  --input: 240 5.9% 90%;
  --ring: 240 5.9% 10%;
  --radius: 0.5rem;
  --chart-1: 12 76% 61%;
  --chart-2: 173 58% 39%;
  --chart-3: 197 37% 24%;
  --chart-4: 43 74% 66%;
  --chart-5: 27 87% 67%;
}

.dark {
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  --card: 240 10% 3.9%;
  --card-foreground: 0 0% 98%;
  --popover: 240 10% 3.9%;
  --popover-foreground: 0 0% 98%;
  --primary: 0 0% 98%;
  --primary-foreground: 240 5.9% 10%;
  --secondary: 240 3.7% 15.9%;
  --secondary-foreground: 0 0% 98%;
  --muted: 240 3.7% 15.9%;
  --muted-foreground: 240 5% 64.9%;
  --accent: 240 3.7% 15.9%;
  --accent-foreground: 0 0% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 98%;
  --border: 240 3.7% 15.9%;
  --input: 240 3.7% 15.9%;
  --ring: 240 4.9% 83.9%;
  --chart-1: 220 70% 50%;
  --chart-2: 160 60% 45%;
  --chart-3: 30 80% 55%;
  --chart-4: 280 65% 60%;
  --chart-5: 340 75% 55%;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "rlig" 1, "calt" 1;
}

/* Dark theme overrides */
.dark {
  background-color: #000000;
  color: #FFFFFF;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
}

h3, h4, h5, h6 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  color: #FF4D4D;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 2px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #000000;
  background-image: url('images/jxt-hero-bg-min.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-size: 5.5rem;
  margin-bottom: 1rem;
  letter-spacing: 8px;
  font-weight: 900;
  font-stretch: expanded;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
  background-color: #FF4D4D;
  color: #FFFFFF;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
  background-color: #E63946;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

/* Location & Hours Section */
.location-hours-section {
  padding: 120px 0;
  background-color: #0A0A0A;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.location-card, .hours-card {
  background-color: #1A1A1A;
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #333;
}

.card-title {
  color: #FF4D4D;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item h4 {
  color: #FF4D4D;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.info-item p {
  color: #FFFFFF;
  font-size: 1rem;
}

.directions-button {
  background-color: #FF4D4D;
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.directions-button:hover {
  background-color: #E63946;
  transform: translateY(-1px);
}

/* Hours List */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
}

.hours-item:last-child {
  border-bottom: none;
}

.day {
  font-weight: 400;
}

.time {
  color: #FF4D4D;
  font-weight: 700;
}

/* Menu Section */
.menu-section {
  padding: 100px 0;
  background-color: #000000;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.menu-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 280px;
  cursor: pointer;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 77, 77, 0.2);
}

.menu-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-item:hover .menu-image img {
  transform: scale(1.05);
}

/* Dark overlay for better text readability */
.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(0, 0, 0, 0.2) 0%, 
    rgba(0, 0, 0, 0.7) 70%, 
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 2;
  transition: opacity 0.3s ease;
}

.menu-item:hover::before {
  background: linear-gradient(
    180deg, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(0, 0, 0, 0.8) 70%, 
    rgba(0, 0, 0, 0.95) 100%
  );
}

.menu-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  z-index: 3;
  color: white;
}

.menu-content h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.menu-content p {
  color: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  opacity: 0.95;
}

/* About Us Section */
.about-section {
  padding: 100px 0;
  background-color: #1A1A1A;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image {
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.about-image img {
  width: 150px;
  max-width: 150px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(255, 77, 77, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
}

.about-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 77, 77, 0.3);
}

.about-text {
  color: #FFFFFF;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #CCCCCC;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Catering Section */
.catering-section {
  padding: 100px 0;
  background-color: #0A0A0A;
}

.catering-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #CCCCCC;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.catering-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
}

.form-group label {
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  background-color: #1A1A1A;
  border: 1px solid #333;
  color: #FFFFFF;
  padding: 12px 15px;
  border-radius: 6px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #FF4D4D;
  box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.2);
}

.submit-button {
  background-color: #FF4D4D;
  color: #FFFFFF;
  border: none;
  padding: 15px 30px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1rem;
  margin-top: 1rem;
}

.submit-button:hover {
  background-color: #E63946;
  transform: translateY(-1px);
}

/* Connect Section */
.connect-section {
  padding: 100px 0;
  background-color: #000000;
}

.connect-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #CCCCCC;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.connect-card {
  background-color: #1A1A1A;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.connect-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 77, 77, 0.1);
}

.connect-icon {
  color: #FF4D4D;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.connect-info h3 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  line-height: 1.4;
}

.social-section {
  text-align: center;
}

.instagram-button {
  background-color: #FF4D4D;
  color: #FFFFFF;
  border: none;
  padding: 15px 30px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.instagram-button:hover {
  background-color: #E63946;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

/* Footer */
.footer {
  background-color: #0A0A0A;
  padding: 2rem 0;
  border-top: 1px solid #333;
}

.footer p {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
    letter-spacing: 4px;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .connect-grid {
    grid-template-columns: 1fr;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image img {
    width: 120px;
    max-width: 120px;
    max-height: 150px;
  }
  
  .about-content {
    gap: 1.5rem;
  }
  
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
    letter-spacing: 3px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .location-card, .hours-card {
    padding: 1.5rem;
  }
  
  .menu-content {
    padding: 1.5rem 1rem 1rem;
  }
  
  .menu-content h3 {
    font-size: 1.2rem;
  }
  
  .menu-content p {
    font-size: 0.9rem;
  }
  
  .connect-card {
    padding: 1.5rem;
  }
}

/* High Contrast and Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Phone number link styling override */
a[href^="tel:"] {
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.connect-info h3 {
  color: #FFFFFF !important;
}

/* Ensure phone numbers in connect cards maintain white color */
.connect-card .connect-info h3 a,
.connect-card .connect-info h3 {
  color: #FFFFFF !important;
  text-decoration: none !important;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #FF4D4D;
  outline-offset: 2px;
}

/* Ensure proper contrast ratios */
::selection {
  background-color: #FF4D4D;
  color: #FFFFFF;
}