/* =========================================
   BRAND PALETTE (from your logo)
========================================= */
:root {
    --color-primary: #ff2ea6;
    --color-bg: #050509;
    --color-bg-alt: #0b0b10;
    --color-text: #f5f5f7;
    --color-text-muted: #a0a0aa;
    --color-border: rgba(255, 46, 166, 0.25);
}

/* =========================================
   RESET
========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    background: radial-gradient(circle at top, #151520 0, #050509 55%);
    color: var(--color-text);
    font-family: "Inter", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   GLOBAL
========================================= */
a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

main {
    min-height: calc(100vh - 140px);
}

/* =========================================
   HEADER (V3)
========================================= */
.site-header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    border-radius: 6px;
}

.header-nav a {
    margin-left: 28px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: 0.25s;
}

.header-nav a:hover {
    color: var(--color-primary);
}

/* MOBILE FIX — header collapses cleanly */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .header-nav a {
        margin-left: 0;
        margin: 6px 12px;
        display: inline-block;
    }
}

/* =========================================
   HERO
========================================= */
.hero {
    padding: 120px 40px 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.logo-placeholder img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(255, 46, 166, 0.4);
}

/* Social buttons */
.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* FIX: prevents overflow */
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    transition: 0.25s;
}

.social-btn:hover {
    border-color: var(--color-primary);
    background: rgba(255, 46, 166, 0.08);
}

.social-btn img {
    width: 20px;
    height: 20px;
}

/* MOBILE FIX — hero spacing */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
    }
}

/* =========================================
   STATS
========================================= */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    font-size: 18px;
    flex-wrap: wrap; /* FIX: prevents overflow */
}

.stat span {
    color: var(--color-primary);
    font-weight: 700;
}

/* =========================================
   LATEST EVENT
========================================= */
.latest-event {
    text-align: center;
    padding: 40px 20px;
}

.latest-label {
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.latest-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.latest-banner {
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: 0.25s;
    margin: 0 auto;
}

.latest-banner:hover {
    border-color: var(--color-primary);
}


/* =========================================
   FEATURED WORK
========================================= */
.featured-work {
    padding: 40px 20px;
    text-align: center;
}

.featured-grid {
    max-width: 1100px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: 0.25s;
}

.photo img:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

/* =========================================
   ABOUT SECTION
========================================= */
.about {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    margin-bottom: 20px;
}

.about-photo-top img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    margin: 0 auto 20px;
    border: 1px solid var(--color-border);
}

.about-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* FIX: desktop readability improved */
.about-content p {
    margin-bottom: 18px;
    line-height: 1.7;
    text-align: left;
}

/* mobile keeps centered text */
@media (max-width: 768px) {
    .about-content p {
        text-align: center;
    }
}

.tab-btn {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    cursor: pointer;
    transition: 0.25s;
}

.tab-btn.active,
.tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* FIX: text should not be muted */
.tab-panel {
    display: none;
    line-height: 1.6;
    color: var(--color-text);
}

.tab-panel.active {
    display: block;
}

/* =========================================
   PORTFOLIO BUTTON
========================================= */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #050509;
    font-weight: 600;
    box-shadow: 0 0 24px rgba(255, 46, 166, 0.45);
    transition: 0.25s;
}

.btn-primary:hover {
    box-shadow: 0 0 32px rgba(255, 46, 166, 0.7);
    transform: translateY(-2px);
}

.portfolio-button-section {
    text-align: center;
    padding: 40px 0;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    padding: 24px 40px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    display: flex;
    justify-content: center;
    font-size: 14px;
    color: var(--color-text-muted);
}

.site-footer span {
    margin: 0 4px;
}

/* mobile fix */
@media (max-width: 768px) {
    .site-footer {
        padding: 20px;
        text-align: center;
    }
}

/* =========================================
   LIGHTBOX
========================================= */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

#close-btn,
.arrow {
    position: absolute;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
}

#close-btn {
    top: 20px;
    right: 40px;
}

#prev-btn {
    left: 40px;
}

#next-btn {
    right: 40px;
}

/* mobile fix: arrows too close */
@media (max-width: 768px) {
    #prev-btn {
        left: 20px;
    }
    #next-btn {
        right: 20px;
    }
}

/* =========================================
   CONTACT SLIDE-UP PANEL — V3 STYLE
========================================= */

.contact-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;

    padding: 12px 22px;
    border-radius: 999px;

    background: rgba(255, 46, 166, 0.12);
    border: 1px solid rgba(255, 46, 166, 0.28);

    color: var(--color-primary);
    font-family: "Moonfark", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    font-weight: 600;

    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);

    box-shadow: 0 0 20px rgba(255, 46, 166, 0.25);

    cursor: pointer;
    transition: 0.25s ease;
    z-index: 9999;
}

.contact-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(255, 46, 166, 0.35);
}

/* Slide-up panel */
.contact-slideup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;

    background: rgba(10, 10, 14, 0.75);
    border-top: 1px solid rgba(255, 46, 166, 0.18);

    padding: 26px 20px;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);

    transition: 0.45s ease;
    z-index: 9998;
}

.contact-slideup.open {
    bottom: 0;
}

/* mobile fix: increase readability */
@media (max-width: 768px) {
    .contact-slideup {
        background: rgba(10, 10, 14, 0.88);
    }
}

/* Close button */
.contact-header {
    display: flex;
    justify-content: flex-end;
}

.close-contact {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-text);
    cursor: pointer;
    transition: 0.25s;
}

.close-contact:hover {
    color: var(--color-primary);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 10px;

    border: 1px solid rgba(255, 46, 166, 0.18);
    background: rgba(255, 46, 166, 0.05);

    color: var(--color-text);
    font-family: "Inter", system-ui, sans-serif; /* FIX: readability */
    letter-spacing: 0.5px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 46, 166, 0.35);
    box-shadow: 0 0 14px rgba(255, 46, 166, 0.25);
}

/* Submit button — V3 */
.contact-form button {
    padding: 12px 20px;
    border-radius: 12px;

    background: rgba(255, 46, 166, 0.12);
    border: 1px solid rgba(255, 46, 166, 0.28);

    color: var(--color-primary);
    font-family: "Moonfark", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    font-weight: 600;

    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);

    box-shadow: 0 0 18px rgba(255, 46, 166, 0.25);

    cursor: pointer;
    transition: 0.25s ease;
}

.contact-form button:hover {
    background: rgba(255, 46, 166, 0.18);
    border-color: rgba(255, 46, 166, 0.38);
    box-shadow: 0 0 26px rgba(255, 46, 166, 0.35);
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {
    /* Removed outdated header-nav rule */
}

/* Better breakpoint for 1-column featured grid */
@media (max-width: 600px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PORTFOLIO PAGE
========================================= */

.portfolio h2 {
    text-align: center;
    margin-bottom: 20px;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: 0.25s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.event-block {
    margin-bottom: 50px;
}

.event-block h3 {
    margin-bottom: 16px;
    color: var(--color-primary);
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

/* =========================================
   ACHIEVEMENTS PAGE
========================================= */

.achievements-page h2 {
    text-align: center;
    margin-bottom: 30px;
}

.achievements-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.achievement-item {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: 12px;
    transition: 0.25s;
}

.achievement-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.achievement-item h3 {
    color: var(--color-primary);
    margin-bottom: 12px;
    font-size: 18px;
}

.achievement-item ul {
    list-style: none;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* =========================================
   SUCCESS PAGE
========================================= */

.contact {
    max-width: 700px;
    margin: 140px auto 80px;
    text-align: center;
    padding: 40px 30px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    animation: fadeIn 0.6s ease;
}

.contact h2 {
    color: var(--color-primary);
    margin-bottom: 12px;
}

.contact p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.back-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    transition: 0.25s;
}

.back-btn:hover {
    opacity: 0.8;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

body::after {
    content: "All rights reserved";
    position: fixed;
    bottom: 22px;
    left: 22px;
    padding: 10px 20px;

    background: rgba(255, 46, 166, 0.06);
    border: 1px solid rgba(255, 46, 166, 0.18);
    border-radius: 14px;

    color: var(--color-primary);
    font-family: "Moonfark", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 1px;

    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);

    box-shadow: 0 0 22px rgba(255, 46, 166, 0.22);

    animation: v3Pulse 4.5s ease-in-out infinite;
    z-index: 9999;
    pointer-events: none;
}

@keyframes v3Pulse {
    0%   { opacity: 0.75; box-shadow: 0 0 12px rgba(255, 46, 166, 0.18); }
    50%  { opacity: 1;    box-shadow: 0 0 26px rgba(255, 46, 166, 0.32); }
    100% { opacity: 0.75; box-shadow: 0 0 12px rgba(255, 46, 166, 0.18); }
}

/* =========================================
   LUKIZMEDIA V3 — Unified Background System
   (Final, professional, consistent everywhere)
========================================= */

/* 1) Global base — smooth gray/purple gradient */
html, body {
    background: radial-gradient(
        circle at 50% 0%,
        #1a1a22 0%,
        #111118 45%,
        #0a0a10 75%,
        #050509 100%
    );
    background-attachment: fixed;
    color: var(--color-text);
}

/* 2) All sections transparent — no more “cut blocks” */
section,
main,
.portfolio,
.achievements-page,
.contact-page {
    background: transparent !important;
}

/* 3) All cards/surfaces use ONE unified tone */
.card,
.contact,
.achievement-item,
.contact-slideup,
.site-footer,
.event-block,
.success-box {
    background: rgba(15, 15, 22, 0.92) !important;
    border: 1px solid rgba(255, 46, 166, 0.18) !important;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
}

/* 4) Lightbox — cinematic black */
#lightbox {
    background: rgba(0, 0, 0, 0.92) !important;
}

/* 5) Contact slide-up — slightly stronger for readability */
.contact-slideup {
    background: rgba(12, 12, 18, 0.92) !important;
}

/* 6) Footer — same tone as cards */
.site-footer {
    background: rgba(15, 15, 22, 0.92) !important;
}

/* 7) Remove any accidental white/gray backgrounds */
* {
    background-color: transparent;
}

/* Announcement bar */
#announcement-bar {
    width: 100%;
    padding: 12px 20px;

    background: rgba(255, 46, 166, 0.12);
    border-bottom: 1px solid rgba(255, 46, 166, 0.25);

    color: var(--color-primary);
    font-family: "Moonfark", sans-serif;
    letter-spacing: 0.8px;
    font-size: 0.9rem;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);

    position: sticky;
    top: 0;
    z-index: 99999;

    animation: slideIn 0.45s ease forwards;
}

/* Tekstas centre */
.announcement-text {
    text-align: center;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
}

/* X mygtukas */
#announcement-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.25s;
}

#announcement-close:hover {
    opacity: 0.7;
}

/* Slide-in (atsidarant) */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Fade-out + slide-up (dingstant) */
#announcement-bar.hide {
    animation: fadeOutUp 0.45s ease forwards;
}

@keyframes fadeOutUp {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-20px); }
}

/* PARTNER SECTION */
.partner-highlight {
    width: 100%;
    padding: 80px 0 40px;
    display: flex;
    justify-content: center;
}

.partner-box {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    padding: 40px 50px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 25px rgba(255, 79, 163, 0.15);
}

.partner-box img {
    height: 120px;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: 0.3s ease;
}

.partner-box img:hover {
    filter: none;
    opacity: 1;
}

.partner-text h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ff4fa3;
}

.partner-text p {
    max-width: 450px;
    opacity: 0.85;
    line-height: 1.5;
}

.partner-label {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

/* INSTAGRAM LINK */
.partner-ig {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #ff4fa3;
    opacity: 0.85;
    text-decoration: none;
    transition: 0.3s ease;
}

.partner-ig img {
    height: 18px;
    width: 18px;
    opacity: 1;
    filter: none;
    transition: 0.3s ease;
}

.partner-ig:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.partner-ig:hover img {
    opacity: 1;
    filter: none;
}