/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-background: #faf6f0;
    --color-text: #1a1a1a;
    --color-border: #e0ddd8;
    --color-accent: #1a1a1a;
    --color-white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   HEADER STYLES
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    /* border-bottom: 1px solid var(--color-border); */
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.site-header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo a {
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}



.site-logo svg {
    width: 32px;
    height: 32px;
}

/* Navigation Styles */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.menu-item a {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.05em;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-base);
}

.menu-item a:hover::after,
.menu-item a.active::after {
    width: 100%;
}

/* CTA Button */
.btn-talk {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.05em;
    color: var(--color-text);
    border: 1.5px solid var(--color-text);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: var(--transition-base);
}

.btn-talk:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .header-container {
        padding: 0 2rem;
    }

    .nav-menu {
        gap: 2rem;
    }

    .main-navigation {
        gap: 2rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        transition: var(--transition-base);
    }

    .main-navigation.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }

    .menu-item {
        width: 100%;
    }

    .menu-item a {
        font-size: 1.125rem;
        display: block;
        padding: 0.75rem 0;
    }

    .btn-talk {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .site-header {
        padding: 1rem 0;
    }

    .header-container {
        padding: 0 1rem;
    }

    .site-logo svg {
        width: 28px;
        height: 28px;
    }

    .main-navigation {
        width: 100%;
        right: -100%;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 3rem;
}

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    padding: 8rem 0 0rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    /* display: grid; */
    /* grid-template-columns: 1fr; */
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
    position: relative;
    width: 100%;
}

.hero-heading h1 {
    font-size: 8rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0;
}

.hero-text {
    /* padding-top: 0.5rem; */
    position: absolute;
    width: 25%;
    right: 5%;
    bottom: 5%;
}

.hero-text h3 {
    font-size: .8rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    /* margin-bottom: 1rem; */
    color: var(--color-text);
}

.hero-text p {
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--color-text);
    /* opacity: 0.85; */
    font-weight: 500;
}

.hero-image {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: var(--transition-base);
}

.hero-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.hero-heading {
    width: 100%;
}

.hero-section .container {
    width: 100%;
}


/* ========================================
   HERO RESPONSIVE DESIGN
======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .hero-section {
        padding: 7rem 0 3rem;
    }

    .hero-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }

    .hero-heading h1 {
        font-size: clamp(2rem, 5vw, 4rem);
    }

    .hero-image {
        height: 400px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 2rem;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .hero-heading h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero-text {
        padding-top: 0;
    }

    .hero-text h3 {
        font-size: 0.875rem;
    }

    .hero-text p {
        font-size: 0.85rem;
    }

    .hero-image {
        height: 300px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .hero-section {
        padding: 5rem 0 1.5rem;
    }

    .hero-heading h1 {
        font-size: 1.75rem;
    }

    .hero-image {
        height: 250px;
        border-radius: 8px;
    }
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
    padding: 3rem 0;
    background-color: var(--color-background);
}

.services-title {
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    /* padding: 1rem 0; */
    border-top: 2px solid;
    border-bottom: none;
    transition: var(--transition-base);
    cursor: pointer;
    width: 60%;
    position: relative;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.service-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.service-item:last-child {
    /* border-bottom: 1px solid var(--color-border); */
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.service-item>a {
    display: flex;
}

.service-item:hover {
    /* background-color: var(--color-white); */
    transform: translateX(10px);
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    z-index: 1;
}

.service-number {
    font-size: 1.3rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    min-width: 3rem;
    padding-left: 1rem;
}

.service-name {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--color-text);
    margin: 0;
    transition: var(--transition-base);
}

.service-item:hover .service-name {
    transform: translateX(5px);
}

/* ========================================
   SERVICES RESPONSIVE DESIGN
======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .services-section {
        padding: 5rem 0;
    }

    .services-title {
        font-size: 1.375rem;
        margin-bottom: 2.5rem;
    }

    .service-item {
        gap: 1.5rem;
        padding: 1.75rem 0;
    }

    .service-name {
        font-size: 1.5rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }

    .services-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .service-item {
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .service-item:hover {
        transform: translateX(5px);
    }

    .service-number {
        font-size: 0.625rem;
        min-width: 2rem;
        padding-left: 1rem;
    }

    .service-name {
        font-size: 1.125rem;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .services-section {
        padding: 3rem 0;
    }

    .services-title {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .service-item {
        gap: 0.75rem;
        padding: 1.25rem 0;
    }

    .service-item:first-child {
        border-radius: 8px 8px 0 0;
    }

    .service-item:last-child {
        border-radius: 0 0 8px 8px;
    }

    .service-number {
        font-size: 0.625rem;
        min-width: 1.5rem;
        padding-left: 0.75rem;
    }

    .service-name {
        font-size: 1rem;
    }
}

/* ========================================
   TEAM SECTION
======================================== */
.team-section {
    background-color: var(--color-background);
    padding-bottom: 4rem;
}

.team-title {
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.team-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.team-member {
    position: relative;
}

.team-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-base);
    cursor: pointer;
}

.team-image>img {
    width: 100%;
}

.team-member:nth-child(1) .team-image {
    transform: rotate(-8deg);
}

.team-member:nth-child(2) .team-image {
    transform: rotate(5deg) translateY(10px);
}

.team-member:hover .team-image {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ========================================
   TEAM RESPONSIVE DESIGN
======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .team-section {
        padding: 5rem 0;
    }

    .team-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .team-section {
        padding: 4rem 0;
    }

    .team-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .team-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .team-member:nth-child(1) .team-image,
    .team-member:nth-child(2) .team-image {
        transform: none;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .team-section {
        padding: 3rem 0;
    }

    .team-gallery {
        gap: 0.75rem;
    }

    .team-image {
        border-radius: 12px;
    }
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    padding: 4rem 0 3rem;
    background-color: var(--color-background);
}

.footer-cta {
    margin-bottom: 4rem;
}

.footer-cta h2 {
    font-size: 4.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.footer-cta p {
    font-size: 1.8rem;
    line-height: 1.1;
    color: var(--color-text);
    /* max-width: 900px; */
    letter-spacing: -1px;
}

.footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.contact-label {
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    /* letter-spacing: 0.05em; */
    color: var(--color-text);
    /* opacity: 0.5; */
}

.contact-value {
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    transition: var(--transition-base);
}

.contact-value:hover {
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text);
    opacity: 0.5;
}

.contact-item:last-child {
    align-items: end;
}

/* ========================================
   FOOTER RESPONSIVE DESIGN
======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .site-footer {
        padding: 5rem 0 2.5rem;
    }

    .footer-cta {
        margin-bottom: 3rem;
    }

    .footer-cta h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .footer-contact {
        gap: 3rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .site-footer {
        padding: 4rem 0 2rem;
    }

    .footer-cta {
        margin-bottom: 2.5rem;
    }

    .footer-cta h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .footer-cta p {
        font-size: 0.9rem;
    }

    .footer-contact {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-value {
        font-size: 1rem;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-cta {
        margin-bottom: 2rem;
    }

    .footer-cta h2 {
        font-size: 1.5rem;
    }

    .contact-value {
        font-size: 0.9rem;
    }
}

/* ========================================
   PROJECT DETAIL PAGE
======================================== */
.project-detail {
    padding: 8rem 0 4rem;
    background-color: var(--color-background);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.breadcrumb a {
    color: var(--color-text);
    margin-right: 0.5rem;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

/* Project Header */
.project-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.project-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.project-subtitle {
    font-size: 1.1rem;
    font-weight: var(--font-weight-regular);
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Image */
.project-hero {
    width: 100%;
    margin-bottom: 5rem;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.project-hero img,
.project-hero video {
    width: 100%;
    height: auto;
    display: block;
}

/* Project Content - Category Layout */
.project-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 5rem;
    padding-left: 0;
}

/* Category Item */
/* Category Item */
.project-category {
    display: flex;
    gap: 0;
    align-items: start;
    padding: 3rem 0;
    position: relative;
    justify-content: center;
}

/* Category Title */
.category-title {
    padding-right: 3rem;
    width: 12%;
    text-align: start;
    padding-top: .5rem;
}

.category-title h3 {
    font-size: 0.9rem;
    font-weight: 400;
    /* letter-spacing: 0.05em; */
    line-height: 1.3;
    color: var(--color-text);
    text-transform: uppercase;
}

/* Vertical Line */
.project-category::before {
    content: '';
    position: absolute;
    left: 28.9%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--color-border);
}

.project-gallery-header .project-category::before {
    display: none;
}


/* Category Content */
.category-content {
    display: flex;
    align-items: start;
    gap: 0;
    padding-left: 3rem;
    position: relative;
    width: 55%;
}

.content-marker {
    position: absolute;
    left: 0px;
    top: 0.4rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--color-text);
    background-color: var(--color-background);
    flex-shrink: 0;
}

.category-content p {
    font-size: .95rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
}

/* Gallery */
.project-gallery {
    margin-bottom: 4rem;
}

.gallery-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 80vh;
    display: block;
}

/* Importance Section */
.project-importance {
    margin-top: 4rem;
}

.project-importance h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.importance-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.importance-content p {
    font-size: 1rem;
    font-weight: var(--font-weight-regular);
    color: var(--color-text);
    line-height: 1.7;
}

/* ========================================
   PROJECT DETAIL RESPONSIVE
======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .project-detail {
        padding: 7rem 0 3rem;
    }

    .project-category {
        grid-template-columns: 220px 1px 1fr;
        padding: 2.5rem 0;
    }

    .project-category::before {
        left: 220px;
    }

    .category-title {
        padding-right: 2rem;
    }

    .category-title h3 {
        font-size: 0.75rem;
    }

    .category-content {
        padding-left: 2.5rem;
    }

    .category-content p {
        font-size: 0.8rem;
    }

    .project-title {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .project-detail {
        padding: 6rem 0 2rem;
    }

    .breadcrumb {
        font-size: 0.65rem;
        margin-bottom: 2rem;
    }

    .project-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .project-title {
        font-size: 1.75rem;
    }

    .project-subtitle {
        font-size: 0.9rem;
    }

    .project-hero {
        margin-bottom: 3rem;
    }

    .project-content {
        padding: 0 1rem;
    }

    .project-category {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
        border-top: 1px solid var(--color-border);
    }

    .project-category::before {
        display: none;
    }

    .category-title {
        padding-right: 0;
    }

    .category-title h3 {
        font-size: 0.75rem;
    }

    .category-content {
        padding-left: 2rem;
    }

    .content-marker {
        left: 0;
        top: 0.3rem;
        width: 10px;
        height: 10px;
    }

    .category-content p {
        font-size: 0.75rem;
        padding-left: 1.5rem;
    }

    .project-importance h2 {
        font-size: 1.25rem;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .project-detail {
        padding: 5rem 0 1.5rem;
    }

    .project-title {
        font-size: 3rem;
        font-weight: var(--font-weight-bold);
        letter-spacing: 0.05em;
        margin-bottom: 1.5rem;
        color: var(--color-text);
    }

    .project-hero,
    .gallery-image {
        border-radius: 8px;
    }

    .info-item h3 {
        font-size: 0.7rem;
    }

    .info-item p,
    .description-block p,
    .importance-content p {
        font-size: 0.8rem;
    }
}

/* ========================================
   PHOTO & VIDEO PAGE
======================================== */
.photo-video-page {
    padding: 8rem 0 4rem;
    background-color: var(--color-background);
}

/* Page Header */
.page-header {
    margin-bottom: 4rem;
}

.page-title {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.page-description p {
    font-size: 1.125rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    color: var(--color-text);
    margin: 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-base);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 0px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-base);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-name {
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    color: var(--color-text);
    text-transform: uppercase;
    margin: 0;
}

/* ========================================
   PHOTO & VIDEO RESPONSIVE
======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .photo-video-page {
        padding: 7rem 0 3rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-description p {
        font-size: 1rem;
    }

    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .photo-video-page {
        padding: 6rem 0 2rem;
    }

    .page-header {
        margin-bottom: 3rem;
    }

    .page-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .page-description p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .project-name {
        font-size: 0.75rem;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .photo-video-page {
        padding: 5rem 0 1.5rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-description p {
        font-size: 0.85rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========================================
   PROJECT GALLERY DETAIL PAGE
======================================== */
.project-gallery-page {
    padding: 8rem 0 4rem;
    background-color: var(--color-background);
}

/* Project Gallery Header */
.project-gallery-header {
    margin-bottom: 5rem;
}

.project-gallery-header .project-category {
    display: block;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    color: var(--color-text);
    text-transform: uppercase;
}

.project-gallery-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0px;
    margin-bottom: 3rem;
    color: var(--color-text);
    line-height: 1.1;
}

.project-gallery-description {
    font-size: 1.125rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
}

/* Gallery Grid */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-item {
    width: calc(20% - 0.8rem);
    /* 5 items per row: (100% - 4*gap) / 5 */
    aspect-ratio: 3/4;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Video Items */
.video-item {
    width: calc(33.333% - 0.67rem);
    /* 3 items per row: (100% - 2*gap) / 3 */
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.video-placeholder span {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: #ffffff;
    letter-spacing: 0.1em;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
}

/* ========================================
   PROJECT GALLERY RESPONSIVE
======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .project-gallery-page {
        padding: 7rem 0 3rem;
    }

    .project-gallery-header {
        margin-bottom: 3rem;
    }

    .project-gallery-title {
        font-size: 2rem;
    }

    .project-gallery-description {
        font-size: 0.95rem;
    }

    /* Tablet: 4 columns for images, 2 for videos */
    .gallery-item {
        width: calc(25% - 0.75rem);
    }

    .video-item {
        width: calc(50% - 0.5rem);
    }

    .video-placeholder span {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .project-gallery-page {
        padding: 6rem 0 2rem;
    }

    .project-gallery-header {
        margin-bottom: 2.5rem;
    }

    .project-category {
        font-size: 0.75rem;
    }

    .project-gallery-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .project-gallery-description {
        font-size: 0.9rem;
    }

    /* Mobile: 2 columns for images, 1 for videos or 2 */
    .gallery-item {
        width: calc(50% - 0.5rem);
    }

    .video-item {
        width: 100%;
        /* Full width videos on mobile looks better */
        aspect-ratio: 16/9;
        /* More standard video ratio on mobile */
    }

    .video-placeholder span {
        font-size: 2rem;
        writing-mode: horizontal-tb;
        /* Horizontal text on mobile */
        transform: none;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .project-gallery-page {
        padding: 5rem 0 1.5rem;
    }

    .project-gallery-title {
        font-size: 1.5rem;
    }

    .project-gallery-description {
        font-size: 0.85rem;
    }

    .gallery-grid {
        gap: 0.5rem;
    }

    .gallery-item {
        width: 100%;
        /* 1 column */
    }

    .video-placeholder span {
        font-size: 1.75rem;
    }
}

/* ========================================
   REFERENCES PAGE
======================================== */
.references-page {
    padding: 8rem 0 4rem;
    background-color: var(--color-background);
}

.references-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.references-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-transform: uppercase;
}

.references-description {
    font-size: 1.1rem;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.02em;
    color: var(--color-text);
    line-height: 1.6;
}

/* References Grid */
.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.reference-item {
    background-color: #ffffff;
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition-base);
}

.reference-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
    opacity: 0.8;
    transition: var(--transition-base);
}

.reference-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* ========================================
   REFERENCES RESPONSIVE
======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .references-page {
        padding: 7rem 0 3rem;
    }

    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .references-page {
        padding: 6rem 0 2rem;
    }

    .references-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .references-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .references-page {
        padding: 5rem 0 1.5rem;
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}