/* Custom Variables */
:root {
  --primary-color: #d4af37; /* Gold/Culinary color */
  --primary-hover: #b5952f;
  --dark-bg: #212529;
  --light-bg: #f8f9fa;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .masthead-heading {
  font-family: var(--font-heading);
}

.text-primary {
  color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--dark-bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--primary-color);
}

.loader i {
  font-size: 3rem;
  animation: pulse 1.5s infinite;
}

.loader p {
  margin-top: 15px;
  font-family: var(--font-heading);
  letter-spacing: 2px;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Navbar */
#mainNav {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border: none;
  background-color: transparent;
  transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

#mainNav .navbar-brand {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.2;
}
#mainNav .navbar-brand span {
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 300;
    color: #ccc;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
}

#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: var(--primary-color);
}

#mainNav .navbar-nav .nav-item .nav-link.btn-primary {
    color: #fff !important;
}

#mainNav.navbar-scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: var(--dark-bg);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Carousel Masthead */
.carousel-item {
  height: 100vh;
  min-height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  z-index: 10;
  text-align: center;
}
.masthead-heading {
  font-size: 4rem;
  font-weight: 700;
  line-height: 4.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.masthead-subheading {
    font-size: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.masthead-tagline {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .masthead-heading {
        font-size: 2.5rem;
        line-height: 3rem;
        margin-bottom: 1rem;
    }
    .masthead-subheading {
        font-size: 1.5rem;
    }
    .masthead-tagline {
        font-size: 1rem;
    }
}

/* Page Header */
.page-header {
  position: relative;
  height: 40vh;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.page-header-content {
  position: relative;
  z-index: 10;
  padding: 0 1rem;
  margin-top: 80px; /* Offset for fixed navbar */
}
.page-header-heading {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}
.page-header-subheading {
  font-size: 1.5rem;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  font-style: italic;
  color: var(--primary-color);
}

/* Sections */
.page-section {
  padding: 6rem 0;
}

.section-heading {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.section-subheading {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 4rem;
}

/* Custom Lists */
.custom-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 20px;
}
.custom-list li:last-child {
    border-bottom: none;
}
.custom-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Timeline */
.timeline-item {
    border-left: 2px solid var(--primary-color);
    padding-left: 20px;
    position: relative;
}
.timeline-item::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: 5px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
}
.btn-social {
    height: 2.5rem;
    width: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s;
}
.btn-social:hover {
    background-color: var(--primary-color);
}
