/* =========================================
   IMPORT FONTS & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    --soft-purple: rgba(124, 58, 237, 0.05);
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --bg-body: #fafafa;
}

/* =========================================
   LAZY LOADING STYLES - Untuk Image Optimization
   ========================================= */
img[loading="lazy"],
img[data-src] {
    transition: opacity 0.3s ease-in-out;
}

img.lazy-loaded {
    opacity: 1;
}

/* CRITICAL: Pastikan semua gambar preview tampil JELAS (tidak buram) */
.hero-image, .uni-card img, .client-item img, 
.lightbox-image, .service-card img, .portfolio-item img {
    opacity: 1 !important;
}

/* Connect section image - dengan blur effect untuk fokus ke content */
.connect-bg-image {
    opacity: 1 !important;
    filter: blur(1.5px) brightness(0.95); 
    transform: scale(1.05); 
    object-fit: cover;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, filter;
}

img[loading="lazy"],
img[data-src] {
    opacity: 1 !important;
}

img[data-blur-src] {
    will-change: filter;
}

[data-bg-image] {
    background-color: var(--border-light);
    transition: background-image 0.3s ease;
}

[data-bg-image].bg-loaded {
    background-attachment: fixed;
}

video.video-loaded {
    animation: videoFadeIn 0.5s ease;
}

@keyframes videoFadeIn {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* =========================================
   1. RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    padding-top: 125px; /* <--- SESUAI KODE LAMA */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   2. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
    padding: 20px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.nav-arrow:hover {
    color: rgba(255, 255, 255, 1);
}

.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

/* =========================================
   3. GLOBAL COMPONENTS (Icons, Separators)
   ========================================= */
.intro-section {
    padding: 60px 20px;
    background-color: transparent;
    text-align: center;
    max-width: 90px;
    margin: 0 auto;
}

.intro-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* Diselaraskan dengan icon form booking */
.icon-circle {
    position: relative; width: 50px; height: 50px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; background: #fff; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: none;
}
.icon-circle::before { 
    content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2px; 
    background: var(--primary-gradient); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); 
    -webkit-mask-composite: xor; mask-composite: exclude; 
}
.icon-circle i { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.3rem; }

.intro-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.intro-separator {
    font-size: 1.5rem;
    font-weight: bold;
    color: #db2777; /* Menggunakan warna pink dari brand */
    margin-bottom: 20px;
    line-height: 10px;
}

.intro-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 5px;
    font-weight: 400;
}

/* =========================================
   4. PORTFOLIO GRID SECTION
   ========================================= */
.portfolio-section {
    padding: 40px 20px 80px 20px;
    background-color: var(--bg-body);
    text-align: center;
}

.section-header { margin-bottom: 40px; }

.sub-heading {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #db2777; /* Diselaraskan warna pink */
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.main-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Disamakan dengan gap di form */
    max-width: 1400px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.portfolio-item {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden; /* Sesuai request: TIDAK ADA BORDER RADIUS */
    cursor: default; /* Kursor biasa karena tidak bisa diklik/hover */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Mencegah seleksi gambar */
}
/* EFEK HOVER DIHAPUS SESUAI REQUEST */

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 10px 20px 10px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
    color: #fff;
    text-align: center;
}

.location {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #f1f5f9;
}

.couple-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Button Modern diselaraskan dengan .main-book-btn */
.view-all-btn {
    display: inline-block;
    background: var(--primary-gradient);
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
    transition: all 0.3s ease;
}

.view-all-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.25);
    color: #fff;
}

/* =========================================
   5. CONNECT (PARALLAX) SECTION
   ========================================= */
.connect-section {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.connect-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6); /* Warna overlay lebih biru gelap elegan */
    z-index: 1;
}

.connect-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.connect-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.pricelist-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.pricelist-link:hover {
    background-color: #ffffff;
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* =========================================
   6. SERVICES SECTION
   ========================================= */
.services-section {
    padding: 60px 40px;
    background-color: transparent;
}

.services-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) brightness(0.6);
    transition: all 0.5s ease;
}

.service-card:hover img {
    filter: grayscale(0%) brightness(0.9);
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.service-icon {
    width: 45px;
    height: 45px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(3px);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* =========================================
   7. REVIEW SECTION
   ========================================= */
.review-section {
    padding: 80px 40px;
    background-color: transparent;
    overflow: hidden;
}

.review-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    align-items: flex-start;
}

.review-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    position: relative;
    padding-top: 50px;
}

.review-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.review-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 40px;
}

.team-illustration {
    width: 100%;
    max-width: 500px;
    filter: grayscale(100%) contrast(1.2); 
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.review-right { flex: 1; }

.testimonial-card {
    background-color: #fff;
    padding: 60px 40px 30px 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.client-img-wrapper {
    position: absolute;
    top: -40px;
    right: 40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.15);
}

.client-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.testimonial-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
    font-style: italic;
}

.slider-controls { margin-top: 40px; border-top: 1px dashed var(--border-light); padding-top: 20px; }
.progress-bars { display: flex; gap: 5px; margin-bottom: 15px; }
.bar { height: 4px; background-color: var(--border-light); flex-grow: 1; border-radius: 2px; }
.bar.active { background: var(--primary-gradient); }

.nav-buttons { display: flex; align-items: center; color: var(--text-muted); font-size: 1rem; }
.nav-buttons i { cursor: pointer; padding: 5px; transition: color 0.3s; }
.nav-buttons i:hover { color: #db2777; }
.page-indicator { margin: 0 15px; font-weight: 700; color: var(--text-dark); }
.extra-icons { margin-left: auto; display: flex; gap: 15px; }

/* =========================================
   8. FOOTER STYLES
   ========================================= */
.site-footer {
    background-color: #0f172a; /* Menyelaraskan black dengan slate-900 (Text-dark) */
    color: #ffffff;
    padding: 80px 40px 30px 40px;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col { flex: 1; min-width: 180px; }

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #94a3b8; transition: color 0.3s ease; }
.footer-links a:hover { color: #ffffff; }

.social-icons { display: flex; gap: 15px; }
.social-icons a { 
    color: #94a3b8; 
    font-size: 1.2rem; 
    width: 40px; height: 40px; 
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease; 
}
.social-icons a:hover { color: #fff; background: var(--primary-gradient); }

.logo-box {
    border: none;
    background: var(--primary-gradient);
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.logo-box span { font-size: 1.2rem; font-family: 'Playfair Display', serif;}
.logo-box small { font-size: 0.6rem; letter-spacing: 1px; margin-top: 2px;}

.address-col p, .address-text {
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.6;
}

.address-text { align-items: flex-start; }
.address-text i { margin-top: 4px; color: #db2777; }

.footer-bottom {
    text-align: center;
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.85rem;
}

/* =========================================
   9. MISCELLANEOUS
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover { transform: scale(1.1) translateY(-5px); }

.fade-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.fade-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   10. PRICELIST PAGE STYLES (Penyesuaian ke Form)
   ========================================= */
.pricelist-section {
    padding: 40px 20px 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pl-text-container { max-width: 700px; margin: 0 auto; }
.pl-heading { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 20px; }
.pl-paragraph { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 25px; }

.pl-form-container { margin-top: 40px; }
.pl-access-form { display: flex; justify-content: center; gap: 10px; max-width: 500px; margin: 0 auto; }
.pl-access-form input { 
    padding: 14px 20px; 
    border: 1.5px solid var(--border-light); 
    border-radius: 50px;
    flex: 1; 
    font-size: 0.95rem; 
    outline: none; 
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s;
}
.pl-access-form input:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1); }

.pl-access-form button { 
    padding: 14px 30px; 
    background: var(--primary-gradient); 
    color: white; 
    border: none; 
    border-radius: 50px;
    cursor: pointer; 
    font-weight: 700;
    font-size: 0.95rem; 
    transition: all 0.3s; 
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}
.pl-access-form button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3); }

/* =========================================
   11. GLOBAL RESPONSIVE HELPERS
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
.responsive-table, .table-wrapper { width: 100%; overflow-x: auto; }
input[type="text"], input[type="email"], input[type="date"], select, textarea, .filter-input { width: 100%; max-width: 100%; box-sizing: border-box; }
button, .btn-primary, .btn-secondary, .action-btn { cursor: pointer; }

/* Desktop Medium */
@media (max-width: 1024px) {
    .hero-section { height: 60vh; }
    .content-header { margin-bottom: 20px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet */
@media (max-width: 900px) {
    .review-container { flex-direction: column; gap: 80px; }
    .review-left { align-items: center; text-align: center; width: 100%; }
    .testimonial-card { margin-top: 20px; }
}

@media (max-width: 768px) {
    .nav-footer { padding-top: 12px; }
    .main-content { padding: 20px; }
    .sidebar, .photographer-sidebar { width: 80px; padding: 14px; }
    .connect-section { height: 350px; background-attachment: scroll; }
    .connect-title { font-size: 2rem; }
    .intro-text p { font-size: 0.95rem; padding: 0 10px; }
    .intro-text br { display: none; }
    .footer-container { flex-direction: column; gap: 50px; }
    .footer-bottom { margin-top: 40px; text-align: left; }
    
    /* Perbaikan form mobile layout */
    .pl-access-form { flex-direction: column; gap: 15px; }
    .pl-access-form input, .pl-access-form button { width: 100%; border-radius: 12px; }
}

/* Mobile */
@media (max-width: 600px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-item { height: 250px; }
    .services-section { padding: 40px 20px; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .intro-section { padding: 30px 10px; }
    .content-header h2 { font-size: 1.2rem; }
    .stat-value { font-size: 1.6rem; }
    .nav-item { padding: 10px 8px; font-size: 0.95rem; }
}

/* Mobile Visibility Utilities */
.mobile-hidden { display: block; }
@media (max-width: 768px) { .mobile-hidden { display: none; } }
.mobile-only { display: none; }
@media (max-width: 768px) { .mobile-only { display: block; } }