/* 
   Thilina Studio - Premium Dark Mode Style
   Vanilla CSS (no Tailwind required)
*/

:root {
    --bg: #000000;
    --bg-darker: #05010d;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.4);
    --brand-accent: var(--accent-indigo);
    --accent-blue: #0ea5e9;
    --accent-purple: #8b5cf6;
    --accent-indigo: #6366f1;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    background: var(--bg);
    background-image:
        radial-gradient(circle at 20% 30%, var(--bg-darker) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--bg-darker) 0%, transparent 40%);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Animation */
.background-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #000;
    background-image: radial-gradient(circle at 50% 50%, #030014 0%, #000 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    /* Reduced blur for performance */
    opacity: 0.3;
    mix-blend-mode: screen;
    will-change: transform;
    /* Hint for hardware acceleration */
}

.blob-1 {
    width: 60vw;
    height: 60vw;
    top: -10vh;
    left: -10vw;
    background: var(--accent-indigo);
    animation: float-1 15s infinite alternate ease-in-out;
}

.blob-2 {
    width: 50vw;
    height: 50vw;
    bottom: -10vh;
    right: -5vw;
    background: var(--accent-purple);
    animation: float-2 18s infinite alternate-reverse ease-in-out;
}

.blob-3 {
    width: 40vw;
    height: 40vw;
    top: 20vh;
    right: 15vw;
    background: var(--accent-blue);
    animation: float-3 12s infinite alternate ease-in-out;
}

.blob-4 {
    width: 45vw;
    height: 45vw;
    bottom: 10vh;
    left: 15vw;
    background: #1e1b4b;
    /* deep indigo */
    animation: float-1 20s infinite alternate-reverse ease-in-out;
}

@keyframes float-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(15vw, 10vh) scale(1.2);
    }

    66% {
        transform: translate(-10vw, 20vh) scale(0.8);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes float-2 {
    0% {
        transform: translate(0, 0) scale(1.2);
    }

    33% {
        transform: translate(-15vw, -15vh) scale(1);
    }

    66% {
        transform: translate(15vw, -10vh) scale(1.3);
    }

    100% {
        transform: translate(0, 0) scale(1.2);
    }
}

@keyframes float-3 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-15vw, 25vh) rotate(180deg) scale(1.3);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.noise {
    position: absolute;
    inset: 0;
    background: 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="1" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.08;
    /* Slightly reduced opacity */
    mix-blend-mode: overlay;
    filter: contrast(150%) brightness(1000%);
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.5s ease;
}

nav.glass {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-decoration: none;
    line-height: 1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo .name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; /* Enlarged for prominence */
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    word-spacing: -0.05em;
    transition: all 0.6s ease;
}

.logo .category {
    font-family: 'Outfit', sans-serif;
    color: var(--accent-indigo);
    font-weight: 400;
    opacity: 0.9; /* Significantly increased visibility */
    letter-spacing: 0.5em;
    font-size: 0.65rem; /* Slightly larger for legibility */
    text-transform: uppercase;
    margin-top: 0.1rem;
}

.logo:hover .name {
    letter-spacing: 0.15em;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-weight: 500;
    transition: all 0.4s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-indigo);
    transition: width 0.4s ease;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Global Link Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.accent-indigo {
    color: var(--accent-indigo) !important;
}

.accent-indigo:hover {
    color: white !important;
}

.brand-accent {
    color: var(--brand-accent) !important;
}

.brand-accent:hover {
    color: white !important;
}

::selection {
    background-color: var(--brand-accent);
    color: var(--bg);
}

/* Buttons */
.btn-outline {
    font-size: 0.6rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.btn-ghost {
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: var(--glass);
    border-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-services-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: rgba(37, 211, 102, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.whatsapp-services-btn:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px -10px rgba(37, 211, 102, 0.2);
}

.whatsapp-services-btn i {
    width: 20px;
    height: 20px;
    color: #25D366;
}

/* Sections */
section {
    padding: 8rem 0;
}

.sub-headline {
    color: var(--text-muted);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 1.5rem;
    display: block;
}

/* Gallery Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem auto 3rem;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), rgba(99, 102, 241, 0.3), var(--glass-border), transparent);
}

.divider .sub-headline {
    margin-bottom: 0;
    white-space: nowrap;
    color: var(--brand-accent);
    opacity: 0.8;
    letter-spacing: 0.5em;
}

.headline {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    line-height: 0.9;
    letter-spacing: -5px;
    margin-bottom: 2rem;
}

.headline span {
    font-style: italic;
    color: var(--text-muted);
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 2rem;
}

.title span {
    font-style: italic;
    color: var(--text-muted);
}

.description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Glass Card */
.glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
}

/* Portfolio Section */
.portfolio-grid {
    column-count: 2;
    column-gap: 3rem;
    display: block;
}

.portfolio-item {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    background: var(--glass);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        column-count: 1;
        column-gap: 0;
    }
    .portfolio-item {
        margin-bottom: 1.5rem;
    }
}

.item-media {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.item-media img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    z-index: 10;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.item-category {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--brand-accent);
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.item-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.item-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: white;
    color: black;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover States */
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

.portfolio-item:hover .item-media img {
    transform: scale(1.1);
}

.portfolio-item:hover .item-overlay {
    opacity: 0.8;
}

.portfolio-item:hover .item-content {
    transform: translateY(0);
}

.portfolio-item:hover .item-link {
    opacity: 1;
    transform: scale(1);
}

/* Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.text-center {
    text-align: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-20 {
    gap: 5rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 640px) {
    .sm-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-4 {
    grid-column: span 4;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.p-12 {
    padding: 3rem;
}

.m-8 {
    margin: 2rem;
}

.w-full {
    width: 100%;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.overflow-hidden {
    overflow: hidden;
}

.italic {
    font-style: italic;
}

.font-serif {
    font-family: 'Outfit', sans-serif;
}

.text-xs {
    font-size: 0.75rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-red-500 {
    color: #ef4444;
}

.border-b {
    border-bottom: 1px solid var(--glass-border);
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .md-flex {
        display: flex;
    }

    .md-hidden {
        display: none;
    }

    .md-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .md-col-span-2 {
        grid-column: span 2;
    }
}

/* Margin Utilities */
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mt-32 { margin-top: 8rem; }
.mt-40 { margin-top: 10rem; }
.mt-48 { margin-top: 12rem; }
.mt-64 { margin-top: 16rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 6rem; }

/* Admin Specific */
.admin-tab-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    transition: color 0.3s;
    padding-bottom: 0.5rem;
}

.admin-tab-btn.active {
    color: var(--brand-accent);
    border-bottom: 2px solid var(--brand-accent);
}

.admin-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
}

.delete-btn {
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
}

.group:hover .delete-btn {
    opacity: 1;
}

/* Testimonials */
.testimonials.bg-darker {
    background: #020008;
}

/* FAQ Section */
.faq-item {
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-trigger {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-trigger:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--brand-accent);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    line-height: 1.8;
    font-size: 0.95rem;
    border-top: 1px solid var(--glass-border);
}

.faq-content.hidden {
    display: none;
}

/* Contact Form Enhancements */
.contact-card-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.c-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.15;
    will-change: transform;
}

.c-blob-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    background: var(--accent-indigo);
    animation: float-1 8s infinite alternate ease-in-out;
}

.c-blob-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: -50px;
    background: var(--accent-purple);
    animation: float-2 10s infinite alternate-reverse ease-in-out;
}

#contact-form .form-group {
    position: relative;
}

#contact-form input, 
#contact-form select, 
#contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    width: 100%;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    border-bottom-color: var(--accent-indigo);
    padding-left: 0.5rem;
}

#contact-form select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

#contact-form select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

#contact-form button[type="submit"] {
    background: white;
    color: black;
    border: none;
    border-radius: 9999px;
    padding: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

#contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    background: linear-gradient(to right, var(--accent-indigo), var(--accent-purple));
    color: white;
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.4);
}

select option {
    background: #000;
    color: #fff;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* Mobile Adjustments for New Sections */
@media (max-width: 768px) {
    .faq-trigger {
        padding: 1.5rem;
        font-size: 1rem;
    }
}

.border-l-4 { border-left-width: 4px; }
.border-brand-accent { border-color: var(--brand-accent); }
.rounded-2xl { border-radius: 1.5rem; }

@media (min-width: 768px) {
    .md-grid-cols-2 { 
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
    }
    .md-grid-cols-3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .md-col-span-2 {
        grid-column: span 2 / span 2;
    }
}

/* Common sizing utilities */
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }

.inquiry-filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 9999px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.inquiry-filter-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.inquiry-filter-btn.active {
    background: white;
    color: black;
    border-color: white;
    box-shadow: 0 10px 30px -5px rgba(255, 255, 255, 0.3);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-new { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.badge-viewed { background: rgba(6, 182, 212, 0.2); color: #22d3ee; }
.badge-completed { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.badge-rejected { background: rgba(239, 68, 68, 0.2); color: #f87171; }

.border-status-new { border-left-color: #6366f1 !important; }
.border-status-viewed { border-left-color: #06b6d4 !important; }
.border-status-completed { border-left-color: #22c55e !important; }
.border-status-rejected { border-left-color: #ef4444 !important; }

.btn-pill {
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-pill:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.inquiry-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
    display: block;
}

/* Animations paused per user request */
.animate-in {
    opacity: 1; /* Ensure visible when animation is off */
}

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

.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.ml-2 { margin-left: 0.5rem; }

/* Professional Admin Dashboard Framework */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #000;
}

.admin-sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    z-index: 100;
    line-height: 1.2;
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: 4rem;
    background: radial-gradient(circle at top right, #05010d 0%, #000 70%);
}

.sidebar-nav {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Base Utility Classes */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.h-full { height: 100%; }
.w-full { width: 100%; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Standardized Grid & Response System */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 768px) {
    .md-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mt-auto { margin-top: auto; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }

.text-xs { font-size: 0.75rem; line-height: 1; }
.text-sm { font-size: 0.875rem; line-height: 1.25; }
.text-10 { font-size: 10px; line-height: 1; }
.text-lg { font-size: 1.125rem; line-height: 1.4; }
.text-xl { font-size: 1.25rem; line-height: 1.5; }
.text-2xl { font-size: 1.5rem; line-height: 1.6; }
.text-3xl { font-size: 1.875rem; line-height: 2; }
.font-black { font-weight: 900; }
.font-serif { font-family: 'Outfit', sans-serif; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-extra { letter-spacing: 0.3em; }
.tracking-tighter { letter-spacing: -0.05em; }

/* Layout Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.aspect-square { aspect-ratio: 1 / 1; }
.rounded-xl { border-radius: 0.75rem; }
.overflow-hidden { overflow: hidden; }
.group { position: relative; }

.tab-btn {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.07);
    color: var(--brand-accent);
}

/* Deletion UI */
.photo-delete-btn, .delete-btn-album {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    color: white !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.photo-delete-btn:hover, .delete-btn-album:hover {
    background: #ff4444 !important;
    border-color: #ff4444 !important;
    transform: scale(1.1);
}

/* Deletion Button Visibility - Always Visible */
.photo-delete-btn, .delete-btn-album {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Hover Utilities */
.opacity-0 { opacity: 0; pointer-events: none; }
.group:hover .group-hover\:opacity-100 { opacity: 1; pointer-events: all; }

/* Custom Admin Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0px);
}

.modal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    width: 100%;
    max-width: 440px;
    padding: 3rem;
    text-align: center;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.hidden .modal-card {
    transform: scale(0.9);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2.5rem;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4444;
}

/* Mobile Responsiveness Overhaul */
@media (max-width: 1024px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: sticky;
        top: 0;
        left: 0;
        padding: 1rem 1.5rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .admin-sidebar > .flex-col {
        flex-direction: row !important;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .sidebar-nav {
        margin-top: 0;
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0px;
        scrollbar-width: none; /* Firefox */
    }
    .sidebar-nav::-webkit-scrollbar { display: none; }

    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
        white-space: nowrap;
        border-radius: 0.5rem;
        gap: 0.5rem;
    }
    .tab-btn i { width: 14px; height: 14px; }

    .admin-user-nav {
        display: none !important; /* Hide user profile on mobile top bar to save space */
    }

    #logout-btn {
        width: auto !important;
        padding: 0.6rem 1rem !important;
        background: rgba(255, 68, 68, 0.1) !important;
        border-color: rgba(255, 68, 68, 0.2) !important;
        color: #ff4444 !important;
        margin-left: 0.5rem;
    }
    #logout-btn span { display: none; } /* Hide Logout text icon only */

    .admin-main {
        margin-left: 0;
        padding: 2rem 1.5rem 6rem;
    }

    .admin-section-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .admin-card {
        padding: 1.5rem;
    }

    .modal-card {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
        max-width: 90%;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .admin-main {
        padding: 1.5rem 1rem 5rem;
    }
    
    .text-3xl { font-size: 1.75rem; }
    .text-2xl { font-size: 1.5rem; }
}

.file-zone i {
    color: var(--text-muted);
}

.file-zone:hover i {
    color: var(--brand-accent);
}

.admin-card input, .admin-card textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

input:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--brand-accent) !important;
}

.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        column-count: 4;
    }
}

.photo-card {
    /* transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); */
    break-inside: avoid;
    display: inline-block;
    width: 100%;
}

.photo-card:hover {
    /* transform: translateY(-8px); */
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

[data-lucide] {
    stroke-width: 2;
}

.album-item {
    background: #0a0a0a;
}

.album-item:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Cinematic Event Card v2 */
.album-card-v2 {
    background: #0a0a0a;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-image-container {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: white;
    color: black;
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.view-event-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    white-space: nowrap;
}

.event-details {
    padding: 1.5rem 1rem;
    text-align: center;
}

.event-details h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 95%;
    margin: 0 auto;
}

.photo-delete-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.photo-delete-btn:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

@media (max-width: 1024px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 1.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .admin-main {
        margin-left: 0;
        padding: 2rem;
    }
    .sidebar-nav {
        margin-top: 1.5rem;
        flex-direction: row;
        overflow-x: auto;
    }
    .admin-section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Professional Gallery Tab Switcher Styles */
.gallery-tabs-wrapper {
    position: relative;
}

.gallery-tabs {
    display: inline-flex;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    position: relative;
    backdrop-filter: blur(20px);
}

.gallery-tab {
    position: relative;
    z-index: 2;
    padding: 0.85rem 2.5rem;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.gallery-tab.active {
    color: white !important;
}

.gallery-tab:hover:not(.active) {
    color: rgba(255, 255, 255, 0.7) !important;
}

.tab-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: calc(50% - 4px);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.no-select {
    user-select: none;
    -webkit-user-select: none;
}

.z-10 { z-index: 10; }
.z-0 { z-index: 0; }