/* RESET AMAN */
*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

:root {
    --pink: #022726;
    --pink-muted: #052322;
    --pink-light: #e2fcfc;
    --pink-hover: #025956;
    --white: #fff;
    --grey: #ccc;
    --light-grey: #d4d4d4;
    --dark-grey: #999;
    --dark: #151515;
    --black: #000;
    --vh: 100vh;
}

@supports (height: 100vh) {
    :root {
        --vh: 100svh;
    }
}




/* ======================
   LOADING SCREEN
====================== */

#loading-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, #111, #000);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

#loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    width: 120px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loader-text {
    font-family: "Playfair Display SC", serif;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.loader-bar {
    width: 220px;
    height: 10px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--pink), var(--pink-muted));
    border-radius: 20px;
    animation: loadBar 2.5s ease forwards;
}

@keyframes loadBar {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7;}
    50% { transform: scale(1.05); opacity: 1;}
    100% { transform: scale(1); opacity: 0.7;}
}


/* PARALLAX BASE */
.parallax {
    position: relative;
    overflow: hidden;
}

/* layer umum */
.parallax-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* urutan depth */
.layer-back {
    background-image: url("assets/images/bg-web-desktop.png");
    z-index: -4;
}

.layer-mid {
    background-image: url("assets/images/desktop-3.png");
    z-index: -3;
}

.layer-front {
    background-image: url("assets/images/desktop-2.PNG");
    z-index: -2;
}

.layer-foreground {
    background-image: url("assets/images/desktop-1.png");
    z-index: -1;
}

/* konten di atas semua */
.hero-content {
    position: relative;
    z-index: 10;
}


#app {
    position: relative;
    z-index: 1;
    min-height: var(--vh);
    overflow-x: hidden;
}

.huruf-sambung {
    font-family: 'Sacramento', cursive !important;
}

/* font wedding */
.font1 {
    font-family: "Great Vibes", serif;
    font-weight: 500;
    font-style: normal;

}



.font2 {
    font-family: "Playfair Display SC", serif;
    font-weight: 100 !important;
    font-style: normal;
    letter-spacing: 1px;
}


.btn-pink {
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px;
    border-radius: 4px;
    transition: 0.5s;
    color: var(--white);
    background: var(--pink);
}

.btn-pink:hover {
    background: transparent;
    color: black;
}

.border-pink {
    border-radius: 15px;
    border: 2px solid var(--pink);
}




/* pembuka-section */
#hero-section{
    display: flex;
    justify-content: center;
    position: relative;
    height: 100vh !important;
    width: 100vw;
    min-height: var(--vh);   /* full layar */
    overflow: hidden;
    padding: 0 !important;
    z-index: 1;
}

.overlay-hero {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.8) 90%,
        #fff 100%
    );
}

.hero-title{
    margin-top: 10vh;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}


/* Rapatkan semua teks di hero */
.hero-title h1{
    margin-top: 0 !important;
    line-height: 1.05;   /* jarak antar baris lebih mepet */
    font-size: 10px;
}

/* Jarak kecil antara "the wedding of" dan nama */
.hero-title .font1{
    font-size: 20px;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    letter-spacing: 1px;
}

.hero-title .font2{
    font-size: 12px;
    font-weight: 300;
}



/* tentang */
#tentang-section {
    padding: 40px 10px;
    background-color: #3f7040;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}




/* ==============================
   feature section
============================== */

#feature-section {
    padding-top: 40px;
    padding-bottom: 40px;
    background: #3e6f40;
}

.section h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

.feature {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 14px;
}


/* ===== KATALOG ===== */
.catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}


.template-card {
  border: 1px solid #eee;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.template-card img {
  width: 100%;
  height: 160px; /* lebih kecil */
  object-fit: cover;
}


.template-content {
  padding: 15px;
}

.template-content h3 {
  font-size: 15px;
  margin-bottom: 5px;
}

.template-content p {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.template-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.template-content h3 {
  font-size: 13px;
}

.template-content p {
  font-size: 11px;
}


/* catalog */
#catalog-section {
    padding: 40px 10px;
    background-color: #3f7040;
}

.btn {
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    transition: 0.5s;
    color: var(--white);
    background: #3f7040;
}



/* ==============================
   FAQ SECTION
============================== */

#faq-section {
    padding: 60px 20px;
    background: #3e6f40;
}

.faq-subtitle {
    font-style: italic;
    color: #444;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 5px;
}

.faq-item {
    border: 1px solid grey;
    background: white;
    align-self: start;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 5px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question span {
    font-size: 22px;
    font-weight: bold;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    padding: 0 20px;
    font-size: 14px;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 20px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
    transition: 0.3s;
}

/* Desktop 2 Kolom */
@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}


/* FOOTER */
footer {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #888;
}

.footer {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer .social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s ease;
}

/* Instagram default style */
.footer .ig {
    background: transparent;
    color: #E1306C; /* warna default IG */
}

/* Hover effect */
.footer .ig:hover {
    transform: scale(1.1);
    opacity: 0.8;
}




#catalog-section {
    padding: 40px 10px;
    background-color: #3f7040;
}



/* DESKTOP */
@media (min-width: 768px) {
  .container {
    max-width: 900px;
  }

  .catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* mobile */
@media (max-width: 768px) {

#hero-section .parallax-layer {
    background-position: center bottom;
    background-size: cover;
}

.layer-back {
    background-image: url("assets/images/bg-parallax.png");
    z-index: -4;
}

.layer-mid {
    background-image: url("assets/images/bg-parallax-3.png");
    z-index: -3;
}

.layer-front {
    background-image: url("assets/images/bg-parallax-2.PNG");
    z-index: -2;
}

.layer-foreground {
    background-image: url("assets/images/bg-parallax-1.PNG");
    z-index: -1;
}
}


