/* ASH TEST 123 */

/* ===================================
   POLAPIX FRONTEND V2
   PART 1 - BASE + LOGIN + HERO
=================================== */

/* RESET */

.polapix-page,
.polapix-login,
.polapix-card,
.polapix-hero,
.polapix-gallery {
    box-sizing: border-box;
    font-family: 
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
        padding:40px 50px;
}


.polapix-page {

    max-width: 1200px;

    margin: 60px auto; 
    padding:45px 50px;

    color: #111827;

}



/* ===================================
   LOGIN
=================================== */


/* POLAPIX LOGIN DESIGN */

.polapix-login{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:20px;

    background:#faf8f3;

}


.polapix-card{

    width:420px;

    padding:50px 40px;

    background:#ffffff;

    border-radius:28px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

    text-align:center;

}


.polapix-login-icon{

    font-size:45px;

    margin-bottom:20px;

}


.polapix-card h2{

    font-size:30px;

    font-weight:600;

    color:#222;

    margin-bottom:15px;

}


.polapix-card p{

    font-size:15px;

    color:#777;

    line-height:1.6;

    margin-bottom:30px;

}


.polapix-card label{

    display:block;

    text-align:left;

    font-size:13px;

    font-weight:600;

    margin-bottom:8px;

}


.polapix-card input{

    width:100%;

    height:50px;

    border:1px solid #ddd;

    border-radius:12px;

    padding:0 15px;

    font-size:14px;

    box-sizing:border-box;

}


.polapix-card input:focus{

    border-color:#c9a227;

    outline:none;

}


.polapix-button{

    width:100%;

    height:50px;

    margin-top:20px;

    border:none !important;

    border-radius:12px !important;

    background:#c9a227 !important;

    color:#fff !important;

    font-weight:600;

    font-size:15px;

}


.polapix-button:hover{

    background:#b18b18 !important;

}

.polapix-error {

    margin-top:20px;

    padding:12px;

    border-radius:10px;

    background:#fee2e2;

    color:#991b1b;

}



/* ===================================
   HERO
=================================== */


.polapix-hero {

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:28px;

    padding:45px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.06);

}


.polapix-badge {

    display:inline-block;

    background:#eff6ff;

    color:#2563eb;

    padding:7px 14px;

    border-radius:999px;

    font-size:13px;

    font-weight:600;

}


.polapix-title{
    font-size:48px;
    line-height:1.2;
    letter-spacing:-1px;
    margin:20px 0 10px;
    font-weight:700;
}


.polapix-subtitle {

    color:#6b7280;

    font-size:18px;

    margin-bottom:35px;

}


/* INFO CARD */


.polapix-info-grid {

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:18px;

}


.polapix-info-card {

    background:#f9fafb;

    border:1px solid #e5e7eb;

    padding:22px;

    border-radius:18px;

}


.polapix-info-card span {

    display:block;

    color:#6b7280;

    font-size:14px;

    margin-bottom:8px;

}


.polapix-info-card strong {

    font-size:18px;

    color:#111827;

}

/* ===================================
   ACTION BUTTON
=================================== */


.polapix-actions {

    display:flex;

    gap:15px;

    margin-top:35px;

}


.polapix-btn {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 24px;

    border-radius:14px;

    text-decoration:none;

    font-size:15px;

    font-weight:600;

    transition:.3s;

}


.polapix-btn-primary {

    background:linear-gradient(135deg,#d4af37,#b8860b);

    color:#ffffff;

    box-shadow:0 8px 20px rgba(212,175,55,.25);

}


.polapix-btn-primary:hover {

    background:linear-gradient(135deg,#b8860b,#997404);

    color:#ffffff;

}


.polapix-btn-primary:hover {

    background:#1d4ed8;

    color:#ffffff;

}



.polapix-btn-secondary {

    background:#f3f4f6;

    color:#111827;

    border:1px solid #e5e7eb;

}


.polapix-btn-secondary:hover {

    background:#e5e7eb;

}



/* ===================================
   GALLERY GRID
=================================== */


.polapix-gallery {

    margin-top:50px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}



/* ===================================
   PHOTO CARD
=================================== */


.polapix-photo-card {

    overflow:hidden;
padding:0;
    border-radius:20px;

    background:#ffffff;

    border:1px solid #e5e7eb;

    box-shadow:

        0 10px 30px rgba(0,0,0,.05);
transition:.3s ease;
}

.polapix-photo-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}







.polapix-photo-card:hover img {

    transform:scale(1.05);

}



/* ===================================
   PHOTO OVERLAY
=================================== */

.polapix-photo-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.35);
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
}
.polapix-photo-card:hover .polapix-photo-overlay{
    opacity:1;
    visibility:visible;
}
.polapix-photo-image{
    position:relative;
    overflow:hidden;
}


.polapix-photo-card:hover 
.polapix-photo-overlay {

    opacity:1;

}



.polapix-photo-actions {
display:flex;
flex-direction:row;
gap:10px;
justify-content:center;
}



.polapix-view,
.polapix-download {

    border:none;

    padding:12px 20px;

    border-radius:12px;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    text-decoration:none;

}



.polapix-view {

    background:#ffffff;

    color:#111827;

}



.polapix-download {

    background:#2563eb;

    color:#ffffff;

}



.polapix-download:hover {

    color:#ffffff;

    background:#1d4ed8;

}



/* ===================================
   EMPTY GALLERY
=================================== */


.polapix-empty {

    margin-top:40px;

    padding:50px;

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    text-align:center;

    color:#6b7280;

}

/* ===================================
   RESPONSIVE
=================================== */


@media (max-width: 1024px) {


    .polapix-info-grid {

        grid-template-columns:repeat(2,1fr);

    }


    .polapix-gallery {

        grid-template-columns:repeat(2,1fr);

    }


    .polapix-title {

        font-size:38px;

    }


}



/* ===================================
   MOBILE
=================================== */


@media (max-width: 600px) {


    .polapix-page {

        margin:30px auto;

        padding:0 15px;

    }



    .polapix-hero {

        padding:25px;

        border-radius:20px;

    }



    .polapix-title {

        font-size:32px;

    }



    .polapix-subtitle {

        font-size:15px;

    }



    .polapix-info-grid {

        grid-template-columns:1fr;

    }



    .polapix-actions {

        flex-direction:column;

    }



    .polapix-btn {

        width:100%;

    }



    .polapix-gallery {

        grid-template-columns:1fr;

        gap:20px;

        margin-top:30px;

    }



    .polapix-card {

        padding:30px 20px;

    }



}



/* ===================================
   SMOOTH EFFECT
=================================== */


.polapix-card,
.polapix-hero,
.polapix-info-card {


    animation:

        polapixFade .5s ease;


}



@keyframes polapixFade {


    from {

        opacity:0;

        transform:translateY(15px);

    }


    to {

        opacity:1;

        transform:translateY(0);

    }


}



/* ===================================
   IMAGE RADIUS FIX
=================================== */

.polapix-photo-card{
    overflow:hidden;
    border-radius:20px;
}

.polapix-photo-image{
    width:100%;
    aspect-ratio: 3 / 4;
    overflow:hidden;
    border-radius:20px;
}

.polapix-photo-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* REMOVE DEFAULT LINK STYLE */


.polapix-page a {

    text-decoration:none;

}



/* BUTTON RESET */


.polapix-page button {

    font-family:inherit;

}

/* =================================
   LIGHTBOX
================================= */


.polapix-lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.85);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:99999;

    padding:30px;

}


/* =========================
   POLAPIX LIGHTBOX FIX
========================= */

.polapix-lightbox{

    position:fixed !important;

    top:0;
    left:0;

    width:100vw;
    height:100vh;

    background:rgba(0,0,0,.85);

    display:none;

    align-items:center;
    justify-content:center;

    z-index:999999 !important;

}


.polapix-lightbox img{

    max-width:80vw;

    max-height:80vh;

    width:auto;
    height:auto;

    object-fit:contain;

    border-radius:18px;

    box-shadow:
    0 30px 80px rgba(0,0,0,.6);

}



.polapix-lightbox-close{

    position:fixed;

    top:30px;

    right:40px;

    color:white;

    font-size:45px;

    font-weight:300;

    cursor:pointer;

    z-index:1000000;

}

.polapix-lightbox{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    width:100% !important;
    height:100% !important;

    max-width:none !important;
    max-height:none !important;

    margin:0 !important;
    padding:0 !important;

    display:none;
    align-items:center;
    justify-content:center;

    background:rgba(0,0,0,.85);

    z-index:999999999 !important;

    overflow:hidden;
}


.polapix-lightbox img{

    width:auto !important;
    height:auto !important;

    max-width:85vw !important;
    max-height:85vh !important;

    object-fit:contain;

    border-radius:15px;

}

/* =================================
   POLAPIX HERO POLISH
================================= */


.polapix-title{
    font-size:56px;
    font-weight:800;
    letter-spacing:-2px;
    color:#111827;
    margin-bottom:15px;
}


.polapix-subtitle{

    font-size:17px;
    color:#64748b;

    margin-bottom:45px;

}



/* INFO TEXT */

.polapix-hero .polapix-meta,
.polapix-meta{

    display:flex;

    flex-direction:column;

    gap:14px;

    font-size:18px;

    color:#1e293b;

}


.polapix-meta strong{

    font-weight:700;

    color:#111827;

}




/* BUTTON AREA */

.polapix-actions{

    margin-top:45px;

    display:flex;

    gap:15px;

}



.polapix-btn{

    height:52px;

    padding:0 28px;

    border-radius:14px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    font-size:15px;

    font-weight:700;

    transition:.25s;

}




/* DOWNLOAD */

.polapix-btn-primary{

    background:linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );

    color:white;

    box-shadow:
    0 10px 25px rgba(37,99,235,.25);

}


.polapix-btn-primary:hover{

    transform:translateY(-2px);

    box-shadow:
    0 15px 35px rgba(37,99,235,.35);

}



/* LOGOUT */

.polapix-btn-secondary{

    background:#f8fafc;

    border:1px solid #e2e8f0;

    color:#334155;

}



.polapix-btn-secondary:hover{

    background:#f1f5f9;

}



/* REMOVE DEFAULT ICON LOOK */

.polapix-btn-primary:first-letter{

    font-size:18px;

}

/* =================================
   EVENT DETAILS PREMIUM
================================= */


.polapix-meta{

    display:flex;

    flex-direction:column;

    gap:18px;

    margin-top:30px;

}



.polapix-detail{

    display:flex;

    align-items:center;

    gap:8px;

    font-size:18px;

}



.polapix-detail span{

    color:#64748b;

    font-weight:500;

}



.polapix-detail strong{

    color:#111827;

    font-weight:700;

}

.polapix-btn-primary,
.polapix-download,
a.polapix-download,
button.polapix-download {

    background:#d4af37 !important;
    color:white !important;

    border:none !important;

}
@media(max-width:768px){

    .polapix-page{
        max-width:100%;
        margin:20px 0;
        padding:10px !important;
    }


    .polapix-hero{
        padding:20px 16px !important;
        border-radius:22px;
    }


    .polapix-title{
        font-size:32px !important;
        line-height:1.15 !important;
        letter-spacing:-1px !important;
        margin:15px 0 10px !important;
    }


    .polapix-subtitle{
        font-size:15px !important;
        margin-bottom:18px !important;
    }


    .polapix-detail{
        font-size:15px !important;
        margin-bottom:5px !important;
    }


    .polapix-actions{
        margin-top:20px !important;
        width:100%;
        display:flex;
        flex-direction:column;
    }


    .polapix-btn{
        width:100% !important;
        box-sizing:border-box;
    }


    /* GALLERY FIX */
    .polapix-gallery{
        padding:0 !important;
        margin-top:20px !important;
        width:100% !important;
        grid-template-columns:repeat(2,1fr) !important;
        gap:8px !important;
    }


    .polapix-photo-card{
        width:100%;
        border-radius:15px;
    }


    .polapix-photo-image{
        aspect-ratio:3/4;
        border-radius:15px;
    }


    .polapix-photo-image img{
        width:100%;
        height:100%;
        object-fit:cover;
    }


    /* buang overlay mobile */
    .polapix-photo-overlay{
        display:none !important;
    }

}


@media(max-width:768px){

.polapix-photo-overlay{
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
}

.polapix-photo-card.active .polapix-photo-overlay{
    opacity:1;
    visibility:visible;
}

}
/* =========================
PORTFOLIO CREAM THEME
========================= */

.polapix-portfolio{
    background:#F8F5EF !important;
}


/* Portfolio Card */

.polapix-card{
    background:#FFFFFF !important;
    border-radius:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}


/* Card Text */

.polapix-card h2,
.polapix-content h2{
    color:#102B22 !important;
}


.polapix-card p,
.polapix-content p{
    color:#666 !important;
}


/* Button */

.polapix-button{
    background:#D4AF37 !important;
    color:#102B22 !important;
    border-radius:50px;
}


/* Date */

.polapix-date{
    color:#888 !important;
}
/* PORTFOLIO HEADER TEXT FIX */

.polapix-portfolio h1,
.polapix-portfolio .portfolio-title{
    color:#102B22 !important;
    opacity:1 !important;
}


.polapix-portfolio p,
.polapix-portfolio .portfolio-description{
    color:#5B5B5B !important;
    opacity:1 !important;
}


/* Badge */

.polapix-portfolio .badge,
.polapix-portfolio .category{
    color:#102B22 !important;
}
/* Portfolio Card Spacing Fix */

.polapix-portfolio .portfolio-card {
    justify-content: flex-start !important;
}


/* Title Wedding */
.polapix-portfolio .portfolio-card h3,
.polapix-portfolio .portfolio-card .title {
    font-family: "Playfair Display", serif !important;
    font-weight: 600 !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-top: 18px !important;
    margin-bottom: 12px !important;
    color: #102B22 !important;
}


/* Date */
.polapix-portfolio .portfolio-card .date,
.polapix-portfolio .portfolio-card p {
    margin-top:0 !important;
    margin-bottom:25px !important;
    color:#9A8F85 !important;
}


/* Button naik sikit */
.polapix-portfolio .portfolio-card .button,
.polapix-portfolio .portfolio-card a {
    margin-top:10px !important;
}


/* Remove excessive spacing */
.polapix-portfolio .portfolio-card > * {
    flex-shrink:0;
}

/* Portfolio title */
h3 {
    font-family: "Playfair Display", serif !important;
    font-weight: 600 !important;
    margin-top: 15px !important;
    margin-bottom: 8px !important;
}


/* Date bawah title */
.portfolio-date,
.date,
small {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}


/* Button */
button,
a {
    margin-top: 10px !important;
}
/* Portfolio card content alignment */

.polapix-portfolio .portfolio-card h3,
.polapix-portfolio h3 {
    font-family: "Cormorant Garamond", serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 18px 0 0 !important;
}


/* Date semua sama position */
.polapix-portfolio .portfolio-card p,
.polapix-portfolio .portfolio-card .date {
    height: 35px;
    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Button turun sama level */
.polapix-portfolio .portfolio-card a,
.polapix-portfolio a {
    margin-top: 15px !important;
}

/* ===== Polapix Portfolio Luxury Style ===== */

/* Import Wedding Font */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&display=swap');


/* Title Wedding */
.polapix-portfolio h3 {
    font-family: "Cormorant Garamond", serif !important;
    font-size: 27px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    line-height: 1.25 !important;

    height: 55px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;

    margin: 14px 0 5px !important;
}


/* Date */
.polapix-portfolio .date,
.polapix-portfolio p {
    font-size: 14px !important;
    color: #9b8f84 !important;

    height: 30px !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;
}


/* Button Premium */
.polapix-portfolio a {
    border-radius: 30px !important;
    padding: 13px 32px !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    margin-top: 8px !important;
}


/* Kurangkan ruang bawah card */
.polapix-portfolio .portfolio-card {
    padding-bottom: 35px !important;
}
/* ===== POLAPIX FINAL POLISH ===== */

/* Wedding title */
.polapix-portfolio .portfolio-item h3,
.polapix-portfolio .portfolio-card h3,
.polapix-portfolio h3 {
    font-family: "Cormorant Garamond", serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}


/* Date */
.polapix-portfolio .date,
.polapix-portfolio .portfolio-date {
    font-size: 13px !important;
    color: #a08f82 !important;
}


/* Button kecil balik */
.polapix-portfolio a {
    padding: 10px 25px !important;
    border-radius: 25px !important;
    font-size: 13px !important;
    width: auto !important;
    display: inline-flex !important;
}


/* Card spacing */
.polapix-portfolio .portfolio-card {
    padding-bottom: 30px !important;
}
/* ===== POLAPIX PORTFOLIO FINAL ===== */


/* Title Wedding */
.polapix-content h2 {
    font-family: "Lora", serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    
    margin: 18px 0 8px !important;
}


/* Date */
.polapix-content p {
    font-size: 13px !important;
    color: #a08f82 !important;

    margin: 0 0 20px !important;
}


/* Button */
.polapix-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 140px !important;
    height: 42px !important;

    padding: 0 !important;

    border-radius: 25px !important;

    font-size: 13px !important;
    font-weight: 600 !important;
}


/* Card spacing */
.polapix-content {
    padding-bottom: 25px !important;
}
.polapix-content h2 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
}
/* ===== POLAPIX BUTTON PREMIUM FINAL ===== */

.polapix-portfolio .polapix-button{

    background:linear-gradient(
        135deg,
        #D4AF37,
        #B89020
    ) !important;

    color:#ffffff !important;

    width:150px !important;

    height:45px !important;

    border-radius:50px !important;

    font-family:"Lora", serif !important;

    font-size:13px !important;

    font-weight:600 !important;

    letter-spacing:.3px;

    box-shadow:
    0 8px 20px rgba(212,175,55,.25);

    transition:.3s ease;

}


.polapix-portfolio .polapix-button:hover{

    transform:translateY(-4px);

    box-shadow:
    0 15px 35px rgba(212,175,55,.35);

}