/* ============================================================
   ORIANA LA MARCA — Personal Brand Site
   Design: Editorial luxury, Mediterranean warmth
   ============================================================ */

:root {
  --gold: #a37a3e;
  --gold-light: #c4a265;
  --gold-dark: #8a6533;
  --cream: #faf8f5;
  --charcoal: #1a1a1a;
  --warm-white: #fffdf9;
  --soft-grey: #f0ece6;
  --text-light: #6b6560;
  --border-light: #e8e2da;
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.7;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Trirong', serif;
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--gold-dark); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  box-shadow: 0 1px 0 var(--border-light);
}

.nav-logo {
  font-family: 'Trirong', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: white;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.4s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.site-nav.scrolled .nav-logo { color: var(--charcoal); text-shadow: none; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
  position: relative;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

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

.site-nav.scrolled .nav-links a { color: var(--charcoal); text-shadow: none; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s;
}

.site-nav.scrolled .nav-mobile-toggle span { background: var(--charcoal); }

/* ============================================================
   HERO — SLIDER
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Slider container */
.hero-slider {
  position: absolute;
  inset: 0;
}

/* Each slide: absolutely stacked, crossfade via opacity */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  filter: brightness(0.62);
  transform: scale(1.06);
  animation: heroSlideZoom 6s ease-out forwards;
}

.hero-slide.active {
  opacity: 1;
}

@keyframes heroSlideZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Warm golden gradient overlay at bottom of hero */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(163, 122, 62, 0.18) 75%,
    rgba(100, 65, 15, 0.35) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem 6rem;
  max-width: 700px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.5);
}

.hero-content .tagline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-scroll .line {
  width: 40px;
  height: 1px;
  background: var(--gold-light);
}

/* ---- Slider dots ---- */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

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

.hero-dot.active {
  background: var(--gold-light);
  transform: scale(1.35);
}

/* ---- Scroll indicator ---- */
.scroll-indicator {
  position: absolute;
  bottom: 2.2rem;
  right: 3rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-chevron {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  animation: bounce 1.6s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 0.6; }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */

.section {
  padding: 7rem 0;
}

.section-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

.gold-line {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 2rem 0;
}

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

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

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

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(163, 122, 62, 0.08));
  pointer-events: none;
}

/* Enhanced blockquotes */
.about-text blockquote {
  font-family: 'Trirong', serif;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--gold-dark);
  border-left: 3px solid var(--gold-light);
  padding: 1.25rem 1.75rem;
  margin: 2.25rem 0;
  line-height: 1.55;
  background: linear-gradient(to right, rgba(163, 122, 62, 0.06), transparent);
  position: relative;
}

.about-text blockquote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold-light);
  opacity: 0.35;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-family: 'Trirong', serif;
  line-height: 1;
}

/* ============================================================
   NUMBERS STRIP
   ============================================================ */

.numbers-strip {
  background: var(--charcoal);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.numbers-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(163, 122, 62, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-left: 1px solid rgba(196, 162, 101, 0.2);
}

.number-item:first-child {
  border-left: none;
}

.number-value {
  font-family: 'Trirong', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
}

.number-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   GALLERY / IL MIO MONDO — Masonry-style with parallax tilt
   ============================================================ */

.gallery {
  background: var(--cream);
}

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}

.gallery-header .section-text {
  margin: 0 auto;
}

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

/* Masonry-like: stagger heights via nth-child to add visual variety */
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border-radius: 2px;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

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

/* Stagger aspect ratios for masonry feel */
.gallery-item:nth-child(3n+2) {
  aspect-ratio: 4/5;
}

.gallery-item:nth-child(5n+3) {
  aspect-ratio: 5/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Subtle parallax shift on scroll (set via JS) */
.gallery-item .parallax-img {
  transform: translateY(var(--parallax-offset, 0px));
  transition: transform 0.1s linear, transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Playful tilt on hover */
.gallery-item:hover {
  transform: rotate(var(--tilt, 0.6deg)) scale(1.01);
  z-index: 2;
  transition: transform 0.35s ease;
}

.gallery-item:nth-child(even):hover {
  transform: rotate(calc(var(--tilt, 0.6deg) * -1)) scale(1.01);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(26, 26, 26, 0.72));
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

.overlay-text {
  color: white;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.07em;
}

/* ============================================================
   COLLECTIONS — 3D tilt on hover
   ============================================================ */

.collections {
  background: var(--warm-white);
}

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

.collection-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  border-radius: 2px;
  /* perspective for 3D tilt effect */
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.collection-card:hover {
  box-shadow: 0 20px 60px rgba(163, 122, 62, 0.2);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  will-change: transform;
}

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

.collection-card .card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(26, 26, 26, 0.78));
  transform: translateY(10px);
  opacity: 0.9;
  transition: all 0.4s;
}

.collection-card:hover .card-info {
  transform: translateY(0);
  opacity: 1;
}

.card-info h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.card-info p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   JOURNAL
   ============================================================ */

.journal {
  background: var(--cream);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.journal-card {
  background: white;
  overflow: hidden;
  border-radius: 2px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(163, 122, 62, 0.12);
}

.journal-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.journal-card:hover img {
  transform: scale(1.04);
}

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

.journal-card .date {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.journal-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

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

/* ============================================================
   CTA BANNER — with Ken Burns zoom
   ============================================================ */

.cta-banner {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.48);
  transform-origin: center center;
}

/* Ken Burns zoom animation for CTA banners */
.cta-banner--kenburns .cta-banner-bg {
  animation: kenburns 14s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0%   { transform: scale(1)    translateX(0)    translateY(0); }
  100% { transform: scale(1.08) translateX(-1%)  translateY(-1%); }
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.cta-banner p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-gold {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--gold);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-outline-gold {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
}

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

/* ============================================================
   QUOTE STRIP — above footer
   ============================================================ */

.quote-strip {
  background: linear-gradient(135deg, #7a5820 0%, #a37a3e 50%, #c4a265 100%);
  padding: 4rem 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.quote-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.quote-strip-text {
  font-family: 'Trirong', serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  color: white;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

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

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: var(--gold-light);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-social a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.footer-social a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

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

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image img { height: 450px; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .number-item:nth-child(2n+1) { border-left: none; }
  .number-item:nth-child(2) { border-left: 1px solid rgba(196, 162, 101, 0.2); }
}

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

  .hero-content { padding: 0 1.5rem 4rem; }

  .scroll-indicator { right: 1.5rem; }

  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item:nth-child(3n+2),
  .gallery-item:nth-child(5n+3) {
    aspect-ratio: 1;
  }

  /* Disable tilt on mobile for performance */
  .gallery-item:hover {
    transform: none;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .quote-strip { padding: 3rem 0; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

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

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

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger fade-up children */
.numbers-grid .number-item:nth-child(1) { transition-delay: 0s; }
.numbers-grid .number-item:nth-child(2) { transition-delay: 0.1s; }
.numbers-grid .number-item:nth-child(3) { transition-delay: 0.2s; }
.numbers-grid .number-item:nth-child(4) { transition-delay: 0.3s; }

.collections-grid .collection-card:nth-child(1) { transition-delay: 0s; }
.collections-grid .collection-card:nth-child(2) { transition-delay: 0.12s; }
.collections-grid .collection-card:nth-child(3) { transition-delay: 0.24s; }

/* Nav mobile menu */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 253, 249, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem;
  gap: 1.5rem;
}

.nav-links.open a {
  color: var(--charcoal);
  font-size: 0.9rem;
  text-shadow: none;
}
