/* =====================================================
   AnastaPhotos — Main Stylesheet
   ===================================================== */

:root {
    --gold:       #d4af37;
    --gold-light: #e6c57a;
    --gold-dim:   rgba(212, 175, 55, 0.15);
    --dark:       #050505;
    --dark-2:     #0d0d10;
    --dark-3:     #111115;
    --dark-card:  rgba(255,255,255,0.025);
    --text:       #e0e0e0;
    --text-muted: #888;
    --border:     rgba(212, 175, 55, 0.12);
    --radius:     4px;
    --transition: 0.35s ease;
    --shadow:     0 20px 60px rgba(0,0,0,0.6);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
}
body {
    background: var(--dark);
    background-image: radial-gradient(ellipse at 50% 0%, #1e1a2e 0%, #0d0d10 55%, #050505 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 12px; }

/* ===================================================
   SPLIT LAYOUT STRUCTURE
   =================================================== */
.split-layout-root {
    display: flex;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

.split-side-left {
    position: sticky;
    top: 0;
    width: 45%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    z-index: 10;
}

.split-side-right {
    flex: 1;
    position: relative;
    z-index: 5;
    background: transparent;
}

.split-left-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.split-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    z-index: 1;
}

.split-left-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.split-name {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.split-role {
    font-size: 14px;
    text-transform: lowercase;
    letter-spacing: 4px;
    opacity: 0.8;
}

/* Response for Mobile */
@media (max-width: 991px) {
    .split-layout-root { flex-direction: column; }
    .split-side-left {
        position: relative;
        width: 100%;
        height: 100vh;
        padding: 40px 20px;
    }
}

/* ---- Background Particles ---- */
.bg-particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-glow {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
    animation: drift linear infinite;
}
@keyframes drift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(30px, -40px) scale(1.05); }
    66%  { transform: translate(-20px, 20px) scale(0.97); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ---- Header ---- */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    padding: 10px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
#site-header.scrolled { background: rgba(5,5,5,0.9); border-bottom-color: var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding-right: 40px; }
.nav-logo {
    display: none; /* Logo is now in the left panel */
}
.nav-logo:hover { color: var(--gold-light); }

#main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
}
#main-nav a {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #aaa;
    transition: color var(--transition);
    position: relative;
    padding-bottom: 2px;
}
#main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}
#main-nav a:hover { color: var(--gold); }
#main-nav a:hover::after { width: 100%; }
.nav-admin { color: var(--gold) !important; }
.nav-logout { color: #555 !important; }

/* ---- Language Switcher ---- */
.lang-switcher { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 6px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--text);
    transition: all var(--transition);
}
.lang-btn:hover { background: rgba(212,175,55,0.15); border-color: var(--gold); }
.lang-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: #14121a;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    display: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    z-index: 100;
}
.lang-dropdown.open { display: flex; flex-direction: column; animation: fadeDown 0.2s ease; }

.lang-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    transition: all var(--transition);
}
.lang-dropdown-item:hover { background: var(--gold-dim); color: var(--gold); }
.lang-dropdown-item.active { color: var(--gold); font-weight: 600; }

/* ---- Burger ---- */
.burger {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none;
    padding: 5px; z-index: 1002;
}
.burger span {
    display: block; width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Main Content ---- */
#main-content {
    z-index: 1;
    padding-top: 0 !important;
}

/* ---- Section ---- */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 300;
}

/* ---- Gold Divider ---- */
.gold-line {
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 16px auto;
}

/* ===================================================
   HERO SECTION (index.php)
   =================================================== */
.hero {
    min-height: calc(100vh - 70px);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero-logo {
    max-width: 420px; width: 90%;
    margin: 0 auto 30px;
    filter: drop-shadow(0 10px 40px rgba(212,175,55,0.18));
    animation: floatLogo 7s ease-in-out infinite;
}
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}
.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: var(--gold-light);
    letter-spacing: 5px;
    text-transform: lowercase;
    margin-bottom: 40px;
    opacity: 0.85;
}
.hero-cta-wrap { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    display: inline-block;
    padding: 14px 42px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: all var(--transition);
    cursor: pointer;
    border-radius: var(--radius);
    white-space: nowrap;
}
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 30px rgba(212,175,55,0.3);
}
.btn-gold {
    background: var(--gold);
    color: #000;
    border: 1px solid var(--gold);
    font-weight: 600;
}
.btn-gold:hover {
    background: var(--gold-light);
    box-shadow: 0 0 30px rgba(212,175,55,0.4);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ===================================================
   PREVIEW / PORTFOLIO GRID  (index + portfolio page)
   =================================================== */
/* ===================================================
   ARTISTIC MOSAIC PORTFOLIO GRID
   =================================================== */
#home-portfolio { background: transparent; padding-top: 50px; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(280px, auto);
    grid-auto-flow: dense;
    gap: 4px;
    padding: 2px;
}
@media (min-width: 992px) {
    .portfolio-grid { grid-template-columns: repeat(6, 1fr); }
}
.album-card {
    position: relative;
    overflow: hidden;
    background: var(--dark-3);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.album-card.p-wide { grid-column: span 2; }
.album-card.p-tall { grid-row: span 2; }
.album-card.p-large { grid-column: span 2; grid-row: span 2; }

@media (max-width: 768px) {
    .album-card { grid-column: span 1 !important; grid-row: span 1 !important; aspect-ratio: 1/1; }
}

.album-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.9);
}

.album-card:hover .album-card-img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.album-card-overlay {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.album-card:hover .album-card-overlay {
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.6);
}

.album-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    letter-spacing: 2px;
}

.album-card:hover .album-card-title {
    transform: translateY(0);
}

.album-card-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.album-card:hover .album-card-btn {
    opacity: 1;
    transform: translateY(0);
}

.album-no-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; opacity: 0.15;
}

/* ===================================================
   ABOUT SECTION
   =================================================== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 3px;
    filter: brightness(0.9);
}
.about-photo-placeholder {
    width: 100%; aspect-ratio: 3/4;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; opacity: 0.12;
}
.about-photo-wrap::before {
    content: '';
    position: absolute;
    top: 16px; left: 16px; right: -16px; bottom: -16px;
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 3px;
    z-index: -1;
}
.about-text h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 16px;
}
.about-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 20px;
}
.about-text p { color: #bbb; margin-bottom: 16px; font-size: 0.95rem; }

/* ===================================================
   SERVICES
   =================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.service-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 32px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--gold);
    transition: all 0.4s ease;
}
.service-card:hover::before { left: 0; right: 0; }
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.service-icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.service-card p { font-size: 0.88rem; color: #999; margin-bottom: 12px; line-height: 1.8; }
.service-features {
    list-style: none;
    margin: 16px 0;
    text-align: left;
    display: inline-block;
}
.service-features li {
    font-size: 0.85rem;
    color: #aaa;
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}
.service-features li::before {
    content: '·';
    position: absolute; left: 4px;
    color: var(--gold);
    font-size: 1.2rem;
    top: 1px;
}
.service-price {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    color: #fff;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===================================================
   CONTACT
   =================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    max-width: 960px;
    margin: 0 auto;
}
.contact-info h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.contact-info p {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #bbb;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.contact-info p span.icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.contact-socials-row { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.contact-social-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
    transition: all var(--transition);
}
.contact-social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color var(--transition);
    width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { height: 140px; resize: vertical; }
.form-success {
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: var(--gold-light);
    font-size: 0.9rem;
    display: none;
}

/* ===================================================
   SINGLE ALBUM PAGE
   =================================================== */
.album-header { text-align: center; margin-bottom: 50px; padding-top: 30px; }
.album-back {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 30px;
    transition: color var(--transition);
}
.album-back:hover { color: var(--gold); }
.album-back svg { width: 16px; }
.album-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--gold);
    margin-bottom: 14px;
}
.album-desc { font-size: 0.95rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(250px, auto);
    grid-auto-flow: dense;
    gap: 6px;
}
@media (min-width: 992px) {
    .photos-grid { grid-template-columns: repeat(6, 1fr); }
}
.photo-thumb.p-wide { grid-column: span 2; }
.photo-thumb.p-tall { grid-row: span 2; }
.photo-thumb.p-large { grid-column: span 2; grid-row: span 2; }

@media (max-width: 768px) {
    .photo-thumb { grid-column: span 1 !important; grid-row: span 1 !important; aspect-ratio: 1/1; }
}
.photo-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: 3px;
    background: var(--dark-card);
    cursor: pointer;
    border: 1px solid var(--border);
}
.photo-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(10%) brightness(0.85);
}
.photo-thumb:hover img { transform: scale(1.05); filter: grayscale(0%) brightness(1.05); }
.photo-thumb-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.photo-thumb:hover .photo-thumb-overlay { opacity: 1; }
.photo-thumb-overlay svg { color: #fff; width: 36px; filter: drop-shadow(0 0 8px rgba(0,0,0,0.5)); }

/* ===================================================
   LIGHTBOX
   =================================================== */
.lightbox {
    position: fixed; inset: 0;
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(6px);
    cursor: zoom-out;
}
.lb-viewport {
    position: relative; z-index: 2;
    width: 100vw; height: 100vh;
    overflow: hidden;
    cursor: zoom-out;
}
.lb-slide img {
    max-width: calc(100vw - 40px);
    /* max-height: calc(100vh - 40px); */
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.8);
    animation: lbIn 0.3s ease;
    cursor: pointer;
}
@keyframes lbIn { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
.lb-counter { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 2px; }
.lb-close {
    position: fixed; top: 24px; right: 30px; z-index: 10;
    background: none; border: none;
    color: rgba(255,255,255,0.5);
    font-size: 36px; line-height: 1;
    transition: color var(--transition);
}
.lb-close:hover { color: var(--gold); }
.lb-prev, .lb-next {
    position: fixed; top: 50%; z-index: 10;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border);
    color: #fff;
    width: 50px; height: 80px;
    font-size: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(212,175,55,0.2); border-color: var(--gold); color: var(--gold); }

/* ===================================================
   LOGIN PAGE
   =================================================== */
.login-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 40px;
}
/* ===================================================
   REFINED MAGAZINE UI: NAV & FLOATING UI
   =================================================== */
.mag-floating-ui {
    position: fixed;
    top: 40px; right: 40px;
    z-index: 2100;
    display: flex; align-items: center; gap: 20px;
    pointer-events: auto;
}

.menu-toggle {
    width: 60px; height: 60px;
    background: var(--gold);
    border: none; border-radius: 50%;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.menu-toggle:hover { transform: scale(1.1); background: #fff; }
.menu-dot { width: 22px; height: 2px; background: #111; border-radius: 2px; }

/* Right-Side Nav Overlay */
.nav-overlay {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 50%; /* Covers right side */
    background: #111;
    z-index: 3000;
    display: flex; justify-content: center; align-items: center;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    overflow: hidden;
}
.nav-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.5); /* Light overlay for brightening */
    z-index: 1;
    display: none;
}
.nav-overlay:has(.hero-bg-img)::after { display: block; }

.nav-overlay .nav-overlay-content {
    position: relative;
    z-index: 2;
}
.nav-overlay .nav-close {
    z-index: 3;
}
.nav-overlay.open { transform: translateX(0); }

#main-content { margin-top: 0 !important; padding-top: 0 !important; }

/* Overlay Typography */
.overlay-menu .nav-link {
    font-size: 4rem; font-weight: 700; color: #fff;
    font-family: 'Cinzel', serif; letter-spacing: 5px;
    opacity: 0; transform: translateY(30px);
    transition: all 0.4s 0.3s;
}
.nav-overlay.open .nav-link { opacity: 1; transform: translateY(0); }

.nav-close { 
    position: absolute; top: 40px; right: 40px; 
    font-size: 3rem; color: #fff; background: none; border: none; cursor: pointer;
}

@media (max-width: 1000px) {
    .nav-overlay { width: 100%; }
    .overlay-menu .nav-link { font-size: 2.5rem; }
}

.nav-close {
    position: absolute; top: 40px; right: 40px;
    background: none; border: none; color: #fff;
    font-size: 2rem; cursor: pointer;
}

.overlay-menu { display: flex; flex-direction: column; gap: 30px; text-align: center; }
.overlay-menu .nav-link {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    transition: color 0.3s;
}
.overlay-menu .nav-link:hover { color: var(--gold); }
.overlay-menu .admin-link { font-size: 1.2rem; color: #666; margin-top: 20px; }

/* ===================================================
   MAGAZINE UI: SPLIT BRANDING (LEFT PANEL)
   =================================================== */
.split-left-content { padding: 60px; }

@media (max-width: 991px) {
    .split-left-content { padding: 40px 20px; }
}

.mag-welcome { 
    font-size: 0.75rem; 
    letter-spacing: 4px; 
    color: var(--gold); 
    margin-bottom: 30px; 
    font-weight: 700;
}

.mag-seo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
}
.split-name-mag {
    font-family: 'Cinzel', serif;
    line-height: 0.8;
    color: #fff;
    text-transform: uppercase;
}
.mag-first-name { font-size: clamp(2rem, 10vw, 4rem); font-weight: 400; }
.mag-last-name { font-size: clamp(2.8rem, 15vw, 6rem); font-weight: 700; }

.mag-role {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--gold);
    margin-top: 20px;
    text-shadow: none;
}

/* ===================================================
   MAGAZINE UI: HERO BIO (RIGHT PANEL)
   =================================================== */
.mag-hero-bio {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 70px;
    margin-top: 0 !important;
    overflow: hidden;
    background: #fff;
}

/* Background image fills entire section */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Light gradient overlay — text readable on image */
.mag-hero-bio::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.92) 0%,
        rgba(255,255,255,0.75) 50%,
        rgba(255,255,255,0.40) 100%
    );
    z-index: 1;
}

/* All content above the overlay */
.mag-hero-bio > *:not(.hero-bg-img) {
    position: relative;
    z-index: 2;
}

.mag-tagline { 
    font-size: 0.75rem; 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 500;
}
.mag-heading {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 35px;
    color: #1a2a3a;
    font-weight: 700;
}
.mag-bio-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 520px;
}
.mag-bio-text p { margin-bottom: 12px; }
.mag-socials { display: flex; gap: 24px; margin-bottom: 45px; align-items: center; }
.mag-socials a { 
    color: var(--gold); 
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}
.mag-socials a:hover { border-color: var(--gold); }

.mag-more-link {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #1a2a3a;
    border-bottom: 1px solid #1a2a3a;
    padding-bottom: 4px;
    transition: color 0.3s, border-color 0.3s;
}
.mag-more-link:hover { color: var(--gold); border-color: var(--gold); }
.mag-hero-seo {
    margin-top: 25px;
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    max-width: 600px;
    line-height: 1.6;
}
.login-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 44px;
    width: 100%; max-width: 400px;
    text-align: center;
}
.login-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.login-card h2 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 36px; text-transform: uppercase; letter-spacing: 2px; }
.login-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.login-form input {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    width: 100%;
    transition: border-color var(--transition);
}
.login-form input:focus { outline: none; border-color: var(--gold); }
.login-error {
    background: rgba(220,50,50,0.08);
    border: 1px solid rgba(220,50,50,0.3);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: #ff6b6b;
    font-size: 0.85rem;
}

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
    text-align: center;
    padding: 24px 12px;
    background: linear-gradient(135deg, rgba(212,175,55,0.05), rgba(212,175,55,0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 760px;
    margin: 0 auto;
}
.cta-banner h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 16px;
}
.cta-banner p { color: var(--text-muted); margin-bottom: 30px; }
.cta-banner-section { padding: 24px 0; }

/* ---- Section backgrounds (homepage integration) ---- */
section.has-bg {
    position: relative;
    overflow: hidden;
    color: #111; /* Dark text for light backgrounds */
}
section.has-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.85) 100%);
    z-index: 1;
}
section.has-bg .container { position: relative; z-index: 2; }
.section-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ===================================================
   FOOTER
   =================================================== */
#site-footer {
    position: relative; z-index: 1;
    background: #030303;
    border-top: 1px solid var(--border);
    padding: 18px 0;
    text-align: center;
}
.footer-wrap { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.footer-contacts { margin-bottom: 10px; }
.footer-section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.footer-contacts p {
    font-size: 0.95rem;
    color: #bbb;
    margin-bottom: 8px;
}
.footer-copy { font-size: 12px; color: #444; margin-top: 20px; }

/* ===================================================
   ALERTS / NOTICES
   =================================================== */
.alert { padding: 14px 20px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 20px; }
.alert-success { background: rgba(80,200,120,0.08); border: 1px solid rgba(80,200,120,0.3); color: #7ce0a0; }
.alert-error   { background: rgba(220,50,50,0.08);  border: 1px solid rgba(220,50,50,0.3);  color: #ff8080; }

/* ===================================================
   EMPTY STATE
   =================================================== */
.empty-state { text-align: center; padding: 24px 6px; }
.empty-state .icon { font-size: 4rem; opacity: 0.15; margin-bottom: 20px; }
.empty-state p { color: var(--text-muted); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
    .container { padding: 0 7px; }
    .about-layout, .contact-layout { grid-template-columns: 1fr; }
    .about-photo-wrap::before { display: none; }
}
@media (max-width: 768px) {
    .burger { display: flex; }
    #main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: min(300px, 80vw);
        height: 100vh;
        background: rgba(8,6,14,0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 30px 40px;
        gap: 20px;
        z-index: 1001;
        transition: right 0.35s ease;
    }
    #main-nav.open { right: 0; }
    #main-nav a { font-size: 13px; }
}

/* ===================================================
   SEAMLESS MASONRY GRID (ROW-BASED FLOW)
   =================================================== */
.photo-stream-mosaic {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}
.mosaic-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mosaic-item {
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}
.mosaic-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.mosaic-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 500px) {
    .photo-stream-mosaic { flex-direction: column; }
}

/* ===================================================
   LIGHTBOX (PREMIUM SLIDER TRACK)
   =================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: hidden;
}
.lightbox.open { display: flex; opacity: 1; }

.lb-overlay { position: absolute; inset: 0; cursor: zoom-out; }

.lb-viewport {
    position: relative;
    width: 65vw; /* Controls visible portion of current image */
    height: 80vh;
    display: flex;
    align-items: center;
    overflow: visible; /* Peaking neighbors */
    z-index: 5;
}

.lb-track {
    display: flex;
    height: 100%;
    position: absolute;
    left: 0; top: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.lb-slide {
    width: 65vw; /* Matches viewport width */
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center; justify-content: center;
    padding: 0 40px;
    box-sizing: border-box;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lb-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.8);
    background: #000;
}

.lb-slide:not(.active) {
    opacity: 0.3;
    transform: scale(0.85);
    filter: blur(2px);
}

.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: none; border: none;
    color: #fff; font-size: 2.5rem;
    cursor: pointer; z-index: 100;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 2px 20px rgba(0,0,0,1);
    user-select: none;
}
.lb-close:hover { color: var(--gold); }
.lb-prev:hover, .lb-next:hover { color: var(--gold); }

.lb-close { top: 30px; right: 30px; font-size: 3.5rem; }
.lb-prev { left: 5vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 5vw; top: 50%; transform: translateY(-50%); }

.lb-counter {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    z-index: 10;
}

@media (max-width: 768px) {
    .lb-viewport { width: 85vw; }
    .lb-slide { width: 85vw; padding: 0 15px; }
    .lb-prev, .lb-next { display: none !important; }
}
