/* ============================================
   SEDAT SAHIN - IC MIMAR & TASARIMCI
   Modern Minimalist Portfolio CSS
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #1a1a1a;
    --color-secondary: #2d2d2d;
    --color-accent: #c9a87c;
    --color-accent-dark: #b8956a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-background: #ffffff;
    --color-background-alt: #f8f7f5;
    --color-border: #e5e5e5;
    --color-border-dark: #d0d0d0;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    background: var(--color-primary);
    color: var(--color-background) !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--color-secondary);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-background);
}

.btn-outline {
    background: transparent;
    color: var(--color-background);
    border-color: var(--color-background);
}

.btn-outline:hover {
    background: var(--color-background);
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px var(--container-padding) var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    color: var(--color-background);
}

.hero-title span {
    color: var(--color-accent);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.hero-scroll span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-sm);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    padding: 160px 0 var(--space-3xl);
    background: var(--color-background-alt);
    text-align: center;
}

.page-hero--compact {
    padding: 140px 0 var(--space-2xl);
}

.page-title {
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */
.about-preview {
    background: var(--color-background);
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-preview-image {
    position: relative;
}

.about-preview-content {
    padding-right: var(--space-xl);
}

.about-preview-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

/* Image Placeholder */
.image-placeholder {
    background: linear-gradient(135deg, #e8e6e3 0%, #d5d3d0 100%);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-align: center;
}

.image-placeholder.dark {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: rgba(255,255,255,0.5);
}

.image-placeholder.large {
    aspect-ratio: 3/4;
}

/* Link Arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: gap var(--transition-base);
}

.link-arrow:hover {
    gap: 0.75rem;
    color: var(--color-accent);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-preview {
    background: var(--color-background-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-background);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.service-icon {
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-preview {
    background: var(--color-background);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.project-card--large {
    grid-column: span 2;
}

.project-image {
    aspect-ratio: 16/10;
}

.project-card--large .project-image {
    aspect-ratio: 16/9;
}

.project-content {
    padding: var(--space-md);
}

.project-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.project-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--color-primary);
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {
    color: var(--color-background);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--color-background-alt);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: var(--space-sm);
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* ============================================
   BIO SECTION
   ============================================ */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: start;
}

.bio-photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.bio-image-caption {
    text-align: center;
    margin-top: var(--space-sm);
}

.bio-image-caption p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.bio-content h2 {
    margin-bottom: var(--space-lg);
}

.bio-content p {
    color: var(--color-text-light);
}

.bio-signature {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.bio-signature span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-primary);
}

.bio-signature small {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-section {
    background: var(--color-background-alt);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.skill-category h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.skill-item {
    margin-bottom: var(--space-md);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.skill-percent {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.skill-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--color-accent);
    border-radius: 4px;
    width: 0;
    transition: width 1.2s ease-out;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-text);
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline-section {
    background: var(--color-background);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-left: var(--space-2xl);
    padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -5px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--color-background);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
}

.timeline-date {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.timeline-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ============================================
   PERSONAL SECTION
   ============================================ */
.personal-section {
    background: var(--color-background-alt);
}

.personal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.personal-card {
    background: var(--color-background);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
}

.personal-icon {
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.personal-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.personal-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.favorite-quote {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.favorite-quote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    color: var(--color-primary);
}

.favorite-quote cite {
    display: block;
    margin-top: var(--space-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    color: var(--color-text-muted);
}

/* ============================================
   PROJECTS PAGE
   ============================================ */
.projects-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-background);
}

.projects-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.project-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.project-item--large {
    grid-column: span 2;
}

.project-link {
    display: block;
    position: relative;
}

.project-item .project-image {
    aspect-ratio: 4/3;
    transition: transform var(--transition-slow);
}

.project-item--large .project-image {
    aspect-ratio: 16/9;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--color-background);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-image {
    transform: scale(1.05);
}

.project-overlay .project-category {
    color: var(--color-accent);
}

.project-overlay h3 {
    color: var(--color-background);
    margin-bottom: var(--space-xs);
}

.project-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.project-year {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.6;
}

.projects-load-more {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ============================================
   SERVICES DETAIL PAGE
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.service-detail h2 {
    margin-bottom: var(--space-sm);
}

.service-lead {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.service-detail-content p {
    color: var(--color-text-light);
}

.service-detail-content h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: var(--space-lg) 0 var(--space-sm);
}

.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-xs);
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* Process Section */
.process-section {
    background: var(--color-background-alt);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.process-step {
    text-align: center;
    padding: var(--space-lg);
}

.process-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.process-step h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    background: var(--color-background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
}

.contact-intro p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.contact-details {
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-icon {
    flex-shrink: 0;
    color: var(--color-accent);
}

.contact-text h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.contact-text p {
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-text a {
    color: var(--color-text);
}

.contact-text a:hover {
    color: var(--color-accent);
}

.contact-social h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.contact-social .social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-text);
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-background-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-background);
    transition: border-color var(--transition-fast);
}

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

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.form-checkbox input {
    width: auto;
    margin-top: 3px;
}

.form-checkbox span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Map Section */
.map-section {
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e6e3 0%, #d5d3d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
}

.map-overlay p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary);
    color: var(--color-background);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--color-background);
    margin-bottom: var(--space-xs);
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: var(--space-md);
}

.footer-quote {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.5;
}

.footer-contact h4,
.footer-social h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.footer-contact p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--color-background);
    opacity: 0.8;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer .social-links {
    display: flex;
    gap: var(--space-md);
}

.footer .social-links a {
    color: var(--color-background);
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.footer .social-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-bottom: 0;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.animate-fade-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-up:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid,
    .projects-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card--large,
    .project-item--large {
        grid-column: span 1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .bio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

    .personal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-background);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--space-xl);
        gap: var(--space-md);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

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

    .nav-link {
        font-size: 1.25rem;
    }

    .nav-link--cta {
        width: 100%;
        text-align: center;
        margin-top: var(--space-md);
    }

    /* Hero */
    .hero {
        padding: 100px var(--container-padding) var(--space-xl);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    /* About Preview */
    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-preview-content {
        padding-right: 0;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Projects */
    .projects-grid,
    .projects-masonry {
        grid-template-columns: 1fr;
    }

    .projects-filter {
        gap: var(--space-xs);
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    /* Timeline */
    .timeline-item {
        padding-left: var(--space-lg);
    }

    /* Personal */
    .personal-grid {
        grid-template-columns: 1fr;
    }

    /* Process */
    .process-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Form */
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: var(--space-md) 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .stat-item:last-child {
        border-bottom: none;
    }
}

/* ============================================
   PROJECTS PAGE - NEW DESIGN
   ============================================ */

/* Projects Hero */
.projects-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--color-primary);
    color: var(--color-background);
    text-align: center;
    overflow: hidden;
}

.projects-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 168, 124, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(201, 168, 124, 0.1) 0%, transparent 50%);
}

.projects-hero .section-label {
    color: var(--color-accent);
}

.projects-hero .page-title {
    color: var(--color-background);
    margin-bottom: var(--space-md);
}

.projects-hero .page-subtitle {
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.projects-stats-inline {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
}

.stat-inline {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-accent);
}

.stat-txt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
}

/* Featured Project */
.featured-project {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 600px;
}

.featured-project-image {
    position: relative;
}

.featured-project-image .image-placeholder {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    border-radius: 0;
}

.featured-project-content {
    background: var(--color-background-alt);
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    width: fit-content;
}

.featured-project-content .project-category {
    margin-bottom: var(--space-xs);
}

.featured-project-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.featured-project-content > p {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.featured-meta {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.meta-value {
    font-weight: 500;
    color: var(--color-primary);
}

/* Filter Pills */
.projects-filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pill-icon {
    display: flex;
    opacity: 0.5;
}

.filter-pill:hover {
    border-color: var(--color-primary);
    background: var(--color-background-alt);
}

.filter-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-background);
}

.filter-pill.active .pill-icon {
    opacity: 1;
}

.projects-count {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Bento Grid */
.projects-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.bento-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-primary);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-link {
    display: block;
    height: 100%;
    position: relative;
}

.bento-image {
    position: absolute;
    inset: 0;
}

.bento-image .image-placeholder {
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    transition: transform var(--transition-slow);
}

.bento-item:hover .bento-image .image-placeholder {
    transform: scale(1.05);
}

.bento-content {
    position: relative;
    height: 100%;
    min-height: 320px;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: var(--color-background);
}

.bento-tall .bento-content {
    min-height: 100%;
}

.bento-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.bento-category {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bento-year {
    font-size: 0.8rem;
    opacity: 0.6;
}

.bento-bottom h3 {
    color: var(--color-background);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.bento-wide .bento-bottom h3 {
    font-size: 1.75rem;
}

.bento-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: var(--space-sm);
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bento-tags span {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(201, 168, 124, 0.2);
    color: var(--color-accent);
    border-radius: 20px;
}

.bento-arrow {
    position: absolute;
    right: var(--space-lg);
    bottom: var(--space-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.bento-item:hover .bento-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Load More Button */
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--color-border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-load-more:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-background);
}

.btn-load-more svg {
    transition: transform var(--transition-base);
}

.btn-load-more:hover svg {
    transform: translateY(4px);
}

/* Awards Section */
.awards-section {
    background: var(--color-background-alt);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.award-card {
    background: var(--color-background);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

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

.award-year {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.award-content h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.award-content p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* CTA Dark */
.cta-dark {
    background: var(--color-primary);
    color: var(--color-background);
}

.cta-dark h2 {
    color: var(--color-background);
}

.cta-dark p {
    color: rgba(255,255,255,0.7);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

/* Projects Page Responsive */
@media (max-width: 1024px) {
    .projects-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-wide {
        grid-column: span 1;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .featured-project {
        grid-template-columns: 1fr;
    }

    .featured-project-image {
        min-height: 400px;
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-hero {
        padding: 140px 0 60px;
    }

    .projects-stats-inline {
        gap: var(--space-lg);
    }

    .stat-num {
        font-size: 2rem;
    }

    .projects-filter-wrapper {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

    .projects-filter {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-sm);
        -webkit-overflow-scrolling: touch;
    }

    .filter-pill {
        flex-shrink: 0;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .projects-bento {
        grid-template-columns: 1fr;
    }

    .bento-content {
        min-height: 280px;
    }

    .bento-bottom h3 {
        font-size: 1.25rem;
    }

    .featured-project-content {
        padding: var(--space-xl);
    }

    .featured-meta {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   PROJECTS SIMPLE GRID (Side by Side)
   ============================================ */
.projects-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.project-card-simple {
    background: var(--color-background);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.project-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.project-card-simple a {
    display: block;
    color: inherit;
}

.project-card-simple a:hover {
    color: inherit;
}

.project-card-image {
    position: relative;
    overflow: hidden;
}

.project-card-image .image-placeholder,
.project-card-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 0;
    transition: transform var(--transition-slow);
}

.project-card-simple:hover .project-card-image .image-placeholder,
.project-card-simple:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card-simple:hover .project-card-overlay {
    opacity: 1;
}

.view-project {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transform: translateY(10px);
    transition: transform var(--transition-base);
}

.project-card-simple:hover .view-project {
    transform: translateY(0);
}

.project-card-info {
    padding: var(--space-lg);
}

.project-card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.project-card-info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    transition: color var(--transition-fast);
}

.project-card-simple:hover .project-card-info h3 {
    color: var(--color-accent);
}

.project-card-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.project-card-year {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

/* Projects Simple Grid - Responsive */
@media (max-width: 768px) {
    .projects-grid-simple {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .project-card-info {
        padding: var(--space-md);
    }

    .project-card-info h3 {
        font-size: 1.125rem;
    }
}

/* ============================================
   PROJECT DETAIL PAGE
   ============================================ */

/* Project Hero */
.project-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.project-hero-bg .image-placeholder,
.project-hero-bg img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.project-hero .container {
    position: relative;
    z-index: 2;
}

.project-hero-content {
    color: var(--color-background);
    max-width: 800px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-accent);
}

.project-hero-category {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.project-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-background);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.project-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.project-hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.project-hero-meta .meta-item svg {
    color: var(--color-accent);
}

/* Project Content */
.project-content-section {
    background: var(--color-background);
}

.project-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-3xl);
    align-items: start;
}

.project-main {
    max-width: 700px;
}

.project-block {
    margin-bottom: var(--space-xl);
}

.project-block h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.project-block h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-accent);
}

.project-block .lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
}

.project-block p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Project Sidebar */
.project-sidebar {
    position: sticky;
    top: 100px;
}

.project-features {
    background: var(--color-background-alt);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.project-features h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.project-features ul {
    list-style: none;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text);
}

.project-features li:last-child {
    border-bottom: none;
}

.project-features li svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.project-info-card {
    background: var(--color-primary);
    color: var(--color-background);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
}

.project-info-card h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.project-info-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.project-info-card dt {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-info-card dd {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: right;
}

/* Project Gallery */
.project-gallery-section {
    background: var(--color-background-alt);
}

.gallery-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item .image-placeholder,
.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 0;
    transition: transform var(--transition-slow);
}

.gallery-item:hover .image-placeholder,
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item--large .image-placeholder {
    aspect-ratio: auto;
    height: 100%;
}

/* Other Projects */
.other-projects-section {
    background: var(--color-background);
}

/* Project Detail Responsive */
@media (max-width: 1024px) {
    .project-content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .project-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item--large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .project-hero {
        min-height: 60vh;
        padding: var(--space-2xl) 0;
    }

    .project-hero-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .project-sidebar {
        grid-template-columns: 1fr;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-info-card dl {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .project-info-card dd {
        text-align: left;
        margin-bottom: var(--space-sm);
        padding-bottom: var(--space-sm);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .project-info-card dd:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}
