:root {
    --bg-color: #f9f9f9;
    --text-color: #1a1a1a;
    --text-light: #666;
    --accent-color: #C0A062;
    /* Slightly more muted gold */
    --white: #ffffff;
    --black: #111111;
    /* Softer black */
    --dark-section-bg: #121212;
    --dark-section-text: #f0f0f0;

    --font-heading: 'Noto Serif SC', serif;
    --font-body: 'Outfit', 'PingFang SC', 'Microsoft YaHei', sans-serif;

    --container-width: 1400px;
}

/* Ambient Light Orbs */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: orbFloat 20s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: -20%;
    left: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -10%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.orb-3 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: 40%;
    right: 20%;
    animation-duration: 20s;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Base Variables Continued */
:root {
    --section-padding: 180px 0;
    /* Increased from 120px for luxury feel */
    --nav-height: 90px;

    --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 1s cubic-bezier(0.16, 1, 0.3, 1);
    /* Slower, smoother */
}

/* Noise Texture Overlay */
/* Film grain overlay removed - noise.png not available */

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--accent-color);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--text-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    display: none;
    /* Hidden on touch types usually, enabled via JS for desktop */
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(26, 26, 26, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.1s;
    display: none;
}

@media (pointer: fine) {

    .cursor,
    .cursor-follower {
        display: block;
    }
}

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.loader-line {
    width: 0;
    height: 1px;
    background: var(--text-color);
    margin: 0 auto;
    animation: loadLine 1.5s ease-in-out forwards 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes loadLine {
    to {
        width: 100px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    /* Remove mix-blend-mode for better legibility on beige background */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--white);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--text-color);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.logo .accent {
    font-size: 0.8rem;
    margin-left: 5px;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 0;
    color: inherit;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: currentColor;
    margin: 6px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-image: url('../images/hero_new.png');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 5s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-title {
    font-size: 5vw;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}

.hero-title .line {
    display: block;
    transform-origin: left;
    transition: transform 0.5s ease-out;
}

.hero-title:hover .line {
    transform: translateX(20px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    /* writing-mode: vertical-rl; */
    margin-bottom: 5px;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background-color: var(--white);
    animation: scrollLine 2s infinite;
}

/* Buttons */
.magnetic-btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    overflow: hidden;
    color: var(--white);
    transition: border-color 0.3s;
}

.magnetic-btn .btn-fill {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Start from center */
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    /* Keep centered */
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.magnetic-btn:hover {
    border-color: transparent;
    color: var(--black);
}

.magnetic-btn:hover .btn-fill {
    width: 300px;
    height: 300px;
}

/* Section General */
.section {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 80px;
}

.section-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.section-title {
    font-size: 5rem;
    /* Massive scale */
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

/* Philosophy Section */
.philosophy-section .columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-block p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.parallax-img-container {
    padding-top: 100%;
    /* Aspect Ratio Square */
    position: relative;
    overflow: hidden;
    /* background: #ccc; Removed gray background */
}

.parallax-img {
    position: absolute;
    top: -25%;
    /* Start centered */
    left: 0;
    width: 100%;
    height: 150%;
    /* Taller for parallax */
    background-size: cover;
    background-position: center;
    /* transition: transform 0.1s linear; Done via JS */
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns looks more editorial */
    gap: 80px;
    /* Huge gap */
}

.project-card:nth-child(even) {
    margin-top: 150px;
    /* Staggered effect */
}

.project-card {
    position: relative;
    cursor: pointer;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 130%;
    /* Portrait aspect ratio */
    overflow: hidden;
    background: transparent;
    margin-bottom: 20px;
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--transition-smooth);
    /* Clip Path Reveal handled by JS scroll reveal or default animation */
    clip-path: inset(0 0 100% 0);
    /* Start hidden bottom-up or similar */
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1), transform 0.8s var(--transition-smooth);
}

.is-visible .project-img {
    clip-path: inset(0 0 0 0);
}

.project-card:hover .project-img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    color: var(--white);
    border: 1px solid var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.project-category {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Services Section */
.dark-bg {
    background-color: var(--dark-section-bg);
    color: var(--dark-section-text);
}

.dark-bg .section-label {
    color: #888;
}

.services-list {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 60px;
}

.service-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px 0;
    display: grid;
    grid-template-columns: 0.5fr 2fr 3fr;
    align-items: baseline;
    transition: background 0.3s;
}

/* Services List Hover Effect */
.services-list:hover .service-item {
    opacity: 0.3;
    /* Dim all items when list is hovered */
    filter: blur(2px);
}

.services-list .service-item:hover {
    opacity: 1;
    /* Highlight current item */
    filter: blur(0);
    transform: translateX(20px);
    background: transparent;
    /* Remove previous bg hover */
}

.service-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 50px 0;
    display: grid;
    grid-template-columns: 0.5fr 2fr 3fr;
    align-items: baseline;
    transition: all 0.5s ease;
    cursor: pointer;
}

.service-item:hover {
    /* override simple background hover */
    background: transparent;
}

/* Signing Ticker */
.ticker-section {
    padding: 40px 0;
    margin: 80px 0;
    width: 100%;
    overflow: visible;
    /* Allow label to show */
    position: relative;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    background: rgba(255, 255, 255, 0.5);
}

.ticker-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-color);
    padding: 8px 25px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-transform: uppercase;
    z-index: 10;
    border: 1px solid rgba(26, 26, 26, 0.08);
    white-space: nowrap;
}

.ticker-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Clip scrolling content here */
}

.ticker-track {
    display: flex;
    animation: tickerScroll 40s linear infinite;
    width: max-content;
}

.ticker-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-color);
    white-space: nowrap;
    opacity: 0.8;
}

.ticker-sep {
    margin: 0 40px;
    color: var(--accent-color);
    font-size: 1rem;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }

    /* Move by one group length (since we have 3 groups) */
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.info-group {
    margin-bottom: 50px;
}

.info-group h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.info-group p {
    font-size: 1.5rem;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-link {
    font-size: 1rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--black);
}

.submit-btn {
    border: 1px solid var(--black);
    color: var(--black);
    background: transparent;
    cursor: pointer;
    margin-top: 20px;
}

.submit-btn .btn-fill {
    background: var(--black);
}

.submit-btn:hover {
    color: var(--white);
}

/* Footer */
.main-footer {
    padding: 100px 0 50px;
    background-color: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.footer-cta {
    font-size: 8vw;
    line-height: 1;
    font-family: var(--font-heading);
    color: var(--white);
    opacity: 0.2;
    transition: opacity 0.5s;
    cursor: default;
}

.footer-cta:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        gap: 50px;
    }
}

@media (max-width: 768px) {

    /* Root adjustments */
    :root {
        --section-padding: 80px 0;
    }

    /* Navigation */
    .navbar .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .navbar.nav-active .nav-links {
        transform: translateX(0);
    }

    .navbar.nav-active .nav-link {
        color: var(--text-color);
        font-size: 2rem;
        margin: 20px 0;
    }

    .menu-toggle {
        display: block;
    }

    .navbar.nav-active .menu-toggle .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background-color: var(--text-color);
    }

    .navbar.nav-active .menu-toggle .bar:nth-child(2) {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: var(--text-color);
    }

    .navbar.nav-active .logo {
        color: var(--text-color);
        z-index: 1002;
    }

    /* Hero */
    .hero-title {
        font-size: 14vw;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Section titles */
    .section-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    /* Philosophy */
    .philosophy-section .columns-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .parallax-section {
        height: 50vh;
    }

    /* Projects */
    .project-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-card:nth-child(even) {
        margin-top: 0;
    }

    .project-img {
        height: 60vw;
    }

    /* Services */
    .service-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 30px 0;
    }

    .service-num {
        display: none;
    }

    /* Ticker */
    .ticker-section {
        margin: 50px 0;
        padding: 30px 0;
    }

    .ticker-label {
        font-size: 0.65rem;
        padding: 6px 15px;
    }

    .ticker-item {
        font-size: 1.1rem;
    }

    .ticker-sep {
        margin: 0 20px;
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-card {
        padding: 40px 30px;
    }

    .qr-code-img {
        width: 160px;
        height: 160px;
    }

    /* Footer */
    .main-footer {
        padding: 60px 0 30px;
    }

    .footer-cta {
        font-size: 15vw;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Modal */
    .modal-content {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
        width: 95%;
        overflow-y: auto;
    }

    .modal-img {
        width: 100%;
        height: 200px;
        min-height: 200px;
        flex-shrink: 0;
    }

    .modal-text {
        width: 100%;
        padding: 25px;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    .modal-title {
        font-size: 1.5rem;
        writing-mode: horizontal-tb;
    }

    .modal-category {
        font-size: 0.85rem;
    }

    .modal-desc {
        font-size: 0.95rem;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        font-size: 1.8rem;
        color: var(--white);
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    /* Hide custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none !important;
    }

    /* Reduce ambient orbs */
    .ambient-orb {
        opacity: 0.2;
    }
}

/* Extra small devices (480px and below) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 16vw;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-img {
        height: 70vw;
    }

    .ticker-item {
        font-size: 1rem;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .qr-code-img {
        width: 140px;
        height: 140px;
    }

    .footer-cta {
        font-size: 18vw;
    }
}

/* WeChat Contact Card */
.contact-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 60px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
}

.card-content {
    text-align: center;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-title {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--black);
}

.card-desc {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-text {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.6;
    letter-spacing: 1px;
}

.qr-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-color);
    border-style: solid;
    transition: all 0.3s ease;
}

.corner-tl {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.corner-tr {
    top: -1px;
    right: -1px;
    border-width: 1px 1px 0 0;
}

.corner-bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 1px 1px;
}

.corner-br {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.qr-placeholder:hover .qr-corner {
    width: 100%;
    height: 100%;
}

.wechat-id {
    font-size: 0.9rem;
    color: var(--accent-color);
    opacity: 0.8;
    font-family: monospace;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    background: white;
    width: 80%;
    max-width: 1200px;
    height: 85vh;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--black);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-img {
    width: 65%;
    height: 100%;
    object-fit: cover;
}

.modal-text {
    width: 35%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-color);
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--black);
}

.modal-category {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* QR Code Image */
.qr-code-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 20px auto;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px;
    background: #fff;
}