/* CSS Variables */
:root {
  --primary: #111111;
  --secondary: #e11d48;
  --bg: #f9fafb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #f3f4f6;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: var(--card);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-logo a {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-subscribe {
  background: var(--secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background: #be123c;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.5;
}

.btn-primary {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: #be123c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}

/* Animation Classes */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.animate-fade-up:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-fade-up:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Fashion Articles Section */
.fashion-articles {
  padding: 6rem 0;
  background: var(--card);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.article-card.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow-lg);
}

.article-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.article-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.article-excerpt {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.article-link {
  color: var(--secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.article-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.article-link:hover::after {
  transform: translateX(5px);
}

/* Beauty & Lifestyle Section */
.beauty-lifestyle {
  padding: 6rem 0;
  background: var(--bg);
}

.lifestyle-grid {
  display: grid;
  gap: 2rem;
}

.lifestyle-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
}

.lifestyle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-lg);
}

.lifestyle-card:nth-child(even) {
  direction: rtl;
}

.lifestyle-card:nth-child(even) .lifestyle-content {
  direction: ltr;
}

.lifestyle-image {
  height: 300px;
}

.lifestyle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lifestyle-category {
  display: inline-block;
  background: var(--light);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.lifestyle-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.lifestyle-excerpt {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.lifestyle-link {
  color: var(--secondary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lifestyle-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.lifestyle-link:hover::after {
  transform: translateX(5px);
}

/* Trending Section */
.trending {
  padding: 6rem 0;
  background: var(--card);
}

.trending-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.trending-wrapper {
  overflow: hidden;
  border-radius: 20px;
}

.trending-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.trending-slide.active {
  display: block;
  opacity: 1;
}

.trending-content {
  position: relative;
  height: 400px;
}

.trending-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trending-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
}

.trending-tag {
  display: inline-block;
  background: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.trending-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.trending-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.trending-prev,
.trending-next {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.trending-prev:hover,
.trending-next:hover {
  background: white;
  transform: scale(1.1);
}

.trending-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--secondary);
  transform: scale(1.2);
}

/* Gallery Section */
.gallery {
  padding: 6rem 0;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: white;
  font-size: 2rem;
  font-weight: 300;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  font-weight: 300;
}

#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--card);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 15px;
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.feature-content p {
  color: var(--muted);
  margin: 0;
}

.about-image {
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background: var(--bg);
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.testimonial-content {
  background: var(--card);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
}

.testimonial-text {
  margin-bottom: 2rem;
}

.testimonial-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary);
}

.author-info span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background: var(--card);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--secondary);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.6;
}

/* Subscribe Section */
.subscribe {
  padding: 6rem 0;
  background: var(--secondary);
}

.subscribe-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.subscribe-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.subscribe-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.error-message {
  color: #fef2f2;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 15px;
}

.contact-item h4 {
  margin: 0 0 0.25rem 0;
  color: var(--primary);
}

.contact-item p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow);
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
}

.newsletter-form button {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #be123c;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* Notification */
.notification {
  position: fixed;
  top: 100px;
  right: -400px;
  background: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  transition: right 0.3s ease;
}

.notification.show {
  right: 20px;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-icon {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--card);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: 0 2px 20px var(--shadow);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lifestyle-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lifestyle-card:nth-child(even) {
    direction: ltr;
  }

  .lifestyle-image {
    height: 250px;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trending-nav {
    display: none;
  }

  .subscribe-form {
    gap: 1rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }

  .filter-tabs {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .gallery-item {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .nav-container {
    padding: 0 0.5rem;
  }

  .hero-content {
    padding: 0 0.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .lifestyle-content,
  .article-content {
    padding: 1rem;
  }

  .testimonial-content {
    padding: 2rem 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Print Styles */
@media print {
  .header,
  .hero,
  .trending,
  .gallery,
  .testimonials,
  .subscribe,
  .contact,
  .footer {
    display: none;
  }

  .fashion-articles,
  .beauty-lifestyle,
  .about,
  .faq {
    break-inside: avoid;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary: #000000;
    --secondary: #ff0000;
    --bg: #ffffff;
    --card: #ffffff;
    --text: #000000;
    --muted: #333333;
    --border: #000000;
  }
}

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
