@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0d0d0d;
    color: #e5e7eb;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #111;
}
::-webkit-scrollbar-thumb {
    background: #8B0000;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff1a1a;
}

/* Smoke/Fade Gradient overlay */
.smoke-overlay {
    background: radial-gradient(circle at center, transparent 0%, rgba(13, 13, 13, 0.9) 100%);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Masonry Grid */
.masonry {
    column-count: 1;
    column-gap: 1.5rem;
}
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.overlay-zoom {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.7);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.masonry-item:hover .overlay-zoom {
    opacity: 1;
    pointer-events: auto;
}

/* Hover effect on styles card */
.style-card {
    overflow: hidden;
}
.style-card img {
    transition: transform 0.6s ease;
}
.style-card:hover img {
    transform: scale(1.1);
}
.style-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 8, 8, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.active {
    opacity: 1;
    pointer-events: all;
}
.lightbox img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 0.25rem;
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.15);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}
.lightbox-close:hover {
    color: #8B0000;
}

/* Filter specific classes */
.filter-hide {
    display: none !important;
}

/* Transparent Navbar state */
.nav-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

/* Input Fields Autofill fix for dark theme */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
    -webkit-text-fill-color: white !important;
}
