/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #ff6b35;
    --accent-light: #ff8c5a;
    --text-light: #e0e0e0;
    --text-muted: #999;
    --border-color: #404040;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #00000C;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('images/hero_1500.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Hero Navigation - Fixed header */
.hero-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1); /* Make SVG white */
}

.hero-nav-center {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: left;
}

.nav-center-item {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: white;
    line-height: 1.2;
}

.nav-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-year {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    opacity: 0.7;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 2rem 2rem;
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 550px;
    margin-left: 0;
}

.hero-text p {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.3;
    color: white;
    margin: 0;
}

/* Bottom call to action */
.hero-bottom {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-cta {
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-cta:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.cta-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
    animation: bounce 2s infinite;
}

.hero-cta:hover .cta-arrow {
    animation-play-state: paused;
    transform: translateY(3px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* ===== Menu Overlay ===== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background: rgba(0, 20, 40, 0.7);
    backdrop-filter: blur(20px);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.menu-overlay.active .menu-content {
    transform: translateX(0);
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: opacity 0.3s ease;
    letter-spacing: 0.5px;
}

.menu-close:hover {
    opacity: 0.7;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 6rem;
    padding-left: 2rem;
}

.menu-item {
    color: white;
    text-decoration: none;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.1;
    transition: all 0.3s ease;
    text-align: left;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.4s ease;
}

.menu-overlay.active .menu-item {
    opacity: 0.5;
    transform: translateX(0);
}

.menu-overlay.active .menu-item:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .menu-item:nth-child(2) { transition-delay: 0.15s; }
.menu-overlay.active .menu-item:nth-child(3) { transition-delay: 0.2s; }
.menu-overlay.active .menu-item:nth-child(4) { transition-delay: 0.25s; }
.menu-overlay.active .menu-item:nth-child(5) { transition-delay: 0.3s; }
.menu-overlay.active .menu-item:nth-child(6) { transition-delay: 0.35s; }
.menu-overlay.active .menu-item:nth-child(7) { transition-delay: 0.4s; }

.menu-overlay.active .menu-item:hover {
    opacity: 1;
    transform: translateX(10px);
}

.menu-item-primary {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2rem;
    text-align: left;
}

/* ===== Buttons ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* ===== Sections ===== */
section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.template-info,
.explore-section {
    text-align: center;
}

.template-info h2,
.explore-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.template-info p,
.explore-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ===== Figma Section ===== */
.figma-section {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 3rem;
}

.figma-mockup {
    margin-top: 2rem;
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-placeholder {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 3rem;
}

.services h2 {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== About Section ===== */
.about {
    text-align: center;
}

.about p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.clients {
    margin-top: 3rem;
}

.clients h3 {
    margin-bottom: 2rem;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-logo {
    padding: 1rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.client-logo:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ===== Selected Projects Section ===== */
.selected-projects {
    background-color: #00000C;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 6rem; /* Add extra top padding to account for fixed header */
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    gap: 2rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: rgb(226, 226, 226);
    margin: 0;
    white-space: nowrap;
}

.section-rule {
    flex: 1;
    height: 1px;
    background-color: rgb(95, 95, 95);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card 3D Flip Animation */
.project-card {
    perspective: 1000px;
    height: 400px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
}

.project-card:hover .card-inner {
    transform: rotateY(180deg);
}

.project-card:not(:hover) .card-inner {
    transition-delay: 0s;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.card-back {
    transform: rotateY(180deg);
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
}

/* Front Card Styling */
.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.music-pro-bg {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-pro-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-shape {
    width: 60px;
    height: 40px;
    background-color: white;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.logo-shape::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background-color: white;
    border-radius: 0 0 8px 8px;
}

.project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
}

.project-title h3 {
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
}

/* Back Card Styling */
.project-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.project-details h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-details p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.view-project-btn {
    background-color: white;
    color: black;
    border: none;
    padding: 0.8rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.view-project-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        height: 350px;
    }

    .section-header {
        display: flex;
        align-items: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 0.8rem;
        font-weight: 300;
        white-space: nowrap;
    }

    .section-rule {
        flex: 1;
        height: 1px;
        background-color: white;
    }

    .project-info {
        padding: 1.5rem;
    }

    .project-details h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .selected-projects {
        padding: 3rem 1rem;
    }

    .project-card {
        height: 300px;
    }

    .section-header {
        margin-bottom: 2rem;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 0.75rem;
    }

    .project-info {
        padding: 1rem;
    }

    .project-details h3 {
        font-size: 1.3rem;
    }
}

/* ===== Journal Section ===== */
.journal-section {
    background-color: #00000C;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.journal-card {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.journal-card:hover {
    transform: translateY(-5px);
}

.journal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.journal-card:hover .journal-image img {
    transform: scale(1.05);
}

.journal-content {
    padding: 2rem;
}

.journal-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.journal-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Journal */
@media (max-width: 768px) {
    .journal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .journal-image {
        height: 200px;
    }

    .journal-content {
        padding: 1.5rem;
    }

    .journal-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .journal-section {
        padding: 3rem 1rem;
    }

    .journal-content {
        padding: 1rem;
    }

    .journal-content h3 {
        font-size: 1.1rem;
    }
}

/* ===== Pricing Section ===== */
.pricing {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 3rem;
}

.pricing h2 {
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.pricing-card:hover {
    border-color: var(--accent-color);
}

.pricing-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

.features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.features li:before {
    content: "✓ ";
    color: var(--accent-color);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ===== Team Section ===== */
.team-section {
    background-color: #00000C;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* Center cards when fewer than 3 */
.team-grid:has(.team-card:last-child:nth-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
}

.team-grid:has(.team-card:last-child:nth-child(1)) {
    grid-template-columns: minmax(0, 280px);
    justify-content: center;
}

.team-card {
    width: 100%;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card-image {
    width: 100%;
    aspect-ratio: 4 / 3.6;
    overflow: hidden;
    border-radius: 4px;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.4s ease;
}

.team-card:hover .team-card-image img {
    transform: scale(1.03);
}

.team-card-info {
    padding: 1.2rem 0;
}

.team-card-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    margin: 0 0 0.3rem;
}

.team-card-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    margin: 0;
}

/* Responsive Design for Team */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .team-grid:has(.team-card:last-child:nth-child(2)) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 3rem 1rem;
    }
}

/* ===== About Section ===== */
.about-section {
    background-color: #00000C;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-graphic {
    overflow: hidden;
    position: relative;
}

.about-graphic img {
    width: 280px;
    height: auto;
    margin-left: -30px;
}

.about-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.3;
    color: white;
    margin: 0;
}

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

    .about-graphic img {
        max-width: 200px;
    }

    .about-text p {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 3rem 1rem;
    }

    .about-text p {
        font-size: 1.2rem;
    }
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
}

.contact h2 {
    text-align: center;
}

.contact > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    text-align: left;
}

.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 1rem;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.social-icon:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

/* ===== Article Page Styles ===== */
.article-header {
    background-color: #00000C;
    padding-top: 8rem; /* Account for fixed header */
    padding-bottom: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.article-header-content {
    text-align: center;
}

.journal-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: rgb(226, 226, 226);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    color: white;
    margin: 0;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero {
    background-color: #00000C;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.article-hero-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    background-color: #00000C;
    padding: 4rem 2rem;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-text {
    margin-bottom: 3rem;
}

.article-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 2rem;
    text-align: center;
}

.article-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: white;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-image-section {
    margin: 4rem 0;
    text-align: center;
}

.content-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.article-navigation {
    background-color: #00000C;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-nav-content {
    max-width: 800px;
    margin: 0 auto;
}

.back-to-journal {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-journal:hover {
    color: white;
    transform: translateX(-5px);
}

/* ===== Code Block Styles ===== */
.code-section {
    margin: 3rem 0;
    background-color: rgba(20, 20, 20, 0.9);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 1rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-section pre {
    margin: 0;
    padding: 1.5rem;
    background-color: transparent;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e8e8e8;
}

.code-section code {
    display: block;
    white-space: pre;
    background: none;
    padding: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* JavaScript Syntax Highlighting */
.code-section code.javascript {
    color: #e8e8e8;
}

/* Keywords: function, const, let, if, else, switch, case, return, break */
.code-section .keyword {
    color: #569cd6;
    font-weight: 500;
}

/* Function names and built-in functions */
.code-section .function {
    color: #dcdcaa;
    font-weight: 500;
}

/* Variables and identifiers */
.code-section .variable {
    color: #9cdcfe;
}

/* Function parameters */
.code-section .param {
    color: #9cdcfe;
    font-style: italic;
}

/* Operators: =, +, -, %, etc. */
.code-section .operator {
    color: #d4d4d4;
}

/* Numbers */
.code-section .number {
    color: #b5cea8;
}

/* Comments */
.code-section .comment {
    color: #6a9955;
    font-style: italic;
}

/* Strings */
.code-section .string {
    color: #ce9178;
}

/* Object properties */
.code-section .property {
    color: #9cdcfe;
}

/* Method calls */
.code-section .method {
    color: #dcdcaa;
}

/* Objects like Math */
.code-section .object {
    color: #4ec9b0;
}

/* Prompt keys — ALL CAPS headings in JSON-style prompt blocks */
.code-section .prompt-key {
    color: #c586c0;
    font-weight: 600;
}

/* Video Hero Styles for Article Pages */
.article-hero-video {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Article Responsive Design */
@media (max-width: 768px) {
    .article-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 6rem;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .article-hero {
        padding: 1.5rem;
    }

    .article-content {
        padding: 3rem 1.5rem;
    }

    .article-intro {
        font-size: 1.1rem;
    }

    .article-text h3 {
        font-size: 1.5rem;
    }

    .article-image-section {
        margin: 3rem 0;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 5rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-hero {
        padding: 1rem;
    }

    .article-content {
        padding: 2rem 1rem;
    }

    .article-intro {
        font-size: 1rem;
    }

    .article-text h3 {
        font-size: 1.3rem;
        margin-top: 2rem;
    }

    .article-image-section {
        margin: 2rem 0;
    }

    .article-navigation {
        padding: 1.5rem 1rem;
    }
}

/* ===== Project Page Styles ===== */
.project-header {
    background-color: #00000C;
    padding-top: 11rem; /* Account for fixed header with stacked nav items */
    padding-bottom: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
}

.project-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.project-meta-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-header .project-title {
    position: static;
    background: none;
    backdrop-filter: none;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 300;
    color: white;
    margin: 0;
    line-height: 1.1;
}

.project-hero {
    background-color: #00000C;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.project-hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.1s ease-out;
}

.project-content {
    background-color: #00000C;
    padding: 6rem 2rem;
}

.project-container {
    max-width: 900px;
    margin: 0 auto;
}

.project-text {
    margin-bottom: 0.5rem;
    text-align: center;
}

.project-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: left;
}

.project-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-align: left;
}

.project-image-section {
    margin: 6rem 0;
    text-align: center;
}

.content-image-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.project-content-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.1s ease-out;
}

.project-images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 6rem 0;
}

.grid-image-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.grid-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.1s ease-out;
}

.project-results {
    margin: 6rem 0 4rem;
    text-align: left;
}

.results-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: white;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    margin-bottom: 2rem;
}

.project-metadata {
    background-color: #00000C;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metadata-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metadata-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.metadata-content strong {
    color: white;
    font-weight: 500;
}

.project-navigation {
    background-color: #00000C;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-nav-content {
    max-width: 900px;
    margin: 0 auto;
}

.back-to-projects {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-projects:hover {
    color: white;
    transform: translateX(-5px);
}

/* Next Project Section */
.next-project {
    background-color: #00000C;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.next-project-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

.next-project-link:hover {
    transform: translateY(-5px);
}

.next-project-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.next-project-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    margin: 0;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.next-project-link:hover .next-project-title {
    color: rgba(255, 255, 255, 0.7);
}

.next-project-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.next-project-link:hover .next-project-arrow {
    color: white;
    transform: translateX(5px);
}

/* Zoom on Scroll Effect */
.zoom-on-scroll {
    overflow: hidden;
}

.zoom-on-scroll img {
    transform-origin: center center;
}

/* Static image wrapper (no zoom) */
.grid-image-static {
    overflow: hidden;
}

/* Project Page Responsive Design */
@media (max-width: 768px) {
    .project-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .project-header .project-title {
        font-size: 2.8rem;
    }

    .project-meta {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .project-hero {
        padding: 1.5rem;
    }

    .project-content {
        padding: 4rem 1.5rem;
    }

    .project-intro {
        font-size: 1.2rem;
    }

    .project-text h3 {
        font-size: 1.6rem;
        text-align: center;
    }

    .project-text p {
        text-align: center;
    }

    .project-image-section {
        margin: 4rem 0;
    }

    .project-images-grid {
        margin: 4rem 0;
        gap: 1.5rem;
    }

    .project-results {
        margin: 4rem 0 3rem;
    }

    .project-metadata {
        padding: 3rem 1.5rem;
    }

    .metadata-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .project-navigation {
        padding: 1.5rem;
    }

    .next-project {
        padding: 4rem 1.5rem;
    }

    .next-project-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .project-header {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .project-header .project-title {
        font-size: 2.2rem;
    }

    .project-meta {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .project-hero {
        padding: 1rem;
    }

    .project-content {
        padding: 3rem 1rem;
    }

    .project-intro {
        font-size: 1.1rem;
    }

    .project-text h3 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    .project-image-section {
        margin: 3rem 0;
    }

    .project-images-grid {
        margin: 3rem 0;
        gap: 1rem;
    }

    .project-results {
        margin: 3rem 0 2rem;
    }

    .project-metadata {
        padding: 2rem 1rem;
    }

    .project-navigation {
        padding: 1.5rem 1rem;
    }

    .next-project {
        padding: 3rem 1rem;
    }

    .next-project-title {
        font-size: 2rem;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) and (orientation: portrait) {
    /* Mobile Portrait Layout */
    .hero {
        flex-direction: column;
        justify-content: flex-start;
    }

    /* Simplified mobile navigation */
    .hero-nav-container {
        padding: 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    /* Hide center navigation and copyright on mobile */
    .hero-nav-center,
    .nav-year {
        display: none;
    }

    /* Hero content restructure for mobile */
    .hero-content {
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem 1.5rem;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 20, 40, 0.9) 70%, rgba(0, 20, 40, 0.95) 100%);
        margin-top: auto;
        min-height: 50vh;
        justify-content: flex-end;
    }

    .hero-text {
        max-width: 100%;
        text-align: left;
        margin-bottom: 2rem;
    }

    .hero-text p {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    /* Adjust bottom call-to-action for mobile */
    .hero-bottom {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .button-group {
        flex-direction: column;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .services-grid,
    .portfolio-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) and (orientation: portrait) {
    .hero-nav-container {
        padding: 1rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        min-height: 45vh;
    }

    .hero-text p {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 2rem 1rem;
    }

    .client-logos {
        gap: 1rem;
    }
}

/* Landscape and desktop styles remain the same */
@media (min-width: 769px), (orientation: landscape) {
    .hero-nav-center {
        display: flex;
    }

    .nav-year {
        display: block;
    }
}
