:root {
  --gold: #d4af37;
  --sort-mill-font: "Sorts Mill Goudy";
  --cormorant-font: "Cormorant Garamond";
}

body {
  font-family: var(--sort-mill-font), serif;
  background-color: #fff;
  color: #000;
  line-height: 1.6;
}

header,
footer,
.dark-section {
  background-color: #0b081e;
  color: #fff;
}

header h2 {
  font-weight: 700;
  letter-spacing: 2px;
}

header p {
  font-size: 14px;
  letter-spacing: 3px;
  color: #d4af37;
}

.navbar-nav .nav-link {
  color: #fff !important;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0 15px;
  letter-spacing: 1px;
}

.navbar-nav .nav-link:hover {
  color: #d4af37 !important;
}

/* Megamenu Styles */
.megamenu {
  position: static !important;
}

.megamenu-content {
  width: 100%;
  left: 0;
  right: 0;
  top: 100%;
  background-color: #fff;
  padding: 20px 0;
  display: none;
  border-radius: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.megamenu-content .dropdown-item {
  background: transparent;
  color: #000;
  padding: 10px;
  transition: all 0.3s ease;
}

.megamenu-content .dropdown-item:hover {
  background: #f8f9fa;
  color: var(--gold);
}

.megamenu-content .dropdown-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 150px;
  object-fit: contain;
}

.megamenu-content .dropdown-item span {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  text-transform: uppercase;
  font-family: var(--cormorant-font);
  font-size: 1.2rem;
}

.dropdown-toggle::after {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  height: 100vh; /* Full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  object-fit: cover;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Overlay for better text visibility */
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.btn-gold {
  background-color: #d4af37;
  border: none;
  color: #000;
}

.btn-gold:hover {
  background-color: #b9972f;
  color: #000;
}

.history-section {
  margin: 150px 0 0;
}

.section-title {
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1.5;
  color: #0b081e;
}

.dark-section .section-title {
  color: #fff;
}

.history-section p {
  font-size: 18px;
  line-height: 1.6;
  padding-right: 15%;
}

.history-section img {
  max-width: 100%;
  border-radius: 5px;
  transform: scale(1.25);
}

/* Timeline */
.timeline {
  background: #f2f2f2;
  padding: 100px 0 50px;
}

.timeline h3 {
  padding-left: 180px;
  padding-top: 100px;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1.5;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.timeline-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 610px;
}

.timeline-img {
  max-height: 250px;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.timeline-card h6 {
  font-weight: 300;
  font-size: 1.8rem;
}

.timeline-card p.sub-heading {
  font-weight: 500;
  font-size: 1.5rem;
}

.timeline-card p {
  font-size: 1.15rem;
}

.timeline-year {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.swiper-pagination {
  bottom: -30px !important;
}

.services img,
.collection img {
  max-width: 100%;
  border-radius: 5px;
}

/* Appointment */
.appointment-section {
  padding: 100px 0 50px;
  background: linear-gradient(
    to bottom,
    #f4f0e3 0%,
    #f4f0e3 70%,
    #ffffff 70%,
    #ffffff 100%
  );
}

.appointment-img img {
  width: 80%;
  height: 100%;
  object-fit: cover;
}

.appointment-content {
  margin-bottom: 20%;
}

.appointment-content h2 {
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1.5;
}

.appointment-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #333;
}

.form-select {
  border-radius: 5px;
}

.btn-appointment {
  background-color: #0b0620;
  color: #fff;
  padding: 8px 25px;
  border-radius: 6px;
}

.btn-appointment:hover {
  background-color: #0b081e;
  color: #fff;
}

/* Services Section */
.services-section {
  padding: 100px 0 50px;
  background: linear-gradient(
    to bottom,
    #0b0a1a 0%,
    #0b0a1a 70%,
    #ffffff 70%,
    #ffffff 100%
  );
}

.services-section .section-title {
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1.25;
  font-weight: 500;
  text-transform: uppercase;
}

.services-section h5 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  letter-spacing: 1px;
  line-height: 1.25;
  font-weight: 500;
  text-transform: uppercase;
}

/* Shop Collection */
.shop-collection {
  padding: 100px 0 100px;
  margin-bottom: 100px;
}

.shop-collection h5 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.shop-collection .btn {
  padding: 8px 25px 5px;
  font-size: 1rem;
}

.history-section .btn {
  padding: 8px 25px 5px;
}

footer {
  padding: 80px 0 40px;
}

footer h6 {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  color: #ccc;
  font-size: 16px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  padding: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  transition: 0.3s;
}

/* Media Queries */
@media (max-width: 1700px) {
  .year-line img {
    width: 80%;
  }
}

@media (max-width: 1440px) {
  .timeline-card {
    min-height: 565px;
  }

  .timeline h3 {
    padding-left: 60px;
    padding-top: 100px;
  }

  .timeline-card h6 {
    font-size: 1.5rem;
  }

  .timeline-card p.sub-heading {
    font-size: 1.25rem;
  }

  .timeline-card p {
    font-size: 1.05rem;
  }

  .appointment-img img {
    width: 75%;
  }
}

@media (max-width: 1370px) {
  .navbar-nav .nav-link {
    font-size: 16px;
  }

  .history-section img {
    transform: scale(1.1);
  }

  .section-title,
  .timeline h3,
  .appointment-content h2,
  .services-section .section-title,
  .dark-section .section-title {
    font-size: 1.85rem;
  }

  .services-section h5,
  .shop-collection h5 {
    font-size: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .navbar-nav .nav-link {
    font-size: 14px;
    margin: 0 11px;
  }
}

@media (max-width: 820px) {
  .history-section {
    margin: 100px 0 0;
  }

  .section-title,
  .timeline h3,
  .appointment-content h2,
  .services-section .section-title,
  .dark-section .section-title {
    font-size: 1.65rem;
  }

  .history-section p {
    font-size: 16px;
    line-height: 1.6;
    padding-right: 5%;
  }

  .timeline {
    padding: 50px 0 25px;
  }

  .timeline h3 {
    padding-left: 30px;
    padding-top: 100px;
  }

  .appointment-section {
    padding: 50px 0 25px;
  }

  .appointment-img img {
    width: 85%;
  }

  .appointment-content {
    padding: 15px !important;
  }

  .services-section {
    padding: 50px 0 50px;
  }

  .shop-collection {
    padding: 50px 0 50px;
    margin-bottom: 100px;
  }

  .services-section h5,
  .shop-collection h5 {
    font-size: 1.45rem;
  }
}

@media (max-width: 576px) {
  body {
    overflow-x: hidden;
  }
  header {
    padding: 10px 0;
  }
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-brand img {
    width: 115px;
  }

  .navbar {
    display: none;
  }

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

  .navbar-toggler {
    font-size: 26px;
  }

  /* Offcanvas Menu Styles */
  .fullscreen-offcanvas {
    width: 100vw !important;
    height: 100vh !important;
    background-color: #0b081e;
    /* Add transition for the menu itself */
    transition: transform 0.5s ease-in-out;
  }

  /* Animation for the offcanvas when it's showing */
  .offcanvas.showing {
    transform: translateX(100%);
    animation: slideIn 0.5s forwards;
  }

  /* Animation for the offcanvas when it's hiding */
  .offcanvas.hiding {
    animation: slideOut 0.5s forwards;
  }

  @keyframes slideIn {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }

  @keyframes slideOut {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(100%);
    }
  }

  .fullscreen-offcanvas .offcanvas-header {
    padding: 0.25rem 1.5rem 0.25rem 0;
    justify-content: space-between;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.2s;
  }

  .fullscreen-offcanvas .offcanvas-body {
    padding: 1rem 0;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.3s;
    background: #fff;
  }

  .fullscreen-offcanvas .navbar-nav {
    width: 100%;
  }

  .fullscreen-offcanvas .nav-item {
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
  }

  /* Staggered animation delay for nav items */
  .fullscreen-offcanvas .nav-item:nth-child(1) {
    animation-delay: 0.4s;
  }

  .fullscreen-offcanvas .nav-item:nth-child(2) {
    animation-delay: 0.5s;
  }

  .fullscreen-offcanvas .nav-item:nth-child(3) {
    animation-delay: 0.6s;
  }

  .fullscreen-offcanvas .nav-item:nth-child(4) {
    animation-delay: 0.7s;
  }

  .fullscreen-offcanvas .nav-item:nth-child(5) {
    animation-delay: 0.8s;
  }

  .fullscreen-offcanvas .nav-link {
    font-size: 18px !important;
    text-align: left;
    padding: 0.5rem 0;
    color: #000 !important;
    transition: all 0.3s ease;
  }

  .fullscreen-offcanvas .nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
  }

  .fullscreen-offcanvas .nav-link:hover {
    color: #c7bbab !important;
    transform: translateY(-3px);
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .btn-close {
    opacity: var(--bs-btn-close-opacity);
  }

  .hero {
    margin-bottom: 0 !important;
    height: 100vh;
  }

  .hero .video-bg {
    min-width: 100%;
    min-height: 100%;
    height: 100%;
    object-fit: contain;
  }

  .section-title,
  .timeline h3,
  .appointment-content h2,
  .services-section .section-title,
  .dark-section .section-title {
    font-size: 1.25rem;
  }

  .history-section {
    padding: 50px 20px;
    margin: 0 0 0;
    /* background: linear-gradient(to bottom,
         #0B0A1A 0%,
         #0B0A1A 80%,
         #ffffff 80%,
         #ffffff 100%
         );
         text-align: center;*/
    text-align: center;
  }

  .history-section p {
    font-size: 14px;
    line-height: 1.6;
    padding-right: 5%;
  }

  .section-title br,
  .timeline h3 br,
  .appointment-content h2 br,
  .services-section .section-title br,
  .dark-section .section-title br,
  .shop-collection h5 br {
    display: none;
  }

  .history-section img {
    margin-top: 40px;
    transform: scale(1);
    width: 85%;
  }

  .timeline {
    padding: 50px 0 25px;
  }

  .timeline h3 {
    padding-left: 0;
    padding-top: 0;
    text-align: center;
  }

  .timeline-card {
    min-height: 540px;
  }

  .timeline-card h6 {
    font-size: 1.25rem;
    margin-bottom: 0;
  }

  .timeline-card p.sub-heading {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .appointment-section {
    padding: 50px 0 0;
    background: #f4f0e3;
    margin-bottom: 100px;
  }

  .appointment-section .container,
  .services-section .container,
  .shop-collection .container {
    padding: 0;
  }

  .appointment-img img {
    width: 100%;
    max-height: 450px;
  }

  .appointment-content {
    padding: 50px 10px 0 !important;
    margin-bottom: 10%;
  }

  .services-section h5,
  .shop-collection h5 {
    font-size: 1rem;
  }

  .services-section {
    background: #0b0a1a;
    margin-bottom: 0;
    padding: 50px 0 0;
  }

  .services img,
  .collection img {
    max-width: 100%;
    border-radius: 0;
    width: 100%;
    height: 450px;
    object-fit: cover;
  }

  .services-section .row,
  .shop-collection .row {
    margin: 0;
  }

  .services-section .row .col-md-6,
  .shop-collection .row .col-md-4,
  .shop-collection .row .col-md-3 {
    padding: 0;
  }

  .services-section h5 {
    color: #333 !important;
    background: #fff;
    margin: 0 !important;
    padding: 30px 10px 40px;
  }

  .shop-collection .btn {
    border-radius: 5px;
    /*width: 50%;*/
    font-size: 14px;
  }

  footer {
    padding: 50px 0 20px;
  }

  .footer-links a {
    padding: 0 10px;
    font-size: 18px;
  }
}

@media (max-width: 390px) {
  .timeline-card h6 {
    font-size: 1.2rem;
  }

  .timeline-card p.sub-heading {
    font-size: 1.15rem;
  }
}
