/* Photon Stdios - Global Styles & Design System */

:root {
    --bg-color: #F5F1EA; /* Warm Luxury Paper */
    --text-color: #1E1A16; /* Warm Charcoal */
    --text-muted: #6E6760; /* Soft Warm Brown */
    --accent-color: #8c725a; /* Warm Bronze */
    --accent-light: #b09982;
    --border-color: rgba(30, 26, 22, 0.09); /* Warm Neutral Divider */
    --card-bg: rgba(255, 255, 255, 0.6);
    --white: #ffffff;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* Exact 250ms easing */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;
    --font-logo: 'Outfit', sans-serif;
    --header-height: 90px;
}

html.dark-mode {
    --bg-color: #13110F; /* Warm Charcoal Dark Paper */
    --text-color: #F2EFEA; /* Soft Off-white */
    --text-muted: #A59E97; /* Warm Muted Grey */
    --border-color: rgba(242, 239, 234, 0.09); /* Warm Dark Divider */
    --card-bg: rgba(28, 25, 23, 0.6);
    --white: #1C1917;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    /* Apply smooth 250ms transitions for theme swaps */
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium print-inspired paper-grain texture overlay */
html::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    opacity: 0.025; /* Subtle 2.5% opacity noise */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* Page Loader */
body.loading #page-content {
    opacity: 0.3;
}

.loader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-top: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ----------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.title-large {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.title-medium {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--accent-color);
}

.subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ----------------------------------------------------
   LAYOUT - HEADER & NAVIGATION
---------------------------------------------------- */

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: rgba(245, 241, 235, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

#site-header.scrolled {
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

#site-header.scrolled .site-logo-img {
    height: 40px;
}

/* Desktop Navigation */
#desktop-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

#desktop-nav .nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--text-color);
    position: relative;
    padding: 8px 0;
}

#desktop-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

#desktop-nav .nav-links a:hover::after,
#desktop-nav .nav-links a.active::after {
    width: 100%;
}

#desktop-nav .nav-links a:hover,
#desktop-nav .nav-links a.active {
    color: var(--accent-color);
}

/* Theme Toggle Button & Dark Mode Overrides */
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    border-radius: 50%;
    margin-left: 20px;
    outline: none;
}

.theme-toggle-btn:hover {
    color: var(--accent-color);
    background-color: rgba(140, 114, 90, 0.08);
}

/* Header in dark mode */
body.dark-mode #site-header {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .theme-toggle-btn {
    color: #f5f5f5;
}

body.dark-mode .theme-toggle-btn:hover {
    color: var(--accent-light);
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .site-logo-img {
    filter: invert(1);
}

/* Mobile Nav Overlay in dark mode */
body.dark-mode #mobile-nav-overlay {
    background-color: rgba(10, 10, 10, 0.98);
}
body.dark-mode #mobile-nav .mobile-nav-links a {
    color: #f5f5f5;
}
body.dark-mode .hamburger-bar {
    background-color: #f5f5f5;
}

/* Mobile Navigation Hamburger */
#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--text-color);
    transition: var(--transition-fast);
}

#mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}

#mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
#mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#mobile-nav-overlay.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

#mobile-nav .mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#mobile-nav .mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--text-color);
}

#mobile-nav .mobile-nav-links a:hover,
#mobile-nav .mobile-nav-links a.active {
    color: var(--accent-color);
}

/* Hide helper */
.hidden {
    display: none !important;
}

/* ----------------------------------------------------
   LAYOUT - DYNAMIC CONTENT AREA
---------------------------------------------------- */

#page-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 120px);
    transition: var(--transition-smooth);
}

/* Content Fade In animation */
.page-view {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------------------
   LAYOUT - FOOTER
---------------------------------------------------- */

#site-footer {
    height: 120px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    background-color: var(--bg-color);
    transition: var(--transition-smooth);
}

.footer-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright h2 {
    font-family: var(--font-logo);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

.footer-social a {
    color: var(--text-muted);
    display: block;
}

.footer-social a:hover {
    color: var(--accent-color);
}

/* ----------------------------------------------------
   PAGE - COVER LANDING
---------------------------------------------------- */

.cover-page-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000; /* Over everything */
    background-color: var(--dark-bg);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Slideshow Layer */
.cover-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cover-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.03);
    animation: slowZoom 15s linear infinite alternate;
}

.cover-slide.active {
    opacity: 0.65;
}

@keyframes slowZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

/* Dark Vignette Overlay */
.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.8) 100%),
                rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Cover Content Card */
.cover-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: 20px;
}

.cover-logo-img {
    width: 220px;
    height: auto;
    margin-bottom: 45px;
    filter: invert(1) drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

.cover-enter-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #ffffff;
    background-color: transparent;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.cover-enter-btn:hover {
    background-color: #ffffff;
    color: #13110F;
    border-color: #ffffff;
    letter-spacing: 0.35em;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ----------------------------------------------------
   PAGE - WEDDINGS (HOME)
---------------------------------------------------- */

.weddings-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 100px 40px;
}

/* Main Slideshow */
.wedding-slideshow {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 450px;
    background-color: #fafafa;
    overflow: hidden;
    margin-bottom: 60px;
}

.wedding-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.wedding-slide.active {
    opacity: 1;
}

.slideshow-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 15px;
    z-index: 10;
    transition: var(--transition-fast);
}

.slideshow-control:hover {
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-control.prev { left: 20px; }
.slideshow-control.next { right: 20px; }

/* Quote / Editorial Text */
.editorial-quote {
    text-align: center;
    max-width: 800px;
    margin: 100px auto;
}

.editorial-quote h1 {
    font-size: 2.8rem;
    font-style: italic;
    font-weight: 300;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.editorial-quote p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Collage Horizontal Strip Slider */
.collage-slider-section {
    margin-bottom: 100px;
}

.collage-viewport {
    position: relative;
    width: 100%;
    height: 700px; /* Fixed height for laptop/desktop displays */
    overflow: hidden;
}

.collage-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.collage-panel {
    height: 100%;
    aspect-ratio: 480 / 700; /* Proper 480x700 ratio */
    flex: 0 0 auto;
    padding-right: 15px; /* Spacing between photos */
}

.collage-panel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center; /* Proper centered framing */
    cursor: pointer;
}

.collage-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.7);
    border: none;
    color: #333;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    opacity: 0;
}

.collage-viewport:hover .collage-arrow {
    opacity: 1;
}

.collage-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.collage-prev { left: 10px; }
.collage-next { right: 10px; }

@media (max-width: 1024px) {
    .collage-viewport {
        height: auto;
        padding-bottom: 50%; /* 50% aspect ratio on mobile/tablet */
    }
    .collage-arrow {
        opacity: 1;
        width: 34px;
        height: 34px;
    }
    .collage-arrow svg {
        width: 20px;
        height: 20px;
    }
    .collage-prev { left: 6px; }
    .collage-next { right: 6px; }
}

/* Featured Stories Grid */
.featured-stories {
    margin-top: 100px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.featured-card {
    cursor: pointer;
}

.featured-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f7f7f7;
}

.featured-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.featured-card:hover .featured-image-wrapper img {
    transform: scale(1.05);
}

.featured-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-color);
    transition: var(--transition-fast);
}

.featured-card:hover .featured-title {
    color: var(--accent-color);
}

/* Custom Audio Player Widget */
/* Custom Audio Player Widget (Squarespace Classic Style) */
.audio-player-container {
    width: 100%;
    max-width: 1200px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 40px auto;
    padding: 0 10px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-color);
}

.play-pause-btn {
    background: none;
    border: none;
    color: currentColor;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s ease;
}

.play-pause-btn:hover {
    opacity: 0.7;
}

.audio-player-container .placeholder {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: currentColor;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.audio-player-container .progress {
    flex-grow: 1;
    height: 4px;
    background-color: var(--border-color);
    position: relative;
    cursor: pointer;
}

.audio-player-container .progress-inner {
    height: 100%;
    width: 0%;
    background-color: var(--accent-color);
    position: absolute;
    top: 0;
    left: 0;
}

.audio-player-container .scrubber {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    position: absolute;
    right: -4px;
    top: -2px;
}

.audio-player-container .duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

/* ----------------------------------------------------
   PAGE - GALLERIES & STORIES (LISTINGS)
---------------------------------------------------- */

.listing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 100px 40px;
}

.grid-listings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    margin-top: 60px;
}

.listing-card {
    cursor: pointer;
}

.listing-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #f7f7f7;
}

.listing-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.listing-card:hover .listing-image-wrapper img {
    transform: scale(1.04);
}

.listing-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.listing-title {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.listing-card:hover .listing-title {
    color: var(--accent-color);
}

.listing-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----------------------------------------------------
   PAGE - GALLERY / STORY DETAIL
---------------------------------------------------- */

.detail-view-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px 100px 40px;
}

.detail-header {
    text-align: center;
    margin-bottom: 60px;
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.detail-back-link:hover {
    color: var(--accent-color);
}

.detail-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.detail-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.detail-body-text {
    max-width: 800px;
    margin: 0 auto 80px auto;
    text-align: center;
}

.detail-body-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Detail Masonry Grid */
.detail-masonry {
    columns: 2 400px;
    column-gap: 30px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
    cursor: pointer;
    overflow: hidden;
    background-color: #fafafa;
}

.masonry-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.masonry-item:hover img {
    transform: scale(1.03);
}

/* ----------------------------------------------------
   PAGE - TESTIMONIALS
---------------------------------------------------- */

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 100px 20px;
}

.testimonials-stack {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
}

.testimonial-card-img {
    width: 100%;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border-radius: 4px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
}

.testimonial-card-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* ----------------------------------------------------
   PAGE - ABOUT
---------------------------------------------------- */

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px 100px 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text-column {
    padding-right: 40px;
}

.about-text-column h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.about-text-column p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-image-column {
    position: relative;
}

.about-image-wrapper {
    box-shadow: 0 30px 70px rgba(0,0,0,0.08);
}

/* ----------------------------------------------------
   PAGE - ENQUIRE
---------------------------------------------------- */

.enquire-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 100px 40px;
}

.enquire-intro-img {
    max-width: 800px;
    margin: 0 auto 60px auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.enquire-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.enquire-email {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.enquire-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Enquire Contact Form */
.enquire-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input, .form-textarea {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid #d3d3d3;
    padding: 10px 0;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-color);
    transition: var(--transition-fast);
}

.form-textarea {
    height: 120px;
    resize: none;
}

.form-label {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

/* Form floating label focus states */
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.form-input:focus ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
    top: -15px;
    font-size: 0.75rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-error-msg {
    color: #b03a2e;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.submit-btn {
    align-self: center;
    background-color: var(--dark-bg);
    color: var(--white);
    border: none;
    padding: 14px 45px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.submit-btn:hover {
    background-color: var(--accent-color);
    letter-spacing: 0.25em;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-success-message {
    text-align: center;
    padding: 40px;
    border: 1px dashed var(--accent-color);
    background-color: #faf8f5;
    animation: fadeIn 0.6s ease;
}

.form-success-message h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* ----------------------------------------------------
   LIGHTBOX MODAL
---------------------------------------------------- */

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(6, 6, 6, 0.98);
    z-index: 3000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#lightbox-caption {
    color: rgba(255,255,255,0.7);
    margin-top: 25px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-align: center;
    max-width: 600px;
}

.lightbox-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 20px;
    transition: var(--transition-fast);
    z-index: 10;
}

.lightbox-btn:hover {
    color: var(--white);
    transform: scale(1.1);
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: 200;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
---------------------------------------------------- */

@media (max-width: 1024px) {
    .header-container {
        padding: 0 24px;
    }
    
    #desktop-nav {
        display: none;
    }
    
    #mobile-menu-toggle {
        display: flex;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-text-column {
        padding-right: 0;
        order: 2;
    }
    
    .about-image-column {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    /* Cover Landing Page Mobile Responsive Overrides */
    .cover-page-view {
        position: relative;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        overflow-y: auto;
        background-color: #13110F;
        padding: 60px 20px 80px 20px;
    }
    
    .cover-content {
        position: relative;
        z-index: 3;
        width: 100%;
        max-width: 100%;
        margin-bottom: 40px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cover-logo-img {
        width: 180px;
        margin-bottom: 30px;
    }
    
    .cover-enter-btn {
        padding: 10px 30px;
        font-size: 0.75rem;
    }
    
    .cover-slideshow-container {
        position: relative;
        width: 100%;
        height: 55vh;
        min-height: 350px;
        max-height: 500px;
        z-index: 1;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
    
    .cover-slideshow-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.8) 100%),
                    rgba(0, 0, 0, 0.2);
        z-index: 2;
        pointer-events: none;
    }
    
    .cover-overlay {
        display: none;
    }
    
    .title-large {
        font-size: 2.2rem;
    }
    
    .weddings-container, .listing-container, .detail-view-container, .enquire-container {
        padding: 40px 20px 80px 20px;
    }
    
    .grid-listings {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .wedding-slideshow {
        height: 50vh;
    }
    
    .editorial-quote h1 {
        font-size: 2rem;
    }
    
    .about-text-column h1 {
        font-size: 2.6rem;
    }
    
    .enquire-email {
        font-size: 1.4rem;
    }
    
    .audio-player-container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
    }
    
    .audio-cover {
        display: none;
    }
    
    .play-pause-btn {
        align-self: center;
    }
    
    .lightbox-btn {
        padding: 10px;
    }
    
    #lightbox-prev {
        position: absolute;
        left: 10px;
    }
    
        #lightbox-next {
            position: absolute;
            right: 10px;
        }
    }
}

/* Galleries Feed Articles CSS */
.galleries-feed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0; /* Align with 1200px reference */
}

.gallery-article {
    margin-bottom: 100px;
}

.gallery-article-header {
    margin-bottom: 40px;
    text-align: center;
}

.gallery-article-title {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-article-title a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.gallery-article-title a:hover {
    color: var(--accent-color);
}

.gallery-article-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-article-intro {
    max-width: 800px;
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.gallery-article-intro p {
    margin-bottom: 20px;
}

.gallery-divider {
    border: 0;
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 120px 0;
}

@media (max-width: 768px) {
    .galleries-feed-container {
        padding: 60px 20px;
    }
    .gallery-article-title {
        font-size: 1.6rem;
    }
    .gallery-divider {
        margin: 80px 0;
    }
}

/* Aligns the collage slideshow with the text and audio player width */
.gallery-article-body .collage-viewport {
    max-width: 1200px;
    margin: 0 auto;
}

/* Galleries Feed Article Footer & Like/Comment Section */
.gallery-article-footer {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px auto 0 auto;
    padding-top: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
}

.gallery-article-footer a,
.gallery-article-footer button {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.gallery-article-footer a:hover,
.gallery-article-footer button:hover {
    color: var(--accent-color);
}

.gallery-article-footer .footer-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.gallery-article-footer .footer-actions span {
    opacity: 0.3;
}

.gallery-article-footer .heart-icon {
    transition: transform 0.2s ease, fill 0.2s ease, stroke 0.2s ease;
}

.gallery-article-footer button.liked {
    color: #e04f5f;
}

.gallery-article-footer button.liked .heart-icon {
    fill: #e04f5f;
    stroke: #e04f5f;
    transform: scale(1.15);
}

/* Floating Newsletter Widget Container */
.newsletter-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
}

/* Floating Toggle Button (Icon only) */
.newsletter-toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(140, 114, 90, 0.3);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.2s;
}

.newsletter-toggle-btn:hover {
    background-color: var(--accent-light);
    transform: scale(1.05);
}

.newsletter-toggle-btn.hidden-widget {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

/* Floating Subscription Card */
.newsletter-box {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 320px;
    padding: 25px;
    background-color: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
}

.dark-mode .newsletter-box {
    background-color: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.newsletter-box.hidden-widget {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.newsletter-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.newsletter-close-btn:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .newsletter-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .newsletter-box {
        width: calc(100vw - 40px);
        max-width: 340px;
    }
}

.newsletter-box h3 {
    font-family: var(--font-logo);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: var(--text-color);
}

.newsletter-box p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 3px;
    transition: var(--transition-fast);
}

.dark-mode .newsletter-input-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter-input-group:focus-within {
    border-bottom-color: var(--accent-color);
}

.newsletter-input-group input {
    flex-grow: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-logo);
    font-size: 0.9rem;
    color: var(--text-color);
    padding: 8px 0;
}

.newsletter-input-group input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.dark-mode .newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-group button {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.newsletter-input-group button:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.newsletter-msg {
    margin-top: 10px;
    font-size: 0.85rem;
    font-family: var(--font-logo);
    min-height: 18px;
    transition: var(--transition-fast);
}

.newsletter-msg.success {
    color: #2e7d32;
}

.newsletter-msg.error {
    color: #c62828;
}

/* ----------------------------------------------------
   ADMIN DASHBOARD STYLES
---------------------------------------------------- */

.admin-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--font-logo);
}

/* Login Card styling */
.admin-login-container {
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background-color: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    text-align: center;
}

.dark-mode .admin-login-card {
    background-color: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-login-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.admin-form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.admin-input, .admin-textarea, .admin-select {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.dark-mode .admin-input, 
.dark-mode .admin-textarea, 
.dark-mode .admin-select {
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-input:focus, .admin-textarea:focus, .admin-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.admin-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-btn:hover {
    background-color: var(--accent-light);
}

.admin-btn.secondary {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.admin-btn.secondary:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.admin-btn.danger {
    background-color: #c62828;
    color: white;
}

.admin-btn.danger:hover {
    background-color: #b71c1c;
}

/* Dashboard Workspace */
.admin-dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    min-height: 600px;
}

@media (max-width: 900px) {
    .admin-dashboard-container {
        grid-template-columns: 1fr;
    }
}

.admin-sidebar {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding-right: 20px;
}

.dark-mode .admin-sidebar {
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-sidebar-menu {
    list-style: none;
}

.admin-sidebar-menu li {
    margin-bottom: 10px;
}

.admin-sidebar-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 12px 15px;
    font-family: inherit;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.admin-sidebar-btn:hover, .admin-sidebar-btn.active {
    background-color: rgba(0,0,0,0.03);
    color: var(--accent-color);
    font-weight: 500;
}

.dark-mode .admin-sidebar-btn:hover, .dark-mode .admin-sidebar-btn.active {
    background-color: rgba(255,255,255,0.03);
}

.admin-content {
    animation: fadeIn 0.4s ease;
}

/* Form Dropzone */
.upload-dropzone {
    border: 2px dashed rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 40px;
    text-align: center;
    background-color: rgba(0,0,0,0.01);
    cursor: pointer;
    transition: var(--transition-fast);
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--text-muted);
}

.dark-mode .upload-dropzone {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255,255,255,0.01);
}

.upload-dropzone.dragover, .upload-dropzone:hover {
    border-color: var(--accent-color);
    background-color: rgba(140, 114, 90, 0.04);
    color: var(--accent-color);
}

.upload-dropzone svg {
    transition: transform 0.2s ease;
}

.upload-dropzone:hover svg {
    transform: translateY(-4px);
}

.upload-dropzone span {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* Image Manager Grid */
.admin-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.admin-thumb-card {
    position: relative;
    aspect-ratio: 480 / 700;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(0,0,0,0.02);
}

.admin-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.admin-thumb-card:hover .admin-thumb-overlay {
    opacity: 1;
}

.admin-thumb-btn {
    background-color: white;
    color: #111;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.15s, background-color 0.15s;
}

.admin-thumb-btn:hover {
    transform: scale(1.1);
    background-color: var(--accent-color);
    color: white;
}

.admin-thumb-btn.delete:hover {
    background-color: #d32f2f;
    color: white;
}

/* Export / Instructions Modal */
.instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.instructions-content {
    background-color: var(--bg-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 90%;
    max-width: 500px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    position: relative;
    animation: slideInUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dark-mode .instructions-content {
    background-color: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.1);
}

.instructions-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.instructions-list {
    margin: 20px 0;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.instructions-list li {
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ====================================================
   CMS PREMIUM MEDIA MANAGEMENT STYLES
   ==================================================== */

.upload-dropzone.drag-over {
    border-color: var(--accent-color) !important;
    background-color: rgba(140, 114, 90, 0.08) !important;
    box-shadow: inset 0 0 10px rgba(140, 114, 90, 0.1);
}

.upload-progress-container {
    width: 100%;
    margin: 15px 0;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: none;
    position: relative;
    height: 20px;
}

.upload-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-color);
    mix-blend-mode: difference;
    left: 0;
    top: 0;
    line-height: 20px;
}

/* Connection settings styles */
.supabase-config-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.supabase-status-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.supabase-status-banner.connected {
    background-color: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.supabase-status-banner.fallback {
    background-color: rgba(239, 108, 0, 0.1);
    color: #ef6c00;
    border: 1px solid rgba(239, 108, 0, 0.2);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.connected .status-indicator {
    background-color: #2e7d32;
    box-shadow: 0 0 8px #2e7d32;
}

.fallback .status-indicator {
    background-color: #ef6c00;
    box-shadow: 0 0 8px #ef6c00;
}

/* HTML5 Draggable Reorder list support */
.admin-thumbnail-card {
    cursor: grab;
    user-select: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.admin-thumbnail-card:active {
    cursor: grabbing;
}

.admin-thumbnail-card.dragging {
    opacity: 0.4;
    transform: scale(0.95);
    border: 2px dashed var(--accent-color);
}

.admin-thumbnail-card.drag-over {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

/* Image preview indicators */
.cover-image-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    z-index: 5;
}

/* Progressive responsive image loader transition classes */
.progressive-img-container {
    position: relative;
    overflow: hidden;
    background-color: var(--border-color);
    display: block;
    width: 100%;
    height: 100%;
}

.progressive-img-blur {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(15px);
    transform: scale(1.05); /* hide edge bleeds */
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.progressive-img-sharp {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}

.progressive-img-sharp.loaded {
    opacity: 1;
}

.progressive-img-sharp.loaded + .progressive-img-blur {
    opacity: 0;
    pointer-events: none;
}

/* Form switch toggle component for settings */
.cms-switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.cms-switch-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.cms-switch-sublabel {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.cms-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cms-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cms-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--border-color);
    transition: .3s;
    border-radius: 24px;
}

.cms-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.cms-switch input:checked + .cms-slider {
    background-color: var(--accent-color);
}

.cms-switch input:checked + .cms-slider:before {
    transform: translateX(20px);
}

/* ====================================================
   TOAST NOTIFICATION SYSTEM
   ==================================================== */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-message {
    pointer-events: auto;
    min-width: 320px;
    max-width: 450px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    color: var(--text-color);
    padding: 16px 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.toast-message.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-message.hide {
    transform: translateY(20px);
    opacity: 0;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(140, 114, 90, 0.15);
    color: var(--accent-color);
    flex-shrink: 0;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: var(--text-color);
}

