/* ===================================
   CSS CUSTOM PROPERTIES & IMPORTS
   =================================== */

/* CSS Custom Properties for Easy Theme Changes */
:root {
  --accent-color: #dc2626;
  /* Red */
  --background-color: #000000;
  --text-color: #ffffff;
  --card-background: #1a1a1a;
  --secondary-background: #111111;
  --border-color: #333333;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --overlay-color: rgba(0, 0, 0, 0.7);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --max-width: 1200px;
}

/* ===================================
   GLOBAL STYLES
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  line-height: 1;
}

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

.btn-primary:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* ===================================
   SECTIONS
   =================================== */

.section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  padding: 1rem 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex: 1;
}

.nav-logo .logo {
  height: 80px;
  width: auto;
  max-width: 350px;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

.nav-logo .logo:hover {
  transform: scale(1.05);
}

/* Ensure logo is visible on scrolled header */
.header.scrolled .nav-logo .logo {
  height: 70px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: flex-end;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background-color: var(--background-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.brand-logo {
  max-width: 90%;
  width: auto;
  height: auto;
  max-height: 400px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.8));
  transition: var(--transition);
}

.brand-logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(4px 4px 16px rgba(0, 0, 0, 0.9));
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-arrow-container {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 1;
}

.hero-arrow {
  color: var(--accent-color);
  animation: fadeInOut 3s infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 8px;
}

.hero-arrow:hover {
  transform: scale(1.2);
}

.hero-arrow svg {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
  stroke-width: 2;
  width: 48px;
  height: 48px;
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services {
  background-color: var(--background-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--card-background);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent-color);
}

.service-icon {
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.service-title {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-secondary);
}

/* ===================================
   GALLERY SECTION
   =================================== */

.gallery {
  background-color: var(--secondary-background);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.1);
}

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

.gallery-overlay {
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0.95));
  color: var(--text-color);
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: var(--transition);
}

.gallery-title {
  margin: 0;
  color: var(--text-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.4s ease;
  transform: translateY(0);
  line-height: 1.3;
  position: absolute;
  bottom: 0.75rem;
  left: 1.5rem;
  right: 1.5rem;
}

.gallery-subtitle {
  margin: 0;
  color: var(--accent-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px rgba(0, 0, 0, 0.5);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.4s ease;
  transform: translateY(40px);
  line-height: 1.3;
  position: absolute;
  bottom: 0.75rem;
  left: 1.5rem;
  right: 1.5rem;
}

/* Desktop hover behavior */
@media (min-width: 769px) {
  .gallery-item:hover .gallery-title {
    transform: translateY(-25px);
  }

  .gallery-item:hover .gallery-subtitle {
    transform: translateY(0);
  }
}

/* Mobile: show text overlay by default, no hover state */
@media (max-width: 768px) {
  .gallery-title {
    transform: translateY(-25px);
  }

  .gallery-subtitle {
    transform: translateY(0);
  }

  /* Disable all hover effects on mobile */
  .gallery-item:hover {
    transform: none;
  }

  .gallery-item:hover .gallery-title {
    transform: translateY(-25px);
  }

  .gallery-item:hover .gallery-subtitle {
    transform: translateY(0);
  }
}

.gallery-hidden {
  display: none;
  opacity: 0;
}

.gallery-hidden {
  display: none;
  opacity: 0;
}

.gallery-hidden.show {
  display: block;
  opacity: 1;
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-actions {
  text-align: center;
}

/* ===================================
   WHY CHOOSE US SECTION
   =================================== */

.why-choose-us {
  background-color: var(--background-color);
}

.why-choose-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.why-choose-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: var(--text-secondary);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-choose-item {
  background-color: var(--card-background);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent-color);
}

.why-choose-icon {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.why-choose-item h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.why-choose-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}



/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials {
  background-color: var(--secondary-background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.testimonial-card {
  background: linear-gradient(145deg, var(--card-background) 0%, #1f1f1f 100%);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(210, 255, 29, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(210, 255, 29, 0.3);
}

.testimonial-quote {
  margin-bottom: 2rem;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  display: none;
}

.quote-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 400;
  margin-bottom: 1.5rem;
  position: relative;
  font-style: italic;
}

.quote-text::before,
.quote-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--accent-color);
  opacity: 0.3;
  font-family: serif;
  position: absolute;
  line-height: 1;
}

.quote-text::before {
  top: -2px;
  left: -8px;
}

.quote-text::after {
  bottom: -8px;
  right: -8px;
}



.testimonial-author {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(210, 255, 29, 0.2);
  margin-top: auto;
}

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

.author-name {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
  font-weight: 500;
}

.author-company {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 400;
}



/* ===================================
   CLIENTS SECTION
   =================================== */

.clients {
  background-color: var(--background-color);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  transition: var(--transition);
}

.client-logo:hover,
.client-logo.active {
  transform: scale(1.05);
}

.client-image {
  max-width: 100%;
  height: auto;
  opacity: 0.8;
  transition: var(--transition);
  filter: grayscale(100%);
}

.client-logo:hover .client-image,
.client-logo.active .client-image {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background-color: var(--secondary-background);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-section:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
  }
}

.footer-section h3 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  letter-spacing: 0.5px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

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

.social-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 60px 0;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }

  /* Mobile Navigation */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 1rem 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .nav-actions .btn {
    display: none;
  }

  /* Logo Mobile Styles */
  .nav-logo .logo {
    height: 60px;
    max-width: 250px;
  }

  .header.scrolled .nav-logo .logo {
    height: 50px;
  }

  /* Hero Section Mobile */
  .hero {
    height: 100dvh;
    /* Dynamic viewport height that accounts for mobile browser UI */
  }

  .brand-logo {
    max-height: 250px;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Why Choose Us Mobile */
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-item {
    padding: 1.5rem;
  }


  /* Testimonials Mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.5rem;
  }

  .why-choose-item {
    padding: 1.25rem;
  }

  .certification-item {
    padding: 1.25rem;
  }

  .testimonial-card {
    padding: 1.5rem 1rem;
  }

  /* Clients Mobile */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
  }

  /* Footer Mobile */
  .footer {
    padding: 50px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-section {
    padding: 0;
  }

  .footer-section h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: 0.5px;
  }

  .footer-section h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-info p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0;
    padding: 0.5rem 0;
    transition: var(--transition);
  }

  .contact-info p:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
  }

  .social-links {
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
  }

  .social-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 0;
    position: relative;
    transition: var(--transition);
  }

  .social-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
  }

  .social-link:hover::after {
    width: 100%;
  }

  .footer-links {
    margin-top: 0.5rem;
  }

  .footer-links li {
    margin-bottom: 1rem;
  }

  .footer-links a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: inline-block;
    position: relative;
    transition: var(--transition);
  }

  .footer-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
  }

  .footer-links a:hover::after {
    width: 100%;
  }

  .footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 15px;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    height: 80vh;
  }

  .brand-logo {
    max-height: 200px;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  }

  .service-card {
    padding: 1rem;
  }

  .testimonial-card {
    padding: 1.25rem 0.75rem;
  }

  .quote-text {
    font-size: 1rem;
  }



  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
  }

  /* Enhanced Footer Mobile for smaller screens */
  .footer {
    padding: 40px 0 25px;
  }

  .footer-content {
    gap: 2.5rem;
  }

  .footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
  }

  .footer-section h3::after {
    width: 40px;
    height: 2px;
  }

  .contact-info p {
    font-size: 1rem;
  }

  .social-links {
    gap: 1.5rem;
  }

  .social-link {
    font-size: 1rem;
  }

  .footer-links a {
    font-size: 1rem;
  }

  .footer-bottom {
    margin-top: 2.5rem;
    font-size: 0.95rem;
  }
}

/* ===================================
   MOBILE PHONE NUMBER STYLING
   =================================== */

/* Override mobile browser default blue color for phone links */
a[href^="tel:"] {
  color: var(--accent-color) !important;
  text-decoration: none;
}

a[href^="tel:"]:hover {
  color: var(--accent-color) !important;
  text-decoration: underline;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

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

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

/* ===================================
   IMAGE MODAL
   =================================== */

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  display: flex;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.modal-content {
  position: relative;
  margin: auto;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 3rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--accent-color);
  transform: scale(1.1);
}

.modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-info {
  margin-top: 2rem;
  text-align: center;
  max-width: 600px;
}

.modal-title {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.modal-description {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1.1rem;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .modal-close {
    top: -40px;
    font-size: 2.5rem;
    width: 40px;
    height: 40px;
  }

  .modal-image {
    max-height: 70vh;
  }

  .modal-info {
    margin-top: 1rem;
    padding: 0 1rem;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .modal-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .modal-close {
    top: -35px;
    font-size: 2rem;
    width: 35px;
    height: 35px;
  }

  .modal-image {
    max-height: 60vh;
  }

  .modal-title {
    font-size: 1.2rem;
  }

  .modal-description {
    font-size: 0.9rem;
  }
}