/* ============================================
   Delphine Camberlin — Portfolio Site
   Palette: Slate Blue-Gray #323e4f + Blue #5b9bd5
   Typography: DM Serif Display + DM Sans
   ============================================ */

:root {
    --charcoal: #323e4f;
    --charcoal-light: #4a5568;
    --dark: #2a3444;
    --warm-cream: #f0f4f8;
    --cream-light: #f7f9fc;
    --terracotta: #5b9bd5;
    --terracotta-light: #7bb3e2;
    --terracotta-dark: #4a88c2;
    --sand: #dce8f3;
    --text-dark: #323e4f;
    --text-medium: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --heading-font: 'DM Serif Display', serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream-light);
    overflow-x: hidden;
    line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }

/* ==================== NAVIGATION ==================== */

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 10rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #808080;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: #808080;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}


.nav-links a {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.nav-links a.title-bleu{
	color: var(--charcoal);
	font-weight: bold;
	
}

.nav-links a.title-bleu:hover{
	color: #5b9bd5;
	font-weight: bold;
	
}


.nav-links a:hover, .nav-links a.active {
    color: #53a7d7;
	font-weight: bold;
	background-color:white;
	padding:15px;
}

.nav-cta {
    background: var(--charcoal) !important;
    color: var(--white) !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 100px;
    transition: background 0.3s !important;
}

.nav-cta:hover {
    background: var(--terracotta) !important;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--warm-cream);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: var(--charcoal);
    transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--terracotta); }


/* ==================== BUTTONS ==================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--terracotta);
    color: var(--white);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 100px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(91, 155, 213, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 100px;
    border: 1.5px solid var(--charcoal);
    transition: all 0.3s;
    font-family: 'DM Sans', sans-serif;
}

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

.btn-icon {
    width: 16px; height: 16px;
}


/* ==================== SECTION SHARED ==================== */

section {
    padding: 6rem 6rem;
}

.section-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px; height: 2px;
    background: var(--terracotta);
}

.section-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.section-header h2 em {
    color: var(--terracotta);
    font-style: italic;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
}


/* ==================== HERO ==================== */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 72px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem 4rem 6rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 32px; height: 2px;
    background: var(--terracotta);
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.hero h1 em {
    color: var(--terracotta);
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    background: var(--dark);
    background-image: url('../images/bg-identity.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    position: relative;
    z-index: 1;
}

.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.hero-float-card.card-0 { top: 6%; right: 25%; background:var(--charcoal);  animation:none; padding: 5px 20px 5px 20px;}
.hero-float-card.card-1 { top: 20%; right: 5%; animation-delay: 0s; }
.hero-float-card.card-2 { top: 20%; left: 5%; animation-delay: 2s; }
.hero-float-card.card-3 { bottom: 20%; right: 5%; animation-delay: 0s; }
.hero-float-card.card-4 { bottom: 20%; right: 40%; animation-delay: 0s; }
.hero-float-card.card-5 { bottom: 20%; left: 5%; animation-delay: 0s; }


.hero-float-card .number {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--terracotta);
}

.hero-float-card .label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(50, 62, 79, 0.35);
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 40px solid rgba(91, 155, 213, 0.15);
    z-index: 1;
}


/* ==================== LOGOS BAR ==================== */

.logos-bar {
    background: var(--white);
    padding: 3rem 6rem;
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.logos-bar p {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.logo-item {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.logo-item:hover { opacity: 1; }


/* ==================== SERVICES ==================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--terracotta);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.service-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--warm-cream), var(--sand));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.65;
}


/* ==================== PORTFOLIO ==================== */

.portfolio {
    background: var(--charcoal);
    color: var(--white);
}

.portfolio .section-tag { color: var(--terracotta-light); }
.portfolio .section-header h2 { color: var(--white); }
.portfolio .section-header p { color: rgba(255,255,255,0.6); }

.portfolio-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'DM Sans', sans-serif;
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--dark);
    transition: all 0.4s;
    cursor: pointer;
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.portfolio-card a { display: block; }

.portfolio-thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.portfolio-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--terracotta-light);
    letter-spacing: 0.05em;
}

.portfolio-info {
    padding: 1.25rem 1.5rem;
}

.portfolio-info h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.portfolio-info p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.portfolio-card.featured {
    grid-column: span 2;
}

.portfolio-card.featured .portfolio-thumb {
    aspect-ratio: 2/1;
}


/* ==================== ABOUT ==================== */

.about {
    background: var(--warm-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
}

.about-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.about-content h2 em {
    color: var(--terracotta);
    font-style: italic;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.skill-pill {
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(91, 155, 213, 0.08);
    color: var(--terracotta);
    border: 1px solid rgba(91, 155, 213, 0.15);
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .stats-container {
    position: relative;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .strengths-grid {
    grid-template-columns: 1fr;
  }
  
  .strength-card {
    width: 100%;
    padding: 20px;
  }
}

.avatar-circle {
  width: 48px;
  height: 48px; /* must equal width exactly */
  border-radius: 50%;
  min-width: 48px; /* prevents squishing */
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* prevents flexbox from squishing it */
}

/* Make sure these are set globally */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Check your section containers */
.photography-section,
.photo-hero {
  width: 100%;
  max-width: 100%;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.tool-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 16px;
  border-left: 3px solid #4a90d9;
}

.tool-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tool-info a {
  color: #1a3a4a;
  text-decoration: none;
  font-weight: 600;
}

.tool-info a:hover {
  color: #4a90d9;
}

.tool-info p {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
  line-height: 1.5;
}

/* Mobile: single column */
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}
/* ==================== TESTIMONIALS ==================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'DM Serif Display', serif;
    font-size: 5rem;
    color: var(--terracotta);
    opacity: 0.15;
    position: absolute;
    top: 1rem; right: 2rem;
    line-height: 1;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--terracotta);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-light);
}


/* ==================== CTA ==================== */

.cta {
    background: var(--charcoal);
    color: var(--white);
    text-align: center;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.cta h2 em { color: var(--terracotta-light); font-style: italic; }

.cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary { background: var(--terracotta); }
.cta .btn-primary:hover { background: var(--terracotta-light); }
.cta .btn-secondary { border-color: rgba(255,255,255,0.3); color: var(--white); }
.cta .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }


/* ==================== FOOTER ==================== */

footer {
    background: var(--charcoal);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2.5rem 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--terracotta-light); }


/* ==================== PAGE HEADERS ==================== */

.page-hero {
    padding: 10rem 6rem 4rem;
    background: var(--dark);
    background-image: linear-gradient(rgba(50, 62, 79, 0.82), rgba(50, 62, 79, 0.82)), url('../images/bg-identity.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 1rem;
}

.page-hero h1 em { color: var(--terracotta-light); font-style: italic; }

.page-hero .section-tag { color: var(--terracotta-light); }
.page-hero .section-tag::before { background: var(--terracotta-light); }

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ==================== PORTFOLIO DETAIL ==================== */

.project-section {
    padding: 4rem 6rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.project-section:nth-child(even) {
    background: var(--warm-cream);
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-grid.reverse { direction: rtl; }
.project-grid.reverse > * { direction: ltr; }

.project-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
	width: 400px;
}

.project-image img {
    width: 100%;
    display: block;
}

.project-content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.project-meta {
    font-size: 0.85rem;
    color: var(--terracotta);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.project-content p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.project-tag {
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--sand);
    color: var(--text-medium);
}


/* ==================== BLOG CARDS ==================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
    display: block;
}

.blog-card-body h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--terracotta);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 1rem;
    transition: gap 0.3s;
}

.blog-card:hover .blog-read-more { gap: 0.6rem; }


/* ==================== CONTACT PAGE ==================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.contact-method-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-method-text .label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.contact-method-text .value {
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
}

.contact-method-text .value a {
    color: var(--terracotta);
    transition: color 0.3s;
}

.contact-method-text .value a:hover {
    color: var(--terracotta-dark);
}

.contact-photo {
    border-radius: 24px;
    overflow: hidden;
}

.contact-photo img {
    width: 100%;
    display: block;
}

.availability-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.availability-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 100px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
}

.availability-badge .dot-green {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4caf50;
}


/* ==================== PHOTO GALLERY ==================== */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.photo-grid-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    position: relative;
}

.photo-grid-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.photo-grid-item:hover img { transform: scale(1.08); }

.photo-grid-item.tall { grid-row: span 2; aspect-ratio: auto; }
.photo-grid-item.wide { grid-column: span 2; aspect-ratio: 2/1; }


/* ==================== MOBILE HERO STATS ==================== */

/* Hidden by default — shown only on mobile */
.hero-stats-mobile {
    display: none;
}

/* ==================== PHOTOGRAPHY PAGE ==================== */

/* Photography teaser on homepage */
.photography-teaser {
    padding: 40px 100px 0px 100px;
    background: var(--warm-cream);
}

/* Platform badges */
.platform-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.platform-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--charcoal-light);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: all 0.3s;
}

.platform-badge:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

/* Stock section */
.stock-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stock-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.stock-intro h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.stock-intro p {
    color: var(--charcoal-light);
    max-width: 500px;
    margin: 0 auto;
}

.stock-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.stock-card {
    display: block;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--charcoal);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.stock-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: var(--terracotta);
}

.stock-card-icon {
    margin-bottom: 1rem;
    color: var(--terracotta);
}

.stock-card-icon svg {
    stroke: var(--terracotta);
}

.stock-card h3 {
    font-family: var(--heading-font);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.stock-card p {
    font-size: 0.85rem;
    color: var(--charcoal-light);
    line-height: 1.5;
}

/* Genre gallery sections */
.genre-section {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.genre-title {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--terracotta-light);
    margin-bottom: 1.25rem;
    padding-left: 0.25rem;
}

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

.genre-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.genre-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.genre-item:hover img {
    transform: scale(1.06);
}


/* ==================== PROJECT SLIDESHOW ==================== */

.project-slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.project-slideshow img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.project-slideshow img.slide-active {
    opacity: 1;
}

.slideshow-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.slideshow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.slideshow-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

/* Portfolio card slideshow (homepage) */
.portfolio-thumb .project-slideshow {
    border-radius: 0;
    height: 100%;
    box-shadow: none;
}

.portfolio-thumb .project-slideshow img {
    border-radius: 0;
}


/* ==================== SCROLL REVEAL ==================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    section { padding: 4rem 3rem; }
    .hero-content { padding: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 3rem; }
    .project-section { padding: 3rem; }
    .project-grid { gap: 3rem; }
    footer { padding: 2rem 3rem; }
    .logos-bar { padding: 2.5rem 3rem; }
    .page-hero { padding: 8rem 3rem 3rem; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
    .stock-cards { grid-template-columns: repeat(3, 1fr); }
    .genre-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }

    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { padding: 6rem 1.5rem 3rem; text-align: center; }
    .hero-description { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-image { height: 400px; }
    .hero-photo { width: 260px; height: 260px; }

    section { padding: 3.5rem 1.5rem; }

    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card.featured { grid-column: span 1; }
    .portfolio-card.featured .portfolio-thumb { aspect-ratio: 4/3; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { aspect-ratio: 1/1; max-width: 320px; margin: 0 auto; }
    .stats-row { gap: 2rem; flex-wrap: wrap; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    .project-grid.reverse { direction: ltr; }
    .blog-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid-item.tall { grid-row: span 1; aspect-ratio: 1; }
    .photo-grid-item.wide { grid-column: span 1; aspect-ratio: 1; }

    .project-slideshow { height: 250px; }

    .stock-cards { grid-template-columns: repeat(2, 1fr); }
    .stock-card { padding: 1.5rem 1rem; }
    .genre-grid { grid-template-columns: 1fr 1fr; }

    footer {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .logos-bar { padding: 2rem 1.5rem; }
    .logos-row { gap: 1.5rem; }
    .page-hero { padding: 7rem 1.5rem 2.5rem; }

    /* Hide floating stat cards — replaced by hero-stats-mobile */
    .hero-float-card {
        display: none !important;
    }

    /* Show mobile stats grid */
    .hero-stats-mobile {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 1.5rem;
        background: var(--cream-light);
    }

    .hero-stat-card {
        background: var(--white);
        border-radius: 16px;
        padding: 1.25rem;
        text-align: center;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    }

    .hero-stat-number {
        font-family: 'DM Serif Display', serif;
        font-size: 2rem;
        font-weight: 700;
        color: var(--terracotta);
        line-height: 1;
        margin-bottom: 4px;
    }

    .hero-stat-label {
        font-size: 0.78rem;
        color: var(--text-light);
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    /* Fix stock cards — single column on mobile */
    .stock-cards {
        grid-template-columns: 1fr !important;
    }

    /* Fix photography teaser padding on mobile */
    .photography-teaser {
        padding: 2.5rem 1.5rem !important;
    }

    /* Fix photo grid on mobile — 2 columns */
    .photo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
