/*
Theme Name: Ollivanders Digital
Theme URI: https://ollivanders.in
Author: Ollivanders Digital Marketing
Author URI: https://ollivanders.in
Description: A dark, animated digital marketing theme for Ollivanders Agency, Prayagraj. Features particle backgrounds, scroll animations, gold accents, and full-page layout for Home, About, Services, and Contact pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ollivanders
Tags: dark, animation, digital-marketing, one-page, custom-colors
*/

/* ===== CSS VARIABLES ===== */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c96d;
  --gold-dim: #8a6f2e;
  --dark: #080810;
  --dark2: #0e0e1a;
  --dark3: #13131f;
  --dark4: #1a1a2e;
  --text: #d4c9b0;
  --text-dim: #7a7060;
  --accent: #5c3d8f;
  --white: #f0ebe0;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  overflow-x: hidden;
  cursor: none;
  line-height: 1.7;
}

body.home { cursor: none; }
a { cursor: none; }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== CUSTOM CURSOR ===== */
.olliv-cursor {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.olliv-cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: border-color 0.3s, width 0.2s, height 0.2s;
}

/* ===== CANVAS STARFIELD ===== */
#olliv-starfield {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ===== FLOATING PARTICLES ===== */
.olliv-particle {
  position: fixed;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: particleRise linear infinite;
  opacity: 0;
}
@keyframes particleRise {
  0%   { transform: translateY(100vh); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

/* ===== NAVBAR ===== */
#olliv-nav {
  position: fixed; top: 0; width: 100%;
  z-index: 1000;
  padding: 18px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(8,8,16,0.97) 0%, transparent 100%);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  backdrop-filter: blur(10px);
  transition: padding 0.3s;
}
#olliv-nav.scrolled { padding: 12px 60px; background: rgba(8,8,16,0.98); }

.olliv-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 3px;
  text-decoration: none;
}
.olliv-logo span { color: var(--white); }

.olliv-nav-links { display: flex; gap: 32px; align-items: center; }
.olliv-nav-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.olliv-nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.olliv-nav-links a:hover,
.olliv-nav-links a.active { color: var(--gold); }
.olliv-nav-links a:hover::after { width: 100%; }

.olliv-nav-cta {
  border: 1px solid var(--gold-dim) !important;
  color: var(--gold) !important;
  padding: 8px 20px !important;
  border-radius: 2px;
}
.olliv-nav-cta:hover { background: rgba(201,168,76,0.1) !important; }
.olliv-nav-cta::after { display: none !important; }

.olliv-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.olliv-hamburger span {
  width: 24px; height: 1px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO SECTION ===== */
.olliv-hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}
.orb1 { width: 500px; height: 500px; background: rgba(92,61,143,0.25); top: -80px; right: -80px; }
.orb2 { width: 400px; height: 400px; background: rgba(201,168,76,0.12); bottom: -60px; left: -60px; animation-delay:-3s; }
.orb3 { width: 280px; height: 280px; background: rgba(92,61,143,0.15); top: 40%; left: 15%; animation-delay:-5s; }

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(25px,-25px) scale(1.04); }
  66%      { transform: translate(-15px,18px) scale(0.97); }
}

.hero-eyebrow {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 18px;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}
.olliv-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  font-weight: 900; line-height: 1.05;
  color: var(--white); margin-bottom: 22px;
  opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
}
.olliv-hero-title .gold { color: var(--gold); }

.hero-sub {
  font-size: 1rem; font-weight: 300;
  color: var(--text-dim); max-width: 520px;
  line-height: 1.9; margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.9s 0.7s forwards;
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp 0.9s 0.9s forwards;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s 1.6s forwards;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
.hero-scroll-text { font-size: 0.58rem; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
@keyframes scrollPulse { 0%,100%{opacity:0.4;} 50%{opacity:1;} }

/* ===== BUTTONS ===== */
.btn-gold {
  background: var(--gold); color: var(--dark);
  padding: 14px 36px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: none; border-radius: 2px;
  cursor: none; display: inline-block;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 0 28px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(201,168,76,0.5);
  color: var(--dark);
}
.btn-outline {
  background: transparent; color: var(--text);
  padding: 14px 36px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600; font-size: 0.78rem;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--text-dim); border-radius: 2px;
  cursor: none; display: inline-block;
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===== SECTION COMMON ===== */
.olliv-section { position: relative; z-index: 1; }
.olliv-wrap { max-width: 1100px; margin: 0 auto; padding: 100px 40px; }
.olliv-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg,transparent,var(--gold-dim),transparent);
  position: relative; z-index: 1;
}

.section-eyebrow {
  font-size: 0.67rem; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before { content:''; width:28px; height:1px; background:var(--gold-dim); }

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 18px;
}
.section-title .gold { color: var(--gold); }

.section-desc {
  font-size: 0.95rem; font-weight: 300;
  color: var(--text-dim); max-width: 550px;
  line-height: 1.9; margin-bottom: 55px;
}

/* ===== SERVICES PAGE ===== */
.services-bg { background: var(--dark2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}
.service-card {
  background: var(--dark3);
  padding: 48px 36px;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.service-card::before {
  content:''; position:absolute; top:0; left:0;
  width:100%; height:2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s;
}
.service-card:hover { background: var(--dark4); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon { font-size: 2.2rem; margin-bottom: 18px; display:block; transition: transform 0.4s; }
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }

.service-num { font-family:'Cinzel',serif; font-size:0.62rem; letter-spacing:3px; color:var(--gold-dim); margin-bottom:14px; }
.service-name { font-family:'Cinzel',serif; font-size:1.2rem; font-weight:600; color:var(--white); margin-bottom:12px; }
.service-desc { font-size:0.88rem; color:var(--text-dim); line-height:1.8; margin-bottom:22px; }
.service-price { font-family:'Cinzel',serif; font-size:1.6rem; font-weight:700; color:var(--gold); display:inline-block; }
.service-price span { font-family:'Raleway',sans-serif; font-size:0.72rem; color:var(--text-dim); font-weight:400; }

.service-features { margin-top:16px; }
.service-features li { font-size:0.82rem; color:var(--text-dim); padding:5px 0 5px 16px; position:relative; }
.service-features li::before { content:'✦'; position:absolute; left:0; font-size:0.45rem; color:var(--gold); top:8px; }

/* ===== ABOUT PAGE ===== */
.about-bg { background: var(--dark); }

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

.about-visual { position:relative; height:380px; }
.about-box {
  position:absolute; border:1px solid var(--gold-dim);
  animation: boxFloat 6s ease-in-out infinite;
}
.box1 { width:210px; height:210px; top:20px; left:20px; background:rgba(201,168,76,0.03); }
.box2 { width:155px; height:155px; bottom:28px; right:28px; background:rgba(92,61,143,0.08); border-color:var(--accent); animation-delay:-2s; }
.box3 { width:95px; height:95px; top:50%; right:60px; border-color:rgba(201,168,76,0.2); animation-delay:-4s; }
@keyframes boxFloat { 0%,100%{transform:translateY(0) rotate(0deg);} 50%{transform:translateY(-12px) rotate(1deg);} }

.about-orb {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:140px; height:140px; border-radius:50%;
  background: radial-gradient(circle, rgba(201,168,76,0.2), rgba(92,61,143,0.15), transparent);
  border:1px solid rgba(201,168,76,0.3);
  display:flex; align-items:center; justify-content:center;
  font-family:'Cinzel',serif; font-size:0.65rem;
  letter-spacing:2px; color:var(--gold); text-align:center; line-height:1.6;
  animation: orbPulse 3s ease-in-out infinite;
}
@keyframes orbPulse { 0%,100%{box-shadow:0 0 20px rgba(201,168,76,0.2);} 50%{box-shadow:0 0 50px rgba(201,168,76,0.4);} }

.stats-row { display:flex; gap:36px; margin-top:38px; flex-wrap:wrap; }
.stat { border-left:2px solid var(--gold-dim); padding-left:16px; }
.stat-num { font-family:'Cinzel',serif; font-size:1.9rem; font-weight:700; color:var(--gold); display:block; }
.stat-label { font-size:0.72rem; color:var(--text-dim); letter-spacing:1px; }

/* ===== PROCESS SECTION ===== */
.process-bg { background: var(--dark2); }
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.process-steps::before {
  content:''; position:absolute;
  top:28px; left:12.5%; right:12.5%; height:1px;
  background: linear-gradient(90deg, var(--gold-dim), var(--accent), var(--gold-dim));
}
.process-step { text-align:center; padding:0 20px 40px; }
.step-dot {
  width:56px; height:56px; border-radius:50%;
  background:var(--dark3); border:1px solid var(--gold-dim);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 22px;
  font-family:'Cinzel',serif; font-size:1rem; font-weight:700; color:var(--gold);
  position:relative; z-index:1;
  transition: background 0.3s, box-shadow 0.3s;
}
.process-step:hover .step-dot { background:rgba(201,168,76,0.15); box-shadow:0 0 24px rgba(201,168,76,0.3); }
.step-title { font-family:'Cinzel',serif; font-size:0.92rem; color:var(--white); margin-bottom:10px; }
.step-desc { font-size:0.82rem; color:var(--text-dim); line-height:1.7; }

/* ===== CONTACT PAGE ===== */
.contact-bg { background: var(--dark); }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }

.contact-item { display:flex; align-items:flex-start; gap:18px; margin-bottom:34px; }
.contact-icon {
  width:44px; height:44px; border:1px solid var(--gold-dim); border-radius:2px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; flex-shrink:0;
  background:rgba(201,168,76,0.05);
}
.contact-label { font-size:0.68rem; letter-spacing:2px; color:var(--gold-dim); text-transform:uppercase; margin-bottom:4px; }
.contact-value { font-size:0.95rem; color:var(--text); font-weight:500; }

.contact-form { display:flex; flex-direction:column; gap:14px; }
.contact-form input,
.contact-form textarea {
  width:100%;
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(201,168,76,0.15); border-radius:2px;
  padding:15px 18px;
  color:var(--text);
  font-family:'Raleway',sans-serif; font-size:0.9rem;
  outline:none;
  transition: border-color 0.3s, background 0.3s;
  resize:none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color:var(--text-dim); }
.contact-form input:focus,
.contact-form textarea:focus { border-color:var(--gold-dim); background:rgba(201,168,76,0.03); }
.contact-form textarea { height:120px; }

/* ===== FOOTER ===== */
.olliv-footer {
  position:relative; z-index:1;
  background:var(--dark2);
  border-top:1px solid rgba(201,168,76,0.1);
  padding:36px 60px;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:20px;
}
.footer-logo { font-family:'Cinzel',serif; font-size:1.2rem; font-weight:900; color:var(--gold); letter-spacing:3px; }
.footer-copy { font-size:0.76rem; color:var(--text-dim); }
.footer-links { display:flex; gap:22px; }
.footer-links a { font-size:0.76rem; color:var(--text-dim); text-decoration:none; transition:color 0.3s; }
.footer-links a:hover { color:var(--gold); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeIn  { from{opacity:0;} to{opacity:1;} }
@keyframes twinkle { 0%,100%{opacity:1;} 50%{opacity:0.2;} }

.reveal { opacity:0; transform:translateY(36px); transition:opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-d1{transition-delay:0.1s;} .reveal-d2{transition-delay:0.2s;}
.reveal-d3{transition-delay:0.3s;} .reveal-d4{transition-delay:0.4s;}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #olliv-nav { padding: 16px 24px; }
  .olliv-nav-links { display:none; position:fixed; top:0; left:0; width:100%; height:100vh; background:rgba(8,8,16,0.97); flex-direction:column; align-items:center; justify-content:center; gap:36px; }
  .olliv-nav-links.open { display:flex; }
  .olliv-nav-links a { font-size:1rem; }
  .olliv-hamburger { display:flex; }
  .olliv-wrap { padding:70px 24px; }
  .about-grid, .contact-grid { grid-template-columns:1fr; gap:40px; }
  .about-visual { height:260px; }
  .process-steps { grid-template-columns:1fr 1fr; }
  .process-steps::before { display:none; }
  .stats-row { gap:20px; }
  .olliv-footer { flex-direction:column; text-align:center; padding:28px 24px; }
  .services-grid { grid-template-columns:1fr; }
}
@media (max-width: 500px) {
  .olliv-hero-title { font-size: 2.2rem; }
  .hero-btns { flex-direction:column; align-items:center; }
  .process-steps { grid-template-columns:1fr; }
}
