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

html, body {
  height: 100%;
}

body {
  line-height: 1.5;
  font-family: Arial, sans-serif; /* Set a default font family */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #b8a67d;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit; /* Ensure form elements inherit the font */
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

@font-face { font-family: AlpengeistJF; src: url('/fonts/AlpengeistJF.ttf'); }

body {
  background-color: #000000;
  font-size: 100%;
}

#mainContent {
  width: 80%;
  min-height: 800px;
  margin: 0 auto;
  border: 1px solid #000;
  background-color: #b8a67d;
}

.mainHeader {
  width: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("/imgs/wall-of-bricks.jpg");
  background-repeat: no-repeat;
  background-color: #000000;
  display: flex; 
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

#logo {
  margin: 60px 0 0 60px;
  padding: 0;
}

.contact-info-wrapper {
  display: flex;
  justify-content: flex-end; /* Align the containing element to the right */
  padding-right: 20px; /* Add space from the edge of the page */
}

.contact-info {
  text-align: left; /* Left-align the text inside the element */
  color: white !important;
  font-size: 1.5rem !important; /* Increase the font size and use !important */
  font-weight: 900 !important; /* Make the font weight heavier and use !important */
  line-height: 2 !important; /* Increase line height for more spacing between lines */
  padding-right: 20px; /* Padding inside the element */
  margin-right: 20px; /* Margin to add space from the right edge of the page */
  max-width: 300px; /* Increase the width of the container */
}

.contact-info p {
  margin: 0;
}

.contact-info a {
  color: white !important;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info .social-icon {
  width: 32px !important; /* Increase icon size and use !important */
  height: 32px !important;
  vertical-align: middle;
  margin-right: 10px; /* Space between icons */
  display: inline-block; /* Make icons inline */
}

/* Responsive adjustments */
@media only screen and (max-width: 600px) {
  .contact-info {
    font-size: 1rem !important; /* Increase the font size and use !important */
    padding-right: 10px; /* Smaller padding on smaller screens */
  }
  .contact-info .social-icon {
    width: 15px;
    height: 15px;
  }
}

@media only screen and (min-width: 600px) and (max-width: 992px) {
  .contact-info {
    font-size: 1rem;
    padding-right: 15px;
  }
  .contact-info .social-icon {
    width: 15px;
    height: 15px;
  }
}

.mainWrapper {
  padding: 0;
  margin: 0;
}

/* Navigation Menu */
.main-nav {
  background: linear-gradient(180deg, #1f120c 0%, #2d1f13 100%);
  border-top: 2px solid #6b5538;
  border-bottom: 3px solid #6b5538;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 100;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav li {
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 18px 25px;
  color: #b8a67d;
  text-decoration: none;
  font-family: AlpengeistJF, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(203, 185, 144, 0.15);
  color: #f4e4c1;
  border-bottom-color: #d9534f;
}

.main-nav a:active {
  background: rgba(203, 185, 144, 0.25);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid #b8a67d;
  color: #b8a67d;
  padding: 10px 20px;
  margin: 10px auto;
  cursor: pointer;
  font-family: AlpengeistJF, Arial, sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(203, 185, 144, 0.2);
  border-color: #f4e4c1;
  color: #f4e4c1;
}

.menu-toggle span {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 5px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: currentColor;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  bottom: -6px;
}

/* Location Section */
.location-section {
  padding: 40px 20px;
  background: linear-gradient(135deg, #c2b18c 0%, #b8a67d 100%);
  margin: 0;
  border-top: 3px solid #6b5538;
  border-bottom: 3px solid #6b5538;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

.location-section h2 {
  font-family: AlpengeistJF, Arial, sans-serif;
  font-size: 2.5rem;
  text-align: center;
  color: #1f120c;
  margin-bottom: 20px;
  text-decoration: underline;
  text-decoration-color: #d9534f;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

#location-map {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid #b8a67d;
}

#location-info {
  text-align: center;
  padding: 15px;
  background: rgba(31, 18, 12, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(107, 85, 56, 0.3);
}

#location-info .loading {
  color: #666;
  font-style: italic;
}

#location-info .address {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1f120c;
  margin-bottom: 10px;
}

#location-info .description {
  color: #2d1f13;
  font-size: 1rem;
  margin-bottom: 10px;
}

#location-info .updated {
  font-size: 0.9rem;
  color: #6b5842;
}

#location-info .error {
  color: #d9534f;
  font-weight: bold;
}

.rowContents {
  height: 400px;
  padding: 0;
  margin: 0;
  clear: both;
}

.product {
  position: relative;
  height: 400px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product-odd {
  background-position: left;
}

.product-even {
  background-position: right;
}

.productWriteup {
  width: 40%;
  height: 100%;
  background: rgba(184, 166, 125, 1);
  border-radius: 25px;
  padding: 30px 40px;
  font-size: 1.1rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.productWriteup-left {
  float: left;
  margin-right: 20px;
}

.productWriteup-right {
  float: right;
  margin-left: 20px;
}

.productWriteup h1 {
  text-decoration: underline;
  text-decoration-color: red;
  font-family: AlpengeistJF, Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 15px 0;
}

.productWriteup p {
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.productWriteup p span {
  font-size: 1em;
  display: block;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  #mainContent {width: 100%;}
  .mainHeader {background-size: 300px;}
  .mainHeader #logo {width: 100px;margin: 5px 0 0 10px;}
  
  /* Mobile Navigation */
  .menu-toggle {display: block; text-align: center;}
  .main-nav ul {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav ul.show {
    max-height: 500px;
  }
  .main-nav li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(139, 111, 71, 0.3);
  }
  .main-nav a {
    padding: 15px;
    border-bottom: none;
  }
  
  .location-section {margin: 0; padding: 20px 10px; border-radius: 0;}
  .location-section h2 {font-size: 1.5rem;}
  #location-map {height: 250px;}
  .rowContents {height: auto; min-height: 300px;}
  .product {height: auto; min-height: 300px;}
  .productWriteup {
    width: 90%;
    height: auto;
    margin: 20px auto;
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    float: none !important;
  }
  .productWriteup h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .productWriteup p span {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .contact-info {
    font-size: 0.8rem;
    padding-right: 15px;
  }
  .contact-info .social-icon {
    width: 15px;
    height: 15px;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  #mainContent {width: 100%;}
  .mainHeader {background-size: 500px;}
  .mainHeader #logo {width: 200px;margin: 5px 0 0 30px;}
  
  /* Mobile Navigation for tablets */
  .menu-toggle {display: block; text-align: center;}
  .main-nav ul {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav ul.show {
    max-height: 500px;
  }
  .main-nav li {
    width: 100%;
    text-align: center;
  }
  
  .location-section {margin: 0; padding: 30px 15px; border-radius: 0;}
  .location-section h2 {font-size: 2rem;}
  #location-map {height: 300px;}
  .rowContents {height: auto; min-height: 350px;}
  .product {height: auto; min-height: 350px;}
  .productWriteup {
    width: 70%;
    height: auto;
    margin: 25px auto;
    padding: 25px 30px;
    font-size: 1rem;
    line-height: 1.5;
  }
  .productWriteup h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  .productWriteup p span {
    font-size: 1rem;
    line-height: 1.5;
  }
  .contact-info {
    font-size: 0.8rem;
    padding-right: 15px;
  }
  .contact-info .social-icon {
    width: 15px;
    height: 15px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  #mainContent {width: 100%;}
  .mainHeader {background-size: 700px;}
  .mainHeader #logo {width: 300px;margin: 10px 0 0 40px;}
  
  /* Desktop Navigation */
  .menu-toggle {display: none;}
  .main-nav ul {
    flex-direction: row;
    max-height: none;
    overflow: visible;
  }
  .main-nav li {
    width: auto;
  }
  
  .location-section {margin: 0; padding: 40px 20px; border-radius: 0;}
  .location-section h2 {font-size: 2.5rem;}
  #location-map {height: 350px;}
  .rowContents {height: 400px;}
  .product {height: 400px;}
  .productWriteup {
    width: 55%;
    height: 100%;
    padding: 30px 40px;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  .productWriteup h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  .productWriteup p span {
    font-size: 1.05rem;
    line-height: 1.6;
  }
  .contact-info {
    font-size: 0.8rem;
    padding-right: 15px;
  }
  .contact-info .social-icon {
    width: 15px;
    height: 15px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  #mainContent {width: 80%;}
  .mainHeader {background-size: 800px;}
  .mainHeader #logo {width: 300px;margin: 10px 0 0 60px;}
  .rowContents {height: 400px;}
  .product {height: 400px;}
  .productWriteup {
    width: 50%;
    height: 100%;
    padding: 30px 40px;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  .productWriteup h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  .productWriteup p span {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  #mainContent {width: 80%;}
  .mainHeader {background-size: 800px;}
  .mainHeader #logo {width: 300px;margin: 10px 0 0 60px;}
  .rowContents {height: 400px;}
  .product {height: 400px;}
  .productWriteup {
    width: 40%;
    height: 100%;
    padding: 30px 40px;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  .productWriteup h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  .productWriteup p span {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

/* Below this is the footer section of the CSS. */

/* Page Content Styles */
.page-content {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid #6b5538;
}

.page-header h1 {
  font-family: AlpengeistJF, Arial, sans-serif;
  font-size: 3rem;
  color: #1f120c;
  margin: 0 0 10px 0;
  text-decoration: underline;
  text-decoration-color: #d9534f;
}

.page-header .subtitle {
  font-size: 1.2rem;
  color: #6b5842;
  font-style: italic;
}

.content-section {
  background: transparent;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.content-section h2 {
  font-family: AlpengeistJF, Arial, sans-serif;
  font-size: 2rem;
  color: #1f120c;
  margin: 30px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #c2b18c;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: 1.5rem;
  color: #2d1f13;
  margin: 20px 0 10px 0;
}

.content-section p {
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.content-section a {
  color: #d9534f;
  text-decoration: none;
  font-weight: bold;
}

.content-section a:hover {
  text-decoration: underline;
}

.content-section ul {
  line-height: 1.8;
  color: #333;
  margin: 15px 0;
  padding-left: 25px;
}

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

/* Menu Page Styles */
.menu-item {
  background: rgba(255, 255, 255, 0.3);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 4px solid #d9534f;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.item-header h3 {
  margin: 0;
  color: #1f120c;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #d9534f;
}

.item-description {
  color: #2d1f13;
  margin-bottom: 10px;
}

.item-options {
  font-size: 0.95rem;
  color: #6b5842;
  font-style: italic;
}

.sides-list {
  columns: 2;
  column-gap: 30px;
}

.menu-note {
  background: #fff3cd;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #d9534f;
  margin-top: 30px;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info-box,
.contact-form-box {
  background: rgba(255, 255, 255, 0.3);
  padding: 25px;
  border-radius: 8px;
}

.contact-method {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d4c5a0;
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method h3 {
  margin: 0 0 10px 0;
  color: #1f120c;
}

.contact-method .note {
  font-size: 0.9rem;
  color: #6b5842;
  font-style: italic;
  margin-top: 5px;
}

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

.contact-form label {
  display: block;
  margin-bottom: 5px;
  color: #1f120c;
  font-weight: bold;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #c2b18c;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6b5538;
}

.btn-submit {
  background: #d9534f;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #c9302c;
}

.form-note {
  font-size: 0.9rem;
  color: #6b5842;
  margin-top: 10px;
}

/* Catering Page Styles */
.package {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.4));
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 2px solid #6b5538;
}

.package h3 {
  font-size: 1.8rem;
  margin: 0 0 15px 0;
  color: #1f120c;
}

.sides-grid {
  columns: 2;
  column-gap: 30px;
  list-style-position: inside;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #d4c5a0;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #d9534f;
  color: white !important;
}

.btn-primary:hover {
  background: #c9302c;
  color: white !important;
  text-decoration: none;
}

.btn-secondary {
  background: #6b5538;
  color: white !important;
}

.btn-secondary:hover {
  background: #5a4730;
  color: white !important;
  text-decoration: none;
}

/* Gallery Page Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

.gallery-caption {
  padding: 15px;
  text-align: center;
  color: #1f120c;
  font-weight: bold;
}

.gallery-cta {
  text-align: center;
  margin: 40px 0;
}

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

/* Responsive page styles */
@media only screen and (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .sides-list,
  .sides-grid {
    columns: 1;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

footer {
  width: 100%;
  clear: both;
  text-align: center;
  padding: 40px 0;
}
