/* ==========================================================================
   ADHIRAJ REALTY & CONSULTANCY - DEEP KONKAN FOREST GREEN THEME
   Brand Palette:
     - Deep Forest Green: #162812 -> #1F3417 (Page Background)
     - Gold: #B98A1D / #D4AF37 (Accent / Dividers / Highlights)
     - Warm Cream: #FBF9F3 (Pills & Hero Typography)
     - Forest Green Accent: #2A4A1F (Hover Fill)
   ========================================================================== */

:root {
  --color-bg-deep-green: #162812;
  --color-forest-green: #1F3417;
  --color-forest-medium: #27421E;
  --color-gold: #B98A1D;
  --color-gold-bright: #D4AF37;
  --color-warm-cream: #FBF9F3;
  --color-charcoal-green: #2A3C24;
  --color-white: #FFFFFF;
  
  --color-logo-primary: #FBF9F3; /* Logo text color on dark green */
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --container-max-width: 440px;
  --pill-min-height: 60px;
  --border-radius-pill: 32px;
  
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-normal: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Global Resets & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--color-bg-deep-green);
  color: var(--color-warm-cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1.25rem 3.5rem 1.25rem;
  position: relative;
  background: linear-gradient(180deg, #12210E 0%, #162812 40%, #1F3417 100%);
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   KONKAN BOTANICAL LEAF ANIMATION LAYER
   ========================================================================== */

.watermark-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100'%3E%3Cpath fill='%23D4AF37' d='M50,10 C65,25 75,45 70,70 C55,60 40,50 30,50 C20,50 10,60 5,70 C0,45 10,25 25,10 Z'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-position: center top;
  background-size: 160px 160px;
}

.konkan-ambient-leaves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-leaf {
  position: absolute;
  pointer-events: none;
}

.leaf-top-right {
  top: -30px;
  right: -40px;
  animation: floatSway1 20s ease-in-out infinite alternate;
}

.leaf-bottom-left {
  bottom: 10px;
  left: -40px;
  animation: floatSway2 24s ease-in-out infinite alternate;
}

@keyframes floatSway1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-18px, 24px) rotate(6deg);
  }
  100% {
    transform: translate(-32px, 12px) rotate(-4deg);
  }
}

@keyframes floatSway2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(22px, -18px) rotate(-8deg);
  }
  100% {
    transform: translate(12px, -32px) rotate(5deg);
  }
}

/* ==========================================================================
   MAIN CONTAINER
   ========================================================================== */

.hub-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   HERO ZONE STYLING
   ========================================================================== */

.hero-zone {
  width: 100%;
  text-align: center;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Konkan Region Crest Badge */
.konkan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.95rem;
  border-radius: 20px;
  background-color: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-gold-bright);
}

.badge-text {
  font-family: var(--font-body);
  font-size: 0.6875rem; /* 11px */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
}

.logo-wrapper {
  margin-bottom: 0.85rem;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.brand-logo {
  width: 100%;
  max-width: 270px;
  height: auto;
  display: block;
}

.tagline {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-style: italic;
  font-weight: 400;
  color: var(--color-warm-cream);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Divider with Shimmer Leaf Motif */
.divider-with-motif {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--color-gold-bright);
  opacity: 0.55;
  position: relative;
  overflow: hidden;
}

.gold-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  animation: goldSweep 4.2s ease-in-out infinite;
}

@keyframes goldSweep {
  0% { left: -100%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

.leaf-motif-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  color: var(--color-gold-bright);
}

.leaf-motif-icon svg path {
  fill: var(--color-gold-bright) !important;
}

/* ==========================================================================
   CATEGORY SECTION HEADINGS
   ========================================================================== */

.category-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.85rem 0 0.25rem 0;
}

.cat-line {
  flex: 1;
  height: 1px;
  background-color: rgba(212, 175, 55, 0.35);
}

.cat-title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-gold-bright);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   LINK BUTTON STACK STYLING
   ========================================================================== */

.links-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

/* Premium Warm Cream Pill on Deep Forest Green */
.link-pill {
  width: 100%;
  min-height: var(--pill-min-height);
  padding: 0.85rem 1.25rem;
  display: grid;
  grid-template-columns: 28px 1fr 20px;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-warm-cream);
  border: 1.5px solid var(--color-gold-bright);
  border-radius: var(--border-radius-pill);
  color: var(--color-forest-green);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: background-color var(--transition-fast), 
              color var(--transition-fast), 
              border-color var(--transition-fast), 
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest-green);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.link-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.link-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  line-height: 1.25;
}

.main-label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-forest-green);
}

.sub-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-charcoal-green);
  opacity: 0.85;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

.pill-arrow {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gold);
  transition: transform var(--transition-fast), color var(--transition-fast);
  text-align: right;
}

/* Hover State: Solid Gold / Emerald Highlight Fill */
@media (hover: hover) and (pointer: fine) {
  .link-pill:hover {
    background-color: var(--color-gold-bright);
    color: var(--color-forest-green);
    border-color: var(--color-warm-cream);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  }

  .link-pill:hover .main-label {
    color: var(--color-bg-deep-green);
  }

  .link-pill:hover .link-icon {
    color: var(--color-bg-deep-green);
    transform: scale(1.1);
  }

  .link-pill:hover .sub-label {
    color: var(--color-forest-green);
    opacity: 0.95;
  }

  .link-pill:hover .pill-arrow {
    color: var(--color-bg-deep-green);
    transform: translateX(5px);
  }
}

/* Active / Tap Feedback */
.link-pill:active,
.link-pill.is-pressed {
  background-color: var(--color-gold-bright);
  color: var(--color-bg-deep-green);
  border-color: var(--color-warm-cream);
  transform: scale(0.975);
}

.link-pill:active .main-label,
.link-pill.is-pressed .main-label {
  color: var(--color-bg-deep-green);
}

.link-pill:active .link-icon,
.link-pill.is-pressed .link-icon {
  color: var(--color-bg-deep-green);
}

.link-pill:active .pill-arrow,
.link-pill.is-pressed .pill-arrow {
  color: var(--color-bg-deep-green);
  transform: translateX(5px);
}

/* Keyboard Focus State */
.link-pill:focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 3px;
}

/* ==========================================================================
   FOOTER ZONE STYLING
   ========================================================================== */

.footer-zone {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-gold-bright);
  opacity: 0.45;
  margin-bottom: 1.25rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gold-bright);
  letter-spacing: 0.05em;
}

.location-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-warm-cream);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.copyright-text {
  font-family: var(--font-body);
  font-size: 0.725rem;
  font-weight: 400;
  color: var(--color-warm-cream);
  opacity: 0.75;
}

/* ==========================================================================
   ENTRANCE ANIMATION SEQUENCE
   ========================================================================== */

@keyframes slideFadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-item {
  opacity: 0;
  animation: slideFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 1) * 0.055s);
}

@media (prefers-reduced-motion: reduce) {
  .animate-item {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
  
  .floating-leaf, .gold-shimmer::after {
    animation: none !important;
  }

  .link-pill, .link-icon, .pill-arrow {
    transition: none !important;
  }
}

/* Screen size adjustments */
@media (max-width: 360px) {
  body {
    padding: 1.5rem 0.85rem 2.5rem 0.85rem;
  }
  
  .brand-logo {
    max-width: 230px;
  }
  
  .main-label {
    font-size: 0.875rem;
  }
  
  .link-pill {
    padding: 0.75rem 1rem;
    grid-template-columns: 24px 1fr 18px;
  }
}
