/* ============================================
   Tomasz Roguz Fotografia — Main Stylesheet
   Mobile-first, minimalist, premium feel
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #0f0f0f;
  --color-bg-alt: #1a1a1a;
  --color-bg-card: #222222;
  --color-text: #f5f0eb;
  --color-text-muted: #a8a29e;
  --color-accent: #c9a96e;
  --color-accent-hover: #dbbf8a;
  --color-white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px;
  --header-h: 72px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
}

h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

/* --- Utility --- */
.section {
  padding: 80px 0;
}
.section-dark {
  background: var(--color-bg-alt);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 16px auto 0;
}
.section-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  text-decoration: none;
}
.logo svg {
  height: 52px;
  width: auto;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
  line-height: 1.1;
}
.logo-text span {
  color: var(--color-accent);
}

/* Desktop Nav */
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 32px; }
.nav a {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav a:hover, .nav a.active { color: var(--color-accent); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  color: var(--color-text);
  font-size: 1.3rem;
  font-family: var(--font-heading);
  letter-spacing: 2px;
}
.mobile-nav a:hover { color: var(--color-accent); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 10vh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease, transform 6s ease;
}
.hero-bg img.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(15,15,15,0.5) 40%, rgba(15,15,15,0.85) 80%, rgba(15,15,15,0.98) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}
.hero-content h1 {
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.7);
  color: #ffffff;
}
.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s infinite;
}
.hero-scroll svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text-muted);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- About Fullscreen --- */
.about-fullscreen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.about-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 5s ease;
}
.about-slideshow img.active {
  opacity: 1;
  transform: scale(1);
}
.about-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15,15,15,0.3) 0%, rgba(15,15,15,0.85) 50%, rgba(15,15,15,0.95) 100%);
}
.about-text-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 100px 20px;
}
.about-text-inner {
  max-width: 550px;
  margin-left: auto;
}
.about-slideshow-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.about-slideshow-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.about-slideshow-dots button.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.3);
}
.about-text-inner h2 {
  margin-bottom: 24px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}
.about-text-inner p {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-text-inner .signature {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-accent);
  margin-top: 24px;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-card {
  background: var(--color-bg-card);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.service-card-body {
  padding: 24px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* --- Portfolio --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-text-muted);
  padding: 8px 20px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201, 169, 110, 0.1);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  aspect-ratio: 1;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-item-overlay span {
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.portfolio-more {
  text-align: center;
  margin-top: 40px;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--color-bg-card);
  border-radius: 4px;
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.3;
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}
.testimonial-card p {
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.9rem;
}
.testimonial-event {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.testimonial-stars {
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* Google review CTA */
.review-cta {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: var(--color-bg-card);
  border-radius: 4px;
  border: 1px dashed rgba(201, 169, 110, 0.3);
}
.review-cta p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* --- Blog Preview --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.blog-card {
  background: var(--color-bg-card);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-card-body {
  padding: 24px;
}
.blog-card-body .tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.blog-card-body h3 a { color: var(--color-white); }
.blog-card-body h3 a:hover { color: var(--color-accent); }
.blog-card-body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.blog-card-body .read-more {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  text-align: left;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--color-accent); }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}
.faq-answer p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-info h3 {
  margin-bottom: 20px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}
.contact-detail span {
  color: var(--color-text-muted);
}
.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.contact-social a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.contact-social a:hover {
  border-color: var(--color-accent);
  background: rgba(201, 169, 110, 0.1);
}
.contact-social a svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text-muted);
  transition: stroke var(--transition);
}
.contact-social a:hover svg { stroke: var(--color-accent); }

.contact-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 20px;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-accent);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 20px;
}
.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
}
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* --- Partners --- */
.partners-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.partners-text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-bg-card);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.partner-badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
}

/* --- Featured Stories --- */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.story-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.story-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.story-card:hover img {
  transform: scale(1.05);
}
.story-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background var(--transition);
}
.story-card:hover .story-card-overlay {
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}
.story-card-overlay .story-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.story-card-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--color-white);
}
.story-card-overlay p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.story-card-overlay .story-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}
.story-card:hover .story-link {
  opacity: 1;
  transform: translateY(0);
}
.story-card.featured {
  grid-column: 1 / -1;
}
.story-card.featured img {
  aspect-ratio: 21/9;
}
.story-card.featured h3 {
  font-size: 1.6rem;
}

/* --- BW Gallery --- */
.bw-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.bw-gallery-grid .portfolio-item img {
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.bw-gallery-grid .portfolio-item:hover img {
  filter: grayscale(100%) contrast(1.1);
  transform: scale(1.05);
}
.bw-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.bw-intro p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  font-style: italic;
}

/* --- Footer Logo --- */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo svg {
  height: 36px;
  width: auto;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-alt);
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-white);
}
.footer p, .footer a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.footer ul {
  list-style: none;
}
.footer ul li { margin-bottom: 8px; }
.footer ul a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

/* --- Animations (Scroll Reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section divider animation */
.section-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  margin: 0 auto;
  transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.section-divider.visible {
  width: 200px;
}

/* --- Lightbox Override --- */
.glightbox-clean .gslide-description { background: var(--color-bg); }
.glightbox-clean .gdesc-inner { color: var(--color-text-muted); }
.glightbox-clean .gslide-title { color: var(--color-white); font-family: var(--font-heading); }

/* ================================
   RESPONSIVE — Tablet & Desktop
   ================================ */

@media (min-width: 640px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .bw-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form .form-row { grid-template-columns: 1fr 1fr; }
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .section { padding: 100px 0; }
  .container { padding: 0 40px; }
  .about-overlay { background: linear-gradient(90deg, rgba(15,15,15,0.2) 0%, rgba(15,15,15,0.6) 40%, rgba(15,15,15,0.92) 65%, rgba(15,15,15,0.97) 100%); }
  .about-text-inner { max-width: 500px; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .logo svg { height: 56px; }
  .logo-text { font-size: 1.6rem; }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .section { padding: 120px 0; }
  .portfolio-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .bw-gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .stories-grid { grid-template-columns: repeat(3, 1fr); }
  .story-card.featured { grid-column: 1 / 2; grid-row: 1 / 3; }
  .story-card.featured img { aspect-ratio: auto; height: 100%; }
}

/* --- Blog Post Styles --- */
.blog-post { max-width: 800px; margin: 0 auto; padding-top: calc(var(--header-h) + 40px); }
.blog-post-hero { margin: -40px -20px 40px; }
.blog-post-hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: 4px; }
.blog-post h1 { margin-bottom: 16px; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.blog-post .meta { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.blog-post .content h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.4rem; }
.blog-post .content h3 { margin-top: 32px; margin-bottom: 12px; font-size: 1.15rem; }
.blog-post .content p { margin-bottom: 16px; color: var(--color-text-muted); }
.blog-post .content ul, .blog-post .content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--color-text-muted);
}
.blog-post .content li { margin-bottom: 8px; }
.blog-post .content strong { color: var(--color-white); }
.blog-post .content blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--color-bg-alt);
  border-radius: 0 4px 4px 0;
}
.blog-post .content blockquote p { margin-bottom: 0; font-style: italic; }
.blog-post .cta-box {
  background: var(--color-bg-card);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 4px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.blog-post .cta-box h3 { margin-bottom: 12px; }
.blog-post .cta-box p { color: var(--color-text-muted); margin-bottom: 16px; }
.blog-post .related { margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.blog-post .related h3 { margin-bottom: 24px; }

/* Blog listing */
.blog-listing { padding-top: calc(var(--header-h) + 40px); }
.blog-listing h1 { text-align: center; margin-bottom: 40px; }

/* --- Cookie notice (optional) --- */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(100%);
  transition: transform var(--transition);
  flex-wrap: wrap;
}
.cookie-notice.show { transform: translateY(0); }
.cookie-notice .btn { padding: 8px 24px; font-size: 0.8rem; }
