/* ══════════════════════════════════════════
   Studio Lobre — Shared CSS v2.0
   ══════════════════════════════════════════ */

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

:root {
  --wine: #6B1F2A;
  --wine-light: #8B2F3E;
  --wine-dark: #4A1520;
  --cream: #D4B896;
  --cream-light: #EAD9C3;
  --cream-dark: #B8976E;
  --bg: #FAF8F5;
  --bg-warm: #F4F0EA;
  --text: #1A1209;
  --text-muted: #6B5E4E;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 12px rgba(107,31,42,0.08);
  --shadow-md: 0 8px 40px rgba(107,31,42,0.12);
  --shadow-lg: 0 20px 80px rgba(107,31,42,0.18);
  --radius: 16px;
  --radius-lg: 28px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: default;
}

/* ── Custom Cursor ── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--wine); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--transition), height 0.3s var(--transition), opacity 0.3s;
  mix-blend-mode: multiply; display: none;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid var(--wine); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s var(--transition);
  opacity: 0.5; display: none;
}

/* ── Typography ── */
h1, h2, h3, .display { font-family: 'Cormorant Garamond', serif; }
h1 { font-size: clamp(3.2rem, 7vw, 7rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.4rem, 4.5vw, 4.5rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; line-height: 1.2; }
p { font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); font-weight: 300; }
em { font-style: italic; color: var(--wine); }

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--wine), var(--cream-dark));
  z-index: 9999; width: 0%; transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 5%; display: flex; align-items: center;
  justify-content: space-between; transition: all 0.4s var(--transition);
}
nav.scrolled {
  background: rgba(250,248,245,0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); padding: 14px 5%; box-shadow: var(--shadow-sm);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500;
  color: var(--wine); text-decoration: none; letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-img {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(107,31,42,0.2);
}
.nav-logo span { font-weight: 300; color: var(--text-muted); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 0.82rem; font-weight: 400; color: var(--text-muted);
  text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.3s; position: relative; padding-bottom: 2px;
}
.nav-links a:hover { color: var(--wine); }
.nav-links a.active { color: var(--wine); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--wine); border-radius: 2px;
}
.nav-cta {
  background: var(--wine) !important; color: var(--cream-light) !important;
  padding: 10px 22px; border-radius: 100px; font-weight: 500 !important;
  transition: all 0.3s var(--transition) !important;
}
.nav-cta:hover { background: var(--wine-dark) !important; transform: scale(1.03); box-shadow: var(--shadow-md); }
.nav-cta.active::after { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 1.5px; background: var(--wine); transition: all 0.3s; display: block; }
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--bg); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; transform: translateY(-20px); transition: all 0.4s var(--transition);
}
.mobile-menu.open { opacity: 1; transform: translateY(0); }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300;
  color: var(--text); text-decoration: none; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--wine); }

/* ── Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--transition), transform 0.8s var(--transition); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--transition), transform 0.8s var(--transition); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--transition), transform 0.8s var(--transition); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wine); color: var(--cream-light);
  padding: 16px 36px; border-radius: 100px; font-size: 0.95rem;
  font-weight: 500; letter-spacing: 0.03em; text-decoration: none;
  transition: all 0.35s var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(107,31,42,0.3); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--wine); padding: 15px 35px;
  border-radius: 100px; font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.03em; text-decoration: none; border: 1.5px solid var(--wine);
  transition: all 0.35s var(--transition);
}
.btn-outline:hover { background: var(--wine); color: var(--cream-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white; padding: 14px 26px;
  border-radius: 100px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: all 0.35s var(--transition);
}
.btn-wa:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 32px rgba(37,211,102,0.4); }

/* ── Section Commons ── */
.section-eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine); margin-bottom: 16px;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 80px; }

/* ── Marquee ── */
.marquee-section { padding: 24px 0; background: var(--wine); overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 0; animation: marquee 22s linear infinite; width: max-content; }
.marquee-item {
  display: flex; align-items: center; gap: 32px; padding: 0 32px;
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 300;
  color: var(--cream-light); letter-spacing: 0.08em; white-space: nowrap;
}
.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cream-dark); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Page Hero (interior pages) ── */
.page-hero {
  padding: 160px 5% 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(212,184,150,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.8rem, 5.5vw, 6rem); max-width: 800px; }
.page-hero p { font-size: 1.15rem; max-width: 600px; margin-top: 24px; }

/* ── Footer ── */
footer { background: var(--text); color: rgba(255,255,255,0.6); padding: 60px 5% 32px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.88rem; max-width: 260px; margin-top: 14px; line-height: 1.7; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem;
  font-weight: 500; color: var(--cream-light); letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 10px;
}
.footer-logo img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
footer h4 {
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.3s; }
footer ul li a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--cream-dark); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--cream); }

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 500;
  display: flex; align-items: center; gap: 10px; background: #25D366; color: white;
  padding: 12px 20px 12px 14px; border-radius: 100px; font-size: 0.85rem;
  font-weight: 600; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all 0.35s var(--transition);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 32px rgba(37,211,102,0.4); }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rotateBadge { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes scrollBounce { 0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; } 50% { transform: rotate(45deg) translateY(5px); opacity: 0.4; } }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 5% 70px; }
}
