/* ASDHANA PHOTOGRAPHY - FULL SITE PRODUCTION STYLESHEET
    Covers: Home, Gallery, Films, and Admin UI
    Design: Minimalist Black & White / High-End Gallery
    Date: 2026
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --secondary-bg: #050505;
    --border-color: #1a1a1a;
    --transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, .premium-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.py-100 { padding: 100px 0; }
.text-secondary { color: #666 !important; }

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000; /* Higher than Swiper pagination */
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 5%;
    backdrop-filter: blur(15px); /* Premium frosted glass effect */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li { margin-left: 40px; }

nav ul li a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.5;
}

nav ul li a:hover, nav ul li a.active { opacity: 1; }

/* --- SECTION: Ken Burns Hero Slider --- */
.hero-slider {
    height: 100vh;
    width: 100%;
    background: #000;
}

.slide-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ken-burns-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(35%);
    transform: scale(1);
    transition: transform 10s linear;
}

.hero-video-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(35%);
    z-index: -1;
}

.swiper-slide-active .ken-burns-img { transform: scale(1.15); }

.hero-content {
    z-index: 10;
    text-align: center;
}

.reveal-text {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s ease 0.5s;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    opacity: 0;
    transform: translateY(30px);
    transition: 1.2s ease 0.8s;
}

.swiper-slide-active .reveal-text,
.swiper-slide-active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
}

.swiper-pagination-progressbar {
    background: rgba(255,255,255,0.1) !important;
    height: 2px !important;
    top: auto !important;
    bottom: 0 !important;
}

.swiper-pagination-progressbar-fill { background: #fff !important; }

/* --- SECTION: Narrative --- */
.narrative-text {
    font-size: 1.25rem;
    color: #888;
    max-width: 850px;
    margin: 0 auto;
    line-height: 2.2;
    font-weight: 300;
}

.narrative-text strong { color: #fff; font-weight: 400; }

/* --- SECTION: Category Grid --- */
.category-card {
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #080808;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.cat-overlay {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.category-card:hover .cat-overlay { opacity: 0.03; }

.category-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: 0.5s;
    z-index: 2;
}

.category-card span {
    font-size: 0.6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.4;
    transition: 0.5s;
    z-index: 2;
}

.category-card:hover h3 { transform: translateY(-5px); }
.category-card:hover { border-color: #444; }

/* --- SECTION: Reflections --- */
.bg-secondary-dark { background: #050505; }

.grayscale-img {
    filter: grayscale(100%);
    transition: 1.5s ease;
}

.reflections:hover .grayscale-img { filter: grayscale(0%); }

.testimonial {
    font-size: 1.8rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 30px;
    color: #eee;
}

cite {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #444;
    font-style: normal;
}

/* --- SECTION: Masonry Gallery (Crucial Fix) --- */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-bar a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    padding-bottom: 8px;
    border-bottom: 1px solid transparent;
}

.filter-bar a.active, .filter-bar a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.masonry-grid {
    columns: 3;
    column-gap: 30px;
}

.grid-item {
    position: relative;
    margin-bottom: 30px;
    break-inside: avoid;
    overflow: hidden;
    background: #0a0a0a;
}

.grid-item img {
    width: 100%;
    display: block;
    filter: grayscale(100%);
    transition: 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.grid-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.grid-item:hover .overlay { opacity: 1; }

/* --- SECTION: Films & Carousel --- */
.card-slide {
    height: 500px;
    position: relative;
    background: #000;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(50%);
    transition: 0.8s;
}

.card-slide:hover .card-img { filter: grayscale(0%) brightness(85%); }

.card-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.5s;
    z-index: 10;
}

.card-slide:hover .card-info { opacity: 1; transform: translateY(0); }

.card-video-thumb {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-video-thumb i {
    position: absolute;
    z-index: 5;
    font-size: 2rem;
    color: #fff;
    opacity: 0.6;
}

/* --- Global Elements --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 2000;
}

.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

footer {
    padding: 100px 5% 50px;
    background: #080808;
    text-align: center;
    border-top: 1px solid #111;
}

/* --- Responsive Layouts --- */
@media (max-width: 1100px) {
    .masonry-grid { columns: 2; }
}

@media (max-width: 768px) {
    header { padding: 25px; }
    nav { display: none; }
    .hero-content h1 { font-size: 3rem; }
    .py-100 { padding: 70px 0; }
    .category-card { height: 350px; }
    .masonry-grid { columns: 1; }
    .testimonial { font-size: 1.4rem; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; font-size: 20px; }
}