/* Main CSS file for My Cat Space Cafe */
:root {
  --primary-color: #6b4226;
  --secondary-color: #d7a876;
  --accent-color: #f6b5ba;
  --text-color: #32230f;
  --light-color: #fff8f0;
  --dark-color: #32230f;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Preloaded fonts */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459Wlhzg.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/playfairdisplay/v30/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiukDT.ttf') format('truetype');
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

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

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

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

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

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

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  color: var(--light-color);
  font-size: 1.5rem;
  margin: 0;
}

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

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

.nav-links a {
  color: var(--light-color);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-color);
}

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

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--light-color);
  margin: 5px 0;
  transition: 0.4s;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(107, 66, 38, 0.7), rgba(107, 66, 38, 0.7)), url('https://images.pexels.com/photos/982350/pexels-photo-982350.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  color: var(--light-color);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--light-color);
}

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

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--dark-color);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

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

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

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Menu Section */
.menu {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.menu h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.menu-item {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-item-content {
  padding: 1.5rem;
}

.menu-item-content h3 {
  margin-bottom: 0.5rem;
}

.menu-item-content p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

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

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

.cats h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.cat-profile {
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  padding-bottom: 1rem;
  transition: transform 0.3s ease;
}

.cat-profile:hover {
  transform: translateY(-5px);
}

.cat-profile img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.cat-profile-content {
  padding: 1.5rem;
}

.cat-profile-content h3 {
  margin-bottom: 0.5rem;
}

/* Games Section */
.games {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.games h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--dark-color);
}

.games-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.games-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.game-link {
  background-color: var(--light-color);
  padding: 1rem;
  border-radius: 5px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.game-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

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

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

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 3rem 0;
}

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

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

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

.footer-logo h3 {
  color: var(--light-color);
  margin: 0;
}

.footer-section h4 {
  color: var(--light-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

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

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

.footer-links a {
  color: var(--light-color);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

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

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

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background-color: var(--primary-color);
    width: 100%;
    height: calc(100vh - 70px);
    padding: 2rem;
    transition: right 0.5s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .logo h1 {
    font-size: 1.25rem;
  }

  .logo img {
    height: 40px;
  }

  .about-text h2, 
  .menu h2, 
  .cats h2, 
  .games h2, 
  .contact h2 {
    font-size: 2rem;
  }
}
