@font-face {
    font-family: 'Grifter';
    src: url('assets/GRIFTERBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

:root {
    --bg-color: #050505;
    --text-primary: #EFEFEF;
    --text-secondary: #888888;
    --accent: #CCFF00;
    /* Neon Green */
    --font-primary: 'Grifter', 'Unbounded', sans-serif;
    /* Priority to Grifter, fallback to Unbounded */
    --font-secondary: 'Syncopate', sans-serif;
    /* For headers */
    --font-mono: 'Roboto Mono', monospace;
    --cursor-size: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none;
    /* Custom cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    /* Default to mono for details */
    overflow-x: hidden;
    line-height: 1.5;
}

/* Custom Cursor */
.cursor {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

.cursor-follow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    transition-timing-function: ease-out;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 30px 40px;
    z-index: 100;
    mix-blend-mode: difference;
    transition: background-color 0.3s;
}

.navbar.active {
    mix-blend-mode: normal;
}

.logo {
    margin-right: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--accent);
}

.nav-socials {
    margin-left: auto;
    display: flex;
    gap: 20px;
}

.hamburger {
    display: none;
}


.nav-socials a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    /* Larger for icons */
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.nav-socials a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Left align content slightly */
    padding: 0 5vw;
}

/* Background video placeholder */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    /* Lighter overlay to see video */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMjIyIiBvcGFjaXR5PSIwLjMiLz4KPC9zdmc+');
    /* Subtle pattern */
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    z-index: 2;
    position: relative;
    margin-top: -5vh;
    /* Lift up slightly */
    padding-left: 20px;
    mix-blend-mode: normal;
    /* Text needs to pop on its own */
}

.hero-sup {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    left: 5vw;
    right: 5vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
    font-family: var(--font-mono);
    color: #fff;
    font-size: 0.8rem;
}

.sponsors {
    display: flex;
    gap: 30px;
    opacity: 0.8;
}

.sponsors span {
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Marquee Bar */
.marquee-container {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 10px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    z-index: 20;
    position: relative;
}

.marquee-content span {
    font-size: 1rem;
    font-family: var(--font-mono);
    padding-right: 50px;
    color: #fff;
    -webkit-text-stroke: 0;
}

/* Selected Works */
.works {
    padding: 100px 5vw;
    position: relative;
    background: var(--bg-color);
    z-index: 10;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 5vw;
    gap: 50px;
    align-items: center;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: #111;
    border: 1px solid #333;
}

.about-text h2 {
    font-family: var(--font-primary);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1;
}

.about-text p {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 400px;
}

.contact-btn {
    display: inline-block;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 15px 30px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: 0.3s;
}

.contact-btn:hover {
    background: var(--accent);
    color: var(--bg-color);
    border-color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .work-link {
        font-size: 1.5rem;
    }

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

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

/* Subpage Layouts */
.page-container {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.page-header {
    padding: 0 5vw;
    margin-bottom: 80px;
}

.page-header h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.page-content {
    padding: 0 5vw;
}

/* Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    padding-bottom: 100px;
}

.work-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #222;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #333;
    transition: border-color 0.3s;
}

.work-card:hover .card-image-wrapper {
    border-color: var(--accent);
}

.card-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.work-card:hover .card-placeholder {
    transform: scale(1.05);
}

.card-info {
    font-family: var(--font-mono);
}

.card-cat {
    color: var(--accent);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Form Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    padding: 15px 0;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.submit-btn {
    align-self: flex-start;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    padding: 15px 40px;
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.contact-info-sidebar h3 {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.info-block a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.info-block a:hover {
    color: var(--accent);
}

.social-list-simple {
    list-style: none;
}

.social-list-simple li {
    margin-bottom: 10px;
}

.social-list-simple a {
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    transition: color 0.3s;
}

.social-list-simple a:hover {
    color: var(--accent);
}

/* News List */
.news-list {
    list-style: none;
    border-top: 1px solid #333;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    font-family: var(--font-mono);
}

.news-date {
    width: 150px;
    color: var(--text-secondary);
}

.news-category {
    padding: 5px 15px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.8rem;
    margin-right: 30px;
}

.news-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.news-title:hover {
    color: var(--accent);
}

/* About Styles */
.profile-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.profile-text h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.skills-list {
    font-family: var(--font-mono);
    list-style: none;
}

.skills-list li {
    margin-bottom: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #111;
    border: 1px solid #333;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    position: relative;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: var(--accent);
}

.modal-image-wrapper {
    aspect-ratio: 16/9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-placeholder {
    width: 100%;
    height: 100%;
    background: #222;
}

.modal-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-cat {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.modal-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.modal-desc {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }

    .contact-hero {
        grid-template-columns: 1fr;
    }

    .contact-socials-row {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 20px;
        justify-content: space-between;
    }

    /* Hamburger Styles */
    .hamburger {
        display: flex;
        cursor: pointer;
        flex-direction: column;
        gap: 6px;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s;
    }

    /* Hamburger Active Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Mobile Nav Links */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        /* Solid background using variable */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 40px;
        padding: 0;
        border-top: none;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .nav-socials {
        display: none;
        /* Hide social icons in header on mobile to clean up */
    }

    .hero-title {
        font-size: 15vw;
    }
}

/* Better responsive handling */
@media (max-width: 900px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links li a {
        font-size: 0.8rem;
    }
}

/* New Contact Page Styles */
.contact-content {
    max-width: 800px;
    font-family: var(--font-mono);
}

.contact-intro {
    font-size: 1rem;
    margin-bottom: 30px;
}

.contact-methods {
    margin-bottom: 80px;
}

.method-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.method-item .label {
    color: var(--text-secondary);
    width: 100px;
}

.method-item .value {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.method-item .value:hover {
    color: var(--accent);
}

.price-list-section {
    margin-bottom: 50px;
}

.price-note {
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.6;
}

.price-category {
    margin-bottom: 60px;
}

.category-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.price-items {
    border-top: 1px solid #333;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.price-row dt {
    color: var(--text-primary);
}

.price-row dd {
    color: var(--text-primary);
    text-align: right;
}

.category-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* Price List Glassmorphism Styles */
.center-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: var(--font-mono);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.glass-card {
    background: rgba(20, 20, 20, 0.6);
    /* Slightly darker than reference to fit overall theme */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    font-family: var(--font-mono);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
}



.card-header-flex {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.blue-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.purple-icon {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
}

.emerald-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.amber-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.glass-card h2 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.price-items-list {
    list-style: none;
    padding: 0;
}

.price-items-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-items-list li:last-child {
    border-bottom: none;
}

.price-items-list li.col-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.label {
    color: #cbd5e1;
    /* Slate-300 equivalent */
    font-size: 0.95rem;
}

.price {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.sub-label {
    font-size: 0.75rem;
    color: #64748b;
    /* Slate-500 */
    margin-top: 5px;
}

.card-note {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #64748b;
}

.alert-box {
    margin-top: 20px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.alert-box p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

.translation-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trans-text {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.trans-text.sub {
    font-style: italic;
    border-left: 2px solid #475569;
    padding-left: 10px;
    color: #94a3b8;
}

.consult-tag {
    text-align: right;
    margin-top: 10px;
}

.consult-tag span {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.contact-footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-top: 40px;
}

.contact-footer h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.contact-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.footer-link {
    display: flex;
    align-items: center;
    color: #94a3b8;
    text-decoration: none;
    font-family: var(--font-mono);
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-link ion-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.footer-link:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
    }

    .contact-links-row {
        flex-direction: column;
        gap: 15px;
    }

    /* About Mobile Layout */
    .profile-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Loading Animation */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 150px;
    /* Adjust size as needed */
    height: auto;
    animation: pulseLogo 2s infinite ease-in-out;
}

@keyframes pulseLogo {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Coming Soon Placeholders */
.works-grid .work-card {
    pointer-events: none;
    /* Disable clicking */
    height: 300px;
    /* Fixed height for placeholder */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    border: 1px solid #333;
}

.work-image.placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.work-image.placeholder span {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}