@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #eacac4 !important;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    padding: 1rem 0.5rem;
    width: 100vw;
    left: 0;
    right: 0;
    position: fixed;
    top: 0;
    min-width: 100vw;
    z-index: 1050;
  }
  .navbar-nav {
    flex-direction: column;
    align-items: flex-end;
  }
  .nav-item {
    width: 100%;
    text-align: right;
  }
  .nav-item:first-child {
    margin-top: 2.5rem;
  }
  .nav-link {
    color: var(--primary-color) !important;
    font-size: 1.2rem;
    padding-right: 1.5rem;
    padding-left: 0.5rem;
    text-shadow: none;
  }
  .nav-link.active {
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
  }
}
/* Mobile expanded menu background and right-aligned items */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #eacac4 !important;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    padding: 1rem 0.5rem;
  }
  .navbar-nav {
    flex-direction: column;
    align-items: flex-end;
  }
  .nav-item {
    width: 100%;
    text-align: right;
  }
  .nav-link {
    color: var(--primary-color) !important;
    font-size: 1.2rem;
    padding-right: 1.5rem;
    padding-left: 0.5rem;
    text-shadow: none;
  }
  .nav-link.active {
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
  }
}
:root {
  --primary-color: #610f18;
  --secondary-color: #8a1524;
  --text-dark: #333;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

/* Navigation styles */
.navbar {
  background-color: transparent !important;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

/* Ensure navbar-toggler is at right top on mobile */
.navbar .navbar-toggler {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  z-index: 1051;
}

.navbar.scrolled {
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.navbar-brand {
  color: var(--primary-color) !important;
  font-size: 1.5rem;
}

.nav-link {
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-link {
  color: var(--text-dark) !important;
  text-shadow: none;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600;
}

.navbar.scrolled .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Adjust section padding for fixed navbar */
section {
  scroll-margin-top: 80px;
}

section.contact-section {
  scroll-margin-top: 120px;
}

.hero-section {
  background: #610f18;
  padding: 80px 0;
  text-align: center;
  color: white;
}

.hero-image {
  width: 100%;
  height: auto;
}

.hero-title {
  color: white;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-image {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 60px 0;
}

.section.bg-light {
  background-color: #e9cbc4 !important;
}

.section-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.offer-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
}

.offer-card .card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.offer-card .card-text {
  flex-grow: 1;
  margin-bottom: 20px;
}

.offer-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Prevent blue color on .btn-primary when mouse is pressed */
.btn-primary:active,
.btn-primary:focus:active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: white !important;
  box-shadow: none !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 25px;
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.contact-section {
  background: linear-gradient(135deg, #fff5f7 0%, #ffeef2 100%);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.25);
}

footer {
  background-color: var(--text-dark);
  color: white;
  padding: 30px 0;
  text-align: center;
}

footer a {
  color: #e9cbc4;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

@media (max-width: 420px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  .col-md-6,
  .col-lg-4,
  .col-lg-6,
  .col-lg-8 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .navbar-collapse {
    width: 100% !important;
    min-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .offer-card {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
