/* Custom LaLiT Hotel Styles */

/* Font Faces */
@font-face {
  font-family: 'Avenir-Next';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/Avenir-Next-Font/Avenir-Next-Regular.otf") format("opentype");
}

@font-face {
  font-family: 'Avenir-Next';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/Avenir-Next-Font/Avenir-Next-It.otf") format("opentype");
}

@font-face {
  font-family: 'Avenir-Next';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/Avenir-Next-Font/Avenir-Next-Bold.otf") format("opentype");
}

/* Button Styles */
.ct-btn {
  font-family: 'Avenir-Next', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  border: 1px solid #000;
  color: #fff;
  background-color: #000;
  text-decoration: none;
  font-size: 14px;
}

/* Primary Navigation Styles */
.carousel-nav-menu {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 20;
  color: white;
}

.carousel-nav-menu .nav-link {
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 5px;
  border-radius: 5px;
  padding: 8px 16px;
}

.carousel-nav-menu .nav-link:hover {
  background-color: #0d6efd;
  color: white;
}

.carousel-nav-menu .nav-link.active {
  background-color: transparent;
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.logo img {
  max-height: 50px;
  width: auto;
}

.nav-left,
.nav-right {
  min-width: 200px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Mobile responsive navigation */
@media (max-width: 991px) {
  .nav-left,
  .nav-right {
    min-width: auto;
    flex: 0 0 auto;
  }
  
  .logo {
    flex: 1;
    text-align: center;
  }
  
  .logo img {
    max-height: 40px;
  }
}

/* Primary navigation container height */
.carousel-nav-menu > .d-flex {
  min-height: 70px;
  padding: 1.5rem;
  border-bottom: .0625rem solid #fff3;
}

/* Secondary Navigation Styles */
.secondary-nav {
  position: relative;
  width: 100%;
  z-index: 15;
  background: transparent;
  margin-top: 25px;
}

.secondary-nav-links .nav-link {
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  margin: 0 8px;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.secondary-nav-links .nav-link:hover {
  color: white;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: translateY(-2px);
}

.secondary-nav-links .nav-link.active {
  color: white;
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hide secondary nav on mobile */
@media (max-width: 991px) {
  .secondary-nav {
    display: none;
  }
  
  /* Ensure proper spacing for mobile navigation */
  .carousel-nav-menu > .d-flex {
    padding: 1rem;
  }
  
  /* Make sure logo is properly centered and visible */
  .carousel-nav-menu .d-flex {
    position: relative;
  }
  
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
}

/* Hero Banner Styles */
.hero-banner {
  height: 38.563rem;
  overflow: hidden;
}

.hero-content {
  z-index: 5;
}

.hero-overlay {
  z-index: 1;
}

.hero-image img {
  z-index: 0;
}

.hero-buttons .btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-buttons .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.hero-buttons .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.2);
  border-color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem !important;
  }
  
  .hero-content .lead {
    font-size: 1.1rem !important;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
  
  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
}

.header-title-line.tagline-line {
  margin: 0 auto;
}

.header-title-line {
  background-color: #a7a9a8;
  height: .0625rem;
  margin: 0 auto 3rem;
  width: 5.875rem;
}

.benefit-card {
  text-align: left;
}

.image-wrapper {
  overflow: hidden;
  border-radius: 0.375rem; /* matches Bootstrap's rounded class */
}

.benefit-card img {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
}

.benefit-card:hover img {
  transform: scale(1.05);
}

.benefit-card:hover .border-anima {
  width: 100%;
}

.border-anima {
  background-color: #a7a9a8;
  height: .0625rem;
  margin: 1rem 0;
  transition: width .7s;
  width: 0;
}

/* Two Button Section Styles */
.two-btn .btn {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.5s ease-in;
  border: 1px solid #000;
}

.two-btn .btn:first-child {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.two-btn .btn:last-child {
  background-color: #fff;
  color: #000;
  border-color: #000;
}

.two-btn .btn:hover {
  background-color: #ebe3d7 !important;
  color: #000 !important;
  border-color: #ebe3d7 !important;
  transform: translateY(-2px);
}

/* Button Tag Styles */
.btn {
  border: 1px solid #0000;
  border-radius: .25rem;
  border-color: #6c757d;
}

/* List Item Styles - Only for content lists, not navigation */
.benefit-card ul li,
section ul li:not(.nav-item) {
  font-size: 14px;
}

.benefit-card ul li::before,
section ul li:not(.nav-item)::before {
  background-color: #c6aa76;
  content: "";
  display: inline-block;
  height: .0625rem;
  margin-bottom: .3125rem;
  margin-right: .625rem;
  min-width: .5rem;
}

/* Footer Social Links */
.social-link {
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(33, 35, 34, 0.1);
}

.social-link:hover {
  background-color: #c6aa76;
  color: #000 !important;
  transform: translateY(-2px);
}

/* Page Content Styles for Public Pages */
.page-content {
  color: #212322;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  color: #212322;
  margin-bottom: 1rem;
  margin-top: 2rem;
  font-weight: 600;
}

.page-content h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid #c6aa76;
  padding-bottom: 0.5rem;
}

.page-content h2 {
  font-size: 2rem;
  color: #c6aa76;
}

.page-content h3 {
  font-size: 1.5rem;
}

.page-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.page-content blockquote {
  background-color: #f5f0eb;
  border-left: 4px solid #c6aa76;
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #212322;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.page-content ul li,
.page-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.page-content ul li::marker {
  color: #c6aa76;
}

.page-content a {
  color: #c6aa76;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.page-content a:hover {
  color: #212322;
  border-bottom-color: #c6aa76;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-content table th,
.page-content table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f5f0eb;
}

.page-content table th {
  background-color: #f5f0eb;
  color: #212322;
  font-weight: 600;
}

.page-content code {
  background-color: #f5f0eb;
  color: #212322;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Avenir-Regular', monospace;
}

.page-content pre {
  background-color: #f5f0eb;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.page-content pre code {
  background-color: transparent;
  padding: 0;
}

/* Login Modal Styling */
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 1rem);
}

#loginModal .modal-content {
  max-width: 400px;
  margin: 0 auto;
}

#loginModal .form-control:focus {
  border-color: #c6aa76;
  box-shadow: 0 0 0 0.2rem rgba(198, 170, 118, 0.25);
}

#loginModal .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#loginModal .btn-outline-dark:hover {
  background-color: #c6aa76;
  border-color: #c6aa76;
  color: #fff;
}

#loginModal .btn[type="submit"]:hover {
  background-color: #1a1a1a;
}

/* Modal backdrop */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}