/* ========================================================================= */
/*                                  IMPORTS                                  */
/* ========================================================================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Source+Code+Pro:wght@400;600&display=swap");

/* ========================================================================= */
/*                              CUSTOM PROPERTIES                            */
/* ========================================================================= */
:root {
  --light-gray: hsl(0, 0%, 80%);
  --white: hsl(0, 0%, 100%);

  --ff-poppins: "Poppins", sans-serif;
  
  --fs-1: 2.8rem;
  --fs-2: 1.8rem;
  --fs-3: 1.5rem;
  --fs-4: 1.3rem;
  --fs-5: 1.1rem;
  --fs-6: 0.9rem;

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;
  --fw-900: 900;

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;

  --blur3: 3px;
  --blur4: 4px;
  --blur5: 5px;
  --blur6: 6px;
  --blur7: 7px;

  --opacity-1: 0.0;
  --opacity-2: 0.05;
  --opacity-3: 0.45;

  --b-radius: 12px;

}

/* ========================================================================= */
/*                                   RESET                                   */
/* ========================================================================= */
*,
*::before,
*::after {
  margin: 0;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
}

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

html {
  font-family: var(--ff-poppins);
  scroll-behavior: smooth;
}

body {
  background-image: url("../images/bg.jpg");
/*   backdrop-filter: blur(7px); */
  /* background-color: #171e29; */
  /* background-color: #111; */
  background-size: cover;
  /* background-repeat: repeat; */
  /* background-position: center; */
  background-attachment: fixed;
}

body.active {
  overflow: hidden;
}

/* ========================================================================= */
/*                           REUSED & BASE STYLES                            */
/* ========================================================================= */
a,
button,
ion-icon {
  color: inherit;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

h2,
h3,
h4 {
  color: rgba(245, 245, 245, 0.85);
}

h2 {
  font-size: var(--fs-1);
}

h3 {
  font-size: var(--fs-2);
}

h4 {
  font-size: var(--fs-4);
  font-weight: 600;
}

h5 {
  font-size: var(--fs-6);
}

strong {
  color: hsl(0, 0%, 66%);
  font-weight: bolder;
}

a {
  color: hsl(0, 0%, 66%);
  /* transition: var(--transition-1); */
}

h2 {
  font-size: var(--fs-1);
  padding: 30px 20px 10px 20px;
  text-align: left;
  color: rgb(167, 167, 167);
}

p {
  font-size: 1.1rem;
}

time {
  display: block;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  color: hsl(0, 0%, 66%);
  font-size: 15px;
  padding-bottom: 10px;
}

/* ========================================================================= */
/*                                MAIN LAYOUT                                */
/* ========================================================================= */
main {
  margin-inline: auto;
  padding-inline: 0px;
}

#home-section,
#research-interests-section,
#publications-section,
#cv-section,
#ongoing-projects-section,
#conference-presentations-section,
#blog-section,
#contact-section {
  scroll-margin-top: 70px;
}

@media (max-width: 760px) {
  #home-section,
  #research-interests-section,
  #publications-section,
  #cv-section,
  #ongoing-projects-section,
  #conference-presentations-section,
  #blog-section,
  #contact-section {
  scroll-margin-top: 120px;
  }
}

@media (max-width: 550px) {
  #home-section,
  #research-interests-section,
  #publications-section,
  #cv-section,
  #ongoing-projects-section,
  #conference-presentations-section,
  #blog-section,
  #contact-section {
  scroll-margin-top: 200px;
  }
}


.thick-line {
  height: 4px;
  background-color: #b9b9b9;
  width: 60%;
  margin: 2rem auto;
  border-radius: 16px;
}

.thin-line {
  height: 4px;
  background-color: #b9b9b9;
  width: 30%;
  margin: 2rem auto;
  border-radius: 16px;
}

.under-line {
  height: 4px;
  background-color: #b9b9b9;
  width: 10%;
  margin: auto;
  border-radius: 16px;
}

/* ========================================================================= */
/*                                     NAVBAR                                */
/* ========================================================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: rgba(28, 28, 32, 0.7);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 1rem;
  list-style: none;
}

nav li {
  margin: 5px;
}

.nav-link {
  color: var(--light-gray);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.4s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transform: scale(0);
  opacity: 0;
  z-index: -1;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  transform: scale(1);
  opacity: 1;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
}

.nav-link.active {
  color: var(--white);
}

.nav-link.active::before {
  transform: scale(1);
  opacity: 1;
  background-color: hsl(0, 0%, 66%);
}

@media (max-width: 700px) {
  nav ul {
  justify-content: space-between;
  }
}

/* ========================================================================= */
/*                                      HOME                                 */
/* ========================================================================= */
.home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 2rem;
  overflow: hidden;
}

.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/Fractals.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(7px) brightness(40%);
  transform: scale(1.1);
  z-index: -1;
}

.home-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1100px;
  z-index: 1;
}
.profile-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease-out;
}

.profile-image-wrapper {
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(45deg, hsl(0, 0%, 66%), #111);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.profile-image-wrapper img {
  display: block;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #1c1c20;
}

.home-content {
  color: var(--light-gray);
  animation: fadeInUp 0.8s 0.2s ease-out backwards;
}

.home-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.waving-hand {
  display: inline-block;
  animation: wave 2.5s infinite;
  transform-origin: 70% 70%;
}

.home-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 65ch;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.social-links i {
  font-size: 28px; 
  line-height: 1;
}

.tech-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3em 0.8em;
  border-radius: 16px;
  font-family: "Fira Code", "Roboto Mono", monospace;
  font-size: 0.9rem;
  color: var(--light-gray);
}

.social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--light-gray);
  display: inline-block;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--white);
  transform: translateY(-3px);
}

.social-links svg {
  width: 28px;
  height: 28px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media (max-width: 850px) {
  .home-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .home-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }
}

/* ========================================================================= */
/*                              RESEARCH INTERESTS                           */
/* ========================================================================= */
.research {
  width: auto;
  max-width: 90%;
  margin: auto;
  padding: clamp(1.5rem, 5vw, 2rem);
}

.research h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--white);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 1.5rem);
  background: rgba(28, 28, 32, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.research-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  min-width: 0;
}

.research-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(var(--blue-ryb-rgb), 0.25);
}

.research-card .hover-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.8s ease;
}

.research-card:hover .hover-video {
  filter: blur(7px);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  margin: 1rem;
  background: rgba(12, 12, 15, 0.75);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.research-card:hover .card-content {
  opacity: 1;
  transform: translateY(0);
}

.card-content h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 0 0.5rem 0;
}

.card-content p {
  font-size: 0.95rem;
  color: var(--light-gray);
  line-height: 1.5;
  margin: 0;
}

/* ========================================================================= */
/*                               PUBLICATIONS                                */
/* ========================================================================= */
.publications {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem
}

.publications h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--white);
}

.publication-list {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 80ch; 
  display: flex;
  flex-direction: column;
  gap: 1.5rem; 
  padding: 1.5rem;
  background: rgba(28, 28, 32, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.publication-item {
  background: rgba(28, 28, 32, 0.6);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.publication-item h4 {
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1.3;
  margin: 0 0 1.5rem 0;
}

.publication-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.publication-meta time {
  font-size: 0.9rem;
  color: var(--light-gray);
  flex-shrink: 0;
}

.publication-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6em 1.2em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.publication-link:hover {
  background-color: hsl(0, 0%, 66%);
  border-color: hsl(0, 0%, 66%);
}

.publication-link i {
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .publication-meta {
    flex-direction: column;
  }
}
/* ========================================================================= */
/*                            BUTTON STYLES                                  */
/* ========================================================================= */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  font-weight: var(--fw-600);
  transition: var(--transition-1);
  height: 50px;
  font-weight: 100;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.button-primary {
  background-color: hsl(0, 0%, 15%);
  color: var(--white);
}

.button-secondary {
  background: transparent;
  color: hsl(0, 0%, 66%);
}

.button-secondary:hover {
  background-color: hsla(226, 78%, 57%, 0.1);
  color: hsl(0, 0%, 66%);
}

/* ========================================================================= */
/*                                  CV SECTION                               */
/* ========================================================================= */
.cv {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.cv h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--white);
}

.cv-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cv-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--light-gray);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.8em 1.5em;
  border-radius: 999px;
  position: relative; 
  z-index: 1;
  overflow: hidden; 
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.4s ease;
}


.cv-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #77777749;
  border-radius: 999px;
  transform: scale(0);
  opacity: 0;
  z-index: -1;
  transition: transform 0.4s ease, opacity 0.4s ease;
}


.cv-button:hover::before {
  transform: scale(1);
  opacity: 1;
}

.cv-button:hover {
  color: var(--white);
  border-color: transparent; 
}

.cv-button i {
  font-size: 0.9rem;
}

.cv-container {
  width: 100%;
  max-width: 1000px;
  padding: 1.5rem;
  background: rgba(28, 28, 32, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cv-embed-container iframe {
  display: block;
  width: 100%;
  height: 85vh;
  max-height: 800px;
  border-radius: 16px;
  border: none;
}
/* ========================================================================= */
/*                              ONGOING PROJECTS                             */
/* ========================================================================= */
.ongoing-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.ongoing-projects h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--white);
}

.project-list {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 80ch;
  display: flex;
  flex-direction: column;
  gap: 1.5rem; 
  padding: 1.5rem;
  background: rgba(28, 28, 32, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.project-card {
  background: rgba(28, 28, 32, 0.6);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-date {
  display: block; 
  font-size: 0.9rem;
  color: var(--light-gray);
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.3;
  margin: 0 0 1rem 0; 
}

.project-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-gray);
  margin: 0;
  text-align: justify; 
}

/* ========================================================================= */
/*                           CONFERENCE PRESENTATIONS                        */
/* ========================================================================= */
.conference-presentations {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.conference-presentations h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--white);
}

.presentation-list {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 80ch; 
  display: flex;
  flex-direction: column;
  gap: 1.5rem; 
  padding: 1.5rem;
  background: rgba(28, 28, 32, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.presentation-card {
  background: rgba(28, 28, 32, 0.6);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);

  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.presentation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.presentation-date {
  display: block;
  font-size: 0.9rem;
  color: var(--light-gray);
  margin-bottom: 0.75rem;
}

.presentation-title {
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.3;
  margin: 0 0 1rem 0;
}

.presentation-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-gray);
  margin: 0;
  text-align: justify;
}

/* ========================================================================= */
/*                                    BLOG                                   */
/* ========================================================================= */
.blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.blog h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--white);
}

.blog-intro-card {
  width: 100%;
  max-width: 75ch;
  margin-bottom: 4rem;
  padding: 2rem;
  text-align: center;
  background: rgba(28, 28, 32, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-intro-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--light-gray);
  margin: 0 0 1rem 0;
}

.blog-tagline {
  font-style: italic;
  font-weight: 500;
  color: var(--white) !important;
  margin-top: 1rem;
  opacity: 0.9;
}

.blog-post-list {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(28, 28, 32, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.blog-post-card {
  padding: 1.5rem;
  background: rgba(28, 28, 32, 0.6);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.post-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--white);
  margin: 0 0 0.5rem 0;
}

.post-date {
  font-size: 0.9rem;
  color: var(--light-gray);
}

.post-layout-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: start;
  gap: 1.5rem;
}

.post-text-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--light-gray);
  margin-bottom: 2rem;
  text-align: justify;

}

.post-media-content figure {
  margin: 0;
  padding: 0;
}

.post-media-content img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.post-media-content figcaption {
  font-size: 0.9rem;
  color: var(--light-gray);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 850px) {
  .post-layout-grid {
    grid-template-columns: 1fr; 
  }
}

.publication-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6em 1.2em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.publication-link:hover {
  background-color: hsl(0, 0%, 66%);
  border-color: hsl(0, 0%, 66%);
}

.slideshow-container {
  position: relative;
  width: 100%; 
  max-width: none; 
  margin: 0; 
  overflow: hidden;
  border-radius: 16px;
  -webkit-tap-highlight-color: transparent;
}

.slides-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  pointer-events: none;
}
.slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: #000;
}
.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
  pointer-events: auto;
}
.slideshow-container:hover .prev-btn,
.slideshow-container:hover .next-btn {
  opacity: 1;
}
.prev-btn:hover,
.next-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}
.dots-container {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}
.dot.active {
  background-color: #fff;
}

/* ========================================================================= */
/*                                  CONTACT                                  */
/* ========================================================================= */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  margin-bottom: 4rem;
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--white);
}

.contact-container-card {
  width: 100%;
  max-width: 1200px;
  padding: 1.5rem;
  background: rgba(28, 28, 32, 0.45);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; 
  align-items: center;
  gap: 1.5rem;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem; 
}

.contact-link-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem; 
  padding: 0.8rem 1.2rem;
  text-decoration: none;

  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;

  color: var(--light-gray);
  transition: all 0.3s ease;
}

.contact-link-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-link-item i {
  font-size: 1.2rem;
  width: 20px; 
  text-align: center;
  color: hsl(0, 0%, 66%);
}

.address {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light-gray);
  text-align: justify;

}

.address strong {
  color: var(--white);
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border-radius: 16px;
  overflow: hidden; 
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(1) hue-rotate(180deg);
}

@media (max-width: 950px) {
  .contact-grid {
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
}
