/* Minimal responsive styles for the House in Meta scaffold */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.hero-wrapper {
  position: relative;
  margin: -2rem -1rem 4rem;
  padding: 2rem 1rem;
  min-height: 80vh;
  z-index: 1;
}

.hero-section {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  color: white;
  text-align: center;
}

.header {
  position: relative;
  z-index: 2;
  padding-top: 1rem;
}

.brand h1, .brand div {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav a {
  color: white !important;
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
}

.slideshow-image.active {
  display: block;
}

.slide-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.slide-dot.active {
  background: white;
}

@keyframes fade {
  from {opacity: 0.8}
  to {opacity: 1}
}

@keyframes flip {
  0% {
    transform: perspective(400px) rotateY(0);
  }
  100% {
    transform: perspective(400px) rotateY(360deg);
  }
}

.logo-flip {
  animation: flip 3s infinite linear;
  transform-style: preserve-3d;
}

.logo-flip:hover {
  animation-play-state: paused;
}

:root{
  --bg:#2a2a2a;  /* Dark grey background */
  --text:#e0e0e0;  /* Light grey for text */
  --card:#ffffff;
  --muted:#a0a0a0;  /* Medium grey for muted text */
  --accent:#4e8ce1;  /* Keep the blue accent */
  --glass:rgba(141, 138, 138, 0.95);  /* More opaque for better text contrast */
  --glossy-grad: linear-gradient(145deg, 
    rgba(255,255,255,0.1) 0%, 
    rgba(255,255,255,0.05) 50%,
    rgba(255,255,255,0.02) 100%
  );
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  min-height:100vh;
  margin:0;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  color:var(--text);
  background: var(--bg);
  background-image: url('/assets/images/aex-1.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(42,42,42,0.85) 0%, 
    rgba(42,42,42,0.75) 100%
  );
  z-index: 0;
}
@keyframes gradient {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}
.container{
  max-width:980px;
  margin:2rem auto;
  padding:1rem;
  position: relative;
  z-index: 1;
}
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.brand{
  display:flex;
  align-items:center;
  gap:.75rem;
}
.brand h1 {
  color:white !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.brand div {
  color:white !important;
}
.logo{
  width:44px;
  height:44px;
  border-radius:8px;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
}
nav a {
  color:white !important;
  text-decoration:none;
  margin: 0 0.5rem;
  opacity:0.9;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 8px;
}

nav a:hover {
  opacity:1;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media(max-width:900px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

.hero{
  margin-top:2rem;
  padding:2rem;
  border-radius:12px;
  background: var(--glossy-grad);
  box-shadow: 
    0 4px 24px rgba(0,0,0,0.1),
    inset 0 1px 1px rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.grid{display:grid;grid-template-columns:1fr 320px;gap:1.5rem;margin-top:1rem}
.card{
  background: var(--glossy-grad);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 
    0 4px 24px rgba(0,0,0,0.1),
    inset 0 1px 1px rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.15),
    inset 0 1px 1px rgba(255,255,255,0.2);
}
.footer{text-align:center;color:var(--muted);margin-top:2rem;padding:2rem 0}
/* Mobile Breadcrumbs Styles */
.mobile-breadcrumbs {
  display: none;
}

.mobile-breadcrumbs.active .mobile-nav-items {
  display: block !important;
}

.mobile-breadcrumbs.active .current-section span:last-child {
  transform: rotate(180deg) !important;
}

.mobile-breadcrumbs a:hover {
  opacity: 1 !important;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

@media(max-width:900px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .header {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  nav {
    display: none !important;
  }
  .mobile-breadcrumbs {
    display: block !important;
  }
  .brand {
    flex-direction: column;
    text-align: center;
  }
}
