body,
html {
  height: 100%;  
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
}

.bg {
  /* Location of the image */
  background-image: url(gambar/bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #FFE5E5;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

.bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(5px);
  min-height: 100vh;
  width: 100%;
}

.img {
  display: inline-block;
  margin: 20px auto 30px;
  width: 280px;
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: all 0.5s ease;
  border: 5px solid white;
}

.img:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

#tap {
  display: inline-block;
  font-weight: 600;
  color: #ff6b6b;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.foto {
  width: 70%;
  max-width: 350px;
  min-width: 280px;
  margin-top: 80px;
  /* margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px; */
  display: inline-block;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border: 8px solid white;
  transition: all 0.5s ease;
}

.foto:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Paper */
@import url(https://fonts.googleapis.com/css?family=Roboto);
@import url(https://fonts.googleapis.com/css?family=Handlee);

.paper {
  font-family: 'Quicksand', sans-serif;
  position: relative;
  width: 85%;
  max-width: 750px;
  min-width: 280px;
  height: auto;
  min-height: 500px;
  margin: 40px auto;
  display: inline-block;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: all 0.5s ease;
  border: 2px solid #ffd3d3;
  z-index: 1;
}

.paper:hover {
  transform: translateY(-10px) rotate(2deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.paper:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 40px;
  background: radial-gradient(#ff6b6b 6px, transparent 7px) repeat-y;
  background-size: 30px 30px;
  border-right: 3px solid #ff6b6b;
  box-sizing: border-box;
}

.paper-content {
  position: absolute;
  top: 30px;
  right: 0;
  bottom: 30px;
  left: 50px;
  background: linear-gradient(transparent, transparent 28px, #ffd3d3 28px);
  background-size: 30px 30px;
}

.paper-content .teks {
  text-align: left;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  line-height: 30px;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #2d3436;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 500;
  box-sizing: border-box;
  z-index: 1;
}

.kotak {
  position: relative;
  width: 85%;
  max-width: 500px;
  min-width: 280px;
  max-height: 300px;
  min-height: 100px;
  top: 250px;
  padding: 35px;
  display: inline-block;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: all 0.5s ease;
  border: 2px solid #ffd3d3;
  z-index: 1;
  margin: 0 auto;
}

.kotak:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.kotak h4 {
  margin-bottom: 30px !important;
  color: #ff6b6b;
  font-weight: 600;
}

.kotak .row {
  margin-top: 20px;
}

.kotak .btn {
  width: 100%;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.kotak .btn-outline-danger {
  color: #ff6b6b;
  border-color: #ff6b6b;
  background: transparent;
}

.kotak .btn-outline-danger:hover {
  background: #ff6b6b;
  color: white;
}

.kotak .btn-outline-info {
  color: #4ecdc4;
  border-color: #4ecdc4;
  background: transparent;
}

.kotak .btn-outline-info:hover {
  background: #4ecdc4;
  color: white;
}

#slideLima {
  position: relative;
  top: 250px;
}

#trims {
  position: relative;
  top: 250px;
  display: inline-block;
  font-weight: 600;
  color: #ff6b6b;
}

h1 {
  font-weight: normal;
}

li {
  display: inline-block;
  font-size: 14px;
  list-style-type: none;
  padding: 20px;
  text-transform: uppercase;
  font-weight: 600;
  color: #2d3436;
  letter-spacing: 1px;
}

li span {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #ff6b6b;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

body {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.container {
  color: #2d3436;
  position: relative;
  top: 200px;
  padding: 30px;
  text-align: center;
  background: rgba(255,255,255,0.95);
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  max-width: 550px;
  margin: 0 auto;
  border: 2px solid #ffd3d3;
  z-index: 1;
}

.footer-copyright {
  background: rgba(255,255,255,0.9);
  border-top: 2px solid #ffd3d3;
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer-copyright a {
  color: #ff6b6b !important;
  font-weight: 600;
}

.footer-copyright a:hover {
  text-decoration: none;
  color: #ff4757 !important;
}

/* Welcome Animation */
.welcome-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
  overflow: hidden;
}

.stars, .twinkling, .clouds {
  position: absolute;
  width: 100%;
  height: 100vh;
  min-height: 100%;
}

.stars {
  background: #000 url('https://i.imgur.com/YKY28eT.png') repeat top center;
  z-index: 0;
}

.twinkling {
  background: transparent url('https://i.imgur.com/XYMF4ca.png') repeat top center;
  z-index: 1;
  animation: move-twink-back 200s linear infinite;
}

.clouds {
  background: transparent url('https://i.imgur.com/mHbScrQ.png') repeat top center;
  z-index: 2;
  opacity: 0.4;
  animation: move-clouds-back 200s linear infinite;
}

@keyframes move-twink-back {
  from {background-position: 0 0;}
  to {background-position: -10000px 5000px;}
}

@keyframes move-clouds-back {
  from {background-position: 0 0;}
  to {background-position: 10000px 0;}
}

.welcome-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 3;
}

.welcome-text h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.welcome-text p {
  font-size: 1.5rem;
  opacity: 0.8;
}

/* Timer Styling */
.timer-wrapper {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 2px solid #ffd3d3;
  transform: translateY(0);
  transition: all 0.5s ease;
  margin: 0 auto;
  max-width: 90%;
}

.timer-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.timer-box {
  background: linear-gradient(45deg, #ff9a9e, #fad0c4);
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
}

/* Floating Hearts */
.floating-hearts {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.floating-hearts::before,
.floating-hearts::after {
  content: '❤';
  position: absolute;
  color: rgba(255, 107, 107, 0.3);
  font-size: 20px;
  animation: float 6s infinite;
}

.floating-hearts::before {
  left: 10%;
  animation-delay: 0s;
}

.floating-hearts::after {
  right: 10%;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Heart Container */
.heart-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.heart-container::before,
.heart-container::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 107, 107, 0.2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.heart-container::after {
  animation-delay: 1s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Make sure all content is properly positioned */
#content {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

/* Ensure images don't overflow */
.img, .foto {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* Gallery Styles */
.gallery-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.gallery a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery a:hover img {
  transform: scale(1.05);
}

/* Lightbox Customization */
.lb-data .lb-caption {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.lb-data .lb-number {
  font-size: 14px;
  color: #fff;
}

.lb-closeContainer {
  position: absolute;
  top: 20px;
  right: 20px;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
  opacity: 0.8;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
  opacity: 1;
}

/* Message Form Styles */
.message-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.message-form {
  margin-top: 20px;
}

.message-form .form-control {
  border: 2px solid #ffd3d3;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.message-form .form-control:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

.message-form .btn-primary {
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.message-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.message-form textarea {
  resize: none;
}