/* Base Styles */
:root {
  --primary: #ff3333;
  --primary-dark: #cc0000;
  --text: #ffffff;
  --text-secondary: #dddddd;
  --bg-gradient: linear-gradient(135deg, #000000, #333333, #990000);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --section-padding: clamp(2rem, 5vw, 4rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-gradient);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

section {
  padding: var(--section-padding) 0;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 0.8rem 0;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  height: 30px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: rotate(-5deg);
}

.restaurant-name {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
}

#navbar {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  transition: all 0.4s ease;
}

#navbar a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

#navbar a:hover {
  color: var(--primary);
}

#navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

#navbar a:hover::after {
  width: 100%;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mode-toggle, .menu-toggle {
  cursor: pointer;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  transition: all 0.3s ease;
  background: none;
  border: none;
}

.mode-toggle:hover, .menu-toggle:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
}

#navbar.active {
  right: 0;
}

@media (max-width: 992px) {
  #navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    z-index: 1100;
  }

  .menu-toggle {
    display: block;
  }

  .cta-button {
    display: none;
  }

  .nav-wrapper {
    padding: 0 1rem;
  }
}

/* The rest of your CSS remains unchanged and will render correctly */


.logo-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  height: 30px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: rotate(-5deg);
}

.restaurant-name {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
}

#navbar {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

#navbar a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

#navbar a:hover {
  color: var(--primary);
}

#navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

#navbar a:hover::after {
  width: 100%;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mode-toggle, .menu-toggle {
  cursor: pointer;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  transition: all 0.3s ease;
}

.mode-toggle:hover, .menu-toggle:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.cta-button {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: 0.6rem clamp(0.8rem, 1.5vw, 1.2rem);
  border-radius: 4px;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,51,51,0.4);
}

/* Hero Section */
#careers-hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), 
              url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* For header space */
}

#careers-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 50%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

#careers-hero h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

#careers-hero p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

/* Jobs Section */
.jobs-section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}
/* Ensure job cards and benefit items are visible by default */
.job-card,
.benefit-item {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Add this to make sure the grid layouts work properly */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

/* Add proper spacing between sections */
.jobs-section {
  padding: 4rem 0;
}

/* Make sure container has proper padding */
.container {
  padding: 0 1.5rem;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.job-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(30px);
}

.job-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.job-card:nth-child(1) { transition-delay: 0.1s; }
.job-card:nth-child(2) { transition-delay: 0.2s; }
.job-card:nth-child(3) { transition-delay: 0.3s; }
.job-card:nth-child(4) { transition-delay: 0.4s; }

.job-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 30px rgba(255, 51, 51, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.job-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.job-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.job-details {
  color: var(--text-secondary);
}

.job-details p {
  margin-bottom: 1rem;
}

.job-details ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.job-details li {
  margin-bottom: 0.5rem;
}

.salary-range {
  background: rgba(255, 51, 51, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

/* Benefits Section */
.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 2rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.benefit-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-item:nth-child(1) { transition-delay: 0.1s; }
.benefit-item:nth-child(2) { transition-delay: 0.2s; }
.benefit-item:nth-child(3) { transition-delay: 0.3s; }
.benefit-item:nth-child(4) { transition-delay: 0.4s; }

.benefit-item:hover {
  background: rgba(255, 51, 51, 0.1);
  transform: translateY(-5px) !important;
}

.benefit-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.benefit-item p {
  color: var(--text-secondary);
}

/* Application Form */
#careers-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px var(--primary);
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text);
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 51, 51, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

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

/* Mobile Menu */
.menu-toggle {
  display: none;
  z-index: 1001;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  #navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
    padding: 2rem;
  }

  #navbar.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .cta-button {
    display: none;
  }

  .hero-content {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  #careers-hero {
    min-height: 500px;
  }

  .job-card, .benefit-item {
    padding: 1.5rem;
  }

  #careers-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  #careers-hero h2 {
    font-size: 2rem;
  }

  #careers-hero p {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .job-icon, .benefit-item i {
    font-size: 2rem;
  }

  .job-card h3, .benefit-item h3 {
    font-size: 1.3rem;
  }
}

.error-message {
  color: #ff3333;
  font-size: 0.8rem;
  margin-top: 5px;
}

.form-feedback {
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
}

.form-feedback.success {
  background-color: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.form-feedback.error {
  background-color: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

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