/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html body {
  background: linear-gradient(
    147deg,
    rgb(243, 228, 240) 0%,
    rgb(243, 224, 224) 20.7893%,
    rgb(245, 195, 190) 39.2912%,
    rgb(233, 176, 209) 59.507%,
    rgb(199, 172, 234) 79.8371%,
    rgb(197, 196, 244) 100%
  );
}

/* MOOOOODDYYYYY */
/* === Moody Background === */
body.theme-moody {
  background: linear-gradient(
    145deg,
    #DBB181 0%,
    #D42A00 25%,
    #8F0700 60%,
    #1D0301 100%
  );
}

/* === Navbar === */
body.theme-moody .navbar a,
body.theme-moody .navbar .contact-button {
  color: #FAF0D9;
  border-color: #FAF0D9;
}

body.theme-moody .contact-button:hover {
  background-color: #FAF0D9;
  color: #D42A00;
}

/* === Hero Text === */
body.theme-moody .section-label,
body.theme-moody .hero-title,
body.theme-moody .hero-subtext,
body.theme-moody .hero-italic {
  color: #FAF0D9;
}

/* === Card Text (Only h3 & p inside moody cards) === */
body.theme-moody .moody-one h3,
body.theme-moody .moody-one p,
body.theme-moody .moody-two h3,
body.theme-moody .moody-two p,
body.theme-moody .moody-three h3,
body.theme-moody .moody-three p,
body.theme-moody .moody-four h3,
body.theme-moody .moody-four p,
body.theme-moody .moody-five h3,
body.theme-moody .moody-five p {
  color: #1D0301;
}


body.theme-moody .float-heading,
body.theme-moody .float-subtext {
  color: #E3D6BD !important;
}

/* === Social Media Icons inside card === */
body.theme-moody #socmed_icon a i {
  color: #3A1209;
}

body.theme-moody #socmed_icon a:hover i {
  transform: scale(1.3);
  color: #FAF0D9;
}

/* === Flip Button === */
body.theme-moody .flip-button,
body.theme-moody .flip-button-back {
  background-color: #3A1209;
  color: #FAF0D9; /* warna utama moody-one */
}

body.theme-moody .flip-button:hover,
body.theme-moody .flip-button-back:hover {
  background-color: #FAF0D9;
  color: #3A1209;
}

/* === CTA Button === */
body.theme-moody .cta-button {
  background-color: transparent;
  color: #FAF0D9;
  border: 1.5px solid #FAF0D9;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

body.theme-moody .cta-button:hover {
  background-color: #FAF0D9;
  color: #1D0301;
}

/* === Card Background Gradients === */
body.theme-moody .moody-one {
  background: linear-gradient(145deg, #CC5B2B, #CC5B2B);
}

body.theme-moody .moody-two {
  background: linear-gradient(145deg, #A12F0D, #872507);
}

body.theme-moody .moody-three {
  background: linear-gradient(145deg, #C96653, #C96653);
}

body.theme-moody .moody-four {
  background: linear-gradient(145deg, #9C3806, #9C3806);
}

body.theme-moody .moody-five {
  background: linear-gradient(145deg, #9D0713, #9D0713);
}






/* === PLAYFUL THEME === */
body.theme-playful {
  background: linear-gradient(135deg, #FCF333, #E90838, #8308C4);
}

/* Navbar links and button */
body.theme-playful .navbar a,
body.theme-playful .navbar .contact-button {
  color: #FAF8F0;
  border-color: #FAF8F0;
}

body.theme-playful .contact-button:hover {
  background-color: #FAF8F0;
  color: #E90838;
}

/* Hero Section */
body.theme-playful .section-label,
body.theme-playful .hero-title,
body.theme-playful .hero-subtext,
body.theme-playful .hero-italic,
body.theme-playful .float-heading,
body.theme-playful .float-subtext {
  color: #FAF8F0;
}

/* CTA Button */
body.theme-playful .cta-button {
  background-color: transparent;
  color: #FAF8F0;
  border: 1.5px solid #FAF8F0;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

body.theme-playful .cta-button:hover {
  background-color: #FAF8F0;
  color: #B30491;
}

/* === Card Gradients (Playful) === */
body.theme-playful .playful-one {
  background: linear-gradient(145deg, #F7B400, #F7B400);
}

body.theme-playful .playful-two {
  background: linear-gradient(145deg, #E00224, #B3001B);
}

body.theme-playful .playful-three {
  background: linear-gradient(145deg, #f85a18, #e24f15);
}

body.theme-playful .playful-four {
  background: linear-gradient(145deg, #B30491, #9a037e);
}

body.theme-playful .playful-five {
  background: linear-gradient(145deg, #fa1960, #e11755);
}

/* White text for most cards */
body.theme-playful .playful-one h3,
body.theme-playful .playful-one p,
body.theme-playful .playful-two h3,
body.theme-playful .playful-two p,
body.theme-playful .playful-three h3,
body.theme-playful .playful-three p,
body.theme-playful .playful-four h3,
body.theme-playful .playful-four p,
body.theme-playful .playful-five h3,
body.theme-playful .playful-five p {
  color: #FAF8F0;
}

/* Flippable card text = BLACK */
body.theme-playful #socmed_icon a i,
body.theme-playful .card-front h3,
body.theme-playful .card-front p,
body.theme-playful .card-back h3,
body.theme-playful .card-back p {
  color: #4B3100 !important;
}

/* Social media icon hover */
body.theme-playful #socmed_icon a:hover i {
  transform: scale(1.3);
  color: #2F1D00 !important;
}


/* Flip Buttons */
body.theme-playful .flip-button,
body.theme-playful .flip-button-back {
  background-color: #FAF8F0;
  color: #E90838;
}

body.theme-playful .flip-button:hover,
body.theme-playful .flip-button-back:hover {
  background-color: #FAF8F0;
  color: #8308C4;
}


/* Override for flippable card titles (Playful Theme) */
body.theme-playful #card .card-front h3 {
  color: #2F1D00 !important;
}

body.theme-playful #card .card-back h3 {
  color: #2F1D00 !important;
}

/* === Flip button khusus kartu pertama (flippable) === */
body.theme-playful #card .flip-button,
body.theme-playful #card .flip-button-back {
  background-color: #4B3100 !important;
  color: #FAF8F0 !important;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.theme-playful #card .flip-button:hover,
body.theme-playful #card .flip-button-back:hover {
  background-color: #2F1D00 !important;
  color: #FAF8F0 !important;
}






/* === BOLD THEME === */
body.theme-bold {
  background: linear-gradient(135deg, #F6F6F3, #8C8C8C);
}

/* Navbar links and button */
body.theme-bold .navbar a,
body.theme-bold .navbar .contact-button {
  color: #333333;
  border-color: #333333;
}

body.theme-bold .contact-button:hover {
  background-color: #333333;
  color: #FAF8F0;
}

/* Hero Section */
body.theme-bold .section-label,
body.theme-bold .hero-title,
body.theme-bold .hero-subtext,
body.theme-bold .hero-italic {
  color: #333333;
}

/* CTA Button */
body.theme-bold .cta-button {
  background-color: transparent;
  color: #333333;
  border: 1.5px solid #333333;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

body.theme-bold .cta-button:hover {
  background-color: #333333;
  color: #F6F6F2;
}

/* === Card Gradients (Bold) === */
body.theme-bold .bold-one {
  background: linear-gradient(145deg, #f6f6f2, #eaeaea);
}

body.theme-bold .bold-two {
  background: linear-gradient(145deg, #eae1be, #d6cfa5);
}

body.theme-bold .bold-three {
  background: linear-gradient(145deg, #ccc2c2, #b3a8a8);
}

body.theme-bold .bold-four {
  background: linear-gradient(145deg, #faf8f0, #e6e2d9);
}

body.theme-bold .bold-five {
  background: linear-gradient(145deg, #a6464e, #92363e);
}

/* Text inside cards (default-style text colors) */
body.theme-bold .bold-one h3,
body.theme-bold .bold-two h3,
body.theme-bold .bold-two p,
body.theme-bold .bold-three h3,
body.theme-bold .bold-three p,
body.theme-bold .bold-four h3,
body.theme-bold .bold-four p {
  color: #333333;
}

body.theme-bold .bold-one p {
  color: #666666 !important;
}

/* Card five special white float text */
body.theme-bold .float-heading,
body.theme-bold .bold-five p.float-subtext {
  color: #FAF8F0;
}

body.theme-bold .bold-five p {
  color: #333333;
}

/* Socmed icons */
body.theme-bold #socmed_icon a i {
  color: #444444;
}

body.theme-bold #socmed_icon a:hover i {
  transform: scale(1.3);
  color: #111111;
}

/* Card front info (Carmella + Role) */
body.theme-bold .oval-card h3,
body.theme-bold .oval-card p {
  color: #333333;
}

/* Flip Buttons */
body.theme-bold .flip-button,
body.theme-bold .flip-button-back {
  background-color: #444444;
  color: #f6f6f2;
}

body.theme-bold .flip-button:hover,
body.theme-bold .flip-button-back:hover {
  background-color: #111111;
  color: #f6f6f2;
}

/* Hamburger menu bold theme support */
body.theme-bold .hamburger-menu span {
  background-color: #333333;
}

body.theme-bold .mobile-menu {
  background: rgba(51, 51, 51, 0.95);
}

body.theme-bold .mobile-menu a {
  color: #FAF8F0;
}

body.theme-bold .mobile-menu a:hover {
  color: #F7B400;
}

body.theme-bold .mobile-menu .contact-button {
  color: #FAF8F0;
  border-color: #FAF8F0;
}

body.theme-bold .mobile-menu .contact-button:hover {
  background-color: #FAF8F0;
  color: #333333;
}

/* BODYYYYYY */

body {
  font-family: "Inter", sans-serif;
  background-color: #FAF8F0;
  color: #333333;
}

/* Navigation Bar */
.mylogo {
  height: 65px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem 0rem 3rem;
}

.nav-left {
  font-size: 1.5rem;
}

.nav-right a {
  margin-left: 3rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.contact-button {
  padding: 1rem 2rem;
  border: 1.5px solid #333;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}

.contact-button:hover {
  background: #333;
  color: #FAF8F0;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
}

.hero h3 {
  color: darkred;
}

.hero h3 a {
  text-decoration: none;
  color: darkred;
}

.hero h3 a:hover {
  text-decoration: underline;
}

.section-label {
  font-size: 20px;
  font-weight: 400;
  color: #888888;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 85px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 1rem;
}

.hero-subtext {
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  color: #555555;
}

.hero-italic {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: #555555;
  margin-top: 8px;
}

/* Projects Grid */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.project-card img {
  width: 100%;
  margin-bottom: 1rem;
}

.project-card h2 {
  margin-bottom: 0.5rem;
}

.project-card p {
  color: #666;
}

/* Switch Me */
.switch-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 10px 24px;
  background-color: #FAF8F0;
  color: #333333;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); /* subtle pop */
}

.theme-moody .switch-button {
  background-color: #FAF0D9;
  color: #B71F00;
}

.theme-bold .switch-button {
  background-color: #F8F8F8;
  color: #333333;
}

.switch-button:hover {
  transform: scale(1.2); /* zoom effect */
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25); /* deeper pop */
  cursor: pointer;
}


/* CTA Section */
.cta-section {
  padding: 2rem 0rem;
  text-align: center;
  color: #faf8f0;
  margin-top: -170px;
  position: relative;
  z-index: 10;
}

.cta-section h4 {
  font-weight: 500; /* atau 300 kalau kamu mau lebih tipis */
}

.cta-content {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-content > div:nth-of-type(2) {
  /* This targets the div containing h2 and a.
     Alternatively, add a class to this div for clearer targeting. */
  display: flex; /* Make this div a flex container */
  align-items: center; /* Vertically align the h2 and button */
  gap: 15px; /* Space between the text and the button */
}

.cta-button {
  font-size: 14px;
  padding: 10px 20px;
  color: #FAF8F0;
  font-weight: 500;
  border: 1.5px solid #FAF8F0;
  border-radius: 999px;
  text-decoration: none;
  border-style: solid;
  border-width: 1.5px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #FAF8F0;
  color: #d86fa2;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
}


/* Footer */
.footer {
  background-color: #f9f6ef;
  padding: 40px 40px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #333;
}

.footer-text {
  font-size: 12px;
}

.footer-space {
  width: 12px;
}

/* home cards */
.card-stack {
  position: relative;
  width: 100%;
  height: 800px; /* adjust based on your card size */
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-50px);
}

.project-card {
  position: absolute;
  width: 250px;
  border-radius: 2.5rem;
  background: #fdf5f4;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background-color: rgba(250, 248, 240, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  transition: transform 0.3s ease;
  padding: 0.9rem;
}

.card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1.5rem; /* optional rounded image */
}

.card-content {
  padding: 0.5rem;
  padding-top: 0rem;
  padding-bottom: 3.5rem;
  position: relative;
}

.card-content h3 {
  color: #001122;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.card-content p {
  color: #666666;
  font-size: 0.75rem;
  line-height: 1.45;
  margin: 0;
}

.arrow-button {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: #111;
  color: #FAF8F0;
  border: none;
  border-radius: 1000px;
  width: 55px;
  height: 25px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* Optional Rotations and Spread */
.rotate-1 {
  transform: rotate(-6deg) translateX(-400px) translateY(-120px);
  z-index: 5;
}
.rotate-2 {
  transform: rotate(-4deg) translateX(-200px) translateY(-0px);
  z-index: 4;
}
.rotate-3 {
  transform: rotate(1deg) translateX(0) translateY(-150px);
  z-index: 3;
}
.rotate-4 {
  transform: rotate(4deg) translateX(200px) translateY(0px);
  z-index: 2;
}
.rotate-5 {
  transform: rotate(6deg) translateX(400px) translateY(-120px);
  z-index: 1;
}

.rotate-1:hover {
  transform: rotate(-6deg) translateX(-400px) translateY(-120px) scale(1.05);
}
.rotate-2:hover {
  transform: rotate(-4deg) translateX(-200px) translateY(0px) scale(1.05);
}
.rotate-3:hover {
  transform: rotate(1deg) translateX(0) translateY(-150px) scale(1.05);
}
.rotate-4:hover {
  transform: rotate(4deg) translateX(200px) translateY(0px) scale(1.05);
}
.rotate-5:hover {
  transform: rotate(6deg) translateX(400px) translateY(-120px) scale(1.05);
}


/* image card project */
.project-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Full viewport height */
  padding: 0 0 4rem 0; /* Optional: adds spacing around the stack */
}

.image-stack {
  display: flex;
  flex-direction: column;
  gap: 50px; /* space between cards */
  width: 90%;
  max-width: 1000px;
}

.image-card {
  position: relative;
  border-radius: 25px;
  height: 450px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-card:hover {
  transform: scale(1.05);
}

.image-card img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.text-left,
.text-right {
  position: absolute;
  bottom: 12px;
  color: #333;
  font-size: 0.9rem;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: 10px;
}

.text-left {
  left: 16px;
}

.text-right {
  right: 16px;
}

/* project showcase */
.project-showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 100px;
  padding: 0rem 2rem 4rem 2rem;
}

.category-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 75px;
}

.category-image img {
  width: 450px;
  height: 320px;
  display: block;
  border-radius: 20px;
}

.category-info {
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333333;
}

.category-info p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333;
  max-width: 500px;
}

.read-more {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 20px;
  border: 1.5px solid #333333;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #333333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.read-more:hover {
  background: #333333;
  color: #f9f6ef;
}

.category-card.reverse {
  flex-direction: row-reverse;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-images img {
  width: 100%;
  max-width: 940px;
  max-height: 450px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.project-images-secondary {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  justify-content: center;
}

.project-images-secondary img {
  width: 100%;
  max-width: 300px;
  max-height: 300px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.project-details-text {
  display: flex;
  flex-direction: row;
  max-width: 60rem;
  gap: 30px;
}

.project-details-text p {
  line-height: 1.4;
}

.project-details-text h2 {
  padding-top: 30px;
  padding-bottom: 10px;
}

.wrapper {
  justify-content: center;
  align-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 940px;
  padding-bottom: 65px;
}

.oval-card-container {
  display: flex;
  justify-content: center;
  gap: 0rem; /* atur jarak kartu di sini */
  margin: 2rem auto;
  padding-left: 300px;
  flex-wrap: wrap;
  transform: scale(1.05); /* skala kartu about */
  transform-origin: center;
}

body.home .card-stack {
  transform: scale(1.05); /* skala kartu home */
  padding-bottom: 100px;
  padding-top: 50px;
}

.oval-card {
  width: 315px;
  height: 425px;
  border-radius: 170px; /* Vertical oval */
  margin-left: -100px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* soft default */
  background: none;
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.3); /* kasih dimensi biar gak flat */
  position: absolute; /* atau fixed */
  left: 0; /* ADD THIS */
  top: 0;  /* ADD THIS */
  cursor: grab;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translate(0, 0); /* prevent random movement */
  z-index: 1;
}

.oval-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3); /* pop-up feel */
}

.oval-card:focus {
  outline: none;
}

.oval-card dragging {
  transition: none;
  cursor: grabbing;
}

.oval-card h1 img {
 /* biar tulisan gk bisa dicopy  */
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.oval-card h3 {
  color: #001122;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0.5rem;
 /* biar tulisan gk bisa dicopy  */
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.oval-card p {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
 /* biar tulisan gk bisa dicopy  */
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.oval-card.default-five .float-subtext {
  text-align: center;
}

.oval-card iframe {
  display: block;
  margin: 0 auto;
}

body.theme-default .default-five p.float-subtext,
body.theme-moody .moody-five p.float-subtext,
body.theme-playful .playful-five p.float-subtext,
body.theme-bold .bold-five p.float-subtext {
  text-align: center;
}

/* Background variations */
.default-one {
  background: linear-gradient(145deg, #ffdede, #ffc9c9);
}

.default-two {
  background: linear-gradient(145deg, #cdd9f0, #e0e8ff);
}

.default-three {
  background: linear-gradient(145deg, #f6c7e0, #efb2e0);
}

.default-four {
  background: linear-gradient(145deg, #c6a9e8, #d6baf1);
}

.default-five {
  background: linear-gradient(145deg, #f0ccc7, #f5dcd7);
}

.oval-card-container .oval-card {
  position: relative;
}

.card-flip-wrapper {
  position: relative; /* ini penting agar z-index bisa jalan */
}

/* Ini urutan z-index-nya */
.oval-card-container .card-flip-wrapper:nth-of-type(1) {
  z-index: 5;
}
.oval-card-container .card-flip-wrapper:nth-of-type(2) {
  z-index: 4;
}
.oval-card-container .card-flip-wrapper:nth-of-type(3) {
  z-index: 3;
}
.oval-card-container .card-flip-wrapper:nth-of-type(4) {
  z-index: 2;
}
.oval-card-container .card-flip-wrapper:nth-of-type(5) {
  z-index: 1;
}

.oval-card-container {
  padding-bottom: 200px;
}

.footer {
  margin-top: 10px;
  position: relative;
}

.card-float {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.float-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 2rem;
  margin: 0.5rem 0;
  line-height: 1.1;
}

.float-subtext {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  color: #444;
  max-width: 280px;
  margin: 0.5rem auto 1rem;
}

.oval-card h1 span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 2.7rem; /* Atau coba 3rem kalau mau lebih besar */
  text-align: center;
  line-height: 1;
}

/* Wrapper makes the whole thing clickable */
.card-flip-wrapper {
  cursor: default;
  will-change: transform;
  /* cursor: pointer; */
  perspective: 1000px;
  display: inline-block;
  z-index: 10;
  transition: transform 0.3s ease;
}

.card-flip-wrapper:hover {
  transform: scale(1.05);
}

.card-flip-wrapper {
  perspective: 1000px;
}

.card-flip {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  position: relative;
}

.card-flip-wrapper:hover {
  transform: scale(1.05); /* pure visual scale */
}


/* Hide the checkbox */
/* .card-toggle {
  display: none;
} */

.card-flip {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  position: relative;
}

.card-flip.flipped {
  transform: perspective(1000px) rotateY(180deg);
}


/* supaya durasi interaksi seragam antara home & about */
.rotate-1,
.rotate-2,
.rotate-3,
.rotate-4,
.rotate-5 {
  transition: transform 0.3s ease;
}


/* Front and Back faces */
.card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 0.2rem 2rem 2rem 2rem;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.card-front #socmed_icon, .card-front #socmed_icon * {
  pointer-events: auto;
}

.flip-button,
.flip-button-back {
  pointer-events: auto;
  color: #FAF8F0;
  background-color: #333333;
}

.card-back {
  display: flex;
  flex-direction: column;
  align-items: center;       /* center horizontal */
  justify-content: center;   /* center vertical */
  text-align: center;
  padding: 2rem;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  transform: rotateY(180deg) translateY(24px); /* turun 20px */
}


/* Flip when checked */
/* .card-toggle:checked + .card-flip {
  transform: rotateY(180deg);
} */

.card-front h3, h1 {
  font-size: 18px;
  font-weight: 500;
  padding-top: 20px;
  text-align: center;
  color: #333333;
}

.card-front h3 {
  pointer-events: none;
  font-size: 18px;
  font-weight: 500;
  padding-top: 20px;
  text-align: center;
  color: #222222;
}

.card-front p {
  pointer-events: none;
  text-align: center;
  color: #666666;
  margin-bottom: 12px;
}

.card-front .card-image {
  pointer-events: none;
  padding: 10px;
  width: 100%; /* supaya gambar tidak overflow */
  border-top-left-radius: 200px;
  border-top-right-radius: 200px;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.flip-button {
  display: block; /* atau inline-block */
  margin: 0 auto;
  padding: 5px;
  width: 50px;
  margin-top: 15px;
  color: #FAF8F0;
  background-color: #333333;
  color: #FAF8F0;
  border: none;
  border-radius: 20px; /* border melengkung */
  cursor: pointer;
  font-size: 10px;
  transition: 0.3s ease;
  text-align: center;
  user-select: none;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  cursor: pointer;
}

.flip-button:hover {
  background-color: #111; /* lebih gelap saat hover */
}

.flip-button-back {
  display: block; /* atau inline-block */
  margin: 0 auto;
  padding: 5px;
  width: 50px;
  margin-top: 15px;
  color: #FAF8F0;
  background-color: #333333;
  border: none;
  border-radius: 20px; /* border melengkung */
  cursor: pointer;
  font-size: 10px;
  transition: background-color 0.3s ease;
  text-align: center;
  user-select: none;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  cursor: pointer;
}

.flip-button-back:hover {
  background-color: #111; /* lebih gelap saat hover */
}

#socmed_icon a {
  text-decoration: none;
  color: #333333;
  margin: 0 4px;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#socmed_icon {
  text-align: center;
  padding-top: 10px;
}

#socmed_icon i {
  font-size: 20px;
}

#socmed_icon a i {
  color: #333;
  transition: transform 0.3s ease, color 0.3s ease;
}

#socmed_icon a:hover i {
  transform: scale(1.3);
  color: #222222;
}

.button {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: #111;
  color: #FAF8F0;
  border: none;
  border-radius: 999px;
  height: 30px;
  width: 42px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  transition: width 0.3s ease;
}

/* Icon floats in center of button */
.arrow-button {
  width: 42px;
  height: 20px;
  font-size: 1rem; /* Sama dengan p */
  background: #333333; /* background ikon */
  color: #FAF8F0; /* ikon panah */
}

.arrow-button i {
  position: absolute;
  left: 50%;
  font-size: 0.7rem; /* ukuran ikon panah */
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
}

/* Text hidden initially */
.arrow-button .hover-text {
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}

/* Hover behavior */
.arrow-button:hover {
  width: 90px;
}

.arrow-button:hover i {
  opacity: 0;
}

.arrow-button:hover .hover-text {
  opacity: 1;
  font-size: 0.75rem;
}

.arrow-button:hover,
.arrow-button .hover-text:hover {
  text-decoration: none;
}

/* floating drag and drop thingy */
#floatingImage {
  position: fixed;
  cursor: grab;
  width: 120px;
  height: auto;
  z-index: 9999;
}





/* get in touch kematian */
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #1f1f1f, #121212);
  color: #FAF8F0;
  margin: 0;
  padding: 0;
}

.contact-heading {
  padding-bottom: 120px;
  border-bottom: 1px solid #666666;
}

.contact-section {
  padding: 120px 150px;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  box-sizing: border-box;
}

.contact-left {
  flex: 0 0 70%;
  max-width: 70%;
}

.contact-right {
  flex: 0 0 30%;
  max-width: 30%;
}

.contact-heading {
  font-size: 85px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 60px;
  text-align: left;
}

.contact-form .form-group {
  margin-bottom: 50px;
  border-bottom: 1px solid #666666;
}

.contact-form label {
  display: block;
  font-size: 20px;
  color: #333333;
  font-weight: 500;
}

.contact-info h4:nth-of-type(2) {
  margin-top: 50px; /* atau 20px tergantung seberapa kecil mau kamu buat */
}

.question-number {
  color: #666666;
  margin-right: 50px;
  font-size: 14px;
}

.contact-form input {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 20px;
  padding-bottom: 50px;
  padding-top: 20px;
  padding-left: 75px;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.submit-button {
  align-self: flex-end;
  margin-top: -175px;
	margin-right: -180px;
  padding: 50px 28px;
  background-color: #FAF8F0;
  color: #333333;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  font-family: 'Inter', sans-serif;
}

.submit-button:hover {
  background-color: #d86fa2;
  color: #FAF8F0;
}

.contact-right {
  min-width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 24px;
}

.profile-circle {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 45px;
}

.contact-info {
  text-align: left;
  color: #FAF8F0;
  font-size: 14px;
}

.contact-info h4 {
  font-size: 14px;
  color: #333333;
  margin-top: 99px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info p {
  margin: 0;
  padding: 2px 0;
  color: #666666;
}

.contact-info a {
  color: #666666;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 0 150px;
  box-sizing: border-box;
}

.contact-left {
  flex-basis: 70%;
}

.contact-right {
  flex-basis: 30%;
}


.project-details-here h2 {
  color: #333333;
}

.project-details-here p {
  color: #555555;
}


/* Optional: Responsive */
@media (max-width: 1024px) {
  /* Buat halaman about */
  .oval-card-container {
    transform: scale(1);
  }

  /* Buat homepage - ganti dengan class container projek di home */
  body.home .card-stack {
    transform: scale(0.85);
	margin-top: -80px;
  }
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Menu Styles */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(243, 228, 240, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close span {
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu-close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu-close:hover span {
  background-color: #d86fa2;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #d86fa2;
}

.mobile-menu .contact-button {
  padding: 1rem 2rem;
  border: 1.5px solid #333;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}

.mobile-menu .contact-button:hover {
  background-color: #333333;
  color: #faf8f0;
}

/* Hamburger Animation */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-right {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .mobile-menu.active {
    display: flex;
  }
  
  .navbar {
    padding: 1.5rem 2rem 0rem 2rem;
  }
}

/* Hamburger menu theme support */
body.theme-moody .hamburger-menu span {
  background-color: #FAF0D9;
}

body.theme-moody .mobile-menu {
  background: rgba(29, 3, 1, 0.95);
}

body.theme-moody .mobile-menu a {
  color: #FAF0D9;
}

body.theme-moody .mobile-menu a:hover {
  color: #DBB181;
}

body.theme-moody .mobile-menu .contact-button {
  color: #FAF0D9;
  border-color: #FAF0D9;
}

body.theme-moody .mobile-menu .contact-button:hover {
  background-color: #FAF0D9;
  color: #D42A00;
}

/* Close button theme support */
body.theme-moody .mobile-menu-close span {
  background-color: #FAF0D9;
}

body.theme-moody .mobile-menu-close:hover span {
  background-color: #DBB181;
}

/* Hamburger menu playful theme support */
body.theme-playful .hamburger-menu span {
  background-color: #FAF8F0;
}

body.theme-playful .mobile-menu {
  background: rgba(233, 8, 56, 0.95);
}

body.theme-playful .mobile-menu a {
  color: #FAF8F0;
}

body.theme-playful .mobile-menu a:hover {
  color: #FCF333;
}

body.theme-playful .mobile-menu .contact-button {
  color: #FAF8F0;
  border-color: #FAF8F0;
}

body.theme-playful .mobile-menu .contact-button:hover {
  background-color: #FAF8F0;
  color: #E90838;
}

/* Close button playful theme support */
body.theme-playful .mobile-menu-close span {
  background-color: #FAF8F0;
}

body.theme-playful .mobile-menu-close:hover span {
  background-color: #FCF333;
}

body.theme-bold .mobile-menu .contact-button:hover {
  background-color: #FAF8F0;
  color: #333333;
}

/* Close button bold theme support */
body.theme-bold .mobile-menu-close span {
  background-color: #FAF8F0;
}

body.theme-bold .mobile-menu-close:hover span {
  background-color: #F7B400;
}

/* animasi samar pop */
.page-transition {
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-transition.show {
  opacity: 1;
  transform: scale(1);
}

