/* Import Google Fonts - Updated 2025-10-15 */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Kalam:wght@300;400;700&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
}

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

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  max-height: 50px;
  width: auto;
}

.brand-name {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  color: white;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #D2B48C;
}

.order-btn {
  background: #D2B48C;
  color: #8B4513;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.order-btn:hover {
  background: #F5DEB3;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  display: flex;
  min-height: 50vh;
  background: #fffaf0;
}

.hero-left {
  flex: 2;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 3rem 2rem 2rem;
}

.hero-title {
  font-family: 'Caveat', cursive;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.hero-right {
  flex: 1;
  background: #F5F5DC;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.featured-item {
  margin-bottom: 2rem;
}

.featured-title {
  font-size: 2rem;
  color: #8B4513;
  margin-bottom: 1rem;
  font-weight: bold;
}

.featured-image {
  max-width: 320px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.cta-button {
  background: #8B4513;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: #A0522D;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Menu Section */
.menu-section {
  padding: 4rem 2rem;
  background: #F5F5DC;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-header {
  text-align: center;
  margin-bottom: 3rem;
}

.menu-logo {
  max-width: 320px;
  height: auto;
  border-radius: 50%;
  margin: 0 auto -50px;
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

.menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 30px;
}

.menu-column {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-category {
  margin-bottom: 2rem;
}

.category-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #8B4513;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-subtitle {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-bottom: 1rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0;
}

.item-name {
  flex: 1;
  color: #333;
  font-size: 1rem;
}

.item-dots {
  flex: 1;
  border-bottom: 1px dotted #ccc;
  margin: 0 1rem;
  height: 1px;
}

.item-price {
  color: #8B4513;
  font-weight: bold;
  font-size: 1rem;
}

.menu-note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Order Section */
.order-section {
  padding: 4rem 2rem;
  background: #fffaf0;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 80px;
}

.order-header {
  text-align: center;
  margin-bottom: 3rem;
}

.order-title {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  color: #8B4513;
  margin-bottom: 1rem;
  font-weight: 700;
}

.order-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.order-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.form-group select,
.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #D2B48C;
  border-radius: 5px;
  font-size: 1rem;
  background: white;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: #8B4513;
}

.add-to-cart-btn {
  width: 100%;
  background: #8B4513;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #A0522D;
}

.cart {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-title {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  color: #8B4513;
  margin-bottom: 1.5rem;
  text-align: center;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
}

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

.item-info {
  flex: 1;
}

.item-name {
  font-weight: bold;
  color: #333;
}

.item-details {
  font-size: 0.9rem;
  color: #666;
}

.item-price {
  color: #8B4513;
  font-weight: bold;
}

.remove-item {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8rem;
}

.cart-total {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid #8B4513;
  text-align: center;
}

.total-amount {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  color: #8B4513;
  font-weight: bold;
}

.checkout-btn {
  width: 100%;
  background: #D2B48C;
  color: #8B4513;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.checkout-btn:hover {
  background: #F5DEB3;
}

.empty-cart {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 2rem;
}

/* Page Content */
.page-content {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Header adjustments - make it more compact */
  .nav-container {
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .brand-name {
    font-size: 1.5rem;
    line-height: 1.2;
    text-align: center;
  }
  
  .nav-left {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }
  
  .nav-left nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }
  
  .nav-links {
    flex-direction: row;
    gap: 1rem;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    flex-wrap: nowrap;
  }
  
  .nav-links li a {
    padding: 0;
  }
  
  .social-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
  
  .nav-right {
    justify-content: center;
    width: 100%;
  }
  
  .order-btn {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    background: #D2B48C;
    color: #8B4513;
    border-radius: 25px;
    white-space: nowrap;
  }
  
  /* Page content adjustment for compact header */
  .page-content {
    margin-top: 80px;
  }
  
  /* Fix header height for mobile */
  .header {
    min-height: auto;
    padding: 0.5rem 0;
  }
  
  /* Override any specific page margin-top settings for mobile */
  .menu-section {
    margin-top: 0 !important;
    padding-top: 100px !important;
  }
  
  .order-section,
  .about-content,
  .contact-content {
    margin-top: 0 !important;
  }
  
  /* Hero section mobile */
  .hero {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
    min-height: 60vh;
    margin-top: 0 !important;
    padding-top: 140px !important;
  }
  
  .hero-left {
    width: 100%;
    margin-bottom: 2rem;
    min-height: 300px;
  }
  
  .hero-right {
    width: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }
  
  .featured-image {
    max-width: 200px;
    height: auto;
  }
  
  /* Montana map mobile - fix overlap */
  .hero-right img[src*="gf_map.png"] {
    max-width: 200px !important;
    margin: 0 auto 2rem auto !important;
    display: block !important;
  }
  
  /* Menu mobile */
  .menu-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .menu-section {
    padding: 2rem 1rem;
  }
  
  .menu-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .menu-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto -30px;
    display: block;
  }
  
  .menu-category {
    margin-bottom: 2rem;
  }
  
  .category-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .menu-item {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  /* Order page mobile */
  .order-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .order-section {
    padding: 2rem 1rem;
    margin-top: 0;
  }
  
  .order-form {
    margin-bottom: 2rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
  
  .form-group input,
  .form-group select {
    font-size: 1rem;
    padding: 0.8rem;
  }
  
  .add-to-cart-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
  }
  
  /* Cart mobile */
  .cart {
    margin-top: 2rem;
  }
  
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  
  .cart-item-info {
    margin-bottom: 0.5rem;
  }
  
  .cart-item-price {
    font-size: 1rem;
  }
  
  .cart-total {
    font-size: 1.2rem;
    padding: 1rem;
  }
  
  .checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
  }
  
  /* Customer info page mobile */
  .page-content {
    padding: 2rem 1rem !important;
  }
  
  .page-content > div {
    max-width: 100% !important;
  }
  
  .page-content h1 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Force grid to single column on mobile */
  .page-content > div > div[style*="grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  
  .page-content > div > div > div {
    padding: 1.5rem !important;
  }
  
  .customer-form {
    padding: 1rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-row .form-group {
    width: 100%;
  }
  
  /* Payment methods mobile */
  .payment-methods {
    flex-direction: column;
    gap: 1rem;
  }
  
  .payment-method {
    width: 100%;
    justify-content: center;
  }
  
  /* About page mobile */
  .about-content {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .about-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 2rem auto;
    display: block;
  }
  
  .about-text {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Contact page mobile */
  .contact-content {
    padding: 2rem 1rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .social-link {
    margin: 0 1rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .brand-name {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .featured-image {
    max-width: 150px;
  }
  
  .hero-right img[src*="gf_map.png"] {
    max-width: 200px !important;
    margin: -6rem auto 1rem auto !important;
  }
  
  .menu-logo {
    max-width: 150px;
  }
  
  .category-title {
    font-size: 1.5rem;
  }
  
  .menu-item {
    font-size: 0.8rem;
  }
  
  .nav-container {
    padding: 0 0.5rem;
  }
  
  .hero {
    padding: 1rem 0.5rem;
  }
  
  .menu-section,
  .order-section,
  .about-content,
  .contact-content {
    padding: 1rem 0.5rem;
  }
}
