@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap");

:root {
  --primary: #d4af37; /* Luxury Gold */
  --secondary: #121212; /* Deep Black */
  --accent: #f5f5f0; /* Ivory */
  --dark: #333333; /* Charcoal Grey */
  --light: #ffffff; /* Pure White */
  --text-color: #555555; /* Soft Grey Text */
  --border-color: #e0e0e0; /* Light Grey Border */
  --font-heading: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;
  --transition: all 0.4s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-color);
  background-color: var(--light);
  line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  margin: 0 0 20px;
  letter-spacing: 1px;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* --- Buttons --- */
button {
  cursor: pointer;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  padding: 15px 30px;
  border: 1px solid var(--secondary);
  background: transparent;
  color: var(--secondary);
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--light);
  border: 1px solid var(--secondary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--secondary);
}

.btn-outline-primary {
  border: 1px solid var(--secondary);
  background: transparent;
  color: var(--secondary);
}

.btn-outline-primary:hover {
  background-color: var(--secondary);
  color: var(--light);
}

/* --- Hero Section --- */
section#home {
  padding: 150px 0 100px;
  text-align: center;
  background-color: var(--accent);
  overflow: hidden;
  position: relative;
}

/* Hide anime decorations */
.anime-bg-decoration,
.shape {
  display: none;
}

.sub-title {
  font-family: var(--font-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.primary-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--secondary);
  text-shadow: none;
}

.primary-title span {
  font-family: var(--font-heading);
  font-style: italic;
  text-decoration: none !important;
  position: relative;
  border-bottom: 2px solid var(--primary);
  background: transparent !important;
}

/* Hero Image / Placeholder */
.hero-comic-image svg {
  /* Hide the comic SVG or style it minimally */
  filter: grayscale(100%) opacity(0.2);
  margin-top: 50px;
  max-width: 150px; /* Smaller, more discreet icon */
}

/* --- Generic Section Styles --- */
section {
  padding: 100px 0;
}

.title-section {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.title-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
  padding: 0;
}

.title-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--primary);
  margin: 20px auto 0;
}

.comic-speech-bubble-title {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary);
}

.title-section p {
  font-size: 1.1rem;
  color: var(--text-color);
  font-family: var(--font-body);
}

/* --- Cerita Kami --- */
#cerita-kami {
  background-color: var(--light);
}

.produk-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.produk-text {
  background: transparent; /* Reset comic bg */
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 300px;
  text-align: left;
}

/* Remove comic speech bubble triangles */
.produk-text::after,
.produk-text::before {
  display: none;
}

.produk-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 300;
}

.produk-text span {
  font-weight: 400;
  background-color: transparent !important; /* Override comic bg */
  color: var(--secondary);
  border-bottom: 1px solid var(--primary);
}

.produk-img {
  flex: 1;
  min-width: 300px;
}

.produk-img img {
  border-radius: 0 !important; /* Remove heavy rounded corners */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important; /* Elegant shadow */
  filter: sepia(20%) contrast(1.05); /* Slight vintage/luxury feel */
  border: none !important; /* Remove comic border */
  transform: none !important;
}

.produk-img img:hover {
  transform: scale(1.02) !important;
}

/* --- Benefit Section --- */
#benefit {
  background-color: var(--accent);
}

.benefit-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.benefit-item {
  background: var(--light);
  padding: 50px 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border-radius: 0; /* Square edges */
  margin: 0;
  transform: none;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
}

.benefit-item img {
  height: 80px;
  width: auto;
  margin: 0 auto 30px;
  filter: grayscale(100%); /* Make icons monochrome */
  transition: var(--transition);
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.benefit-item:hover img {
  filter: grayscale(0%);
  transform: none !important;
}

.benefit-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.benefit-item p {
  color: var(--text-color);
}

/* --- Tentang Kami --- */
#tentang-kami {
  background-color: var(--secondary);
  color: var(--light);
  padding: 120px 0;
}

.tentang-section {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .tentang-section {
    flex-direction: row;
    text-align: left;
    gap: 60px;
  }
}

.tentang-text {
  flex: 1;
}

.tentang-text h3 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-family: var(--font-heading);
}

.tentang-text p {
  color: #cccccc;
  font-size: 1.1rem;
  font-weight: 300;
}
.tentang-text b {
  color: var(--light);
  font-weight: 400;
}

.tentang-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.tentang-img img {
  max-width: 250px;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* --- Kontak (Footer-like area) --- */
#kontak {
  background-color: var(--light);
  padding: 100px 0;
}

#kontak .title-section {
  margin-bottom: 80px;
}

.kontak-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.btn-kontak {
  display: inline-block; /* Added for anchor tags */
  cursor: pointer;
  background: var(--light);
  border: 1px solid var(--border-color);
  padding: 15px 40px;
  min-width: 180px;
  text-align: center;
  transition: var(--transition);
}

.btn-kontak p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 12px;
}

.btn-kontak:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-kontak:hover p {
  color: var(--primary);
}

/* Hide background blobs/bg-kontak from comic style */
.bg-kontak {
  display: none;
}

/* --- Footer --- */
#footer {
  background-color: #000; /* Pure black footer */
  color: var(--light);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-image: none; /* Remove comic pattern */
}

.footer-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
  border: none; /* Remove comic border */
  background: transparent;
}

.footer-item h3 {
  color: var(--light);
  font-size: 1.8rem;
  margin-bottom: 30px;
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
  padding: 0;
  font-family: var(--font-heading);
}

.footer-item img {
  max-width: 80px;
  opacity: 0.8;
}

.footer-item h4 {
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
  padding: 0;
  font-family: var(--font-body);
}

.footer-item a {
  display: block;
  color: #888;
  margin-bottom: 15px;
  font-size: 0.9rem;
  transition: var(--transition);
  background: transparent;
  border: none;
  transform: none;
  padding: 0;
  font-weight: 300;
  text-transform: none;
}

.footer-item a:hover {
  color: var(--primary);
  transform: translateX(5px);
  border: none;
  box-shadow: none;
}

/* --- Gallery Section --- */
.luxury-gallery {
  padding: 100px 0;
  background-color: #f8f8f8; /* Subtle background for contrast with white cards or sections */
}

.gallery-card {
  display: flex;
  flex-direction: column;
  max-width: 900px; /* Restrict width for an editorial feel */
  margin: 50px auto 0;
  background: var(--light);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08); /* Luxurious soft shadow */
}

@media (min-width: 900px) {
  .gallery-card {
    flex-direction: row;
    align-items: stretch;
  }

  .gallery-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* Image Side */
.gallery-image-wrapper {
  flex: 1.2; /* Slightly larger image area */
  position: relative;
  overflow: hidden;
  min-height: 400px; /* Ensure height on mobile */
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: none !important; /* Reset any global image filters */
}

.gallery-card:hover .gallery-image-wrapper img {
  transform: scale(1.05); /* Subtle zoom */
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.2
  ); /* Tint for better text legibility if text overlaid, adds depth */
  transition: background 0.4s ease;
}

.gallery-card:hover .image-overlay {
  background: rgba(0, 0, 0, 0.1); /* Lighten on hover */
}

/* Details Side */
.gallery-details {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--light);
  position: relative;
  border: 1px solid #f0f0f0;
  border-left: none;
}

.collection-tag {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}

.gallery-details h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--secondary);
  margin: 0 0 30px;
  line-height: 1.1;
}

.separator-line {
  width: 40px;
  height: 1px;
  background-color: var(--primary);
  margin-bottom: 30px;
}

.gallery-details p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 15px 0;
  margin-bottom: 40px;
}

.meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}

.meta-value {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-style: italic;
  font-size: 1.1rem;
}

/* Button */
.btn-gallery {
  align-self: flex-start;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary); /* Link style button */
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.btn-gallery:hover {
  color: var(--primary);
  border-color: var(--primary);
  padding-left: 10px; /* Slide effect */
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .primary-title {
    font-size: 2.5rem;
  }

  .produk-item,
  .tentang-section {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    text-align: center;
  }

  .tentang-img {
    margin-bottom: 40px;
  }
}

/* --- Language Toggle --- */
.lang-toggle {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--font-heading); /* Serif font for luxury */
  font-size: 14px;
  cursor: pointer;
  padding: 5px;
  color: #999;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.lang-btn:hover {
  color: var(--secondary);
}

.lang-btn.active {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
}

.lang-separator {
  color: var(--primary); /* Gold separator */
  margin: 0 10px;
  font-size: 14px;
  font-weight: 300;
}

/* --- Testimonials --- */
.luxury-testimonials {
  background-color: var(--light);
  padding: 120px 0;
}

.separator-center {
  width: 60px;
  height: 1px;
  background: var(--primary);
  margin: 20px auto 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-card {
  text-align: center;
  padding: 40px 20px;
}

.quote-icon {
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.testimonial-card .name {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 5px;
}

.testimonial-card .role {
  font-family: var(--font-heading);
  font-size: 14px;
  color: #999;
  font-style: italic;
}

/* --- Newsletter --- */
.luxury-newsletter {
  background-color: var(--secondary);
  color: var(--light);
  padding: 100px 0;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.luxury-newsletter h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.luxury-newsletter p {
  color: #ccc;
  margin-bottom: 40px;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--light);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px;
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form input::placeholder {
  color: #666;
}

.newsletter-form button {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 14px;
  letter-spacing: 2px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  color: var(--light);
}

/* --- Mobile Mockup Styles --- */
.mobile-mockup-container {
  display: flex !important;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7; /* Subtle backdrop */
  padding: 40px;
  position: relative;
}

.mobile-frame {
  width: 250px; /* Standard mobile width */
  height: auto;
  border: 12px solid #222;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: white; /* Behind content */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 2;
  transition: transform 0.4s ease;
}

/* Notch */
.mobile-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%; /* Notch width */
  height: 24px;
  background: #222;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

/* Ensure uploaded image fits like a screen */
.mobile-frame img {
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: cover;
  transform: none !important; /* Disable default gallery zoom */
  border-radius: 24px;
}

/* Hover effect on card moves the phone slightly */
.gallery-card:hover .mobile-frame {
  transform: translateY(-8px);
}

/* Hide original overlay inside mockup container */
.mobile-mockup-container .image-overlay {
  display: none;
}
