/* ========================================
   Diana Wolf — Tatuaż Koszalin
   Landing Page Styles
   ======================================== */

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

:root {
  --black: #1a1a1a;
  --dark: #2a2a2a;
  --gray: #6b6b6b;
  --gray-light: #a8a8a8;
  --gray-pale: #e8e8e8;
  --sage: #b5bfab;
  --sage-light: #e8ece4;
  --sage-bg: #f3f5f0;
  --white: #fafafa;
  --pure-white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --container: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--black);
  background: var(--pure-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  padding: 100px 0;
}

.section--sage {
  background: var(--sage-bg);
}

.section--dark {
  background: var(--black);
  color: var(--pure-white);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
  display: block;
}

.section__tag--light {
  color: var(--sage);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__title--light {
  color: var(--pure-white);
}

.section__desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--black);
  color: var(--pure-white);
}

.btn--primary:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--ghost {
  background: transparent;
  color: var(--pure-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--secondary {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--gray-pale);
}

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

.btn--lg {
  padding: 18px 48px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav--scrolled .nav__logo,
.nav--scrolled .nav__links a {
  color: var(--black);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--pure-white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--pure-white);
  transition: all var(--transition);
}

.nav--scrolled .nav__toggle span {
  background: var(--black);
}

.nav__toggle--active span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active span:last-child {
  transform: rotate(-45deg) translate(1px, -1px);
}

.nav__toggle--active span {
  background: var(--black) !important;
}

.nav--menu-open .nav__logo {
  color: var(--black) !important;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--pure-white);
}

.nav--scrolled .nav__links a:hover {
  color: var(--sage);
}

.nav__cta {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.nav--scrolled .nav__cta {
  background: var(--black) !important;
  color: var(--pure-white) !important;
}

.nav--scrolled .nav__cta:hover {
  background: var(--dark) !important;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
}

.hero__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--pure-white);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  max-width: 600px;
}

.hero__desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio__item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
}

.portfolio__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  cursor: pointer;
}

.portfolio__item:hover .portfolio__img {
  transform: scale(1.03);
}

/* Duo hover — druga perspektywa */
.portfolio__item--duo {
  position: relative;
  display: grid;
}

.portfolio__item--duo .portfolio__img--front,
.portfolio__item--duo .portfolio__img--back {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.portfolio__item--duo .portfolio__img--front {
  opacity: 1;
  z-index: 2;
}

.portfolio__item--duo .portfolio__img--back {
  opacity: 0;
  z-index: 1;
}

.portfolio__item--duo:hover .portfolio__img--front {
  opacity: 0;
  transform: scale(1.03);
}

.portfolio__item--duo:hover .portfolio__img--back {
  opacity: 1;
  transform: scale(1.03);
}

.portfolio__more {
  text-align: center;
  margin-top: 48px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(0, 0, 0, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox--open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  z-index: 10001;
}

/* ========================================
   FLASH / WOLNE WZORY
   ======================================== */
.flash__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flash__item {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.flash__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.flash__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--sage-light);
  cursor: pointer;
}

.flash__info {
  padding: 20px 24px;
}

.flash__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-bg);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.flash__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 4px;
}

.flash__detail {
  font-size: 13px;
  color: var(--gray-light);
}

.flash__cta {
  text-align: center;
  margin-top: 48px;
}

.flash__cta-text {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 20px;
}

/* ========================================
   ABOUT
   ======================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.about__text {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__text--muted {
  font-size: 13px;
  color: var(--gray-light);
  font-style: italic;
}

.about__stats {
  display: flex;
  gap: 48px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-pale);
}

.about__stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--black);
  letter-spacing: -0.02em;
}

.about__stat-label {
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 0.5px;
}

/* ========================================
   OFFER
   ======================================== */
.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.offer__card {
  background: var(--pure-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.offer__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.offer__icon {
  width: 56px;
  height: 56px;
  background: var(--sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--dark);
}

.offer__card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--black);
}

.offer__card-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* ========================================
   PROCESS
   ======================================== */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process__number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--sage);
  margin-bottom: 16px;
  line-height: 1;
}

.process__step-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--black);
}

.process__step-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* ========================================
   BOOKING
   ======================================== */
.booking__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.booking__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.8;
}

.booking__text strong {
  color: var(--pure-white);
}

.booking__calendar-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.booking__calendar-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   REVIEWS
   ======================================== */
.reviews__carousel {
  position: relative;
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.reviews__card {
  flex: 0 0 calc((100% - 48px) / 3);
  padding: 40px 32px;
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-pale);
  box-sizing: border-box;
}

.reviews__stars {
  color: var(--sage);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.reviews__text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.reviews__name {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--black);
}

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.reviews__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-pale);
  background: var(--pure-white);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.reviews__arrow:hover {
  background: var(--black);
  color: var(--pure-white);
  border-color: var(--black);
}

.reviews__dots {
  display: flex;
  gap: 8px;
}

.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-pale);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}

.reviews__dot--active {
  background: var(--sage);
}

/* ========================================
   CTA
   ======================================== */
.cta__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 0;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta__text {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ========================================
   CONTACT
   ======================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact__text {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact__details {
  margin-bottom: 32px;
}

.contact__detail {
  margin-bottom: 16px;
}

.contact__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 4px;
}

.contact__detail a {
  color: var(--black);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.contact__detail a:hover {
  border-color: var(--sage);
}

.contact__socials {
  display: flex;
  gap: 16px;
}

.contact__social {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all var(--transition);
}

.contact__social:hover {
  color: var(--black);
  border-color: var(--black);
}

/* Form */
.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  background: var(--pure-white);
  border: 1px solid var(--gray-pale);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}

.form__input:focus {
  border-color: var(--sage);
}

.form__input::placeholder {
  color: var(--gray-light);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__note {
  font-size: 12px;
  color: var(--gray-light);
  margin-top: 12px;
  text-align: center;
}

.form__note a {
  color: var(--sage);
  text-decoration: underline;
}

.form__success {
  text-align: center;
  padding: 48px 24px;
}

.form__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--pure-white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form__success-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
}

.form__success-text {
  font-size: 15px;
  color: var(--gray);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--gray-pale);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 13px;
  color: var(--gray);
}

.footer__note {
  font-size: 12px;
  color: var(--gray-light);
}

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

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .section__header {
    margin-bottom: 48px;
  }

  /* Nav mobile */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s ease;
    padding-top: 80px;
  }

  .nav__links--open {
    right: 0;
  }

  .nav--menu-open .nav__logo,
  .nav--menu-open .nav__toggle {
    position: relative;
    z-index: 12;
  }

  .nav__links a {
    color: var(--black) !important;
    font-size: 18px;
  }

  .nav__cta {
    background: var(--black) !important;
    color: var(--pure-white) !important;
    padding: 14px 32px;
  }

  .nav__links a.nav__cta {
    color: var(--pure-white) !important;
  }

  /* Hero */
  .hero__content {
    padding-top: 120px;
  }

  .hero__desc {
    font-size: 15px;
  }

  /* Portfolio */
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .portfolio__item--tall .portfolio__img {
    min-height: 280px;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__img {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Flash */
  .flash__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Offer */
  .offer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Process */
  .process__steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Booking */
  .booking__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Reviews */
  .reviews__card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .portfolio__item {
    border-radius: 4px;
  }

  .flash__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .flash__item {
    border-radius: 4px;
  }

  .about__stats {
    gap: 32px;
  }

  .reviews__card {
    flex: 0 0 100%;
  }
}