/* steadli/app/static/css/main.css */

:root {
 /* Colors */
 --primary: #5208E7;
 --background: #F6F6F6;
 --dark-background: #220165;
 --text: #1E1E1E;
 --gray-light: #A4A7AE;
 --nav-link: #1E1E1E;
 --nav-link-hover: #5208E7;

 
 /* Spacing */
 --spacing-sm: 0.5rem;  
 --spacing-md: 1rem;
 --spacing-lg: 2rem;
 
 /* Border */
 --border-radius: 4px;
 --border-width: 1px;
 --border-color: var(--gray-light);
}

.devoutline {
  border:1px solid red;
}

body {
 background-color: var(--background);
 background: url(http://static.steadli.com/images/glows.png);
 background-repeat: no-repeat;
 background-position: top center;
 background-size: 100%;
 
 color: var(--text);

 font-family: "Inter", sans-serif;
 font-optical-sizing: auto;
 font-style: normal;
}

/*  Google Web Fonts  */
.inter-400 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.playfair-display-400 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* Typography */
h1.headline {
  font-size: 2.6em;
  line-height: 1.2em;
}

@media (min-width: 640px) {
  h1.headline {
    font-size: 3em;
  }
}

@media (min-width: 1024px) {
  h1.headline {
    font-size: 3em;
  }
}

/* Regular h2 sizing */
h2 {
  font-size: 1.5rem;
}

.remember {
  color: #2C0084;
  /* No font-size reduction to match surrounding text */
}


.nav-container {
    background-color: var(--dark-background);
    max-width: 1200px;
    border-radius: var(--border-radius);
    margin: var(--spacing-lg) auto;
    /*border: var(--border-width) solid var(--border-color);*/
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.main-content {
    /*background-color: var(--gray-light);*/
    max-width: 1200px;
    border-radius: var(--border-radius);
    margin: var(--spacing-lg) auto;
    font-size: .7em;
    /*border: var(--border-width) solid var(--border-color);*/
    padding-left: 1em;
    padding-right:1em;
}
.footer-content {
    max-width: 1200px;
    border-radius: var(--border-radius);
    margin: var(--spacing-lg) auto;
}

/* Action Area */
.action-area {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.action-area > div, 
.flex.overflow-x-auto > div {
  transition: transform 0.2s, box-shadow 0.2s;
}

.action-area > div:hover,
.flex.overflow-x-auto > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Hide scrollbar but keep functionality */
.overflow-x-auto {
  -ms-overflow-style: none;  /* Internet Explorer and Edge */
  scrollbar-width: none;  /* Firefox */
}
.overflow-x-auto::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}

/* Layout spacing and consistency */
@media (min-width: 1280px) {
  .max-w-6xl {
    max-width: 72rem; /* 1152px */
  }
}

/* Check Ins */
.checkin-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  
  box-shadow: inset 0 -3px 2px rgba(0, 0, 0, 0.1);
}

/* navigation */
.nav-link {
  color: var(--nav-link);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary);
}
.button-primary {
  background-color: var(--primary);
  color: #ffffff;
}
.button-primary:hover {
  background-color: var(--dark-background);
  color: #ffffff;
}
/* Card General */
.card-general {
  /* background-image: url(../images/cardglows.png); */
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100%;
}

/* quote carousel dots */
.carousel-dot {
  @apply w-16 h-2 bg-[#5208E7] rounded transition-colors duration-300;
  background-color: #5208E7; /* fallback in case Tailwind purges it */
}

.carousel-dot--active {
  @apply bg-[#9864FF];
}

/*  DETAILS  */
.eyebrow {
  color: var(--primary); 
  font-size:1em;
  font-weight: 600;
}

/* 3D Flip Card Animation */
.flip-card-container {
  perspective: 1000px;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-height: inherit;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  min-height: inherit;
  backface-visibility: hidden;
  border-radius: 0.375rem; /* rounded-md */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  overflow: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.flip-card.flipped {
  transform: rotateY(180deg);
}

/* Add a subtle glow effect when flipping */
@keyframes card-glow {
  0% { box-shadow: 0 0 5px rgba(82, 8, 231, 0.2); }
  50% { box-shadow: 0 0 15px rgba(82, 8, 231, 0.4); }
  100% { box-shadow: 0 0 5px rgba(82, 8, 231, 0.2); }
}

.flip-card.flipping {
  animation: card-glow 0.8s ease-in-out;
}