/* =====================================================
   GALLERY PAGE — Sarvottam Group
   ===================================================== */

:root {
    --premium-gold: #000;
    --premium-dark: #0a0a0a;
    --premium-accent: #1a1a1a;
    --text-muted: #888;
    --light-bg: #f8f9fa;
    --overlay-gradient: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

:root {
	/* FONTS */
	--font-heading: "Nocturnal-Light", "Nocturnal", serif;
	--font-body: "GeneralSans-Regular", "GeneralSans", sans-serif;
	--font-ui: "GeneralSans-Medium", "GeneralSans", sans-serif;
	--font-bold-num: "Nocturnal-SemiBold", "Nocturnal", serif;

	/* HEADING SIZES — Desktop */
	--h1: 30px;        /* Hero slide title */
	--h2: 26px;        /* Section headings */
	--h3: 18px;        /* Card headings */
	--h-eyebrow: 11px; /* Small uppercase labels above headings */

	/* BODY / PARA */
	--text-body: 16px;   /* Main paragraphs */
	--text-small: 13px;  /* Secondary/card body text */
	--text-xs: 11px;     /* Meta, dates, tiny labels */

	/* BUTTONS */
	--btn-md: 12px;   /* Primary CTAs */
	--btn-sm: 11px;   /* Secondary / filter buttons */

	/* LETTER SPACING */
	--ls-heading: 2.5px;
	--ls-eyebrow: 3.5px;
	--ls-btn: 1.8px;

	/* LINE HEIGHT */
	--lh-heading: 1.2;
	--lh-body: 1.65;

	/* COLORS */
	--clr-white: #ffffff;
	--clr-white-dim: rgba(255, 255, 255, 0.75);
	--clr-white-faint: rgba(255, 255, 255, 0.45);
	--clr-overlay-1: rgba(0, 0, 0, 0.85);
	--clr-overlay-2: rgba(0, 0, 0, 0.0)
}


/* Prevent horizontal scroll from animations */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* =====================================================
   HERO (Synced with Blog/Contact)
   ===================================================== */
/* ─── HERO (original intact) ──────────────────────── */
.contact-hero {
    position: relative;
    height: 100vh;
    background: url("/assets/images/frontend/gallery/gallery-banner-1.webp") center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0,0,0,0.72) 0%,rgba(0,0,0,0.25) 100%);
    z-index: 1;
}
.contact-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}
.hero-heading {
    font-size: clamp(40px,6vw,80px);
    font-weight: 500;
    letter-spacing: -2px;
    font-family: var(--fh);
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0;
}
.hero-sub {
    font-size: 1.15rem;
    opacity: 0;
    font-family: var(--fu);
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
}


/* =====================================================
   BREADCRUMB (Synced with Blog/Contact)
   ===================================================== */
.breadcrumb-section {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-family: "GeneralSans-Medium";
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    white-space: nowrap;
}

.breadcrumb-item a {
    color: #111;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-item a:hover {
    opacity: 0.8;
}

.breadcrumb-item.active {
    color: #111;
    font-weight: 600;
}

.breadcrumb-separator {
    opacity: 0.5;
    font-size: 12px;
    color: #888;
}

/* =====================================================
   GALLERY CONTROLS BAR
   ===================================================== */
.gallery-controls {
    background: #fff;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.gallery-controls-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Aligned to start since toggle is gone */
    flex-wrap: wrap;
    gap: 20px;
}

/* ---------- Category Tabs ---------- */
.gallery-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-tab-btn {
    padding: 8px 25px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
    font-family: "GeneralSans-Medium";
    font-size: 13px;
    color: #555;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.gallery-tab-btn:hover {
    border-color: #111;
    color: #111;
}

.gallery-tab-btn.active {
    background: var(--premium-dark);
    border-color: var(--premium-dark);
    color: #fff;
}

/* =====================================================
   IMAGE SLIDER SECTION
   ===================================================== */
.gallery-slider-section {
    background: var(--light-bg);
    padding: 40px 0 30px;
}

/* Main slider */
.gallery-main-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    margin-bottom: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    height: auto;
    /* Fixed height for consistency */
    max-height: auto;
    background: #000;
    /* Backdrop for contain mode */
}

/* Fade transition */
.gallery-main-slider.fade-mode .gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: block;
    pointer-events: none;
}

.gallery-main-slider.fade-mode .gallery-slide.slide-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: pointer;
    background: #0d0d0d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide:hover img {
    transform: scale(1.02);
}

.gallery-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.5px;
    line-height: 1.6;
    pointer-events: none;
    font-family: "GeneralSans-Medium";
    z-index: 10;
}

.slide-dim-badge {
    background: rgba(201, 161, 74, 0.2);
    border: 1px solid rgba(201, 161, 74, 0.4);
    color: var(--premium-gold);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

/* Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #111;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-arrow:hover {
    background: var(--premium-dark);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-arrow-left {
    left: 20px;
}

.gallery-arrow-right {
    right: 20px;
}

/* Counter */
.gallery-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    padding: 6px 16px;
    border-radius: 0px;
    font-size: 12px;
    letter-spacing: 1.5px;
    z-index: 10;
    font-family: "GeneralSans-Medium";
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gallery-counter .current-num {
    color: var(--premium-gold);
    font-weight: 600;
}


.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================================
   LIGHTBOX
   ===================================================== */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-lightbox.lb-open {
    display: flex;
    opacity: 1;
}

.gallery-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    user-select: none;
}

.gallery-lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
    z-index: 10;
}

.gallery-lightbox-close:hover {
    background: var(--premium-gold);
    border-color: var(--premium-gold);
    color: #000;
}

.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
    z-index: 10;
}

.lb-arrow:hover {
    background: var(--premium-gold);
    border-color: var(--premium-gold);
    color: #000;
}

.lb-arrow-left {
    left: 25px;
}

.lb-arrow-right {
    right: 25px;
}

.lb-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.lb-counter {
    position: absolute;
    top: 30px;
    left: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    letter-spacing: 1.5px;
}

/* =====================================================
   GALLERY ENQUIRY FORM SECTION
   ===================================================== */
.gallery-enquiry-section {
    background: #fff;
    padding: 80px 0 70px;
}

.gallery-enquiry-section .section-header h2 {
    font-size: 40px;
    font-family: "Nocturnal-Light", sans-serif;
    color: #111;
    letter-spacing: 3.5px;
}

.gallery-enquiry-section .section-header p {
    font-size: 16px;
    color: #888;
    font-family: "GeneralSans-Regular";
    line-height: 1.7;
}

.header-line {
    width: 50px;
    height: 2px;
    background: var(--premium-gold);
}

.gallery-form-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 0px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.gallery-form-wrapper h3 {
    font-family: "GeneralSans-Medium", sans-serif;
    font-size: 28px;
    margin-bottom: 35px;
    color: var(--premium-dark);
}

/* Reusing contact form styles */
.gallery-form-wrapper .form-group-premium {
    position: relative;
    margin-bottom: 35px;
}

.gallery-form-wrapper .form-group-premium label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.gallery-form-wrapper .form-input-premium {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: "GeneralSans-Medium", sans-serif;
    font-size: 16px;
    color: var(--premium-dark);
    transition: var(--transition-smooth);
}

.gallery-form-wrapper .form-input-premium:focus {
    outline: none;
    border-bottom-color: var(--premium-gold);
}

.gallery-form-wrapper .form-input-premium+.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--premium-gold);
    transition: var(--transition-smooth);
}

.gallery-form-wrapper .form-input-premium:focus+.input-border {
    width: 100%;
}

.btn-gallery-send {
    background: var(--premium-dark);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: "GeneralSans-Medium";
}

.btn-gallery-send:hover {
    background: var(--premium-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(201, 161, 74, 0.3);
}

/* Info sidebar */
.gallery-info-card {
    background: var(--premium-dark);
    padding: 50px;
    border-radius: 0px;
    color: #fff;
    height: 100%;
}

.gallery-info-card .info-item {
    margin-bottom: 35px;
}

.gallery-info-card .info-item:last-child {
    margin-bottom: 0;
}

.gallery-info-card .info-item h4 {
    font-size: 12px;
    color: var(--premium-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: "GeneralSans-Medium";
}

.gallery-info-card .info-item p,
.gallery-info-card .info-item a {
    font-size: 17px;
    color: #eee;
    text-decoration: none;
    line-height: 1.7;
    transition: 0.3s;
}

.gallery-info-card .info-item a:hover {
    color: var(--premium-gold);
}

.gallery-info-card .info-item i {
    margin-right: 12px;
    color: var(--premium-gold);
    font-size: 15px;
}

/* =====================================================
   BOTTOM BRAND SECTION
   ===================================================== */
.gallery-brand-section {
    background: #fff;
    padding: 70px 0 60px;
    border-top: 1px solid #eee;
}

.gallery-brand-section h2 {
    font-size: 32px;
    letter-spacing: 3px;
    color: #000;
    font-family: "Nocturnal-Light";
}

.gallery-brand-section p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.gallery-brand-line {
    width: 50px;
    height: 2px;
    background: var(--premium-gold);
    margin: 20px auto;
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .gallery-controls-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-slide img {
        height: 50vh;
        min-height: 300px;
    }

    .gallery-form-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 60vh !important;
    }

    .gallery-hero h1 {
        font-size: 2.5rem;
    }

    .gallery-tabs {
        gap: 6px;
    }

    .gallery-tab-btn {
        padding: 6px 16px;
        font-size: 12px;
    }

    .gallery-slide img {
        height: 40vh;
        min-height: 250px;
    }

    .gallery-slide-caption {
        font-size: 13px;
        padding: 30px 20px 20px;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
 
}

/* Video Slide Overlay */
.video-slide-cover {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.play-button-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.play-button-overlay i {
    font-size: 80px;
    color: #fff;
    opacity: 0.8;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: 0.3s;
}

.video-slide-cover:hover .play-button-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-slide-cover:hover .play-button-overlay i {
    transform: scale(1.1);
    opacity: 1;
}

/* Thumb Video Icon */
.thumb-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Lightbox video adjustments */
.lb-video-frame,
.lb-video-player {
    width: 90vw;
    height: 80vh;
    max-width: 1200px;
    border: none;
    border-radius: 0px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    background: #000;
}

.gallery-tab-btn {
    text-transform: capitalize;
}


/* =====================================================
   THUMBNAILS & TRACK
   ===================================================== */
.gallery-thumbnails {
    padding: 20px 0 35px;
    position: relative;
    z-index: 10;
    width: 100%;
}

.gallery-thumbs-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    /* More bottom padding for underline */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
    -webkit-overflow-scrolling: touch;
    width: 100%;
    cursor: grab;
}

.gallery-thumbs-track:active {
    cursor: grabbing;
}

.gallery-thumbs-track::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.gallery-thumb {
    flex: 0 0 160px;
    height: 100px;
    border-radius: 0px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    /* Bolder border base */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    /* Darker inactive state for contrast */
    transition: all 0.5s ease;
    filter: grayscale(80%);
    /* More grayscale for inactive */
}

.gallery-thumb::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    /* Thicker indicator */
    background: var(--premium-gold);
    border-radius: 0px;
    transition: width 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    box-shadow: 0 0 10px rgba(201, 74, 74, 0.5);
}

.gallery-thumb:hover img {
    opacity: 0.8;
    transform: scale(1.1);
    filter: grayscale(20%);
}

.gallery-thumb.thumb-active {
    border-color: #8f4555;
    z-index: 2;
}

.gallery-thumb.thumb-active img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1);
}

.gallery-thumb.thumb-active::after {
    width: 60px;
    /* Longer indicator */
    opacity: 1;
}


.lb-arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.lb-arrow-left {
    left: 10px;
}

.lb-arrow-right {
    right: 10px;
}

.gallery-form-wrapper,
.gallery-info-card {
    padding: 30px 20px;
}

.gallery-enquiry-section {
    padding: 50px 0 70px;
}

@media (max-width: 480px) {
    .gallery-hero h1 {
        font-size: 2rem;
    }

    .gallery-controls {
        padding: 15px 0;
    }


    .gallery-tab-btn {
        padding: 5px 12px;
        font-size: 11px;
    }

    .gallery-slide img {
        height: 100%;
        min-height: 250px;
    }

    .gallery-main-slider {
        height: auto;
        min-height: auto;
    }

    .gallery-counter {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 4px 12px;
    }
        .contact-hero{
        height:60vh;
    }
}

/* =====================================================
   CTA VISIT SECTION
   ===================================================== */
.cta-visit-section {
	position: relative;
	padding-top:70px;
	padding-bottom: 70px;
	background: url('/assets/images/frontend/homepage/dream-prop-back.png') center/cover no-repeat;
	color: #fff;
	overflow: hidden
}

.cta-visit-overlay { position: absolute; inset: 0 }


.cta-visit-inner {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 60px;
}

.cta-visit-left { max-width: 520px }

/* ── CTA HEADING ── */
.cta-visit-heading {
	font-family: var(--font-heading);
	font-size: var(--h2);
	font-weight: 400;
	letter-spacing: var(--ls-heading);
	text-transform: uppercase;
	margin-bottom: 16px;
	line-height: var(--lh-heading);
	color: #111
}

/* ── CTA PARA ── */
.cta-visit-text {
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: var(--lh-body);
	opacity: .95;
	color: #111
}

.cta-visit-right {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-left: auto
}

/* ── CTA BTN ── */
/* ── CTA VISIT BTN ── */
.cta-visit-btn {
  font-family: var(--font-ui);
  font-size: var(--btn-md);
  letter-spacing: var(--ls-btn);
  padding: 13px 36px;
  text-decoration: none;
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s, color .35s ease;
  z-index: 1;
}

/* Default maroon buttons */
.cta-visit-btn.primary,
.cta-visit-btn.secondary {
  background: #8b4040;
  color: #fff;
}

/* Black fill layer */
.cta-visit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  z-index: -1;
}

/* Hover */
.cta-visit-btn.primary:hover,
.cta-visit-btn.secondary:hover {
  transform: translateX(4px);
  color: #fff;
}

.cta-visit-btn.primary:hover::before,
.cta-visit-btn.secondary:hover::before {
  transform: scaleX(1);
}

@media (max-width: 992px) { .cta-visit-heading { font-size: 22px } }

@media (max-width: 768px) {
.cta-visit-section{
   padding-top: 50px;
   padding-bottom:50px;
}
	.cta-visit-inner { flex-direction: column; align-items: flex-start }
	.w-width{
		padding:0px 20px;
	}
	.cta-visit-right{
	margin-left: 0;
	
}
.cta-visit-inner{
gap:30px;
}
}
