/* Main Styles for ChinaChefNewjersey.com */
:root {
  --primary: #c62828;
  --secondary: #f9a825;
  --accent: #1b5e20;
  --dark: #212121;
  --light: #f5f5f5;
  --white: #ffffff;
  --gold: #d4af37;
  --max-width: 1200px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--secondary);
}

p {
  margin-bottom: 1rem;
}

/* Header Styles */
.header {
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--box-shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--white);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--secondary);
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
  background-image: url('hero-bg.svg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--light);
}

.btn {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--dark);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #ffb74d;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--white);
}

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

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--gold);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
  background-color: var(--primary);
  box-shadow: var(--box-shadow);
}

/* Menu Preview */
.menu-preview {
  padding: 5rem 0;
  background-color: var(--light);
}

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

.dish-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.dish-card:hover {
  transform: translateY(-10px);
}

.dish-image {
  height: 200px;
  background-color: var(--secondary);
  position: relative;
}

.dish-content {
  padding: 1.5rem;
}

.dish-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.dish-price {
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* News & Events */
.news {
  padding: 5rem 0;
  background-color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
  height: 180px;
  background-color: var(--primary);
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.news-date {
  font-size: 0.9rem;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 0.8rem;
}

.news-links {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--light);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  margin-bottom: 1rem;
}

.hours {
  margin-top: 2rem;
}

.hours h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

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

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 30px;
  width: auto;
  margin-right: 10px;
}

.footer-about {
  margin-bottom: 2rem;
}

.footer-heading {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--light);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--primary);
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translateY(-10px);
  }
  
  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .nav-menu li {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .dish-card, .news-card {
    max-width: 350px;
    margin: 0 auto;
  }
}
