:root {
  --magdalena-gold: #C89A4B;
  --magdalena-creamygold: #E2CFA3;
  --magdalena-blue: #2E3A8C;
  --magdalena-midnightblue: #1F2A5A;
  --magdalena-dustyblue: #8A94B0;
  --magdalena-creamwhite: #F8F4E9;
  --magdalena-ivorywhite: #F9F7F3;
  --magdalena-linenbeige: #EFE6D9;
  --magdalena-warmwhite: #FCFAF6;
  --magdalena-palesand: #F4EAD5;
  --magdalena-warmbeige: #E6D8B8;
  --magdalena-charcoalgray: #3B3B3B;
  --magdalena-slategray: #5A5E6B;
  --magdalena-burgundy: #800020;
  --magdalena-red: #B22222;
  --magdalena-redterracota: #B85C38;
  --magdalena-mutedterracota: #C97B4A;
  --magdalena-softcaramel: #D8B47A;
  --magdalena-warmtaupe: #BFA98A;
  --magdalena-softolive: #B9A77F;
  --magdalena-olive: #556B2F;

}

/* Magdalena Text Colors */
.text-gold              { color: var(--magdalena-gold) !important; }
.text-blue              { color: var(--magdalena-blue) !important; }
.text-mblue             { color: var(--magdalena-midnightblue) !important; }
.text-red               { color: var(--magdalena-red) !important;}
.text-burgundy          { color: var(--magdalena-burgundy) !important;}
.text-olive             { color: var(--magdalena-olive) !important;}
.text-terracota         { color: var(--magdalena-redterracota) !important;}
.text-creamwhite        { color: var(--magdalena-creamwhite) !important; }
.text-mutedterracota    { color: var(--magdalena-mutedterracota) !important; }
.text-softolive         { color: var(--magdalena-softolive) !important; }
.text-softcaramel       { color: var(--magdalena-softcaramel) !important; }
.text-palesand          { color: var(--magdalena-palesand) !important; }
.text-wbeige            { color: var(--magdalena-warmbeige) !important; }
.text-creamgold         { color: var(--magdalena-creamygold) !important; }    

/* Background Colors */

.bg-gold { background-color: var(--magdalena-gold) !important; }
.bg-creamygold { background-color: var(--magdalena-creamygold) !important; }
.bg-blue { background-color: var(--magdalena-blue) !important; }
.bg-mblue { background-color: var(--magdalena-midnightblue) !important; }
.bg-wbeige { background-color: var(--magdalena-warmbeige) !important; }
.bg-palesand { background-color: var(--magdalena-palesand) !important; }
.bg-burgundy { background-color: var(--magdalena-burgundy) !important; }
.bg-red { background-color: var(--magdalena-red) !important; }
.bg-linenbeige { background-color: var(--magdalena-linenbeige) !important; }
.bg-softolive { background-color: var(--magdalena-softolive) !important;}
.bg-mutedterracota { background-color: var(--magdalena-mutedterracota) !important;}

/* Placeholders */

.lazy-portrait {
  background: url('../images/placeholder.jpg') center center no-repeat;
  background-size: cover;  
  min-width: 180px; 
  min-height: 180px;   
}

.lazy-landscape {
  background: url('../images/placeholder-landscape.png') center center no-repeat;
  background-size: cover; 
  aspect-ratio: 16 / 9; 
  min-width: 320px;
  min-height: calc(320px * 9 / 16); 
}

.lazy-portrait-mobile {
  position: relative;
  display: block;
  width: 90%;            
  max-width: 420px;            
  margin: 0 auto 2rem auto;    
  background: url('../images/mobile-placeholder.png') center center no-repeat;
  background-size: cover;
  aspect-ratio: 9 / 16;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
}

.lazy-portrait79 {
  position: relative;
  display: block;
  width: 100%;
  max-width: 700px;             
  height: 900px;                
  margin: 0 auto 2rem auto;
  background: url('../images/79-placeholder.png') center center no-repeat;
  background-size: cover;
  border-radius: 12px;
  overflow: hidden;
}

.lazy-menu {
  width: 1080px;
  height: 720px;
  display: inline-block;
  background: url('../images/lazy-menu.png') center center / cover no-repeat;/
}


/* Fonts */

@font-face {
  font-family: 'magdalenas';
  src: url('../fonts/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'playfair';
  src: url('../fonts/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.magdalenas-font {
  font-family: 'magdalenas', serif;
}

.magdalenas-font1 {
  font-family: 'playfair', serif;
}

@font-face {
  font-family: 'magdalena';
  src: url('../fonts/Montserrat-ExtraBold.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.magdalenas-font2 {
  font-family: 'magdalena', serif;
}

@font-face {
  font-family: 'mgdln';
  src: url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.magdalenas-font3 {
  font-family: 'mgdln', serif;
}

/* Images */

.zoom-img {
  transition: transform 0.3s ease;
}

.zoom-img:hover {
  transform: scale(1.05);
}


/* ====== BASE HEADER ====== */
.main-header {
  z-index: 1050;
}

.main-navbar {
  background: transparent !important;
  /* padding: 1rem 0; */
  transition: background-color 0.3s ease;
}

/* ====== LOGO ====== */
.logo {
  width: 170px;
  height: auto;
  margin-left: 32px; 
  margin-top: 3px;
  display: block;
}

/* ====== NAV LINKS ====== */
.main-nav .nav-link {
  color: white !important;
  font-weight: 600;
  position: relative;
  text-transform: none;
  transition: color 0.3s ease;
}

.main-nav .nav-link:hover {
  color: #4152c4 !important;
}

.main-nav .nav-link.active {
  color: #fff !important;
}

.main-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #4152c4;
}


@media (min-width: 992px) {
  .close-btn {
    display: none !important;
  }
}

/* ====== TOGGLER (HAMBURGER) ====== */
.custom-toggler {
  border: none;
  outline: none;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ====== MOBILE MENU ====== */
@media (max-width: 991.98px) {
  .navbar-brand .logo {
    margin-left: 0 !important; /* remove the desktop offset */
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #C89A4B;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 40px 0;
    transition: all 0.4s ease;
  }

  .navbar-brand {
    z-index: 1070;
  }

  /* Close button (X) */
  .close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1056;
  }

  .close-btn:hover {
    color: #4152c4;
  }

  /* Mobile nav links */
  .main-nav {
    align-items: flex-start !important;
    gap: 1.4rem;
    text-align: left;
    width: 100%;
    margin-top: 40px;
  }

  .main-nav .nav-link {
    font-size: 1.4rem;
    color: white !important;
    text-align: left;
    width: 100%;
  }
}

/* Disable body scroll when menu is open */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* HERO SECTION BASE */
.hero-section {
  position: relative;
  height: 100vh;
  color: #fff;
  overflow: hidden;
  display: flex;
  z-index: 1;
}

/* Caption box */
.hero-caption.bottom-right,
.hero-caption.bottom-center {
  position: absolute;
  bottom: 40px;
  /* background: rgba(0, 0, 0, 0.6); */
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  width: auto;
  max-width: 950px;
  z-index: 2;
}

/* Positioning variants */
.hero-caption.bottom-right {
  right: 40px;
  text-align: left;
}

.hero-caption.bottom-center {
  position: absolute;
  top: 50%;                 
  left: 50%;               
  transform: translate(-50%, -50%); 
  text-align: center;
  width: 95%;
}

.mobile-buttons {
  display: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-svg img {
  width: 100px;
  height: auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  text-align: left;
}

.hero-text h1 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-text a {
  align-self: center;
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  opacity: 0.9;
}

.hero-text a:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 5; 
  }

  .hero-svg img {
    display: none;
  }

  .hero-content {
    flex-direction: column; 
    align-items: center;
    gap: 0.8rem;
  }

  .hero-svg img {
    width: 50px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .hero-text a {
    /* align-self: center;
    font-size: 0.9rem; */
    display: none;
  }
}


/* Gallery */

/* Buttons Stuff */
/* .btn:hover {
  color: #4152c4 !important; 
}

.order-btn:hover {
  color: #4152c4 !important;
}

.order-btn:hover,
.order-btn:focus,
.order-btn:active {
  background-color: #e9ecef !important; 
  color: #4152c4 !important;             
  box-shadow: none !important;           
  border-color: transparent !important;  
} */

/* Scrolling */
.scroll-effect {
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.scroll-effect.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.readmore-btn {
  background-color: #2E3A8C;
  color: #fff;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.readmore-btn:hover {
  background-color: #4152c4; 
}

.readmore-btn1 {
  background-color: #2E3A8C;
  color: #fff;
  display: block;
  text-align: center;
  padding: 18px 24px;     
  font-size: 1.1rem;      
  font-weight: 600;
  border-radius: 10px;
  width: 75%;             
  max-width: 350px;      
  margin: 0 auto;         
  text-decoration: none;
  color: #fff;     
}

.readmore-btn2 {
  background-color: none;
  color: #fff;
  display: block;
  text-align: center;
  padding: 18px 24px;     
  font-size: 1.1rem;      
  font-weight: 600;
  border-radius: 10px;
  width: 75%;             
  max-width: 350px;       
  margin: 0 auto;         
  text-decoration: none;
  color: #fff;    
  border: 2px solid #fff;
}

/* Carousel Buttons with light background */

.carousel-control-prev,
.carousel-control-next {
  background-color: rgba(255, 255, 255, 0.3); 
  border-radius: 50%; 
  width: 45px;
  height: 45px;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  cursor: pointer;
  z-index: 5;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.carousel-btn.prev {
  left: 80px; 
}

.carousel-btn.next {
  right: 80px; 
}

/* Events */

.event-card h5 {
  color: #1F2A5A; 
  transition: color 0.3s ease;
}

.event-card:hover h5 {
  color: #4152c4; 
}

.event-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

/* Menu */
.menu-link {
    color: #C89A4B; 
    text-decoration: none;
    transition: color 0.3s ease;
  }

.menu-link:hover {
  color: #4152c4; 
}

.menu-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; 
} 

.menu-btn {
  background-color: #F8F4E9;      
  color: #C89A4B;                 
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  padding: 0.6rem 1.8rem;
  box-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0 5px;                
}

.menu-btn:focus,
.menu-btn:active {
  outline: none;
  box-shadow: none;
}

.menu-btn.active {
  background-color: #F8F4E9;     
  color: #800020 ;                 
  border: none;
}

.menu-btn:hover {
  opacity: 0.9;
}

.menuv2 .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menuv2 .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.1);
}

/* Modal */
#itemModal .modal-dialog {
  max-width: 80%;
  margin: auto;
}

@media (max-width: 768px) {
  #itemModal .modal-dialog {
    max-width: 95%; 
    margin: 1rem auto; 
  }
}

a.special-link:hover {
  color: #4152c4 !important;
}

a.special-link1:hover {
  color: #4152c4 !important;
}


/* Modal */
.btn-close {
  background-color: rgba(0, 0, 0, 0.4); 
  border-radius: 50%;                    
  padding: 0.5rem;                       
  transition: background-color 0.2s ease;
  box-shadow: none;
}

.btn-close:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.menu-nav h2 {
  font-size: 1.75rem;
}

@media (max-width: 768px) {
  .menu-nav {
    gap: 1.5rem; /* tighter gap on mobile */
  }
  .menu-nav h2 {
    font-size: 1.25rem; /* smaller font size */
  }
  .menu-nav a {
    display: block;
    padding: 0.25rem 0;
  }
}

html {
  scroll-behavior: smooth;      /* smooth animation */
  scroll-padding-top: 50px;     /* adjust to match your header/nav height */
}

@media (max-width: 768px) {
  .preferred-space-group {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .preferred-space-group label {
    width: 100%;
    text-align: center;
  }
}

.carousel-caption.bottom-right {
  position: absolute;
  bottom: 40px;
  right: 40px;
  left: auto !important;
  transform: none;
  max-width: 400px;
  margin: 0;
  text-align: center;         
  background: rgba(0,0,0,0.6);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  width: fit-content;
}

.carousel-caption.bottom-right h3 {
  font-weight: 700;
  color: #fff;
  line-height: 1;        
  margin: 0;             
  display: flex;         
  align-items: center;   
  justify-content: center;
  height: 100%;         
}

.carousel-caption.bottom-right h3 {
  font-weight: 700;
  color: #fff;
}

.carousel-caption.bottom-right p {
  color: #fff;
  margin-bottom: 0.5rem;
}

.carousel-caption.bottom-right .badge {
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
}

@media (max-width: 768px) {
  .carousel-caption.bottom-right {
    bottom: 20px;
    right: 20px;
    max-width: 90%;
    width: auto;
    padding: 0.8rem;
    text-align: center;
  }

  .carousel-caption.bottom-right h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }
}

.carousel-item img {
  width: 100%;
  height: 96vh; 
  object-fit: cover;
}

.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 2;
}

.carousel-item .dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); 
  z-index: 1;
}

.carousel-item .carousel-caption {
  position: absolute;
  z-index: 2; 
}

.preferred-space {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Pill-style wrapper */
.select-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between circle and text */
  background-color: #C89A4B;
  border: 1px solid #F4EAD5;
  border-radius: 50px;
  padding: 4px 12px;
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease-in-out;
}

/* Make the radio buttons small */
.select-custom .form-check-input {
  width: 12px;
  height: 12px;
  accent-color: #C89A4B; 
  border: 1px solid #F4EAD5;
  cursor: pointer;
}

/* Hover and active styles */
.select-custom:hover {
  background-color: #C89A4B;
  color: #fff;
  border-color: #F4EAD5;
}

/* When radio is selected */
.select-custom .form-check-input:checked {
  accent-color: #4152c4;
}

.select-custom:has(.form-check-input:checked) {
  background-color: #C89A4B;
  color: #fff;
  border-color: #F4EAD5;
}

.carousel-caption.bottom-center {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 350px; 
  margin: 0 auto;
  text-align: center;         
  background: rgba(0,0,0,0.6);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  width: 100%;
}

.btn-custom {
  --bs-btn-color: #fff;
  --bs-btn-bg: #2E3A8C;
  --bs-btn-border-color: #2E3A8C;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2E3A8C;
  --bs-btn-hover-border-color: #2E3A8C;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #2E3A8C;
  --bs-btn-active-bg: #2E3A8C;
  --bs-btn-active-border-color: #2E3A8C;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #2E3A8C;
  --bs-btn-disabled-border-color: #2E3A8C;
}
.text-red {
  color: #cc0000;
}
.myday {
  width: calc(100% / 7);
  border: 0px solid #CCCCCC;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  transform: scale(0.95);
}
.mydaydisable {
  width: calc(100% / 7);
  border: 0px solid #CCCCCC;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  transform: scale(0.95);
  background-color: #E9EAEB;
}