/* Pizza Belami - Main Stylesheet */
:root {
  --primary-color: #d32f2f;
  --secondary-color: #388e3c;
  --text-color: #333333;
  --light-color: #f9f9f9;
  --dark-color: #212121;
  --accent-color: #ffc107;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
  margin-right: 15px;
  margin-bottom: 15px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

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

.primary:hover {
  background-color: #b71c1c;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
  height: auto;
}

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

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

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;
}

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

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

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: all 0.3s;
}

/* Hero Section */
#hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/pizza-specialty.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Specialties Section */
#specialties {
  padding: 100px 0;
  background-color: white;
}

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

.specialty-item {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.specialty-item:hover {
  transform: translateY(-10px);
}

.specialty-item .img-container {
  height: 200px;
  overflow: hidden;
}

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

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

.specialty-item h3, .specialty-item p {
  padding: 0 20px;
}

.specialty-item h3 {
  margin-top: 20px;
  color: var(--primary-color);
}

.specialty-item p {
  padding-bottom: 20px;
}

/* About Section */
#about {
  padding: 100px 0;
  background-color: var(--light-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  text-align: left;
}

.about-text h2:after {
  margin-left: 0;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Games Section */
#games {
  padding: 100px 0;
  background-color: white;
}

.games-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.game-item {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-item h3 {
  color: var(--primary-color);
}

.game-links, .news-links {
  list-style: none;
  margin-top: 20px;
}

.game-links li, .news-links li {
  margin-bottom: 10px;
}

.game-links a, .news-links a {
  display: inline-block;
  padding: 5px 0;
  transition: all 0.3s;
  color: var(--secondary-color);
}

.game-links a:hover, .news-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Locations Section */
#locations {
  padding: 100px 0;
  background-color: var(--light-color);
}

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

.location-item {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.location-item h3 {
  color: var(--primary-color);
}

/* Contact Section */
#contact {
  padding: 100px 0;
  background-color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

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

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-secondary);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-info h3 {
  margin-top: 20px;
  color: var(--primary-color);
}

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

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 30px;
}

.footer-logo p {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links h3,
.footer-social h3 {
  color: white;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
}

.footer-links li,
.footer-social li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-social a {
  color: #ccc;
  transition: color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .about-content,
  .contact-content,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .games-content {
    grid-template-columns: 1fr;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .btn {
    display: block;
    width: 100%;
    margin-right: 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

/* Mobile Menu Animation */
.mobile-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}

.nav-active li {
  margin: 10px 0;
  text-align: center;
}
