/* ========================================
   Hamsat - Vanilla CSS Stylesheet
   ======================================== */

/* CSS Variables */
:root {
  /* Colors */
  --cream: #F5EFE6;
  --charcoal: #3D3A37;
  --dusty-rose: #E6A8A5;
  
  --background: var(--cream);
  --foreground: var(--charcoal);
  --primary: var(--charcoal);
  --primary-foreground: var(--cream);
  --secondary: #E8E2D9;
  --secondary-foreground: var(--charcoal);
  --muted: #D4CEC5;
  --muted-foreground: #6B6560;
  --accent: var(--dusty-rose);
  --accent-foreground: var(--charcoal);
  --border: #D4CEC5;
  
  /* Typography */
  --font-serif: 'Vogue', 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 8rem;
  --container-max: 80rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slower: 0.7s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

/* Utility Classes */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden {
  display: none !important;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--secondary);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.badge-charcoal {
  background-color: var(--charcoal);
  color: var(--cream);
}

/* Navigation */
.nav, .navb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(245, 239, 230, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.3s ease;
}

.nav-container, .nav-cont {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}



.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  transition: color var(--transition-normal);
}

.nav-logo:hover {
  color: var(--primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(61, 58, 55, 0.8);
  font-weight: 500;
  transition: color var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary);
}

/* Language Dropdown */
.language-dropdown {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  min-width: 120px;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #111827;
  font-size: 14px;
}

.dropdown-item:hover {
  background: #f3f4f6;
}

.language-dropdown:hover .dropdown-menu,
.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--secondary);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  color: var(--foreground);
  transition: color var(--transition-normal);
}

.mobile-menu-btn:hover {
  color: var(--primary);
}

.mobile-nav {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: rgba(61, 58, 55, 0.8);
  font-weight: 500;
  transition: color var(--transition-normal);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.slider-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-slower);
}

.slide.active {
  opacity: 1;
}

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent, rgba(0, 0, 0, 0.5));
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(245, 239, 230, 0.8);
  backdrop-filter: blur(4px);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: all var(--transition-normal);
  z-index: 10;
}

.slider-btn:hover {
  background-color: var(--background);
}

.slider-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.slider-prev {
  left: 2rem;
}

.slider-next {
  right: 2rem;
}

/* Sections */
.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background-color: rgba(232, 226, 217, 0.3);
}

.section-gradient {
  background: linear-gradient(to bottom, rgba(232, 226, 217, 0.2), var(--background));
}

.section-gradient-accent {
  background: linear-gradient(to bottom, rgba(230, 168, 165, 0.2), var(--background));
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.8;
}

/* About Section */
.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.about-image {
  order: 2;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-slower);
}

.image-wrapper:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

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

.about-content {
  order: 1;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.about-text .text-accent {
  color: var(--primary);
  font-weight: 500;
}

/* Team Section */
.team-grid {
  display: grid;
  gap: 2.5rem;
}

.team-card {
  cursor: pointer;
  transition: transform var(--transition-slow);
}

.team-card:hover {
  transform: translateY(-0.5rem);
}

.team-image {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-slow);
}

.team-card:hover .team-image {
  box-shadow: var(--shadow-xl);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-info {
  text-align: center;
}

.team-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Stories Section */
.stories-grid {
  display: grid;
  gap: 2.5rem;
}

.story-card {
  cursor: pointer;
  transition: transform var(--transition-slow);
  height: 100%;
}

.story-card:hover {
  transform: translateY(-0.5rem);
}

.story-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 3/4;
  margin-bottom: 1.25rem;
  height: 520px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.story-card:hover .story-image img {
  transform: scale(1.1);
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
  opacity: 0.6;
  transition: opacity var(--transition-slow);
}

.story-card:hover .story-overlay {
  opacity: 1;
}

.story-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
  transition: transform var(--transition-slow);
  inset: 1;
  z-index: 1;
}

.story-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.story-author {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.story-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(1rem);
  transition: all var(--transition-slow);
}

.story-card:hover .story-excerpt {
  opacity: 1;
  transform: translateY(0);
}

.story-link {
  text-align: center;
}

.story-link span {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition-normal);
}

.story-link span:hover {
  color: var(--accent);
}

/* Quote Section */
.quote-section {
  padding: var(--section-padding) 0;
  background-color: var(--charcoal);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.quote-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  background-color: rgba(245, 239, 230, 0.05);
  animation: float 6s ease-in-out infinite;
}

.quote-decoration-1 {
  top: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
}

.quote-decoration-2 {
  bottom: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  animation-delay: 1s;
}

.quote-content {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
}

.quote-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 2rem;
  opacity: 0.3;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.quote-author {
  font-size: 1.25rem;
  opacity: 0.8;
}

/* Steps Section */
.steps-grid {
  display: grid;
  gap: 3rem;
}

.step-card {
  text-align: center;
  transition: transform var(--transition-slow);
}

.step-card:hover {
  transform: translateY(-0.5rem);
}

.step-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-slower);
}

.step-card:hover .step-icon {
  background-color: var(--accent);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.step-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-description {
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  padding: 0 4rem;
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
  gap: 1rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(245, 239, 230, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: all var(--transition-normal);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--background);
}

.carousel-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* Author Cards */
.author-card {
  flex: 0 0 100%;
  padding: 0.5rem;
  cursor: pointer;
  transition: transform var(--transition-slow);
}

.author-card:hover {
  transform: translateY(-0.5rem);
}

.author-image {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 1;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-slow);
}

.author-card:hover .author-image {
  box-shadow: var(--shadow-xl);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.author-card:hover .author-image img {
  transform: scale(1.1);
}

.author-bio {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.author-card:hover .author-bio {
  opacity: 1;
}

.author-bio p {
  color: white;
  font-size: 0.875rem;
  line-height: 1.6;
}

.author-info {
  text-align: center;
}

.author-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.author-link {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition-normal);
}

.author-link:hover {
  color: var(--accent);
}

/* City Cards */
.city-card {
  flex: 0 0 100%;
  padding: 0.5rem;
}

.city-image {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
}

.city-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.city-card:hover .city-image img {
  transform: scale(1.1);
}

.city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.city-card:hover .city-overlay {
  opacity: 1;
}

.city-name {
  color: white;
  font-size: 1.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--background);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-0.5rem);
}

.testimonial-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--foreground);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Newsletter */
.newsletter-content {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--background);
  font-size: 1rem;
  transition: border-color var(--transition-normal);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Footer */
.footer {
  padding: 3rem 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-description {
  color: rgba(245, 239, 230, 0.8);
  line-height: 1.8;
  max-width: 28rem;
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: rgba(245, 239, 230, 0.8);
  margin-bottom: 0.5rem;
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--primary-foreground);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 239, 230, 0.2);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(245, 239, 230, 0.8);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(245, 239, 230, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-normal);
}

.social-link:hover {
  background-color: rgba(245, 239, 230, 0.2);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 100;
  transform: translateY(100%);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Scroll Animations */
.scroll-animate,
.scroll-animate-left,
.scroll-animate-right,
.scroll-animate-scale {
  opacity: 0;
  transition: all 0.6s ease-out;
}

.scroll-animate {
  transform: translateY(30px);
}

.scroll-animate-left {
  transform: translateX(-30px);
}

.scroll-animate-right {
  transform: translateX(30px);
}

.scroll-animate-scale {
  transform: scale(0.9);
}

.scroll-animate.in-view,
.scroll-animate-left.in-view,
.scroll-animate-right.in-view,
.scroll-animate-scale.in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-image {
    order: 1;
  }
  
  .about-content {
    order: 2;
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .author-card {
    flex: 0 0 50%;
  }
  
  .city-card {
    flex: 0 0 50%;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .newsletter-form {
    flex-direction: row;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .author-card {
    flex: 0 0 33.333%;
  }
  
  .city-card {
    flex: 0 0 33.333%;
  }
}


.user-dropdown {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 6px 0;
}

.text-danger {
  color: #dc2626;
}


.mobile-user-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.mobile-user-header {
  font-weight: 600;
  font-size: 15px;
  color: #111827;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-user-link {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
}

.mobile-user-link:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

.mobile-user-link.logout {
  color: #dc2626;
  font-weight: 500;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--cream);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-family: 'Vogue', Georgia, serif;
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.legal-header .last-updated {
    color: var(--charcoal-60);
    font-size: 0.9rem;
}

.legal-content {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: 'Vogue', Georgia, serif;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--dusty-rose);
}

.legal-section h3 {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin: 20px 0 12px;
    font-weight: 600;
}

.legal-section p {
    color: var(--charcoal-80);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-section ul li {
    color: var(--charcoal-80);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-section .contact-info {
    background: var(--cream);
    padding: 20px;
    border-radius: 8px;
    margin-top: 16px;
}

.legal-section .contact-info p {
    margin-bottom: 4px;
}

.legal-back {
    text-align: center;
    margin-top: 40px;
}

.btn-leg {
    background: transparent;
    border: 2px solid var(--charcoal);
    color: var(--charcoal);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-leg:hover {
    background: var(--charcoal);
    color: white;
}

@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 24px;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
}

