/* ISA School - Design System & Styles */
/* مدرسة صناعة الحياة */

/* ============================================
   CSS Variables - Design Tokens
   ============================================ */
:root {
  /* Brand Colors */
  --primary-red: #8B2332;
  --primary-red-dark: #6d1b28;
  --primary-red-light: #a62d3f;
  --teal: #2D8B9A;
  --teal-dark: #237380;
  --teal-light: #3ba3b3;

  /* Neutral Colors */
  --dark: #1a1a2e;
  --dark-gray: #2d2d44;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --lighter-gray: #f3f4f6;
  --white: #ffffff;
  --off-white: #f8f9fa;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  --gradient-teal: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(139, 35, 50, 0.95) 0%, rgba(45, 139, 154, 0.9) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* Typography */
  --font-arabic: 'Cairo', sans-serif;
  --font-english: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(139, 35, 50, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--off-white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: var(--font-arabic);
}

body[dir="ltr"] {
  font-family: var(--font-english);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  color: var(--dark);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--gray);
  max-width: 600px;
  margin: var(--space-lg) auto 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background: var(--primary-red);
  color: var(--white);
}

.btn-teal {
  background: var(--gradient-teal);
  color: var(--white);
}

.btn-teal:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-red);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-weight: 500;
  color: var(--dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--primary-red);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--lighter-gray);
  border-radius: var(--radius-full);
  padding: 4px;
}

.lang-btn {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  color: var(--gray);
}

.lang-btn.active {
  background: var(--primary-red);
  color: var(--white);
}

.lang-btn:hover:not(.active) {
  color: var(--dark);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 150px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  width: 150px;
  height: auto;
  margin: 0 auto var(--space-xl);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-title {
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  background: var(--white);
  color: var(--primary-red);
}

.hero-btn:hover {
  background: var(--off-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.hero-btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.hero-btn-outline:hover {
  background: var(--white);
  color: var(--primary-red);
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: floatShape 15s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 5%;
  animation-delay: -5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 10%;
  animation-delay: -10s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(20px, -20px) rotate(5deg);
  }

  50% {
    transform: translate(0, -30px) rotate(0deg);
  }

  75% {
    transform: translate(-20px, -20px) rotate(-5deg);
  }
}

/* ============================================
   About Section
   ============================================ */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-red);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--lighter-gray);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.feature-item:hover {
  background: var(--primary-red);
  color: var(--white);
  transform: translateX(5px);
}

[dir="rtl"] .feature-item:hover {
  transform: translateX(-5px);
}

.feature-icon {
  font-size: 1.5rem;
}

/* ============================================
   Activities Gallery
   ============================================ */
.activities {
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(139, 35, 50, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}

.gallery-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: var(--space-xs);
}

/* ============================================
   News Ticker
   ============================================ */
.news-section {
  background: var(--dark);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.news-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.news-badge {
  background: var(--primary-red);
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  white-space: nowrap;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.news-ticker-wrapper {
  overflow: hidden;
  flex: 1;
}

.news-ticker {
  display: flex;
  animation: ticker 30s linear infinite;
}

.news-ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

[dir="rtl"] .news-ticker {
  animation: ticker-rtl 30s linear infinite;
}

@keyframes ticker-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

.news-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--white);
  padding: 0 var(--space-2xl);
  white-space: nowrap;
}

.news-item::after {
  content: '•';
  color: var(--teal);
  margin-right: var(--space-lg);
}

[dir="rtl"] .news-item::after {
  margin-right: 0;
  margin-left: var(--space-lg);
}

/* ============================================
   E-Library Section
   ============================================ */
.library {
  background: var(--white);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.book-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.book-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.book-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.book-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.book-category {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.book-btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.9rem;
}

/* ============================================
   Schedule Section
   ============================================ */
.schedule {
  background: var(--off-white);
}

.schedule-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.schedule-table {
  width: 100%;
  background: var(--white);
  border-collapse: collapse;
  min-width: 600px;
}

.schedule-table th,
.schedule-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  border: 1px solid var(--light-gray);
}

.schedule-table th {
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 600;
}

.schedule-table tbody tr:nth-child(even) {
  background: var(--lighter-gray);
}

.schedule-table tbody tr:hover {
  background: rgba(139, 35, 50, 0.05);
}

.schedule-cell {
  font-weight: 500;
}

.schedule-time {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  background: var(--dark);
  color: var(--white);
}

.contact .section-title {
  color: var(--white);
}

.contact .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: var(--transition-normal);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.contact-info {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--teal-light);
}

.contact-info a:hover {
  color: var(--white);
}

.whatsapp-btn {
  margin-top: var(--space-2xl);
  background: #25D366;
  color: var(--white);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: scale(1.05);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-xl) 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo img {
  height: 40px;
}

.footer-logo span {
  color: var(--white);
  font-weight: 600;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

/* ============================================
   Bilingual Support
   ============================================ */
[data-lang="ar"] {
  display: none;
}

[data-lang="en"] {
  display: none;
}

[dir="rtl"] [data-lang="ar"] {
  display: block;
}

[dir="rtl"] [data-lang="en"] {
  display: none;
}

[dir="ltr"] [data-lang="ar"] {
  display: none;
}

[dir="ltr"] [data-lang="en"] {
  display: block;
}

/* Inline variants */
span[data-lang="ar"],
a[data-lang="ar"],
button[data-lang="ar"] {
  display: none;
}

span[data-lang="en"],
a[data-lang="en"],
button[data-lang="en"] {
  display: none;
}

[dir="rtl"] span[data-lang="ar"],
[dir="rtl"] a[data-lang="ar"],
[dir="rtl"] button[data-lang="ar"] {
  display: inline;
}

[dir="ltr"] span[data-lang="en"],
[dir="ltr"] a[data-lang="en"],
[dir="ltr"] button[data-lang="en"] {
  display: inline;
}

/* ============================================
   Animations & Scroll Effects
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image {
    order: -1;
  }

  .about-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  .nav-list {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav.active .nav-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    gap: var(--space-sm);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 100px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .library-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--primary-red);
  transform: scale(1.2);
}