/* ==========================================================================
   LORA CERAMICS — Base Design System (Signature Red & White Theme)
   Est. May 16, 2022 | Vadapuram, Kerala
   ========================================================================== */

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-dark: #0F1014;
  --bg-dark-elevated: #16181F;
  --bg-card: #FFFFFF;
  --text-primary: #121316;
  --text-secondary: #4B5563;
  --text-muted: #8E939E;
  
  /* Lora Red & White Core Palette */
  --accent-gold: #DC2626;        /* Primary Crimson Red */
  --accent-gold-light: #EF4444;  /* Vibrant Coral Red */
  --accent-gold-dark: #B91C1C;   /* Deep Ruby / Wine Red */
  --accent-red: #DC2626;
  --accent-red-light: #EF4444;
  --accent-red-dark: #B91C1C;
  --accent-sage: #DC2626;
  
  --whatsapp-green: #16A34A;
  --border-subtle: #E5E7EB;
  --border-gold: #D1D5DB;
  --border-red: #D1D5DB;
  
  --shadow-soft: 0 12px 30px -10px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 18px 40px -12px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 12px 28px -8px rgba(0, 0, 0, 0.12);
  
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Top Scroll Progress Indicator (Ruby Red) */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #B91C1C;
  z-index: 9999;
  transition: width 0.08s linear;
}

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

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

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Keyframes */
@keyframes floatSlow {
  0%, 100% { transform: translate3d(0, 0px, 30px); }
  50% { transform: translate3d(0, -12px, 30px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}

@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes shimmerSweep {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}

@keyframes subtleZoomIn {
  from { opacity: 0; transform: scale(1.08) translateZ(-40px); }
  to { opacity: 1; transform: scale(1) translateZ(0); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.reveal-scale,
.reveal.reveal-left,
.reveal.reveal-right {
  transform: translateY(35px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) !important;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* 3D Tilt */
.tilt-3d {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.tilt-3d img {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tilt-glare {
  display: none !important;
}

/* Buttons (Red & White System) */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn::before {
  display: none;
}

.btn-primary {
  background: var(--accent-red);
  color: #FFFFFF;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  color: #FFFFFF;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1.5px solid #D1D5DB;
}

.btn-outline:hover {
  border-color: var(--accent-red);
  background: var(--accent-red);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -8px rgba(22, 163, 74, 0.48);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.81rem;
}

.btn-text-full {
  display: inline;
}

.btn-text-short {
  display: none;
}

/* Typography & Headers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-red);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent-red);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  color: #111111;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  max-width: 630px;
  margin-top: 12px;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

section {
  padding: 104px 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    gap: 8px;
  }
  .eyebrow::before {
    width: 18px;
  }
  .section-title {
    font-size: 1.65rem;
    line-height: 1.15;
  }
  .section-subtitle {
    font-size: 0.84rem;
    margin-top: 6px;
    line-height: 1.45;
  }
  .section-header-flex {
    margin-bottom: 22px;
    gap: 12px;
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.78rem;
  }
}
