/* Mystic Nordic Blue & Golden Rune Architecture Studio CSS */

/* === ROOT VARIABLES === */
:root {
  --primary-color: #2C5F7C;
  --secondary-color: #D4AF37;
  --dark-blue: #1a3a4d;
  --light-blue: #4a7fa0;
  --gold-light: #f4d975;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #2d2d2d;
  --nordic-ice: #e8f4f8;
  --rune-glow: rgba(212, 175, 55, 0.3);
  --transition-speed: 0.3s;
}

/* === GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-gray) !important;
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color) !important;
}

a {
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

/* === NAVBAR STYLES === */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%) !important;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-speed) ease;
  z-index: 1000;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(28, 63, 92, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: var(--secondary-color) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all var(--transition-speed) ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar-brand:hover {
  color: var(--gold-light) !important;
  transform: scale(1.05);
}

.navbar-nav {
  gap: 1.5rem;
}

.nav-link {
  color: var(--nordic-ice) !important;
  font-weight: 500 !important;
  font-size: 1.05rem !important;
  position: relative;
  padding: 0.5rem 1rem !important;
  transition: all var(--transition-speed) ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

.navbar-toggler {
  border: 2px solid var(--secondary-color) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* === HERO SECTION === */
.hero-section {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.4);
  transition: all 1s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 95, 124, 0.8) 0%, rgba(26, 58, 77, 0.9) 100%);
  z-index: 2;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 50%;
  animation: float 15s infinite;
  opacity: 0.6;
  box-shadow: 0 0 10px var(--secondary-color);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

.hero-content {
  z-index: 4;
  position: relative;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rune-symbol {
  font-size: 4rem;
  color: var(--secondary-color) !important;
  text-shadow: 0 0 20px var(--rune-glow), 0 0 40px var(--rune-glow);
  animation: runeGlow 3s infinite alternate;
  display: inline-block;
}

@keyframes runeGlow {
  from {
    text-shadow: 0 0 10px var(--rune-glow), 0 0 20px var(--rune-glow);
  }
  to {
    text-shadow: 0 0 20px var(--rune-glow), 0 0 40px var(--rune-glow), 0 0 60px var(--rune-glow);
  }
}

.hero-content .display-3 {
  color: var(--white) !important;
  font-weight: 700 !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  color: var(--nordic-ice) !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
}

/* === BUTTONS === */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-lg {
  background: var(--secondary-color) !important;
  color: var(--dark-blue) !important;
  border: 2px solid var(--secondary-color) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-lg:hover {
  background: var(--gold-light) !important;
  color: var(--dark-blue) !important;
  border-color: var(--gold-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

.btn-outline-light {
  color: var(--white) !important;
  border: 2px solid var(--white) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border-color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

.btn-outline-dark {
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  background: transparent !important;
}

.btn-outline-dark:hover {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-secondary {
  color: var(--secondary-color) !important;
  border: 2px solid var(--secondary-color) !important;
  background: transparent !important;
}

.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: var(--dark-blue) !important;
  border-color: var(--secondary-color) !important;
}

.btn-sm {
  padding: 0.5rem 1.5rem !important;
  font-size: 0.9rem !important;
}

/* === BOOKING WIDGET === */
.booking-widget {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  margin-top: 3rem;
  border: 2px solid var(--secondary-color);
}

.form-label {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border: 2px solid var(--light-blue) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease;
  background: var(--white) !important;
  color: var(--dark-gray) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem var(--rune-glow) !important;
  background: var(--white) !important;
}

.form-control::placeholder {
  color: #999 !important;
}

.form-check-input {
  border: 2px solid var(--light-blue) !important;
}

.form-check-input:checked {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.input-group-text {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  border: 2px solid var(--primary-color) !important;
}

/* === SERVICE CARDS === */
.service-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(44, 95, 124, 0.3);
  border-color: var(--secondary-color);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .bi {
  font-size: 3rem;
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
  transition: all var(--transition-speed) ease;
}

.service-card:hover .bi {
  transform: scale(1.1) rotate(5deg);
  color: var(--primary-color) !important;
}

.service-card h3 {
  color: var(--primary-color) !important;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--dark-gray) !important;
  line-height: 1.7;
}

/* === AMENITY CARDS === */
.amenity-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  height: 100%;
}

.amenity-card:hover {
  background: var(--white);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.amenity-card .bi {
  font-size: 2.5rem;
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
}

.amenity-card:hover .bi {
  color: var(--secondary-color) !important;
}

/* === ROOM GALLERY === */
.room-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 350px;
  cursor: pointer;
}

.room-gallery-item img {
  transition: all 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-overlay {
  background: linear-gradient(to top, rgba(44, 95, 124, 0.95), transparent);
  opacity: 0;
  transition: all 0.5s ease;
  padding: 2rem;
}

.room-gallery-item:hover img {
  transform: scale(1.1);
}

.room-gallery-item:hover .room-overlay {
  opacity: 1;
}

.room-overlay h3 {
  color: var(--white) !important;
}

.room-overlay p {
  color: var(--nordic-ice) !important;
}

.badge {
  background: var(--secondary-color) !important;
  color: var(--dark-blue) !important;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 50px;
}

/* === RUNE ANIMATION === */
.rune-animation {
  position: relative;
  display: inline-block;
}

.rune-animation::before {
  content: '᚛';
  position: absolute;
  top: -20px;
  left: -30px;
  font-size: 3rem;
  color: var(--secondary-color);
  opacity: 0.3;
  animation: rotateRune 10s linear infinite;
}

.rune-animation::after {
  content: '᚜';
  position: absolute;
  bottom: -20px;
  right: -30px;
  font-size: 3rem;
  color: var(--secondary-color);
  opacity: 0.3;
  animation: rotateRune 10s linear infinite reverse;
}

@keyframes rotateRune {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* === TIMELINE === */
.timeline-container {
  position: relative;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-color);
  z-index: 1;
}

.timeline-item:hover::before {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px var(--primary-color);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px var(--rune-glow);
  }
}

/* === CARDS === */
.card {
  border: none !important;
  border-radius: 15px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

.card-body {
  padding: 2rem;
}

/* === SECTIONS === */
.py-5 {
  padding: 4rem 0 !important;
}

section {
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100px;
  height: 100px;
  background: var(--rune-glow);
  border-radius: 50%;
  filter: blur(50px);
  animation: floatBubble 20s infinite alternate;
}

@keyframes floatBubble {
  to {
    left: 150%;
    top: 100%;
  }
}

.bg-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-blue)) !important;
}

.text-white {
  color: var(--white) !important;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
  color: var(--white) !important;
}

/* === ACCORDION === */
.accordion-item {
  border: 2px solid var(--light-blue) !important;
  border-radius: 10px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: var(--light-gray) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  border: none !important;
  padding: 1.25rem !important;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem var(--rune-glow) !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(321%) hue-rotate(158deg) brightness(93%) contrast(87%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.accordion-body {
  background: var(--white) !important;
  color: var(--dark-gray) !important;
  padding: 1.5rem !important;
}

/* === FAQ ITEMS === */
.faq-item {
  margin-bottom: 1rem;
  border: 2px solid var(--light-blue);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item .btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem;
  background: var(--light-gray) !important;
  color: var(--primary-color) !important;
  border: none;
  border-radius: 0;
}

.faq-item .btn:hover {
  background: var(--primary-color) !important;
  color: var(--white) !important;
}

/* === MODAL === */
.modal-content {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-blue)) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 1.5rem 2rem;
}

.modal-header h5 {
  color: var(--white) !important;
}

.modal-body {
  padding: 2rem;
}

.btn-close {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
  opacity: 1 !important;
}

.btn-close:hover {
  opacity: 0.7 !important;
}

/* === ALERTS === */
.alert {
  border-radius: 10px !important;
  border: none !important;
  padding: 1.25rem !important;
}

.alert-success {
  background: linear-gradient(135deg, #4caf50, #45a049) !important;
  color: var(--white) !important;
}

/* === FOOTER === */
footer {
  background: linear-gradient(135deg, var(--dark-blue), #0f2433) !important;
  color: var(--nordic-ice) !important;
  padding: 3rem 0 1rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
}

footer h5 {
  color: var(--secondary-color) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  color: var(--nordic-ice) !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

footer a:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px);
}

footer .list-unstyled li {
  margin-bottom: 0.75rem;
}

footer .bi {
  color: var(--secondary-color) !important;
  margin-right: 0.5rem;
}

footer .border-top {
  border-color: rgba(255, 255, 255, 0.1) !important;
  margin-top: 2rem;
}

/* === SOCIAL ICONS === */
.bi-facebook,
.bi-instagram,
.bi-twitter {
  font-size: 1.5rem !important;
  transition: all var(--transition-speed) ease;
}

a:has(.bi-facebook):hover .bi-facebook {
  color: #1877f2 !important;
}

a:has(.bi-instagram):hover .bi-instagram {
  color: #e4405f !important;
}

a:has(.bi-twitter):hover .bi-twitter {
  color: #1da1f2 !important;
}

/* === UTILITY CLASSES === */
.shadow-lg {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
}

.rounded {
  border-radius: 10px !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.border-start {
  border-left: 4px solid var(--secondary-color) !important;
}

.border-5 {
  border-width: 5px !important;
}

.border-0 {
  border: none !important;
}

/* === TEXT UTILITIES === */
.text-muted {
  color: #6c757d !important;
}

.text-danger {
  color: #dc3545 !important;
}

.fst-italic {
  font-style: italic !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.small {
  font-size: 0.875rem !important;
}

.fs-1 { font-size: 3rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(28, 63, 92, 0.98);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav {
    gap: 0.5rem;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 6rem 0 3rem;
  }

  .hero-content .display-3 {
    font-size: 2.5rem !important;
  }

  .hero-content .lead {
    font-size: 1.1rem !important;
  }

  .rune-symbol {
    font-size: 3rem;
  }

  .booking-widget {
    padding: 1.5rem;
  }

  .service-card {
    margin-bottom: 1.5rem;
  }

  .timeline-container {
    padding-left: 1.5rem;
  }

  .room-gallery-item {
    height: 250px;
    margin-bottom: 1rem;
  }

  footer .col-lg-3,
  footer .col-lg-2 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content .display-3 {
    font-size: 2rem !important;
  }

  .display-4 {
    font-size: 2rem !important;
  }

  .display-5 {
    font-size: 1.75rem !important;
  }

  .display-6 {
    font-size: 1.5rem !important;
  }

  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }

  .py-5 {
    padding: 2.5rem 0 !important;
  }

  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.3rem !important;
  }

  .hero-content .display-3 {
    font-size: 1.75rem !important;
  }

  .hero-content .lead {
    font-size: 1rem !important;
  }

  .booking-widget {
    padding: 1rem;
  }

  .service-card .bi {
    font-size: 2.5rem;
  }

  .btn {
    font-size: 0.9rem !important;
  }

  .modal-dialog {
    margin: 0.5rem;
  }
}

/* === ANIMATIONS === */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* === SCROLL BEHAVIOR === */
html {
  scroll-behavior: smooth;
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-light), var(--light-blue));
}

/* === LOADING STATES === */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid var(--light-blue);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === STICKY ELEMENTS === */
.sticky-top {
  top: 80px;
  z-index: 100;
}

/* === IMAGE UTILITIES === */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* === RATIO === */
.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-4x3 {
  --bs-aspect-ratio: 75%;
}

/* === VALIDATION STATES === */
.invalid-feedback {
  display: none;
  color: #dc3545 !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545 !important;
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #28a745 !important;
}

/* === HOVER EFFECTS === */
.hover-lift {
  transition: all var(--transition-speed) ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* === NORDIC DECORATIVE ELEMENTS === */
.nordic-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  margin: 2rem 0;
  position: relative;
}

.nordic-divider::before,
.nordic-divider::after {
  content: '❄';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.nordic-divider::before {
  left: 0;
}

.nordic-divider::after {
  right: 0;
}

/* === PRINT STYLES === */
@media print {
  .navbar,
  .btn,
  footer,
  .modal {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero-section {
    height: auto;
    page-break-after: always;
  }
}