/*
Theme Name: RebelBerry / Village of Indian Creek Global CSS
System: Municipal Design System
Client: Village of Indian Creek
Author: Roland Velazquez of RebelBerry
Environment: Elementor Child Theme
Version: 0.0.1
Purpose: Global CSS architecture for the Village of Indian Creek municipal website.
Notes:
- Built for Elementor compatibility.
- Structured with the RebelBerry tiered divider commenting standard.
- Uses scoped utilities and page bridges to avoid global Elementor disruption.
*/

/*
=======
[00] TOKENS
=======
*/

/*
––––––––––
[00.A] Root Variables
––––––––––
*/

:root {
  /* Colors */
  --color-black: #1d1d1f;
  --color-white: #ffffff;
  --color-text: #111827;
  --color-muted: #6b7280;

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-medium: 250ms;

  /* Focus */
  --focus-ring: 2px solid var(--color-black);

  /* Layout */
  --rb-notice-height: 0px;

  /* Tailwind spacing compatibility */
  --spacing: 0.25rem;
}

/*
=======
[01] RESET
=======
*/

/*
––––––––––
[01.A] Box Model
––––––––––
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
––––––––––
[01.B] Document Flow
––––––––––
*/

html:focus-within {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
}

/*
=======
[02] ACCESSIBILITY
=======
*/

/*
––––––––––
[02.A] Focus States
––––––––––
*/

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/*
––––––––––
[02.B] Reduced Motion
––––––––––
*/

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*
=======
[03] UTILITIES
=======
*/

/*
––––––––––
[03.A] Screen Reader
––––––––––
*/

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/*
––––––––––
[03.B] Page Anchors
––––––––––
*/

#page-top {
  position: absolute;
  top: 0;
  left: 0;
}

/*
=======
[04] ELEMENTOR OVERRIDES
=======
*/

/*
––––––––––
[04.A] Layout Fixes
––––––––––
*/

/*
------------
[04.A.a] Grid Stretch
------------
*/

.e-grid > .e-con-inner {
  height: 100%;
}

/*
------------
[04.A.b] Swiper Height
------------
*/

.elementor-loop-container .swiper-slide {
  height: auto !important;
}

/*
------------
[04.A.c] Image Fill
------------
*/

.elementor-element-6a49dbb {
  min-height: 100%;
  height: 100%;
}

.elementor-element-6a49dbb .elementor-widget-image {
  height: 100%;
}

.elementor-element-6a49dbb .elementor-widget-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*
=======
[05] LAYOUT
=======
*/

/*
––––––––––
[05.A] Header Offset
––––––––––
*/

#siteHeader {
  top: var(--rb-notice-height);
}

/*
=======
[06] COMPONENTS
=======
*/

/*
––––––––––
[06.A] Back To Top
––––––––––
*/

.rb-back-to-top {
  will-change: transform, opacity;
  transition:
    opacity var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.rb-back-to-top[data-visible="false"] {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.rb-back-to-top[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rb-back-to-top[aria-hidden="true"] {
  visibility: hidden;
}

.rb-back-to-top:hover {
  transform: translateY(-2px) scale(1.05);
}

.rb-back-to-top:active {
  transform: scale(0.95);
}

/*
––––––––––
[06.B] Notice Banner
––––––––––
*/

.rb-notice-banner {
  line-height: 1.3;
  position: relative;
  z-index: 9999;
}

/*
------------
[06.B.a] Paragraph Reset
------------
*/

.rb-notice-banner p {
  margin: 0 !important;
  display: inline;
}

/*
------------
[06.B.b] Icon Alignment
------------
*/

.rb-notice-banner .material-symbols-rounded {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/*
------------
[06.B.c] Close Target
------------
*/

.rb-notice-close {
  min-width: 44px;
  min-height: 44px;
}

/*
------------
[06.B.d] State Variants
------------
*/

.rb-notice--alert {
  background: #b91c1c !important;
}

.rb-notice--rain {
  background: #0b7fa9 !important;
}

/*
––––––––––
[06.C] Weather Mini
––––––––––
*/

.rb-weather-mini {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  background: #f5f5f7;
  color: #141414;
  font-size: 0.9rem;
}

.rb-weather-mini .material-symbols-rounded {
  font-size: 1.4rem;
  line-height: 1;
}

.rb-temp-val {
  font-weight: 600;
  font-size: 1rem;
}

.rb-city-val {
  font-size: 0.85rem;
  opacity: 0.75;
}

/*
=======
[07] HERO BLUR
=======
*/

/*
––––––––––
[07.A] Root
––––––––––
*/

.hero-blur {
  position: relative;
  overflow: hidden;
  --hero-bg: url('/wp-content/uploads/2025/11/tropical_beach_red_roof_home_pok-rie-pexels-scaled.jpg');
}

/*
––––––––––
[07.B] Blur Layer
––––––––––
*/

.hero-blur::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(40px);
  transform: scale(1.1);
  z-index: 0;
  pointer-events: none;
}

/*
––––––––––
[07.C] Glass Wash
––––––––––
*/

.hero-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.191);
  z-index: 1;
  pointer-events: none;
}

/*
––––––––––
[07.D] Content Layer
––––––––––
*/

.hero-blur > * {
  position: relative;
  z-index: 2;
}

/*
=======
[08] NAVIGATION
=======
*/

/*
––––––––––
[08.A] Footer Menu
––––––––––
*/

/*
------------
[08.A.a] Link Width
------------
*/

.elementor-nav-menu--layout-vertical .elementor-item {
  display: inline-flex;
  width: fit-content;
}

/*
------------
[08.A.b] Item Alignment
------------
*/

.elementor-nav-menu--layout-vertical .menu-item {
  width: 100%;
}

/*
=======
[09] TAILWIND BRIDGE
=======
*/

/*
––––––––––
[09.A] Space Utilities
––––––––––
*/

/*
------------
[09.A.a] Vertical Space
------------
*/

.e-con.space-y-1 > * + * { margin-top: 0.25rem !important; }
.e-con.space-y-1\.5 > * + * { margin-top: 0.375rem !important; }
.e-con.space-y-2 > * + * { margin-top: 0.5rem !important; }
.e-con.space-y-3 > * + * { margin-top: 0.75rem !important; }
.e-con.space-y-4 > * + * { margin-top: 1rem !important; }
.e-con.space-y-5 > * + * { margin-top: 1.25rem !important; }
.e-con.space-y-6 > * + * { margin-top: 1.5rem !important; }
.e-con.space-y-8 > * + * { margin-top: 2rem !important; }
.e-con.space-y-10 > * + * { margin-top: 2.5rem !important; }
.e-con.space-y-12 > * + * { margin-top: 3rem !important; }
.e-con.space-y-16 > * + * { margin-top: 4rem !important; }
.e-con.space-y-20 > * + * { margin-top: 5rem !important; }
.e-con.space-y-24 > * + * { margin-top: 6rem !important; }

/*
------------
[09.A.b] Horizontal Space
------------
*/

.e-con.space-x-1 > * + * { margin-left: 0.25rem !important; }
.e-con.space-x-1\.5 > * + * { margin-left: 0.375rem !important; }
.e-con.space-x-2 > * + * { margin-left: 0.5rem !important; }
.e-con.space-x-3 > * + * { margin-left: 0.75rem !important; }
.e-con.space-x-4 > * + * { margin-left: 1rem !important; }
.e-con.space-x-5 > * + * { margin-left: 1.25rem !important; }
.e-con.space-x-6 > * + * { margin-left: 1.5rem !important; }
.e-con.space-x-8 > * + * { margin-left: 2rem !important; }
.e-con.space-x-10 > * + * { margin-left: 2.5rem !important; }
.e-con.space-x-12 > * + * { margin-left: 3rem !important; }
.e-con.space-x-16 > * + * { margin-left: 4rem !important; }
.e-con.space-x-20 > * + * { margin-left: 5rem !important; }
.e-con.space-x-24 > * + * { margin-left: 6rem !important; }

/*
=======
[10] PAGE BRIDGES
=======
*/

/*
––––––––––
[10.A] 404 Template
––––––––––
*/

/*
------------
[10.A.a] Section Shell
------------
*/

.rb-404.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.rb-404.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.rb-404.bg-white {
  background-color: #ffffff;
}

.rb-404.min-h-\[70vh\] {
  min-height: 70vh;
}

.rb-404.flex {
  display: flex;
}

.rb-404.items-center {
  align-items: center;
}

/*
------------
[10.A.b] Inner Bridge
------------
*/

.rb-404 > .e-con-inner {
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
}

/*
------------
[10.A.c] Width Utilities
------------
*/

.rb-404 .max-w-5xl {
  max-width: 64rem;
}

.rb-404 .mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.rb-404 .w-full {
  width: 100%;
}

/*
------------
[10.A.d] Grid Utilities
------------
*/

.rb-404 .grid {
  display: grid;
}

.rb-404 .gap-12 {
  gap: 3rem;
}

.rb-404 .items-center {
  align-items: center;
}

.rb-404 .grid > .e-con {
  min-width: 0;
}

/*
------------
[10.A.e] Spacing Utilities
------------
*/

.rb-404 .mt-4 {
  margin-top: 1rem;
}

.rb-404 .mt-8 {
  margin-top: 2rem;
}

.rb-404 .space-y-2 > * + * {
  margin-top: 0.5rem;
}

/*
------------
[10.A.f] Flex Utilities
------------
*/

.rb-404 .flex {
  display: flex;
}

.rb-404 .flex-col {
  flex-direction: column;
}

.rb-404 .gap-3 {
  gap: 0.75rem;
}

/*
------------
[10.A.g] Card Utilities
------------
*/

.rb-404 .hidden {
  display: none;
}

.rb-404 .w-48 {
  width: 12rem;
}

.rb-404 .h-48 {
  height: 12rem;
}

.rb-404 .rounded-2xl {
  border-radius: 1rem;
}

.rb-404 .bg-neutral-100 {
  background-color: #f5f5f5;
}

.rb-404 .justify-center {
  justify-content: center;
}

.rb-404 .text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.rb-404 .font-semibold {
  font-weight: 600;
}

/*
––––––––––
[10.B] Maintenance Page
––––––––––
*/

/*
------------
[10.B.a] Section Shell
------------
*/

.elementor-992 section.min-h-screen {
  min-height: 100vh;
  min-height: 100svh;
}

.elementor-992 section.flex {
  display: flex;
}

.elementor-992 section.items-center {
  align-items: center;
}

.elementor-992 section.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.elementor-992 section.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.elementor-992 section.bg-white {
  background-color: #ffffff;
}

/*
------------
[10.B.b] Inner Bridge
------------
*/

.elementor-992 section.min-h-screen > .e-con-inner {
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
------------
[10.B.c] Width Utilities
------------
*/

.elementor-992 .max-w-4xl {
  max-width: 56rem;
}

.elementor-992 .max-w-2xl {
  max-width: 42rem;
}

.elementor-992 .max-w-xl {
  max-width: 36rem;
}

.elementor-992 .max-w-sm {
  max-width: 24rem;
}

.elementor-992 .w-full {
  width: 100%;
}

.elementor-992 .mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/*
------------
[10.B.d] Badge Centering
------------
*/

.elementor-992 .inline-flex.mx-auto {
  width: fit-content;
  max-width: max-content;
  align-self: center;
  justify-self: center;
  flex: 0 0 auto;
}

.elementor-992 .inline-flex.mx-auto > .elementor-widget {
  width: auto;
  flex: 0 0 auto;
}

/*
------------
[10.B.e] Text Alignment
------------
*/

.elementor-992 .text-center,
.elementor-992 .text-center .elementor-widget-container,
.elementor-992 .text-center .elementor-heading-title,
.elementor-992 .text-center p {
  text-align: center;
}

.elementor-992 .text-left,
.elementor-992 .text-left .elementor-widget-container,
.elementor-992 .text-left .elementor-heading-title,
.elementor-992 .text-left p {
  text-align: left;
}

/*
------------
[10.B.f] Display Utilities
------------
*/

.elementor-992 .flex {
  display: flex;
}

.elementor-992 .inline-flex {
  display: inline-flex;
}

.elementor-992 .items-center {
  align-items: center;
}

.elementor-992 .justify-between {
  justify-content: space-between;
}

.elementor-992 .gap-2 {
  gap: 0.5rem;
}

/*
------------
[10.B.g] Spacing Utilities
------------
*/

.elementor-992 .mt-2 {
  margin-top: 0.5rem;
}

.elementor-992 .mt-4 {
  margin-top: 1rem;
}

.elementor-992 .mt-6 {
  margin-top: 1.5rem;
}

.elementor-992 .mt-10 {
  margin-top: 2.5rem;
}

.elementor-992 .mt-12 {
  margin-top: 3rem;
}

.elementor-992 .px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.elementor-992 .py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.elementor-992 .p-6 {
  padding: 1.5rem;
}

.elementor-992 .space-y-3 > * + * {
  margin-top: 0.75rem;
}

/*
------------
[10.B.h] Size Utilities
------------
*/

.elementor-992 .h-px {
  height: 1px;
}

/*
------------
[10.B.i] Border Utilities
------------
*/

.elementor-992 .rounded-full {
  border-radius: 9999px;
}

.elementor-992 .rounded-2xl {
  border-radius: 1rem;
}

.elementor-992 .border {
  border-width: 1px;
  border-style: solid;
}

.elementor-992 .border-neutral-200 {
  border-color: #e5e5e5;
}

/*
------------
[10.B.j] Background Utilities
------------
*/

.elementor-992 .bg-white {
  background-color: #ffffff;
}

.elementor-992 .bg-neutral-100 {
  background-color: #f5f5f5;
}

.elementor-992 .bg-neutral-200 {
  background-color: #e5e5e5;
}

/*
------------
[10.B.k] Type Utilities
------------
*/

.elementor-992 .text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.elementor-992 .text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.elementor-992 .text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.elementor-992 .text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.elementor-992 .font-medium {
  font-weight: 500;
}

.elementor-992 .font-semibold {
  font-weight: 600;
}

.elementor-992 .leading-tight {
  line-height: 1.25;
}

/*
------------
[10.B.l] Color Utilities
------------
*/

.elementor-992 .text-neutral-400 {
  color: #a3a3a3;
}

.elementor-992 .text-neutral-500 {
  color: #737373;
}

.elementor-992 .text-neutral-600 {
  color: #525252;
}

.elementor-992 .text-neutral-700 {
  color: #404040;
}

.elementor-992 .text-neutral-900 {
  color: #171717;
}

/*
------------
[10.B.m] Container Safety
------------
*/

.elementor-992 .e-con-full {
  min-width: 0;
}

.elementor-992 .e-con-full.max-w-4xl,
.elementor-992 .e-con-full.max-w-2xl,
.elementor-992 .e-con-full.max-w-xl,
.elementor-992 .e-con-full.max-w-sm {
  width: 100%;
}

/*
------------
[10.B.n] Contact Rows
------------
*/

.elementor-992 .justify-between > .elementor-widget:last-child {
  text-align: right;
}

/*
=======
[11] RESPONSIVE
=======
*/

/*
––––––––––
[11.A] Component Tuning
––––––––––
*/

@media (max-width: 640px) {
  .rb-back-to-top:hover {
    transform: translateY(-1px) scale(1.03);
  }
}

/*
––––––––––
[11.B] 404 Template
––––––––––
*/

@media (min-width: 640px) {
  .rb-404 .sm\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .rb-404 .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rb-404 .md\:flex {
    display: flex;
  }
}

/*
––––––––––
[11.C] Maintenance Page
––––––––––
*/

@media (min-width: 768px) {
  .elementor-992 .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .elementor-992 section.py-20 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .elementor-992 section.px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .elementor-992 .p-6 {
    padding: 1rem;
  }

  .elementor-992 .justify-between {
    gap: 0.75rem;
  }
}