/* assets/css/app.css */

/* =============================================
   CSS CUSTOM PROPERTIES (Dark Theme)
   ============================================= */
:root {
    --color-primary:     #0B0F19; /* Deep dark blue/black */
    --color-accent:      #FF5F1F; /* Neon orange */
    --color-accent-dark: #E04E15;
    --color-ink:         #FFFFFF;
    --color-muted:       #94A3B8;
    --color-surface:     rgba(255, 255, 255, 0.03);
    --color-border:      rgba(255, 255, 255, 0.08);
    --font-body:         'Inter', sans-serif;
    --font-display:      'Outfit', sans-serif;
    --transition:        300ms cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glass:      0 4px 30px rgba(0, 0, 0, 0.1);
    --shadow-neon:       0 0 20px rgba(255, 95, 31, 0.3);
    color-scheme: dark;
}

/* =============================================
   BASE RESET
   ============================================= */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-primary);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; border-radius: 1px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select {
    font-family: inherit;
    border-radius: 1px;
    color: inherit;
}
option {
    background-color: var(--color-primary);
    color: var(--color-ink);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.font-display { font-family: var(--font-display); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #FFF;
    font-weight: 600;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    transition: all var(--transition);
    box-shadow: var(--shadow-neon);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 95, 31, 0.5);
    background: var(--color-accent-dark);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-ink);
    font-weight: 600;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all var(--transition);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--color-surface);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* =============================================
   HERO ANIMATION
   ============================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-text { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-text-delay { opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; }
.hero-cta-delay { opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; }

/* =============================================
   CARDS & GLASSMORPHISM
   ============================================= */
.card-glass {
    background: var(--color-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    padding: 2rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card-glass:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 95, 31, 0.3);
    box-shadow: var(--shadow-glass), 0 10px 40px rgba(255, 95, 31, 0.1);
}

/* =============================================
   PORTFOLIO SCROLL-REVEAL HOVER
   ============================================= */
.portfolio-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: #111827;
    border: 1px solid var(--color-border);
    aspect-ratio: 4/3;
    display: block;
    group: hover;
}

.portfolio-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.portfolio-img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 6s ease-out; /* Smooth scrolling effect */
}

.portfolio-card:hover .portfolio-img {
    /* Scroll the image down on hover */
    transform: translateY(calc(-100% + 100vh/2)); /* Adjust based on image height */
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* =============================================
   MASONRY GRID (Showcase)
   ============================================= */
.masonry-grid {
    columns: 2 300px;
    column-gap: 1.5rem;
}

.showcase-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    cursor: zoom-in;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
}

.showcase-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0; /* Let container handle border radius */
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

/* =============================================
   LIGHTBOX
   ============================================= */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

#lightbox-img {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    border-radius: 1px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#lightbox.active #lightbox-img {
    transform: scale(1);
}

#lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    padding: 0.75rem;
    color: #fff;
    transition: all var(--transition);
}

#lightbox-close:hover { 
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

/* =============================================
   CATEGORY FILTER
   ============================================= */
.filter-btn {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--color-muted);
    transition: all var(--transition);
}

.filter-btn:hover {
    color: var(--color-ink);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    color: #fff;
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-neon);
}

/* =============================================
   FORM INPUTS
   ============================================= */
.input-field, .input-glass, .input-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    outline: none;
    transition: all var(--transition);
    color: #FFFFFF !important;
    border-radius: 1px;
}

.select-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    color: #FFFFFF !important;
    outline: none;
    border-radius: 1px;
    cursor: pointer;
}

.label-premium {
    display: block;
    text-transform: uppercase;
    font-size: 0.625rem;
    font-weight: 900;
    color: var(--color-muted);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.input-field:focus, .input-glass:focus, .input-premium:focus, .select-premium:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(255, 95, 31, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.input-field::placeholder, .input-glass::placeholder, .input-premium::placeholder {
    color: #64748B;
}

/* =============================================
   MARKETING VIDEOS PAGE
   ============================================= */
.mv-hero {
    position: relative;
    overflow: hidden;
}

.mv-album-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 95, 31, 0.2);
    border-radius: 2px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-album-card:hover {
    border-color: rgba(255, 95, 31, 0.5);
    box-shadow: 0 30px 60px rgba(255, 95, 31, 0.15), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-8px);
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 95, 31, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(255, 95, 31, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 95, 31, 0); }
}

.mv-icon-ring {
    animation: pulse-ring 2s infinite;
    border-radius: 50%;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial {
    position: relative;
    padding: 2rem;
    border-radius: 2px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
}

/* =============================================
   SECTION SPACING
   ============================================= */
.section { padding: 6rem 0; }
.section-lg { padding: 8rem 0; }
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1024px) {
    .container { padding: 0 3rem; }
}
/* =============================================
   MEGA MENU
   ============================================= */
.nav-link {
    font-weight: 500;
    color: var(--color-muted);
    transition: color var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-ink);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.has-mega-menu {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 40;
    padding: 3rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.mega-category-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-item-link {
    font-size: 0.9375rem;
    color: var(--color-muted);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-item-link:hover {
    color: var(--color-ink);
    transform: translateX(4px);
}

.mega-item-link span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.mega-item-link:hover span {
    opacity: 1;
}

@media (max-width: 768px) {
    .mega-menu { display: none; }
}
