/* ============================================
   VANDANISM ART — Global Styles
   style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&family=Caveat:wght@400;600&display=swap');

/* --- VARIABLES --- */
:root {
  --cream:        #F5EFE0;
  --cream-dark:   #EDE4CE;
  --wood:         #8B5E3C;
  --wood-light:   #B07D55;
  --wood-pale:    #D4A97A;
  --coral:        #D9614C;
  --coral-light:  #E8896F;
  --coral-pale:   #F2C4B5;
  --ink:          #2C1A0E;
  --ink-soft:     #5C3D25;
  --muted:        #9A7B60;
  --white:        #FDFAF4;
  --nav-h:        70px;
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: none; }

/* --- BASE --- */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

/* --- GRAIN OVERLAY --- */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
}

/* --- CUSTOM CURSOR --- */
.cursor {
  width: 12px; height: 12px;
  background: var(--coral);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: multiply;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px; height: 52px;
  border-color: var(--wood);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--wood-pale); border-radius: 4px; }

/* --- NAVBAR --- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(245,239,224,0.92);
  backdrop-filter: blur(12px);
  z-index: 500;
  border-bottom: 1px solid var(--cream-dark);
}

.nav-logo {
  font-family: 'Caveat', cursive;
  font-size: 28px; font-weight: 600;
  color: var(--wood);
  letter-spacing: 1px;
}
.nav-logo span { color: var(--coral); }

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--coral);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--coral); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--wood) !important; }
.nav-cta::after { display: none !important; }
.nav-cta.active { background: var(--coral) !important; }

/* --- FOOTER --- */
footer {
  background: #1A0F07;
  color: rgba(245,239,224,0.4);
  text-align: center;
  padding: 28px 5%;
  font-size: 13px;
}
footer .footer-brand {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: rgba(245,239,224,0.6);
}
footer a { color: var(--coral); }

/* --- SECTION COMMONS --- */
section { padding: 100px 5%; }

.section-tag {
  font-size: 11px; font-weight: 500;
  color: var(--coral);
  text-transform: uppercase; letter-spacing: 3px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--coral);
}
.section-tag.center { justify-content: center; }
.section-tag.center::before { display: none; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-title em { color: var(--coral); font-style: italic; }
.section-title.light { color: var(--cream); }

.section-sub {
  font-size: 15px; line-height: 1.8;
  color: var(--ink-soft);
  max-width: 520px;
}
.section-sub.light { color: rgba(245,239,224,0.65); }
.section-sub.center { margin: 0 auto; text-align: center; }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 14px; font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--wood); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--wood);
  color: var(--wood);
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--wood); color: var(--white); transform: translateY(-2px); }

/* --- ANIMATIONS --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- PAGE HERO BANNER (for inner pages) --- */
.page-banner {
  min-height: 40vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 5% 60px;
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
}
.page-banner-bg-text {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(139,94,60,0.07);
  top: 50%; right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
.page-banner-decor {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}
.page-banner-decor-1 {
  width: 300px; height: 300px;
  background: var(--coral-pale);
  top: -80px; right: 10%;
}
.page-banner-decor-2 {
  width: 150px; height: 150px;
  background: var(--wood-pale);
  bottom: -40px; left: 30%;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  section { padding: 70px 5%; }
}