/* Base Styles */
:root {
  --primary: #8e768f;
  --primary-light: #ced1f1;
  --primary-dark: #6a0dad;
  --secondary: #f8f9fa;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-gray: #6c757d;
  --border-color: #e9ecef;
  --transition: all 0.3s ease;
}

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

body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #8e768f;
  margin-bottom: 15px;
}

.underline {
  height: 4px;
  width: 70px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

.highlight {
  color: var(--primary);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  background-color: transparent;
}

header.scrolled {
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 50px;
}

@media (max-width: 768px) {
  header {
    height: 70px;
    padding: 15px 20px;
  }
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.isologo {
  height: 50px;
  width: auto;
  max-width: 100%;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 50px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 30px;
}

.cta-button {
  padding: 12px 30px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shape {
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, var(--primary), var(--primary-light));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphing 5s infinite;
}

@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

/* Mobile shape detrás del texto */
.mobile-shape {
  display: none;
}

.mobile-header-space {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    text-align: center;
    padding-top: 0;
    padding-bottom: 40px;
  }

  .hero h1 {
    text-align: left;
  }

  .cta-button {
    align-self: flex-start;
    margin-left: 0;
  }

  .mobile-header-space {
    display: block;
    height: 70px;
  }
  .hero-content {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 20px 0;
    text-align: left;
  }

  .hero-image {
    display: none; /* opcional si no usás nada ahí */
  }

  .mobile-shape {
    display: block;
    position: absolute;
    top: -35px;
    left: 85%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 5s infinite;
    z-index: -1;
  }

  .hero-image .shape {
    display: none;
  }
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 30px;
}

}\
\

/* About Section */
.about {
  background-color: var(--secondary);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob {
  width: 450px;
  height: 450px;
  background: url("https://via.placeholder.com/600x600/8A2BE2/FFFFFF?text=About+Us") center / cover;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #8e768f;
  margin-bottom: 15px;
}

.about-text p {
  font-family: "Poppins";
  margin-bottom: 25px;
  font-weight: 500;
  color: #000;
}

.stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(138, 43, 226, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.service-icon svg {
  color: var(--primary);
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #8e768f;
}

.service-card p {
  color: var(--text-gray);
}

/* Portfolio Section */
.portfolio {
  background-color: var(--secondary);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  background-color: white;
  color: var(--text-gray);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
}

.portfolio-image {
  height: 100%;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(106, 13, 173, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.portfolio-link {
  padding: 8px 20px;
  background-color: white;
  color: var(--primary-dark);
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
}

.portfolio-link:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* Contact Section */
.contact-container {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info,
.contact-form {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: #8e768f;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item svg {
  color: var(--primary);
  margin-right: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(138, 43, 226, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.social-icon svg {
  color: var(--primary);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary);
}

.social-icon:hover svg {
  color: white;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.submit-btn {
  padding: 12px 30px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.submit-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* precios */

.precios {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: "Segoe UI", sans-serif;
  text-align: center;
}

.precios .titulo {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
}

.precios .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.precios .card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.precios .card:hover {
  transform: scale(1.03);
}

.precios .card.destacado {
  border: 2px solid #8e768f;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.1);
}

.precios h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #8e768f;
}

.precios .precio {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.precios ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 15px;
}

.precios ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.precios ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
}

.precios .nota {
  font-size: 0.9rem;
  color: #777;
  margin-top: 10px;
}

.cotizacion-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  align-items: stretch;
}

.cotizacion-form input[type="email"] {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.cotizacion-form input[type="email"]:focus {
  border-color: var(--primary);
  outline: none;
}

.cotizacion-form a {
  padding: 10px 15px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cotizacion-form a:hover {
  background-color: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  transform: translateY(-2px);
}

.form-message {
  margin-top: 10px;
  color: #8e768f;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

/* Footer */
footer {
  background-color: #8e768f;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links a {
  transition: var(--transition);
}

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

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top svg {
  color: white;
}

/* Lodgings Section */
.lodgings {
  background-color: var(--secondary);
  position: relative;
  padding-top: 0;!important
  padding-bottom: 0;!important
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-top: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lodgings-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
}

.lodgings-intro {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.intro-content {
  flex: 1;
}

.intro-content h3 {
  font-size: 1.8rem;
  color: #8e768f;
  margin-bottom: 20px;
  line-height: 1.3;
}

.intro-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}


.banner-hospedaje {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #f3e8f2; /* color de fondo similar */
}

.banner-hospedaje img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

/* Mobile: limitar alto excesivo */
@media (max-width: 768px) {
  .banner-hospedaje {
    max-height: 300px;
  }

  .banner-hospedaje img {
    object-fit: cover;
    width: 100%;
    height: auto;
  }
}



.lodging-shape {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.lodging-shape::before {
  content: "🏨";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  opacity: 0.8;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  text-align: center;
  border: 1px solid rgba(142, 118, 143, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}

.feature-card h4 {
  font-size: 1.3rem;
  color: #8e768f;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}



.lodgings-cta {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url("img/bannerhospedaje1.png");

  padding: 50px;
  text-align: center;
  color: white;
  margin-top: 40px;
  margin-bottom: 50px;
  background-size: cover;
  background-position: center;
}

.lodgings-cta1 {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url("img/banner-alojamiento.jpg");
  padding: 50px;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
}

.lodgings-cta h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.lodgings-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.lodgings-cta .cta-button {
  background: white;
  color: var(--primary);
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lodgings-cta .cta-button:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
}

.lodgings-cta1 h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.lodgings-cta1 p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.lodgings-cta1 .cta-button {
  background: white;
  color: var(--primary);
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lodgings-cta1 .cta-button:hover {
  background: #3fa59e;
  color: white;
  transform: translateY(-3px);

}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content,
  .contact-container {
    flex-direction: column;
  }

  .about-image {
    margin-bottom: 40px;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
  }

  .shape {
    width: 300px;
    height: 300px;
  }

  .lodgings-intro {
    flex-direction: column;
    text-align: center;
  }

  .intro-image {
    margin-top: 30px;
  }

  .lodging-shape {
    width: 250px;
    height: 250px;
  }

  .lodging-shape::before {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  header.scrolled {
    padding: 10px 20px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

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

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

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

  section {
    padding: 70px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .portfolio-filter {
    flex-wrap: wrap;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lodgings-cta {
    padding: 30px 20px;
  }

  .lodgings-cta h3 {
    font-size: 1.5rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .shape {
    width: 250px;
    height: 250px;
  }

  .image-container,
  .blob {
    width: 280px;
    height: 280px;
  }
}

.floating-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  text-decoration: none;
  z-index: 9999;
}

.bubble-content {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 2px solid #ddd;
  border-radius: 30px;
  padding: 8px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.bubble-content:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.bubble-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.bubble-text {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #8e768f;
  font-weight: 500;
}

.carousel-container {
  position: relative;
  width: 450px;
  height: 450px;
}

.blob-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.blob-carousel img.blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blob-carousel img.blob.active {
  opacity: 1;
  z-index: 2;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  position: absolute;
  bottom: -30px;
  width: 100%;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: var(--primary);
}


/* galeria section*/

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: #e9dfe5;
}

.gallery .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.gallery .subtitle {
    color: #8e758f;
    font-weight: bold;
    margin-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
}

.gallery-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 14px;
    color: #cccccc;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: block;
}

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

.modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    max-width: 1000px;
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #a2ff00;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: #2a2a2a;
}

.modal-body {
    padding: 30px;
}

.project-description {
    margin-bottom: 30px;
    color: #cccccc;
    line-height: 1.6;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.project-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.project-image:hover {
    transform: scale(1.05);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-image.main {
    grid-column: span 2;
}

.project-image.main img {
    height: 300px;
}

/* Image Viewer */
.image-viewer {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

.image-viewer.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(162, 255, 0, 0.8);
    border: none;
    color: #1a1a1a;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.image-nav:hover {
    background: #a2ff00;
}

.image-nav.prev {
    left: 30px;
}

.image-nav.next {
    right: 30px;
}

.image-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.8);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .project-image.main {
        grid-column: span 1;
    }
    
    .image-nav {
        font-size: 18px;
        padding: 10px 15px;
    }
    
    .image-nav.prev {
        left: 15px;
    }
    
    .image-nav.next {
        right: 15px;
    }
}
