/* Start Homepage */
.mainpage{
height: 100%;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
position: relative;
}

.mainpage::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(14, 73, 183, 0.505) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(14, 73, 183, 0.505) 0%, transparent 60%),
    radial-gradient(circle at 40% 40%, rgba(135, 206, 250, 0.1) 0%, transparent 60%);
  background-size: auto, auto, auto;
  background-position: auto, auto, auto;
  background-repeat: no-repeat, no-repeat, no-repeat;
  pointer-events: none;
  z-index: -1;
}

.mainpage::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/smoker_outline_2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
}

/* Fallback for older browsers */
@supports not (background: radial-gradient(circle, red, blue)) {
  .mainpage::before {
    background: rgba(70, 130, 180, 0.05);
  }
}

/* Alternative background approach */
.mainpage {
  background-image: 
    linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3CradialGradient id='blue' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0%25' style='stop-color:%234682B4;stop-opacity:0.1' /%3E%3Cstop offset='100%25' style='stop-color:%234682B4;stop-opacity:0' /%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='20' cy='80' r='30' fill='url(%23blue)' /%3E%3Ccircle cx='80' cy='20' r='25' fill='url(%23blue)' /%3E%3Ccircle cx='40' cy='40' r='20' fill='url(%23blue)' /%3E%3C/svg%3E");
  background-size: 100% 100%, 200px 200px;
  background-repeat: no-repeat, repeat;
}

/* Ensure containers don't overflow */
.grid-container {
  overflow-x: hidden;
}

.cell {
  overflow-x: hidden;
}

/* Navigation Menu */
.top-nav {
  background: rgba(25, 55, 109, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #D4C86E;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.top-nav .menu {
  margin: 0;
}

.top-nav .menu li {
  margin: 0 5px;
}

.top-nav .menu a {
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.top-nav .menu a:hover {
  background-color: #D4C86E;
  color: #333;
}

.top-nav .menu a:focus {
  background-color: #D4C86E;
  color: #333;
}

/* Mobile menu adjustments */
@media screen and (max-width: 768px) {
  .top-nav .menu {
    text-align: center;
  }
  
  .top-nav .menu li {
    margin: 5px 0;
  }
  
  .nav-logo-img {
    max-height: 40px;
  }
}
.heading{
	font-family: sans-serif;
	color: #333;
	font-weight: bold;
}
.footertext{
	color: #333;
	font-size: 14px;
}

.logo{
	max-width: 50%;
	width: auto;
	height: auto;
	display: block;
	margin: 0 auto;
	background: rgba(0, 0, 0, 0.8);
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
/*	padding: 20px;*/
}

body, .h1, .h2, .h3, .h4, .h5, .h6{
	color: #333;
	font-family: "Open Sans", sans-serif;
}

body p{
	font-size: 17px;
}

.mainh{
	text-transform: uppercase;
	color: #D4C86E;
	font-family: "Open Sans", sans-serif;
}

.color{
background: white;
}

.reveal,.h3,.h5{
	color: #333;
}

.button{
	padding-left: 30px;
	padding-right: 30px;
	background: linear-gradient(135deg, #4682B4 0%, #5F9EA0 100%);
	color: white;
	font-size: 16px;
	box-shadow: 0 2px 8px rgba(70, 130, 180, 0.3);
/*	border-radius: 20px;*/
}

.button:hover{
	background: linear-gradient(135deg, #5F9EA0 0%, #4682B4 100%);
	box-shadow: 0 4px 12px rgba(70, 130, 180, 0.4);
	transform: translateY(-1px);
}

.button:focus{
	background: linear-gradient(135deg, #5F9EA0 0%, #4682B4 100%);
	box-shadow: 0 4px 12px rgba(70, 130, 180, 0.4);
}

.icon{
	height:16px;
	padding-left: 5px;
	padding-right: 5px;
}

/* Other */
.mtop0{margin-top: 0px;}
.mtop5{margin-top: 5px;}
.mtop10{margin-top: 10px;}
.mtop15{margin-top: 15px;}
.mtop20{margin-top: 20px;}
.mtop30{margin-top: 30px;}
.mtop40{margin-top: 40px;}
.mtop50{margin-top: 50px;}
.mbot5{margin-bottom: 5px;}
.mbot10{margin-bottom: 10px;}
.mbot20{margin-bottom: 20px;}
.mbot30{margin-bottom: 30px;}
.mbot40{margin-bottom: 40px;}
.mbot50{margin-bottom: 50px;}
.mbot60{margin-bottom: 60px;}
.pleft15{padding-left: 15px;}
.pright15{padding-right: 15px;}
.bold{font-weight: bold;}
.photo100{width: 100%;}

/* Menu Page Styles */
.menu-section {
  background: 
    linear-gradient(135deg, rgba(52, 188, 166, 0.85) 0%, rgba(52, 188, 166, 0.75) 100%);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(52, 188, 166, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.menu-item {
  padding: 20px;
  background: 
    linear-gradient(135deg, rgba(52, 188, 166, 0.8) 0%, rgba(52, 188, 166, 0.7) 100%);
  border-radius: 8px;
  border-left: 4px solid #4682B4;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.menu-item:hover {
  background: 
    linear-gradient(135deg, rgba(70, 130, 180, 0.15) 0%, rgba(70, 130, 180, 0.08) 100%);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(70, 130, 180, 0.2);
}

.menu-item h3 {
  color: #D4C86E !important;
  margin-bottom: 8px;
  font-size: 18px;
}

.menu-section h2 {
  color: #D4C86E !important;
}

/* Force colors on mobile */
@media screen and (max-width: 768px) {
  .menu-section h2,
  .menu-section h2.mainh {
    color: #D4C86E !important;
  }
  
  .menu-item h3,
  .menu-item h3.h5 {
    color: #D4C86E !important;
  }
  
  .menu-item p {
    color: #333 !important;
  }
}

/* Menu page header with background logo */
.menu-header {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(52, 188, 166, 0.85) 0%, rgba(52, 188, 166, 0.75) 100%);
  border-radius: 10px;
  padding: 40px 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.menu-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/sioux-bbq-web.png');
  background-size: 300px auto;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: -1;
  border-radius: 10px;
}

.menu-header h1,
.menu-header p {
  position: relative;
  z-index: 1;
}

.menu-item p {
  color: #333;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

/* Responsive adjustments for menu */
@media screen and (max-width: 768px) {
  .menu-section {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .menu-item {
    padding: 15px;
  }
  
  .menu-item h3 {
    font-size: 16px;
  }
  
  .menu-item p {
    font-size: 14px;
  }
  
  .logo {
    max-width: 80vw;
  }
  
  .menu-header::before {
    background-size: 200px auto;
  }
  
  .menu-header {
    padding: 30px 15px;
  }
}

/* Mobile logo adjustments */
@media screen and (max-width: 480px) {
  .logo {
    max-width: 85vw;
  }
}

@media screen and (max-width: 360px) {
  .logo {
    max-width: 90vw;
  }
}

/* Reviews Page Styles */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid rgba(52, 188, 166, 0.3);
  border-radius: 5px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4682B4;
  box-shadow: 0 0 0 2px rgba(70, 130, 180, 0.2);
}

.rating-stars {
  display: flex;
  flex-direction: row-reverse;
  gap: 5px;
}

.rating-stars input {
  display: none;
}

.rating-stars label {
  font-size: 24px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.3s ease;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label {
  color: #D4C86E;
}

.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.review-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border-left: 4px solid #4682B4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.review-title {
  color: #D4C86E !important;
  margin: 0;
  font-size: 18px;
}

.review-rating .stars {
  color: #D4C86E;
  font-size: 18px;
}

.review-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.reviewer-name {
  font-weight: 600;
  color: #333;
}

.review-text {
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* About Page Styles */
.mission-list,
.services-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.mission-list li,
.services-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(52, 188, 166, 0.2);
  position: relative;
  padding-left: 20px;
}

.mission-list li:before,
.services-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #D4C86E;
  font-weight: bold;
}

.process-step {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  margin-bottom: 20px;
}

.process-step h3 {
  color: #D4C86E !important;
  margin-bottom: 10px;
}

.feature-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  margin-bottom: 20px;
}

.feature-item h3 {
  color: #D4C86E !important;
  margin-bottom: 10px;
}

/* Contact Page Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

.contact-item .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-item h3 {
  color: #D4C86E !important;
  margin: 0 0 5px 0;
}

.contact-item p {
  margin: 0;
}

.contact-item a {
  color: #4682B4;
  text-decoration: none;
}

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

.service-areas {
  margin-top: 30px;
}

.service-areas ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.service-areas li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(52, 188, 166, 0.2);
}

.faq-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(52, 188, 166, 0.2);
}

.faq-item h3 {
  color: #D4C86E !important;
  margin-bottom: 10px;
}

.faq-item p {
  margin: 0;
  line-height: 1.6;
}

/* Gallery Page Styles */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(52, 188, 166, 0.3);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
  background: #4682B4;
  color: white;
  border-color: #4682B4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.gallery-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
}

.gallery-overlay p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.gallery-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

.stat-item h3 {
  color: #D4C86E !important;
  margin-bottom: 10px;
}

/* Admin Page Styles */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-section {
  margin-bottom: 30px;
}

.admin-section h3 {
  color: #D4C86E !important;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(52, 188, 166, 0.3);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.admin-review {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 15px;
  border-left: 4px solid #4682B4;
}

.admin-review.approved {
  border-left-color: #28a745;
}

.admin-review .review-header h4 {
  color: #D4C86E !important;
  margin: 0 0 10px 0;
  font-size: 16px;
}

.admin-review .review-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #666;
  flex-wrap: wrap;
}

.admin-review .review-text {
  margin-bottom: 15px;
  color: #333;
  line-height: 1.5;
}

.admin-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.gallery-management {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.admin-gallery-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-gallery-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.gallery-item-info {
  padding: 15px;
}

.gallery-item-info h4 {
  color: #D4C86E !important;
  margin: 0 0 5px 0;
}

.gallery-item-info p {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #666;
}

.stat-card {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #D4C86E;
  margin: 0;
}

/* Responsive adjustments for new pages */
@media screen and (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .gallery-filters {
    justify-content: center;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .admin-actions {
    flex-direction: column;
  }
  
  .gallery-management {
    grid-template-columns: 1fr;
  }

  /* Ensure reviews visibility on mobile */
  #reviewsContainer .review-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    padding: 15px !important;
    margin-bottom: 15px !important;
    min-height: 100px !important;
    overflow: visible !important;
  }

  .review-item .review-title {
    color: #D4C86E !important;
    font-size: 18px !important;
  }

  .review-item .review-text {
    color: #333 !important;
    font-size: 16px !important;
  }

  .admin-review {
    display: block !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 15px !important;
    margin-bottom: 15px !important;
  }

  .reviews-container, .reviews-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    padding: 10px !important;
  }

  .no-reviews-message {
    display: block !important;
    color: #666 !important;
    font-size: 16px !important;
    padding: 20px !important;
    text-align: center !important;
  }

  /* Additional mobile fixes */
  .mainpage {
    overflow-x: hidden !important;
  }

  .grid-container {
    width: 100% !important;
    max-width: none !important;
  }

  /* Show mobile reload button on mobile devices */
  .mobile-reload-button {
    display: block !important;
  }
}
