/* ============================================
   FOTO LUTS — Global Stylesheet
   Photography Studio & Lab since 1987
   ============================================ */

:root {
  --color-primary: #c8102e;
  --color-primary-dark: #a00d24;
  --color-primary-light: #e91e63;
  --color-accent-green: #28a745;
  --color-accent-green-light: #20c997;
  --color-dark: #1a1a1a;
  --color-text: #333;
  --color-text-light: #666;
  --color-text-muted: #999;
  --color-bg: #fff;
  --color-bg-warm: #faf8f6;
  --color-bg-soft: #f5f3f0;
  --color-border: #e8e4e0;
  --color-border-light: #f0ece8;
  --font-main: 'Source Sans 3', 'Segoe UI', Verdana, sans-serif;
  --header-height: 72px;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--color-dark); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

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

/* === HEADER === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  height: var(--header-height);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; color: var(--color-dark); }
.logo__icon {
  width: 38px; height: 38px; background: var(--color-primary); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; color: white;
}
.logo__icon svg { width: 20px; height: 20px; }
.logo__text span { color: var(--color-primary); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 16px; font-size: 0.95rem; font-weight: 500; color: var(--color-text);
  border-radius: var(--radius-md); transition: var(--transition);
}
.nav__link:hover { color: var(--color-primary); background: rgba(200,16,46,0.05); }
.nav__link.active { color: var(--color-primary); }
.nav__cta { background: var(--color-primary) !important; color: white !important; font-weight: 600; padding: 8px 20px; }
.nav__cta:hover { background: var(--color-primary-dark) !important; }

.nav__item { position: relative; }
.nav__dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 220px; opacity: 0; visibility: hidden;
  transition: var(--transition); border: 1px solid var(--color-border-light);
}
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown a {
  display: block; padding: 10px 16px; font-size: 0.9rem; color: var(--color-text);
  border-radius: var(--radius-md);
}
.nav__dropdown a:hover { background: var(--color-bg-warm); color: var(--color-primary); }
.nav__dropdown a.active { color: var(--color-primary); font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-dark); border-radius: 2px; transition: var(--transition); }

/* === HERO === */
.hero {
  position: relative; height: 85vh; min-height: 550px;
  margin-top: var(--header-height); overflow: hidden; background: var(--color-dark);
}
.hero__slideshow { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease-in-out; }
.hero__slide.active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }

.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(160deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.45) 100%);
  display: flex;
}
.hero__layout { display: flex; width: 100%; align-items: center; padding: 0 5%; }
.hero__content { flex: 1; color: white; max-width: 600px; }
.hero__content h1 { color: white; font-size: clamp(2.2rem,5vw,3.8rem); margin-bottom: 1rem; line-height: 1.1; }
.hero__content p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; max-width: 480px; }

/* Labo info card (elegant replacement for green banner) */
.hero__info-card {
  width: 280px; margin-left: auto;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-xl);
  padding: 28px 24px; color: white; transition: var(--transition);
}
.hero__info-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.hero__info-card-icon {
  width: 48px; height: 48px; background: var(--color-accent-green); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
}
.hero__info-card h3 { color: white; font-size: 1.1rem; margin-bottom: 12px; }
.hero__info-card-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.hero__info-card-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; opacity: 0.9; }
.hero__info-card-list li::before { content: ''; width: 6px; height: 6px; background: var(--color-accent-green-light); border-radius: 50%; flex-shrink: 0; }
.hero__info-card-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600;
  color: var(--color-accent-green-light); padding: 8px 16px;
  border: 1px solid rgba(32,201,151,0.4); border-radius: var(--radius-md);
}
.hero__info-card-link:hover { background: var(--color-accent-green); border-color: var(--color-accent-green); color: white; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--color-primary); padding: 10px 22px; border-radius: 50px;
  margin-bottom: 20px; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(200,16,46,0.35);
}
.hero__badge-year { font-size: 1.3rem; font-weight: 700; padding-right: 12px; border-right: 2px solid rgba(255,255,255,0.3); }
.hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; font-family: var(--font-main); font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-md); cursor: pointer; border: none; transition: var(--transition);
}
.btn--primary { background: white; color: var(--color-primary); }
.btn--primary:hover { background: var(--color-bg-warm); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn--outline:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn--red { background: var(--color-primary); color: white; }
.btn--red:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section--warm { background: var(--color-bg-warm); }
.section--soft { background: var(--color-bg-soft); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__label { display: inline-block; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-primary); margin-bottom: 12px; }
.section__header h2 { margin-bottom: 16px; }
.section__header p { color: var(--color-text-light); font-size: 1.15rem; }

/* === SERVICE CARDS === */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  border-radius: var(--radius-lg); overflow: hidden; background: white;
  box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--color-border-light);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card__image { height: 240px; overflow: hidden; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-card__image img { transform: scale(1.05); }
.service-card__body { padding: 24px; }
.service-card__title { font-size: 1.3rem; margin-bottom: 8px; }
.service-card__text { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 16px; }
.service-card__link { font-size: 0.9rem; font-weight: 600; color: var(--color-primary); display: inline-flex; align-items: center; gap: 6px; }
.service-card__link:hover { gap: 10px; }

/* === SPLIT LAYOUT === */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__image img { width: 100%; height: 400px; object-fit: cover; }
.split__label { display: inline-block; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-primary); margin-bottom: 12px; }
.split__content h2 { margin-bottom: 16px; }
.split__content p { color: var(--color-text-light); margin-bottom: 24px; }

/* === PRICING === */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; }
.pricing-card {
  background: white; border-radius: var(--radius-lg); padding: 32px 28px;
  border: 1px solid var(--color-border); transition: var(--transition); position: relative;
}
.pricing-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.pricing-card--featured { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: -12px; right: 20px; background: var(--color-primary); color: white;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 4px 14px; border-radius: 50px;
}
.pricing-card__title { font-size: 1.3rem; margin-bottom: 8px; }
.pricing-card__price { font-size: 2.4rem; font-weight: 700; color: var(--color-primary); margin-bottom: 16px; }
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--color-text-muted); }
.pricing-card__list { list-style: none; margin-bottom: 24px; }
.pricing-card__list li {
  padding: 10px 0; font-size: 1rem; color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border-light); display: flex; align-items: center; gap: 8px;
}
.pricing-card__list li::before { content: '\2713'; color: var(--color-accent-green); font-weight: 700; }

/* === PROMO BANNER === */
.promo-banner {
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white; padding: 28px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.promo-banner__icon { font-size: 2.5rem; flex-shrink: 0; }
.promo-banner__content { flex: 1; }
.promo-banner__content h3 { color: white; font-size: 1.4rem; margin-bottom: 4px; }
.promo-banner__content p { opacity: 0.9; font-size: 1.05rem; }
.promo-banner__price { font-size: 2.2rem; font-weight: 700; flex-shrink: 0; }

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 64px 0; text-align: center; color: white;
}
.cta-section h2 { color: white; margin-bottom: 12px; }
.cta-section p { opacity: 0.9; margin-bottom: 28px; font-size: 1.2rem; }

/* === PAGE HEADER === */
.page-header { padding: 120px 0 48px; background: var(--color-bg-warm); margin-top: var(--header-height); }
.page-header h1 { margin-bottom: 8px; }
.page-header p { color: var(--color-text-light); font-size: 1.2rem; }
.breadcrumb { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }

/* === STUDIO SUBPAGE — STATIC HERO === */
.studio-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  margin-top: var(--header-height);
  overflow: hidden;
  background: var(--color-dark);
}
.studio-hero__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55);
}
.studio-hero__overlay {
  position: absolute; inset: 0; display: flex;
  align-items: flex-end; padding: 0 0 48px;
  z-index: 2;
}
.studio-hero__content { width: 100%; }
.studio-hero__badge {
  display: inline-block; background: var(--color-primary);
  padding: 6px 18px; border-radius: 50px; font-weight: 600;
  font-size: 0.85rem; margin-bottom: 12px; color: white;
}
.studio-hero__content h1 { color: white; margin-bottom: 6px; }
.studio-hero__content p { color: rgba(255,255,255,0.8); font-size: 1.2rem; }
.studio-hero__breadcrumb {
  position: absolute; top: 24px; left: 0; z-index: 3;
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 6px;
}
.studio-hero__breadcrumb a { color: rgba(255,255,255,0.6); }
.studio-hero__breadcrumb a:hover { color: white; }

/* === PHOTO CAROUSEL === */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-dark);
}
.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel__slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}
.carousel__slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 48px; height: 48px;
  background: rgba(255,255,255,0.92); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem; color: var(--color-dark);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.carousel__btn:hover {
  background: white; transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-lg);
}
.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }
.carousel__counter {
  position: absolute; bottom: 16px; right: 16px; z-index: 3;
  background: rgba(0,0,0,0.6); color: white;
  padding: 6px 14px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  backdrop-filter: blur(4px);
}

/* === MODERN FAQ === */
.faq-modern { max-width: 840px; margin: 0 auto; }
.faq-card {
  background: white;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-card:hover { border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.faq-card.open { border-color: var(--color-primary); box-shadow: 0 4px 20px rgba(200,16,46,0.1); }
.faq-card__q {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 28px; cursor: pointer; font-weight: 600;
  font-size: 1.1rem; color: var(--color-dark);
  background: none; border: none; width: 100%; text-align: left;
  font-family: var(--font-main); line-height: 1.4;
}
.faq-card__icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-bg-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem; font-weight: 700; color: var(--color-primary);
  transition: var(--transition);
}
.faq-card.open .faq-card__icon {
  background: var(--color-primary); color: white;
  transform: rotate(45deg);
}
.faq-card__text { flex: 1; }
.faq-card__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--color-text); font-size: 1.05rem;
  line-height: 1.75; padding: 0 28px 0 82px;
}
.faq-card.open .faq-card__a {
  max-height: 250px; padding-bottom: 24px;
}

@media (max-width: 768px) {
  .studio-hero { height: 40vh; min-height: 280px; }
  .studio-hero__content h1 { font-size: 2rem; }
  .carousel__btn { width: 40px; height: 40px; font-size: 1rem; }
  .carousel__btn--prev { left: 10px; }
  .carousel__btn--next { right: 10px; }
  .faq-card__q { padding: 18px 20px; font-size: 1.05rem; }
  .faq-card__a { padding-left: 62px; }
}

/* === GALLERY GRID === */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 16px; }
.gallery-grid__item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-grid__item:hover img { transform: scale(1.05); }
.gallery-grid__item:nth-child(3n+1) { aspect-ratio: 3/4; }

/* === FAQ (classic — contact page) === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 2px solid var(--color-border-light); padding: 22px 0; }
.faq-item__question {
  font-weight: 600; font-size: 1.1rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  line-height: 1.4;
}
.faq-item__question::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); font-weight: 700; transition: var(--transition); }
.faq-item.open .faq-item__question::after { content: '\2212'; }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--color-text); font-size: 1.05rem; line-height: 1.75; }
.faq-item.open .faq-item__answer { max-height: 300px; padding-top: 14px; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.contact-card {
  background: white; border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  border: 1px solid var(--color-border-light); transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); }
.contact-card__icon {
  width: 56px; height: 56px; background: var(--color-bg-warm); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem;
}
.contact-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.contact-card p { font-size: 1rem; color: var(--color-text-light); }
.contact-card a { color: var(--color-primary); font-weight: 600; }

/* === FOOTER === */
.footer { background: var(--color-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__logo { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 12px; }
.footer__logo span { color: var(--color-primary); }
.footer__text { font-size: 0.9rem; line-height: 1.6; }
.footer__title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: white; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.footer__links a:hover { color: white; }
.footer__hours { font-size: 0.9rem; line-height: 1.7; }
.footer__bottom { padding: 20px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* === ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__info-card { width: 240px; }
}
@media (max-width: 768px) {
  .nav {
    display: none; position: fixed; top: var(--header-height); left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px;
    border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-lg); gap: 4px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav__dropdown { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; opacity: 1; visibility: visible; min-width: 0; }
  .hero { height: 90vh; }
  .hero__layout { flex-direction: column; justify-content: center; padding: 0 24px; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__content p { margin-left: auto; margin-right: auto; }
  .hero__buttons { justify-content: center; }
  .hero__info-card { width: 100%; max-width: 320px; margin: 32px auto 0; padding: 20px; }
  .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .promo-banner { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .hero__content h1 { font-size: 1.8rem; }
  .hero__badge { flex-direction: column; gap: 4px; padding: 8px 16px; }
  .hero__badge-year { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 4px; }
}
