/* styles.css */
:root {
  --primary-color: #ff6b6b;
  --secondary-color: #feca57;
  --background-dark: #1e272e;
  --background-light: #2d3436;
  --text-color: #ffffff;
  --accent-color: #54a0ff;
}

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

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--background-dark);
  color: var(--text-color);
  line-height: 1.6;
}

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

/* Header */
header {
  background-color: rgba(30, 39, 46, 0.9);
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  max-width: 150px;
  border-radius: 20px;
}

nav ul {
  display: flex;
  list-style-type: none;
}

nav ul li {
  margin: 20px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* Language Selector */
.language-selector {
  margin-left: 20px;
}

#language-select {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}

#language-select:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  background-image: url("./assets/background.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero .container {
  position: relative;
  z-index: 1;
  background: rgba(30, 39, 46, 0.8);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-family: "Pirata One", cursive;
  font-size: 5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.about-phone-num {
  color: aliceblue;
  margin-left: 10px;

  @media screen and (max-width: 768px) {
    margin-left: 0;
  }
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #ff8c8c;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  margin: 50px auto;
  max-width: 800px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 0;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 107, 107, 0.7);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 24px;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-button:hover {
  background-color: rgba(255, 107, 107, 1);
}

.carousel-button.prev {
  left: 20px;
}

.carousel-button.next {
  right: 20px;
}

/* Sections */
section {
  padding: 80px 0;
}

h2 {
  font-family: "Pirata One", cursive;
  font-size: 3.5rem;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-align: center;
}

/* About Section */
.about {
  background-color: var(--background-light);
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* Menu Section */
.menu {
  background-color: var(--background-light);
  padding: 80px 0;
}

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

.menu-category {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.menu-category h3 {
  font-family: "Pirata One", cursive;
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.menu-category ul {
  list-style-type: none;
}

.menu-category ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.price {
  color: var(--primary-color);
  font-weight: bold;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.static-map {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  font-family: "Pirata One", cursive;
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 15px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--background-dark);
  padding: 40px 0 20px;
  color: var(--text-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.3s ease;
}

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

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.footer-social a i {
  margin-right: 0 !important;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-bottom: 10px;
  }

  .language-selector {
    margin-left: 0;
    margin-top: 10px;
    position: absolute;
    top: 10%;
    right: 0%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

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

  .contact-info {
    flex-direction: column;
  }

  .carousel {
    max-width: 100%;
  }

  .carousel-slide {
    padding-bottom: 75%; /* 4:3 aspect ratio for mobile */
  }

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

@media (min-width: 769px) {
  .footer-logo,
  .footer-links,
  .footer-contact,
  .footer-social {
    flex: 1;
    margin-bottom: 0;
  }

  .footer-links a {
    padding: 5px 0;
  }
}
