/* Bella Luce Restaurant - Main Stylesheet */

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

:root {
  --primary-color: #1a1a1a;
  --secondary-color: #2d2d2d;
  --accent-color: #d4af37;
  --text-color: #333;
  --light-text: #666;
  --white: #ffffff;
  --border-color: #e0e0e0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
}

/* Header and Navigation */
header {
  background-color: var(--primary-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 14px;
  color: var(--white);
}

.header-top-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-top-left a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.header-top-left a:hover {
  color: var(--accent-color);
}

.phone-number {
  color: var(--white);
}

.find-table-btn {
  background-color: #c41e3a;
  color: var(--white);
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.find-table-btn:hover {
  background-color: #a01830;
}

.header-top-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.cart-icon {
  cursor: pointer;
  color: var(--white);
  transition: color 0.3s;
}

.cart-icon:hover {
  color: var(--accent-color);
}

/* Logo and Main Nav */
.header-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  color: var(--white);
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
  border-bottom: 3px solid transparent;
  padding-bottom: 5px;
}

nav a:hover,
nav a.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/main-table.jpg');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: normal;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 30px;
  font-style: italic;
}

.hero-content .description {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-button {
  display: inline-block;
  background-color: #1a1a1a;
  color: var(--white);
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--white);
  transition: all 0.3s;
  margin: 0 10px;
}

.cta-button:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border-color: var(--accent-color);
}

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

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: normal;
}

/* Three Column Layout */
.three-column {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.column {
  text-align: center;
}

.column h3 {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.column img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.column p {
  color: var(--light-text);
  line-height: 1.8;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border: 3px dashed var(--accent-color);
  padding: 20px;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: normal;
}

.about-text p {
  margin-bottom: 15px;
  color: var(--light-text);
  line-height: 1.8;
}

/* Menu Section */
.menu-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.menu-btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--primary-color);
  transition: all 0.3s;
  display: inline-block;
}

.menu-btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Menu Items */
.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.menu-category {
  margin-bottom: 30px;
}

.menu-category-title {
  background-color: #f5f5f5;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.menu-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

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

.menu-item-name {
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.menu-item-price {
  color: var(--text-color);
  font-weight: bold;
}

.menu-item-description {
  color: var(--light-text);
  font-size: 14px;
  font-style: italic;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  text-transform: capitalize;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Blog/News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.news-card {
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.news-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  padding: 20px;
}

.news-card-date {
  color: var(--light-text);
  font-size: 12px;
  margin-bottom: 10px;
}

.news-card-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.news-card-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.news-card-title a:hover {
  color: var(--accent-color);
}

.read-more {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.read-more:hover {
  color: var(--primary-color);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 14px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-contact-info {
  color: var(--white);
  line-height: 1.8;
}

.footer-map {
  width: 100%;
  height: 300px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

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

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

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: var(--light-text);
  font-size: 14px;
}

/* Breadcrumbs */
.breadcrumb {
  background-color: #f5f5f5;
  padding: 15px 0;
  margin-bottom: 30px;
}

.breadcrumb-list {
  display: flex;
  gap: 10px;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: var(--light-text);
}

.breadcrumb-list a {
  color: var(--accent-color);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    padding: 20px;
    gap: 10px;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-main {
    flex-wrap: wrap;
  }

  .three-column {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .menu-items {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .header-top {
    flex-direction: column;
    gap: 10px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 24px;
  }

  nav ul {
    width: 100%;
  }

  .menu-buttons {
    flex-direction: column;
  }

  .menu-btn {
    width: 100%;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none;
}

.note-box {
  background-color: #e8f4f8;
  border-left: 4px solid var(--accent-color);
  padding: 15px;
  margin-bottom: 20px;
}

.note-box strong {
  color: var(--primary-color);
}
