*{
  margin: 0;
  padding: 0;
  border-radius: border-box; 
}
@font-face {
    font-family: "PassionsConflict";
    src: url("/Font/PassionsConflict-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Playfair";
    src: url("/Font/Playfair-VariableFont_opsz,wdth,wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
}


.nav-links li a {
    color: #C3A17C;
    text-decoration: none;
    font-family: 'Playfair';
}

.nav-links li a:hover {
    color: #f7f7f7;
}


.nav-links li a:hover::after {
    width: 100%;
}


/* Mobile view hover fix */
@media (max-width: 768px) {
    .nav-links li a:hover {
        color: #f3eee9 !important;
    }

    .nav-links li a:hover::after {
        width: 0% !important;
    }
}


/* Navbar */
/* .navbar {
    background-color: #0d1c17;
    color: white;
    padding: 0px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
  }
   */

.navbar {
    background-color: #0d1c17;
    color: white;
    padding: 0px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* position: sticky;
    top: 0;
    z-index: 1000; */
}



/* Logo */
.logo img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}


/* Hamburger */
.hamburger {
    display: none;
    font-size: 28px;
    color: #C3A17C;
    cursor: pointer;
}

/* Nav container */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
}

.nav-links li {
    color: #C3A17C;
    cursor: pointer;
    position: relative;
    padding: 14px 12px;
    font-size: 17.5px;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'Playfair';
}

.nav-links li::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #c19a6b;
    transition: width 0.3s ease;
}

.nav-links li:hover::after {
    width: 100%;
}

.nav-links li:hover {
    color: #f7f7f7;
}

.nav-links li.active>a {
    color: #f7f7f7 !important;
}

/* Underline effect for active */
.nav-links li.active::after {
    width: 100%;
}

/* Dropdown arrow */
.arrow {
    font-size: 15px;
    margin-left: 5px;
    user-select: none;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0d1c17;

    list-style: none;
    padding: 10px 0;
    min-width: 140px;
    border-radius: 4px;
    display: none;
    z-index: 999;
}

.dropdown-menu li {
    padding: 10px 18px;
    font-size: 15px;
    color: #000;
    white-space: nowrap;
}

.dropdown-menu li:hover {
    background-color: #d6b47b;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: #eacba5 !important;
}

.dropdown-menu a:hover {
    color: #cc3367;
    /* Or any highlight color */
}

.dropdown.active .dropdown-menu {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0d1c17;
        margin-top: 20px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        padding: 15px;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        border-radius: 0;
        background-color: #d9bb90;
    }
}

.nav-links .dropdown::after {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-links li:hover {
        color: #f3eee9 !important;
        /* Keep original color */
    }

    .nav-links li:hover::after {
        width: 0% !important;
        /* Remove underline */
    }
}



@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        border-radius: 0;
        background-color: #0d1c17;
        /* dark green */
    }

    .dropdown-menu a {
        color: #C3A17C !important;
        /* peach text */
    }

    .dropdown-menu a:hover {
        color: #f7f7f7;
        /* optional lighter hover, or use #C3A17C to keep same */
    }
}
/* Hide dropdown by default */
.dropdown-menu {
    display: none;
}

/* Show when active */
.dropdown.active .dropdown-menu {
    display: block;
}







/* Hero Section */
.hero {
  background-color: #efe4d8;
  position: relative;
  overflow: hidden;
  height: 622px;
}

.hero-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  /* Make text wider */
  gap: 1rem;
  /* Reduce gap */
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 500px;
  min-width: 320px;
  height: 780px;
  display: flex;
  align-items: flex-end;
  z-index: 1;
  margin-left:125px;
}

.hero-arch-bg {
  position: absolute;
  left: -4rem;
  bottom: 0;
  top: 30px;
  width: 400px;
  height: 500px;
  background: #b89a7c;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 280px;
  border-top-right-radius: 280px;
  border-bottom-right-radius: 0;
  z-index: 1;
}

.hero-arch-image-frame {
  position: absolute;
  left: 40px;
  bottom: 0;
  top: 90px;
  width: 380px;
  height: 480px;
  background: none;
  box-shadow: none;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* Add border-radius and overflow for curved top corners */
  border-radius: 245px 235px 0 0;
  overflow: hidden;
  /* border: 3px solid red; */
}

.hero-arch-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: 0;
  /* Remove if you want sharp corners inside the arch */
}

/* Remove border for hero image frame */
.hero-arch-image-frame::before {
  display: none;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  /* border-radius: 20px; */
}

.hero-text {
  /* text-align: center; */
  padding-top: 7rem;
  margin-top: -14rem;
}

.hero-title {
  font-family: 'Passions Conflict', 'cursive';
  font-size: 5rem;
  margin-left: 6.7rem;
  color: #040400;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 400;
}

.hero-description {
  font-size: 1.4rem;
  color: #040400;
  margin-bottom: 1rem;
  margin-right: 1rem;
  margin-left: 8rem;
  line-height: 1;
  font-family: 'Playfair Custom', serif;
}

.hero-illustrations {
  display: flex;
  /* margin-right: 1rem; */
  justify-content: center;
  /* height: 100px; */
  gap: 2rem;
}

.illustration {
  display: flex;
  /* margin-right: 1rem; */
  /* align-items: center; */
  /* font-size: large; */
  justify-content: center;
}

.illustration {
  width: 260px;
  height: 210px;
  margin-left: 10px;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.hero-image {
  animation: fadeSlideUp 1.2s ease forwards;
}


/* For tablets: max-width 768px */
@media (max-width: 768px) {
  .hero {
    height: auto; /* Let content decide height */
    padding: 2rem 1rem;
  }

  .hero-content {
    grid-template-columns: 1fr; /* Stack content */
    gap: 2rem; /* Space between image and text */
  }

  .hero-image-wrapper {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    margin-left:-40px;
  }

  .hero-arch-bg {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 390px;
    top: 20px;
  }

  .hero-arch-image-frame {
   left: 59%;
   transform: translateX(-50%);
   width: 71%;
   height: 374px;
   top: 60px;
  }

  .hero-text {
    padding-top: 0;
    margin-top: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
    margin: 0 auto 1rem auto;
    text-align:center;
    margin-right: -197px;
  }


  .hero-description {
   font-size: 16px;
    margin: 0 auto;
    line-height: 1.4;
    max-width: 90%;
    margin-left: 350px;
  }

  .hero-illustrations {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .illustration {
    width: 200px;
    height: auto;
    margin-top:20px;
    margin-left: 340px;

  }
  #image{
    display: none;
  }
}

/* For mobile: max-width 468px */

@media (max-width: 480px) {
  .hero {
    height: auto;
    padding: 2rem 1rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column; /* Stack */
    align-items: center;
    text-align: center;
  }

  .hero-image-wrapper {
    position: relative;
    width: 90%;
    max-width: 320px;
    aspect-ratio: 4/5; /* ✅ New: keep shape */
    margin: 0 auto;
    order: 1;
    margin-left:180px;
  }

  .hero-arch-bg {
    position: absolute;
    top: 0;
    left: -25px;
    width: 85%;
    height: 96%; /* ✅ New: match parent height */
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: #b89a7c;
  }

  .hero-arch-image-frame {
    position: absolute;
    top: 11%;
    left: 5%;
    width: 80%;
    height: 94%;
    overflow: hidden;
    border-radius: 200px 200px 0 0;
  }

  .hero-arch-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-text {
    order: 2;
    margin-top: 2rem;
  }

  .hero-title {
    font-size: 2rem;
    margin: 1rem 0;
  }

  .hero-description {
     font-size: 13px;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.4;
  }
  .hero-illustrations {
    display: none;
    }
}






/* Signature Rituals Section */
.signature-rituals {
    background: linear-gradient(180deg, #0c1d17 70%, #c3a17c 30%);
    padding: 20px 0;
    height: 490px;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: -30px;
}

.section-title {
    font-family: 'Passions Conflict', 'cursive';
    font-size: 4rem;
    color: #c1a07b;
    margin-bottom: 0.5rem;
    font-weight: 400;
    margin-top: 36px;
}

.section-subtitle {

    font-size: 53px;
    color: #a16a2d;
    font-weight: 400;
    line-height: 10px;
    font-family: 'Passions Conflict', 'cursive';
}

.rituals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 3rem 0rem;
    text-align: center;
    width: 600px;
  margin: auto;
}

.ritual-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    width: 235px;

}

.arch-image {
    /* width: 100%;
    aspect-ratio: 2 / 3; */
    width: 228px;
    height: 300px;
    border-radius: 195px 195px 0 0;
    overflow-x: hidden;
    background-color: white;
    margin-left: 40px;
}

.ritual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ritual-caption {
    /* background-color: #D2B48C;  */
    color: black;
    padding: 1rem;
    padding-bottom: 5px !important;
    margin-top: -5px;
    /* Pulls caption slightly up if needed */
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
    width: 100%;
    margin-left: 30px;


}

/* Keyframe for Zoom Effect */
@keyframes zoomInCardHover {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.06);
    }
}

/* Apply on Hover */
.custom-card-section,
.ritual-card:hover {
    animation: zoomInCardHover 0.3s ease-in-out forwards;
}



/* Treatment Section */
.treatment-section {
    padding: 80px 0;
    background-color: white;
}

.treatment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.treatment-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.treatment-text {
    background-color: #2F4F2F;
    color: white;
    padding: 3rem;
    border-radius: 15px;
}

.treatment-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Passions Conflict', cursive;
}

.treatment-description {
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: 'Playfair Custom', serif;
}

/* Style Section */
.style-section {
    padding: 80px 0;
    background-color: #F5F5DC;
}

.style-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.style-text {
    padding: 2rem;
}

.style-title {
    font-size: 2rem;
    color: #2F4F2F;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: 'Passions Conflict', cursive;
}

.style-description {
    font-size: 1.1rem;
    color: #2F4F2F;
    line-height: 1.8;
    font-family: 'Playfair Custom', serif;
}

.style-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects */
.ritual-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    /* animation: zoomInCardHover 0.3s ease-in-out forwards; */
}

/* .nav-link:hover {
  transform: translateY(-2px);
} */

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;


}

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

/* Tablet: max-width 768px */
/* Tablet: max-width 768px */
@media (max-width: 768px) {
  .signature-rituals {
    background: linear-gradient(180deg, #0c1d17 70%, #c3a17c 30%);
    height: 395px;
    padding: 30px 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
    margin-top: -10px;
  }

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

  .section-subtitle {
    font-size: 2rem;
    line-height: 1;
  }

  .rituals-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 2rem auto;
    width: 60%;
    max-width: 600px; /* helps limit row wrap */
  }

  .ritual-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .arch-image {
    width: 180px;
    height: 250px;
    border-radius: 160px 160px 0 0;
    margin-left: -7px;
  }

  .ritual-caption {
    font-size: 1rem;
    padding: 0.8rem;
    margin-right: 65px;
  }
}


/* Mobile: max-width 480px */
@media (max-width: 480px) {
  .signature-rituals {
    height: 275px;
    padding: 20px 0;
  }

  .section-header {
    margin-bottom: 1rem;
    margin-top: -5px;
  }

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

  .section-subtitle {
    font-size: 1.6rem;
    line-height: 1;
  }

  .rituals-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 1.5rem auto;
    width: 60%;
    max-width: 420px; /* keep rows aligned */
  }

  .ritual-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .arch-image {
    width: 100px;
    height: 145px;
    border-radius: 140px 140px 0 0;
    margin-right: 108px;
  }

  .ritual-caption {
    font-size: 12px;
    padding: 0.7rem;
    margin-left: -40px;
  }
}









/* Custom Card Sections for Treatment & Change of Style */
.custom-card-section {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 20px; */
    margin-bottom: 80px;
}

.custom-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 600px;
    min-height: 250px;
    height: 330px;
    /* border-radius: 12px; */
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.custom-card-green1 {
    background: #0c1d17;
}

.custom-card-green2 {
    background: #b89a7c;
}

.custom-card-tan {
    background: #c3a17c;
}

.custom-card-img {
    flex: 1 1 40%;
    min-width: 0;
    max-width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    overflow: hidden;
}

.custom-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-card-text {
    flex: 1 1 60%;
    max-width: 60%;
    height: 100%;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
}

.custom-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 18px;
    font-weight: 500;
}

.custom-card-desc {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    line-height: 1.3;
}

.gold-text {
    color: #c3a17c;
}

.dark-text {
    color: #0c1d17;
}

/* .gold-text1 {
  color: #0c1d17;
}

.dark-text1 {
  color: #0c1d17;
} */

#card2 {
    color: #040400;
}

.balinese-row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: stretch;
    /* padding-left: 20px;
  padding-right: 20px; */
    /* gap: 0px; */
    width: 100%;
}

.balinese-rows-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    align-items: stretch;
    margin-top: 80px;
    padding-left: 3px;
    padding-right: 80px;
}


/* Animation On Hover Chnage */

/* 1. Define keyframes */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* animation: zoomInCardHover 0.3s ease-in-out forwards;*/
    }
}

/* 2. Initial state for cards */
.custom-card {
    opacity: 0;
    transform: translateY(20px);
}

/* 3. When the class is added, run the animation */
.custom-card.animate {
    animation: fadeSlideUp 1.5s ease-out forwards;
}



/* 1) set up the line to be scaled down to zero horizontally */
.ritual-card svg rect {
    transform: scaleX(0);
    transform-origin: 50% 50%;
    /* anchor scaling at the center of the line */
    transition: transform 0.5s ease;
    /* adjust duration/easing as you like */
}

/* 2) when you hover the card, grow it to full width */
.ritual-card:hover svg rect {
    transform: scaleX(1);

}


/* ================================
   Tablet: max-width 768px
   ================================ */
@media (max-width: 768px) {
  .custom-card-section {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .custom-card {
    flex-direction: column;
    height: auto;
    max-width: 90%;
    min-height: auto;
  }

  .custom-card-img {
    flex: none;
    max-width: 100%;
    width: 100%;
    height: 400px; /* Adjust as needed */
  }

  .custom-card-text {
    flex: none;
    max-width: 100%;
    width: 100%;
    padding: 15px;
    margin-left:30px;   
    margin: auto;
  }

  .custom-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;

  }

  .custom-card-desc {
    font-size: 14px;
    padding-right: 23px;
    margin-top: 21px;
  }

  .balinese-rows-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-right: 20px;
  }
}


/* ================================
   Mobile: max-width 480px
   ================================ */
@media (max-width: 480px) {
  .custom-card-section {
    margin-bottom: 40px;
    padding-left:30px;
    padding-right:30px;
  }

  .custom-card {
    flex-direction: column;
    height: auto;
    max-width: 100%;
  }

  .custom-card-img {
    height: 300px; /* Smaller image for mobile */
  }

  .custom-card-text {
    padding: 12px;
  }

  .custom-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .custom-card-desc {
    font-size: 0.9rem;
  }

  .balinese-rows-container {
    padding-right: 10px;
    gap: 30px;
  }
}


