/* --- Ikie Captures: KOTAK GAMBAR & AYAT SAMA LEBAR (50% / 50%) --- */
:root {
    --text-dark: #2c2825;
    --text-light: #777777;
    --bg-white: #ffffff;
    --bg-cream: #f4efe6; 
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: var(--font-sans);
    transition: background-color 0.5s ease, color 0.5s ease; 
    background-color: var(--bg-white); 
    color: var(--text-dark); 
    line-height: 1.8; 
    font-weight: 300; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header & Nav --- */
.header { 
    padding: 15px 2%;
    transition: background-color 0.5s ease; 
    background: var(--bg-white); 
    z-index: 10;
    width: 100%;
    position: relative; 
}

.nav-split-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-links-split {
    display: flex;
    gap: 25px;
    flex: 1;   
}

.left-nav {
    justify-content: flex-end;
}

.right-nav {
    justify-content: flex-start;
}

.nav-links-split a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    transition: color 0.3s; 
    white-space: nowrap; 
}
.nav-links-split a:hover { color: #aaaaaa; }

.logo-container-split { 
    text-align: center; 
    padding: 0 60px; 
}
.logo { 
    font-family: var(--font-serif); 
    font-size: 2.2rem; 
    text-decoration: none; 
    color: var(--text-dark); 
    letter-spacing: 4px; 
    display: block; 
    margin-bottom: 0px; 
    line-height: 1;
}
.tagline { 
    font-size: 0.65rem; 
    letter-spacing: 2px; 
    color: var(--text-light); 
    text-transform: uppercase; 
    white-space: nowrap;
}

/* BUTANG MENU 3 LINE */
.burger { 
    display: none; 
    cursor: pointer; 
    position: absolute; 
    top: 20px; 
    right: 30px; 
    z-index: 1000; 
}
.burger div { 
    width: 25px; 
    height: 2px; 
    background-color: var(--text-dark); 
    margin: 5px; 
    transition: all 0.3s ease; 
}

.burger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 5px); }
.burger.toggle .line2 { opacity: 0; }
.burger.toggle .line3 { transform: rotate(45deg) translate(-5px, -5px); }

/* KEMASKINI RESPONSIVE UNTUK IPAD & TABLET KECIL */
@media (max-width: 1200px) {
    .header {
        padding: 10px 2%; 
        position: sticky; 
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .nav-split-container {
        flex-direction: column;
        justify-content: center;
    }
    .left-nav, .right-nav {
        display: none; 
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 8px; 
    }
    .logo-container-split {
        padding: 0 50px; 
        margin-bottom: 0px;
    }
    .burger { 
        display: block; 
        top: 15px; 
        right: 25px; 
    }
}

/* KEMASKINI RESPONSIVE KHAS UNTUK TELEFON PINTAR */
@media (max-width: 768px) {
    .header { padding: 8px 2%; }
    .logo { font-size: 1.4rem; letter-spacing: 2px; }
    .tagline {
        font-size: 0.5rem;
        white-space: normal; 
        line-height: 1.3;
        padding: 0 5px;
    }
    .burger { top: 12px; right: 15px; }
}

/* --- Hero Slideshow --- */
.hero-fullscreen { 
    width: 100%; 
    margin: 0; 
    padding: 0; 
}
.slideshow-container {
    position: relative;
    width: 100%;
    height: 75vh;
}
.slideshow {
    display: flex;
    width: 100%;       
    height: 100%;      
    overflow-x: auto; 
    overflow-y: hidden;
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch; 
    background-color: var(--bg-cream); 
    scrollbar-width: none; 
    cursor: grab; 
}
.slideshow:active { cursor: grabbing; }
.slideshow::-webkit-scrollbar { display: none; }

.slide {
    flex: 0 0 100%; 
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    scroll-snap-align: start; 
    pointer-events: none; 
}

@media (max-width: 768px) {
    .slideshow-container, .slideshow { height: 60vh; }
    .slide { object-fit: cover; object-position: center; }
}

/* --- SPLIT BLOCKS SECTION (GAYA HUJUNG KE HUJUNG & KUNCI WIDTH 50/50 TEPAT) --- */
.split-blocks-section {
    width: 100%;
    background-color: var(--bg-white);
    transition: background-color 0.5s ease; 
    margin-top: 80px; 
    padding: 0;
}

.split-row {
    display: flex;
    width: 100%;
    min-height: 60vh; /* Ketinggian akan sama mengikut kotak text/gambar yang paling tinggi */
    margin: 0; 
    align-items: stretch; /* Memastikan ketinggian kiri dan kanan sama rata */
}

.split-row.reverse {
    flex-direction: row-reverse;
}

.image-col {
    width: 50%; /* Kunci Width 50% Tepat */
    position: relative; /* Setup untuk jadikan imej absolut penuh kotak */
}

.image-col img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Imej akan cover kotak 50% tu dengan kemas */
}

.text-col {
    width: 50%; /* Kunci Width 50% Tepat */
    background-color: var(--bg-cream);
    transition: background-color 0.5s ease; 
    padding: 60px 8%; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: left; 
}

.text-box-inner { 
    width: 100%; 
    max-width: 400px; 
    margin: 0 auto; 
}

.sub-category {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-style: italic;
    color: var(--text-light);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.block-title {
    font-family: var(--font-serif);
    font-size: 3rem; 
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.block-desc {
    font-size: 0.95rem; 
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 300;
}

.btn-gallery {
    display: inline-block;
    background-color: var(--text-dark); 
    color: #ffffff;
    text-decoration: none;
    font-size: 0.7rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-gallery:hover { 
    background-color: #a89f91; 
    color: #ffffff;
}

/* Responsive untuk blok zigzag di telefon */
@media (max-width: 900px) {
    .split-blocks-section {
        margin-top: 50px;
    }
    .split-row, .split-row.reverse {
        flex-direction: column; 
    }
    .image-col {
        width: 100%;
        height: 50vh; /* Hadkan tinggi gambar di telefon bimbit */
    }
    .image-col img {
        position: relative; /* Reset position untuk mobile */
    }
    .text-col {
        width: 100%;
        padding: 50px 20px;
        text-align: center; 
    }
    .block-title {
        font-size: 2.2rem;
    }
}

/* --- MINIMALIST QUOTE (KOSONG DIKURANGKAN, TENGAH TEPAT) --- */
.minimal-quote {
    text-align: center;
    padding: 30px 20px 20px 20px; /* Padding diseimbangkan */
    margin: 0;
    background-color: var(--bg-white);
}

.minimal-quote p {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 1px;
}

/* --- ALBUM GRID (3 KOTAK 1 BARIS) --- */
.album-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Kunci untuk ke tengah */
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}
.album-grid .album-card {
    flex: 0 0 calc(33.333% - 14px); /* Kekalkan saiz asal 1/3 skrin */
    max-width: 400px; 
}
.album-card {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 4px;
    text-decoration: none;
    height: 450px;
}
.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.album-card:hover img {
    transform: scale(1.08);
}
.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.album-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 400;
    color: #fff;
}
.album-subtitle {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #eaeaea;
}
@media (max-width: 900px) {
    .album-grid .album-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .album-card {
        height: 350px;
    }
}

/* --- Utilities & Lain-lain --- */
.section-padding { padding: 60px 5% 80px; }
.container { max-width: 1000px; margin: 0 auto; }
.text-center { text-align: center; }
.max-w-md { max-width: 600px; margin: 0 auto; }
.section-title { 
    font-family: var(--font-serif); 
    font-size: 2.5rem; 
    font-weight: 400; 
    font-style: italic; 
    margin-bottom: 30px; 
    color: var(--text-dark); 
}

.masonry-grid { display: block; column-count: 2; column-gap: 15px; }
.masonry-grid img { width: 100%; margin-bottom: 15px; display: block; transition: opacity 0.3s ease; cursor: pointer; }
.masonry-grid img:hover { opacity: 0.8; }
@media (max-width: 768px) { .masonry-grid { column-count: 1; } }

.about-container { display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; text-align: left; }
.about-text p { font-size: 0.95rem; color: var(--text-light); }
.about-img { flex: 1; }
.about-img img { width: 100%; height: auto; }
@media (max-width: 768px) { 
    .about-container { flex-direction: column; text-align: center; } 
    .about-text { text-align: center; } 
}

.contact-text { font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; }
.contact-email { 
    font-family: var(--font-serif); 
    font-size: 1.8rem; 
    color: var(--text-dark); 
    text-decoration: none; 
    font-style: italic; 
    border-bottom: 1px solid var(--text-dark); 
    padding-bottom: 5px; 
}
.contact-email:hover { color: #aaaaaa; border-color: #aaaaaa; }

.footer { 
    text-align: center; 
    padding: 20px 20px 40px 20px; /* Diimbangkan dengan kotak Quote */
    font-size: 0.7rem; 
    letter-spacing: 1px; 
    color: var(--text-light); 
    text-transform: uppercase; 
    margin-top: auto; 
}

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 1s ease-out, transform 1s ease-out; }
.fade-in.appear { opacity: 1; transform: translateY(0); }

/* --- SOCIAL ICONS FOOTER --- */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.social-icons a {
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--text-dark);
    transform: translateY(-3px);
}

.social-icons svg {
    width: 22px;
    height: 22px;
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
}

.whatsapp-float svg {
    fill: currentColor;
    width: 35px;
    height: 35px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* --- NIGHT MODE VARIABLES --- */
:root[data-theme="dark"] {
    --bg-white: #161616; /* Dark Charcoal */
    --bg-cream: #1e1d1b; /* Deep Mocha */
    --text-dark: #f0ebe1; /* Cream Text */
    --text-light: #9d9993; /* Dim Text */
    --accent-color: #b5a494; /* Soft Gold/Taupe */
}

/* THEME TOGGLE BUTTON */
.theme-toggle {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    padding: 5px;
}
.theme-toggle:hover {
    color: var(--accent-color);
}
.theme-toggle svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 1200px) { .theme-toggle { left: 25px; right: auto; top: 12px; } }
@media (max-width: 768px) { .theme-toggle { left: 15px; right: auto; top: 10px; } .theme-toggle svg { width: 22px; height: 22px; } }

/* Tweak button for Night Mode readability */
:root[data-theme="dark"] .btn-gallery {
    background-color: var(--accent-color);
    color: #1a1a1a;
    font-weight: 600;
}
:root[data-theme="dark"] .btn-gallery:hover {
    background-color: var(--text-dark);
    color: #1a1a1a;
}


/* --- CONTACT SPLIT LAYOUT & ELEGANT FORM --- */
.contact-split-section { 
    display: flex; 
    flex-wrap: wrap; 
    min-height: 85vh; 
    width: 100%; 
    background-color: var(--bg-white); 
    transition: background-color 0.5s ease; 
}
.contact-image-col { 
    width: 50%; 
    position: relative; 
}
.contact-image-col img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.contact-form-col { 
    width: 50%; 
    padding: 80px 8%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    background-color: var(--bg-cream); 
    transition: background-color 0.5s ease; 
}
.contact-form-inner { 
    max-width: 500px; 
    width: 100%; 
    margin: 0 auto; 
}

/* ELEGANT FORM */
.elegant-form {
    margin-top: 30px;
}
.elegant-form .input-group { 
    position: relative; 
    margin-bottom: 35px; 
}
.elegant-form input, .elegant-form textarea { 
    width: 100%; 
    padding: 10px 0; 
    font-family: var(--font-sans); 
    font-size: 0.95rem;
    color: var(--text-dark); 
    background: transparent; 
    border: none; 
    border-bottom: 1px solid var(--text-light);
    outline: none; 
    transition: border-color 0.3s ease, color 0.5s ease; 
    resize: none;
}
.elegant-form label {
    position: absolute; 
    top: 10px; 
    left: 0; 
    color: var(--text-light); 
    font-size: 0.95rem;
    pointer-events: none; 
    transition: all 0.3s ease;
}
/* Floating Label Effect */
.elegant-form input:focus ~ label, .elegant-form input:not(:placeholder-shown) ~ label,
.elegant-form textarea:focus ~ label, .elegant-form textarea:not(:placeholder-shown) ~ label {
    top: -18px; 
    font-size: 0.7rem; 
    color: var(--accent-color); 
    font-weight: 600; 
    letter-spacing: 1.5px; 
    text-transform: uppercase;
}
.elegant-form input:focus, .elegant-form textarea:focus { 
    border-bottom: 2px solid var(--accent-color); 
}
.btn-submit { 
    width: 100%; 
    margin-top: 15px; 
    border: none; 
    cursor: pointer; 
    text-align: center;
}

/* CONTACT DIRECT LINKS */
.contact-direct { 
    margin-top: 50px; 
    font-size: 0.85rem; 
    color: var(--text-light); 
    border-top: 1px solid rgba(0,0,0,0.1); 
    padding-top: 30px; 
}
:root[data-theme="dark"] .contact-direct { 
    border-top: 1px solid rgba(255,255,255,0.1); 
}
.contact-direct a { 
    color: var(--text-dark); 
    text-decoration: none; 
    display: inline-block; 
    margin-right: 20px; 
    transition: color 0.3s; 
}
.contact-direct a.direct-email {
    font-family: var(--font-serif); 
    font-size: 1.6rem; 
    font-style: italic; 
}
.contact-direct a.direct-phone {
    font-family: var(--font-sans); 
    font-size: 1.2rem; 
    font-style: normal;
    font-weight: 500;
    letter-spacing: 1px;
}
.contact-direct a:hover { 
    color: var(--accent-color); 
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-image-col, .contact-form-col { width: 100%; }
    .contact-image-col { height: 40vh; }
    .contact-image-col img { position: relative; height: 100%; }
    .contact-form-col { padding: 60px 5%; }
    .contact-direct a { display: block; margin-bottom: 10px; }
}


/* --- STICKY SPLIT ABOUT PAGE --- */
.about-sticky-section { width: 100%; background-color: var(--bg-white); transition: background-color 0.5s ease; position: relative; }
.sticky-container { display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 40px 5%; gap: 60px; align-items: flex-start; }
.sticky-image-col { flex: 1; min-width: 300px; position: sticky; top: 100px; }
.sticky-wrapper { position: relative; height: calc(100vh - 140px); min-height: 500px; max-height: 700px; overflow: hidden; border-radius: 4px; }
.sticky-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: filter 0.5s ease, transform 0.8s ease; }
.sticky-wrapper:hover img { filter: grayscale(0%); transform: scale(1.03); }
.scrolling-text-col { flex: 1; min-width: 300px; padding: 20px 0 100px 0; }
.editorial-title { font-family: var(--font-serif); font-size: 4.5rem; font-style: italic; color: var(--text-dark); margin-bottom: 20px; line-height: 1; letter-spacing: 2px; }
.editorial-desc { font-size: 1.05rem; color: var(--text-light); margin-bottom: 25px; line-height: 1.8; }
.expertise-list { margin-top: 40px; margin-bottom: 50px; }
.expertise-title { font-family: var(--font-sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-dark); margin-bottom: 20px; border-bottom: 1px solid var(--accent-color); padding-bottom: 10px; display: inline-block; }
.expertise-list ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 20px; }
.expertise-list li { font-size: 0.95rem; color: var(--text-light); position: relative; padding-left: 20px; font-style: italic; font-family: var(--font-serif); font-size: 1.2rem; }
.expertise-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; background-color: var(--accent-color); border-radius: 50%; }
.signature { font-family: var(--font-serif); font-size: 3rem; font-style: italic; color: var(--accent-color); opacity: 0.8; }
.about-cta { margin-top: 80px; padding-top: 50px; border-top: 1px solid rgba(157, 140, 124, 0.3); }
@media (max-width: 900px) {
    .sticky-container { flex-direction: column; gap: 30px; }
    .sticky-image-col { position: relative; top: 0; width: 100%; }
    .sticky-wrapper { height: 60vh; min-height: 400px; }
    .scrolling-text-col { padding: 0 0 60px 0; }
    .editorial-title { font-size: 3.5rem; }
    .expertise-list ul { grid-template-columns: 1fr; }
}


/* Fix floating label for date input */
.elegant-form input[type="date"] ~ label {
    top: -18px; 
    font-size: 0.7rem; 
    color: var(--accent-color); 
    font-weight: 600; 
    letter-spacing: 1.5px; 
    text-transform: uppercase;
}
/* Invert calendar icon color in dark mode for visibility */
:root[data-theme="dark"] .elegant-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}
