/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --bg-color: #000;
  --primary-color: #d0021b;
  --text-color: #fff;
  --font-family: 'Arial', sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: #111;
  color: var(--text-color);
  display: flex;
  min-height: 100vh;
  flex-direction: column; /* Добавить! */
}

/* Sidebar */
.sidebar {
  width: 240px;
  background-color: var(--bg-color);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;

  position: fixed;       
  top: 0;
  left: 0;
  height: 100vh;          
  z-index: 1000;          
}
/* Logo */
.logo {
  text-align: center;
  margin-bottom: 30px;
}
.logo img {
  max-width: 100px;
}

/* Navigation */
.nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 18px; 
  transition: 0.3s;
}
.nav a.active {
  color: var(--primary-color);
}
.nav a:hover {
  text-decoration: underline; 
}
/* Buy Now */
.buy-now {
  text-align: center;
  margin: 30px 0;
}
.buy-now button {
  background-color: #1a1a1a;
  color: var(--text-color);
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.buy-now button:hover {
  text-decoration: underline; 
}
.social {
  display: flex;
  gap: 20px;
  justify-content: center; /* или flex-start / flex-end */
}

.social i {
  color: white;
  font-size: 40px; /* размер иконки */
  transition: color 0.3s ease;
}

.social i:hover {
  color: #ccc; /* цвет при наведении */
}
/* HERO SECTION */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 30px;
  color: white;
  min-height: 100vh;
  overflow: hidden;
  font-family: var(--font-family);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
}

.hero-subtitle {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #fff;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 30px;
}

.hero-button {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.3s;
  display: inline-block;
  text-align: center;
}

.hero-button:hover {
  background-color: #a10015;
  text-decoration: underline;
  transform: translateY(-2px);
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
 
}

.site-footer {
  background: url('../assets/icons/footer.jpg') center/cover no-repeat;
  color: #fff;
  padding: 60px 30px 30px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.footer-col {
  text-align: center;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #fff;
}

.footer-phone {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: bold;
}

.footer-logo img {
  max-height: 80px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.footer-socials img {
  width: 30px;
  height: 30px;
  filter: invert(1);
  transition: 0.3s;
}

.footer-socials img:hover {
  filter: brightness(1.2) sepia(1) hue-rotate(-10deg) saturate(200%);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}
.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-contact p {
  margin: 3px 0;
  color: #ffffff;
  font-size: 13px;
}

footer p {
  margin: 10px 0 0;
  font-size: 12px;
  color: #ffffff;
}
.burger {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2000;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-color);
  cursor: pointer;
}
@media (max-width: 768px) {
  /* Прячем sidebar */
  .burger {
    display: block;
  }

  .sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--bg-color);
    width: 240px;
    height: 100vh;
    padding: 40px 20px;
    z-index: 1500;
    flex-direction: column;
    justify-content: space-between;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .sidebar.open {
    display: flex;
  }

  .main-content {
    margin-left: 0; /* отключаем отступ */
  }

  /* HERO адаптация */
  .hero {
    padding: 40px 20px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-text {
    font-size: 14px;
  }

  .hero-button {
    font-size: 13px;
    padding: 10px 20px;
  }

  /* FOOTER адаптация */
  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-logo img {
    max-height: 60px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-contact p {
    font-size: 12px;
  }
}
.news-section {
  padding: 80px 40px;
  background-color: #111;
  color: white;
  font-family: var(--font-family);
}

.news-header {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.news-image {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.news-intro {
  flex: 1;
  max-width: 600px;
}

.news-subtitle {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  color: #ccc;
  margin-bottom: 10px;
}

.news-title {
  color: var(--primary-color);
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.news-description {
  font-size: 16px;
  line-height: 1.6;
  color: #b07b4c;
}

/* Timeline layout */
.news-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}

.news-item {
  background-color: transparent;
  padding-left: 20px;
  border-left: 2px solid var(--primary-color);
  position: relative;
}

.news-item::before {
  content: '';
  position: absolute;
  top: 8px;
  left: -8px;
  width: 14px;
  height: 14px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.news-date {
  display: inline-block;
  background-color: #333;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.news-item-title {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.news-item p {
  font-size: 14px;
  color: #b07b4c;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-title {
    font-size: 28px;
  }

  .news-image {
    max-width: 100%;
  }

  .news-timeline {
    grid-template-columns: 1fr;
  }
}
.features-section {
  padding: 80px 40px;
  background-color: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-card {
  flex: 1;
  background-color: #1a1a1a;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-radius: 8px;
  max-width: 680px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
}

.feature-card p span {
  color: var(--primary-color);
  font-weight: bold;
}

.feature-image {
  flex: 1;
  max-width: 680px;
}

.feature-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .features-section {
    padding: 40px 20px;
    gap: 40px;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-card,
  .feature-image {
    max-width: 100%;
    width: 100%;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .feature-icon {
    margin: 0 auto 20px;
  }
}
.icons-section {
  background-color: #000;
  padding: 60px 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  text-align: center;
}

.icon-box {
  color: #b07b4c;
  max-width: 160px;
  font-size: 14px;
}

.icon-box i {
  font-size: 36px;
  margin-bottom: 10px;
  color: #b07b4c;
}
@media (max-width: 768px) {
  .icons-section {
    gap: 30px;
    padding: 40px 20px;
  }

  .icon-box {
    font-size: 13px;
  }

  .icon-box i {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .icons-section {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .icon-box {
    max-width: 100%;
    font-size: 13px;
  }
}
.custom-showcase {
  background-color: #111;
  color: #fff;
  padding: 80px 20px;
  font-family: var(--font-family);
}

.custom-showcase .container {
  max-width: 1200px;
  margin: 0 auto;
}

.custom-title h2 {
  font-size: 26px;
  color: #fff;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 40px;
}

.custom-grid {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.text-block {
  flex: 1;
  font-size: 14px;
  color: #ccc;
  line-height: 1.8;
}

.image-row {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.image-item {
  flex: 1;
  text-align: left;
}

.image-item img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
}

.image-item h4 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.image-item p {
  font-size: 13px;
  color: #b07b4c;
}

.cta-button {
  text-align: center;
  margin-top: 30px;
}

.cta-button a {
  display: inline-block;
  padding: 10px 25px;
  border: 1px solid #fff;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.cta-button a:hover {
  background-color: var(--primary-color);
  color: #000;
}

@media (max-width: 768px) {
  .custom-grid,
  .image-row {
    flex-direction: column;
  }
  .custom-title h2 {
    font-size: 20px;
  }
  .image-item img {
    max-height: 250px;
    object-fit: cover;
  }
}
.testimonials-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #111;
  color: #fff;
}

.testimonial-heading {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 180px;
}

.testimonial {
  display: none;
  transition: opacity 0.5s ease-in-out;
  padding: 0 20px;
}

.testimonial.active {
  display: block;
}

.icon-quote {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

.quote {
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.author {
  font-weight: bold;
  color: #999;
}

.testimonial-nav {
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: #555;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active,
.dot:hover {
  background-color: var(--primary-color);
}

/* Адаптация */
@media (max-width: 768px) {
  .testimonial-heading {
    font-size: 22px;
  }

  .quote {
    font-size: 16px;
  }

  .icon-quote {
    font-size: 24px;
  }

  .author {
    font-size: 14px;
  }
}
.end-banner {
  position: relative;
  background: url('../assets/images/11.webp') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}

.end-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(176deg, rgba(0, 0, 0, 0.247), rgb(5, 5, 5));
  z-index: 1;
}

.end-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.glitch {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-color);
  position: relative;
  animation: glitch 2s infinite;
  text-transform: uppercase;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.glitch::before {
  top: -2px;
  color: #0ff;
  animation: glitchTop 2s infinite;
}

.glitch::after {
  top: 2px;
  color: #f0f;
  animation: glitchBottom 2s infinite;
}

@keyframes glitch {
  0% { transform: none; }
  20% { transform: skewX(5deg); }
  40% { transform: skewX(-5deg); }
  60% { transform: skewX(5deg); }
  80% { transform: skewX(-5deg); }
  100% { transform: none; }
}

@keyframes glitchTop {
  0%, 100% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(0, 9999px, 10px, 0); }
  30% { clip: rect(5px, 9999px, 15px, 0); }
  50% { clip: rect(15px, 9999px, 30px, 0); }
  70% { clip: rect(10px, 9999px, 25px, 0); }
  90% { clip: rect(5px, 9999px, 20px, 0); }
}

@keyframes glitchBottom {
  0%, 100% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(20px, 9999px, 30px, 0); }
  30% { clip: rect(30px, 9999px, 40px, 0); }
  50% { clip: rect(10px, 9999px, 25px, 0); }
  70% { clip: rect(15px, 9999px, 30px, 0); }
  90% { clip: rect(25px, 9999px, 35px, 0); }
}

.end-sub {
  font-size: 16px;
  margin: 20px 0;
  color: #eee;
  letter-spacing: 1px;
}

.end-button {
  padding: 12px 28px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
  transition: 0.3s;
}

.end-button:hover {
  background: #a10015;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .glitch {
    font-size: 24px;
  }

  .end-sub {
    font-size: 14px;
  }
}
.car-calc-section {
  background-color: #111;
  padding: 80px 20px;
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.car-calc-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.car-calc-image {
  flex: 1;
  min-width: 300px;
  overflow: hidden;
  border-radius: 16px;
}

.car-calc-image img {
  width: 100%;
  transition: transform 0.5s ease;
  border-radius: 16px;
}

.car-calc-image:hover img {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.2);
}

.car-calc-text {
  flex: 1;
  min-width: 300px;
}

.car-calc-text h4 {
  font-size: 14px;
  letter-spacing: 2px;
  color: #d0021b;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.car-calc-text h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #fff;
}

.car-calc-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.car-calc-text li {
  font-size: 16px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}

.car-calc-text li span {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #d0021b;
}

/* Адаптив */
@media (max-width: 768px) {
  .car-calc-grid {
    flex-direction: column;
    text-align: center;
  }

  .car-calc-text h2 {
    font-size: 24px;
  }

  .car-calc-text li {
    padding-left: 0;
  }

  .car-calc-text li span {
    display: none;
  }
}
.info-section {
  background-color: #111;
  padding: 80px 20px;
  color: #fff;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.info-text {
  flex: 1 1 500px;
}

.section-subtitle {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  color: #d0021b;
  margin-bottom: 10px;
}

.section-title {
  font-size: 48px;
  font-weight: bold;
  color: #d0021b;
  margin-bottom: 20px;
}

.info-paragraph {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.info-icons {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.info-icon-box {
  flex: 1 1 240px;
  text-align: center;
}

.info-icon-box i {
  font-size: 36px;
  color: #b07b4c;
  margin-bottom: 10px;
}

.info-icon-box p {
  font-size: 14px;
  color: #ddd;
}

.info-image {
  flex: 1 1 500px;
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.faq-section {
  padding: 60px 20px;
  background: #111;
  color: var(--text-color);
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-family);
}

.faq-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 8px var(--primary-color);
}

.faq-item {
  background-color: #111;
  border: 1px solid #222;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(208, 2, 27, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: transparent;
  color: var(--text-color);
  border: none;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: rgba(208, 2, 27, 0.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #151515;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 20px;
}



#cookie-banner {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 25px 35px;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  max-width: 520px;
  animation: slideInUp 0.8s ease-out;
}

.cookie-content {
  position: relative;
}

#cookie-banner p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: #eaeaea;
}

#cookie-banner a {
  color: #fd0202;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed #fd0202;
}

#cookie-banner a:hover {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

#accept-cookies {
  background: linear-gradient(135deg, #fd0202, #fd0202);
  color: #000;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 255, 225, 0.089);
  transition: all 0.3s ease;
}

#accept-cookies:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(247, 246, 245, 0.8);
}

#close-cookie-banner {
  position: absolute;
  top: -14px;
  right: -14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  font-weight: bold;
  line-height: 28px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(163, 17, 17, 0.5);
  transition: background 0.3s ease;
}

#close-cookie-banner:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Animation */
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 40px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.content-wrapper {
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .content-wrapper {
    margin-left: 0;
  }
}
.gallery-section {
  background-color: #000;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.gallery-title {
  font-size: 32px;
  color: #d0021b;
  text-transform: uppercase;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
}

.gallery-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(208, 2, 27, 0.5);
}

.gallery-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #d0021b;
}

.modal-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  transform: translateY(-50%);
}

.modal-nav .prev,
.modal-nav .next {
  cursor: pointer;
  font-size: 48px;
  color: #fff;
  transition: color 0.3s;
  user-select: none;
}

.modal-nav .prev:hover,
.modal-nav .next:hover {
  color: #d0021b;
}
