/* PAGE */


:root {
    --primary: #c6a47e;   /* gold */
    --dark: #0e0e0e;
    --white: #ffffff;
    --text-light: #cfcfcf;
    --glass: rgba(255,255,255,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--dark);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}
.gallery-page {
    background: #0e0e0e;
    padding: 60px 8%;
    color: #fff;
}

/* HERO */
.gallery-hero h1 {
    font-size: 30px;
    letter-spacing: 3px;
    margin-bottom: 35px;
    color: #fff;
    margin-top:20px;
}

/* FILTER */
.gallery-filters {
    margin-bottom: 35px;
}

.gallery-filters button {
    border: none;
    background: transparent;
    margin-right: 20px;
    font-size: 14px;
    cursor: pointer;
    color: #aaa;
    position: relative;
    transition: 0.3s;
}

/* GOLD UNDERLINE EFFECT 😏 */
.gallery-filters button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #c6a47e;
    transition: 0.3s;
}

.gallery-filters button:hover::after,
.gallery-filters .active::after {
    width: 100%;
}

.gallery-filters button:hover,
.gallery-filters .active {
    color: #c6a47e;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* ITEM */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

/* BIG CARD */
.gallery-item.big {
    grid-column: span 2;
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: 0.4s ease;
}

/* TEXT */
.overlay p {
    color: #c6a47e;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* HOVER EFFECT 🔥 */
.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* GOLD BORDER GLOW 😏 */
.gallery-item:hover {
    box-shadow: 0 10px 30px rgba(198,164,126,0.25);
}

/* HIDE */
.gallery-item.hide {
    display: none;
}

/* RESPONSIVE */
@media(max-width:900px){
    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:600px){
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}




/* HERO */
.gallery-banner {
    height: 60vh;
    background: url('../images/apart1.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:30px;
}

/* OVERLAY */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.8),
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.9)
    );
}

/* CONTENT */
.banner-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
}

/* GOLD LINE */
.banner-line {
    display: block;
    width: 60px;
    height: 2px;
    background: #c6a47e;
    margin: 0 auto 20px;
}

/* TEXT */
.banner-content h1 {
    font-size: 56px;
    letter-spacing: 3px;
}

.banner-content p {
    color: #c6a47e;
}

/* MOBILE */
@media(max-width:768px){
    .gallery-banner {
        height: 60vh;
        background-attachment: scroll;
    }

    .banner-content h1 {
        font-size: 36px;
    }
}


.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* ITEM */
.gallery-item {
    width: calc(33.33% - 14px);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
}

/* HOVER */
.gallery-item:hover img {
    transform: scale(1.08);
}

/* OVERLAY */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #c6a47e;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-section {
    padding: 60px 8%;
    background: #0e0e0e;
}

/* TITLE */
.gallery-title h1 {
    color: #fff;
    margin-bottom: 30px;
}

/* FILTER */
.gallery-tabs {
    margin-bottom: 30px;
}

.gallery-tabs button {
    background: none;
    border: none;
    color: #aaa;
    margin-right: 20px;
    cursor: pointer;
    position: relative;
}

/* GOLD LINE */
.gallery-tabs button::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #c6a47e;
    transition: 0.3s;
}

.gallery-tabs button:hover::after,
.gallery-tabs .active::after {
    width: 100%;
}

.gallery-tabs .active {
    color: #c6a47e;
}

/* FLEX LAYOUT */
.gallery-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* CARD */
.gallery-card {
    width: calc(33.33% - 14px);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: none;
}

/* IMAGE */
.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

/* HOVER */
.gallery-card:hover img {
    transform: scale(1.1);
    filter: brightness(70%);
}

/* OVERLAY */
.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    color: #c6a47e;
    transform: translateY(100%);
    transition: 0.4s;
}

/* SHOW TEXT */
.gallery-card:hover .card-overlay {
    transform: translateY(0);
}

/* LOAD MORE */
.load-box {
    text-align: center;
    margin-top: 30px;
}

.load-box button {
    padding: 10px 25px;
    background: #c6a47e;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

/* LIGHTBOX */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 85%;
}



/* RESPONSIVE */
@media(max-width:900px){
    .gallery-card {
        width: calc(50% - 10px);
    }
}

@media(max-width:500px){
    .gallery-card {
        width: 100%;
    }
}
/* CARD */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* IMAGE */
.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.6s ease;
}

/* HOVER BOX */
.hover-box {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.4s ease;
}

/* BORDER FRAME */
.hover-box::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255,255,255,0.6);
    transform: scale(0.8);
    opacity: 0;
    transition: 0.4s ease;
}

/* TEXT */
.hover-content {
    text-align: center;
    color: #fff;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.hover-content h2 {
    font-size: 24px;
}

.hover-content p {
    color: #c6a47e;
}

/* ZOOM ICON */
.zoom-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    color: #000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transform: scale(0);
    transition: 0.3s;
    cursor: pointer;
}

/* HOVER EFFECT */
.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .hover-box {
    opacity: 1;
}

.gallery-card:hover .hover-box::before {
    transform: scale(1);
    opacity: 1;
}

.gallery-card:hover .hover-content {
    transform: translateY(0);
}

.gallery-card:hover .zoom-icon {
    transform: scale(1);
}
/* TITLE */
.gallery-title {
    margin-bottom: 25px;
}

.gallery-title h1 {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
}

/* FILTER CONTAINER */
.gallery-tabs {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

/* BUTTON */
.gallery-tabs button {
    background: none;
    border: none;
    color: #aaa;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    transition: 0.3s ease;
    padding-bottom: 5px;
}

/* GOLD UNDERLINE */
.gallery-tabs button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #c6a47e;
    transition: 0.3s ease;
}

/* ACTIVE + HOVER */
.gallery-tabs button:hover,
.gallery-tabs button.active {
    color: #c6a47e;
}

.gallery-tabs button:hover::after,
.gallery-tabs button.active::after {
    width: 100%;
}
/* TABLET */
@media(max-width: 768px){

    .gallery-title h1 {
        font-size: 26px;
        text-align: center;
    }

    .gallery-tabs {
        justify-content: center;
        gap: 15px;
    }

    .gallery-tabs button {
        font-size: 14px;
    }
}

/* MOBILE */
@media(max-width: 480px){

    .gallery-title h1 {
        font-size: 22px;
    }

    .gallery-tabs {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .gallery-tabs button {
        font-size: 14px;
    }
}
/* INITIAL STATE */
.gallery-card {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

/* ACTIVE */
.gallery-card.show {
    opacity: 1;
    transform: translateY(0);
}
.gallery-card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 260px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.gallery-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card-back {
    background: #0e0e0e;
    color: #c6a47e;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
}
.gallery-card {
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}
/* INITIAL STATE */
.gallery-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

/* WHEN VISIBLE */
.gallery-card.show {
    opacity: 1;
    transform: translateY(0);
}
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/* IMAGE */
#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

/* ✅ REAL CLOSE BUTTON */
.close-btn {
    position: fixed;
    top: 20px;
    left: 20px;

    font-size: 32px;
    color: #fff;
    cursor: pointer;

    z-index: 10000;

    background: rgba(0,0,0,0.5);
    padding: 8px 14px;
    border-radius: 50%;

    transition: 0.3s;
}

.close-btn:hover {
    background: #c6a47e;
    color: #000;
}
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: none;

    z-index: 999999; /* 💥 highest */
}
.gallery-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

/* when visible */
.gallery-card.show {
    opacity: 1;
    transform: translateY(0);
}



*** cta****/
/* ================= CTA ================= */
.cta {
    padding: 60px 8%;
    background: linear-gradient(
        135deg,
        #0e0e0e,
        #1a1a1a
    );
}

/* CONTAINER */
.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* LEFT */
.cta-content {
    flex: 1;
}

/* HEADING */
.cta-content h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.cta-content h2 span {
    color: #c6a47e; /* gold */
}

/* TEXT */
.cta-content p {
    color: #cfcfcf;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* BUTTON */
.cta-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #c6a47e;
    color: #0e0e0e;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #ffffff;
    color: #000;
}

/* RIGHT IMAGE */
.cta-image {
    flex: 1;
    text-align: right;
}

.cta-image img {
    max-width: 350px;
    width: 100%;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-image {
        text-align: center;
    }

    .cta-content h2 {
        font-size: 26px;
    }
}
.container {
    max-width: 1200px;   /* 🔥 IMPORTANT */
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cta {
    display: flex;
    align-items: center;
    justify-content: center;

    background: none;   /* ❌ remove black box */
    padding: 0;         /* ❌ remove extra space */
}