/* ===================================
   EDITORIAL PHOTOGRAPHY WEBSITE
   Unique, asymmetric design
   =================================== */

:root {
    /* Color Palette - Monochrome with accent */
    --color-bg: #FAFAFA;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-accent: #FF6B35;
    --color-border: #E0E0E0;

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Space Grotesk', sans-serif;

    /* Spacing */
    --gap: clamp(1rem, 3vw, 2rem);
    --section-padding: clamp(4rem, 10vw, 12rem);
}

/* ===================================
   RESET
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ===================================
   MINIMAL NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem clamp(2rem, 5vw, 4rem);
    background: transparent;
    mix-blend-mode: difference;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
}

.nav-toggle {
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.nav-toggle:hover span {
    background: var(--color-accent);
}

/* ===================================
   FULL-SCREEN MENU OVERLAY
   =================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-text);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: clamp(2rem, 5vw, 4rem);
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    line-height: 1;
    padding: 0;
}

.menu-content {
    text-align: center;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-link {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: white;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.menu-link::before {
    content: attr(data-index);
    position: absolute;
    left: -4rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    opacity: 0.5;
}

.menu-link:hover {
    color: var(--color-accent);
    transform: translateX(20px);
}

.menu-footer {
    margin-top: 4rem;
}

.menu-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

.menu-contact a:hover {
    color: white;
}

/* ===================================
   HERO: SPLIT SCREEN EDITORIAL
   =================================== */
.hero-editorial {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero-left {
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(6rem, 15vh, 12rem) clamp(2rem, 5vw, 4rem) 4rem;
}

.hero-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-heading em {
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-light);
    max-width: 500px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.btn-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding-bottom: 0.25rem;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-text-subtle {
    font-size: 1rem;
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.btn-text-subtle:hover {
    color: var(--color-text);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===================================
   WORK SECTION: ASYMMETRIC GRID
   =================================== */
.work-section {
    padding: var(--section-padding) clamp(2rem, 5vw, 4rem);
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.section-number {
    font-size: 0.875rem;
    color: var(--color-text-light);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: block;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
}

.work-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: none;
    border: 1px solid var(--color-border);
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--color-text);
    color: white;
    border-color: var(--color-text);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

/* Asymmetric layout patterns */
.portfolio-item:nth-child(1) {
    grid-column: span 5;
}

.portfolio-item:nth-child(2) {
    grid-column: span 7;
    aspect-ratio: 4/3;
}

.portfolio-item:nth-child(3) {
    grid-column: span 7;
}

.portfolio-item:nth-child(4) {
    grid-column: span 5;
    aspect-ratio: 4/5;
}

.portfolio-item:nth-child(5) {
    grid-column: span 6;
    aspect-ratio: 1/1;
}

.portfolio-item:nth-child(6) {
    grid-column: span 6;
}

.portfolio-item:nth-child(7) {
    grid-column: span 4;
}

.portfolio-item:nth-child(8) {
    grid-column: span 8;
    aspect-ratio: 16/9;
}

.portfolio-item:nth-child(9) {
    grid-column: span 12;
    aspect-ratio: 21/9;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.portfolio-category {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* ===================================
   APPROACH SECTION: LARGE TYPE
   =================================== */
.approach-section {
    padding: var(--section-padding) clamp(2rem, 5vw, 4rem);
    background: var(--color-text);
    color: white;
}

.approach-container {
    max-width: 1400px;
    margin: 0 auto;
}

.approach-number {
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    opacity: 0.5;
}

.approach-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 4rem;
    max-width: 900px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.approach-item h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.approach-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ===================================
   INVESTMENT SECTION
   =================================== */
.invest-section {
    padding: var(--section-padding) clamp(2rem, 5vw, 4rem);
    background:
        radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-color: var(--color-bg);
    position: relative;
}

.invest-header {
    margin-bottom: 4rem;
}

.section-subheading {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.invest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
}

.invest-card {
    border: 1px solid var(--color-border);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.invest-card:hover {
    border-color: var(--color-text);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.invest-card.featured {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-color: #2c3e50;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.25);
}

.invest-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 16px 32px rgba(44, 62, 80, 0.35);
}

.invest-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--color-text);
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.invest-card.featured .invest-badge {
    background: #3498db;
    color: white;
}

.invest-card-header {
    margin-bottom: 2rem;
}

.invest-card h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.invest-price {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
}

.invest-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.invest-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: padding-left 0.3s ease;
}

.invest-card:hover .invest-features li {
    padding-left: 0.5rem;
}

.invest-card.featured .invest-features li {
    border-color: rgba(255, 255, 255, 0.3);
}

.invest-cta {
    display: block;
    text-align: center;
    padding: 1rem;
    border: 2px solid var(--color-text);
    color: var(--color-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    background: white;
}

.invest-cta:hover {
    background: var(--color-text);
    color: white;
    transform: translateY(-2px);
}

.invest-card.featured .invest-cta {
    border-color: white;
    color: white;
    background: transparent;
}

.invest-card.featured .invest-cta:hover {
    background: white;
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ===================================
   TESTIMONIALS: LARGE QUOTE
   =================================== */
.testimonials-section {
    padding: var(--section-padding) clamp(2rem, 5vw, 4rem);
    background: var(--color-text);
    color: white;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-large {
    margin-bottom: 4rem;
}

.testimonial-large blockquote {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 900px;
    color: white;
}

.testimonial-large cite {
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-small {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 4px;
    border-left: 3px solid #3498db;
}

.testimonial-small p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-small cite {
    font-style: normal;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   CONNECT SECTION
   =================================== */
.connect-section {
    padding: var(--section-padding) clamp(2rem, 5vw, 4rem);
    background: var(--color-bg);
    border-top: 4px solid #3498db;
}

.connect-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.connect-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 3rem;
}

.connect-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.connect-detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.connect-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
}

.connect-link {
    font-size: 1.25rem;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.connect-link:hover {
    color: var(--color-accent);
}

.connect-text {
    font-size: 1.125rem;
}

.connect-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

.form-field textarea {
    resize: vertical;
}

.form-submit {
    background: var(--color-text);
    color: white;
    border: none;
    padding: 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.form-submit:hover {
    background: var(--color-accent);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 3rem clamp(2rem, 5vw, 4rem);
    border-top: 1px solid var(--color-border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-social {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.footer-social:hover {
    color: var(--color-accent);
}

/* ===================================
   LIGHTBOX
   =================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    line-height: 1;
    z-index: 301;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    padding: 2rem;
    transition: color 0.3s ease;
    z-index: 301;
}

.lightbox-nav:hover {
    color: var(--color-accent);
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

#lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    color: white;
}

.lightbox-caption {
    font-size: 1.125rem;
}

.lightbox-counter {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
    .hero-editorial {
        grid-template-columns: 1fr;
    }

    .hero-left {
        height: 60vh;
    }

    .hero-image-wrapper {
        position: relative;
        height: 100%;
    }

    .work-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-item {
        grid-column: span 12 !important;
        aspect-ratio: 4/3 !important;
    }

    .connect-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-stats {
        gap: 2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .menu-link {
        font-size: 2.5rem;
    }

    .menu-link::before {
        display: none;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .invest-grid {
        grid-template-columns: 1fr;
    }
}