@import url("https://fonts.googleapis.com/css2?family=Concert+One&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lexend:wght@100..900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(33, 31, 31, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 30px;
  width: auto;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #ceb8a3;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #211f1f;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #333;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #333;
  color: #ceb8a3;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle-line {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Simplified hero background styles for proyectos.html */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/test.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  /* Added flex properties for proper centering */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-services {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Added experience section styles */
.experience {
  padding: 80px 0;
  background: #f8f8f8;
}

.experience-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Added elevate section styles */
.elevate {
  padding: 80px 0;
  background: #fff;
}

.elevate-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.elevate-text {
  padding-right: 2rem;
}

.elevate-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Added audio section styles */
.audio {
  padding: 80px 0;
  background: #f8f8f8;
}

.audio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.audio-text {
  padding-left: 2rem;
}

.audio-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Added section title and subtitle styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #211f1f;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title-center {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: #8f806d;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-text {
  font-size: 1.1rem;
  color: #6e5f54;
  line-height: 1.8;
  text-align: justify;
}

/* Updated projects section for dark theme with grid */
.projects.dark-projects {
  padding: 80px 0;
  background: #1a1a1a;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: scale(1.05);
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.project-item:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.projects-button,
.projects-cta {
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f5f5f5;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #211f1f;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.about-text {
  font-size: 1.1rem;
  color: #6e5f54;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Solutions Section */
.solutions {
  padding: 80px 0;
  background: #f0f0f0;
}

.solutions-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #211f1f;
  text-align: center;
  margin-bottom: 2rem;
}

.solutions-subtitle {
  font-size: 1.1rem;
  color: #6e5f54;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
}

.solutions-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  /* padding-top: 15px; */
}

.carousel-container {
  overflow: hidden;
  border-radius: 10px;
  padding-top: 25px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.solution-card {
  flex: 0 0 300px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
}

.solution-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.solution-card h3 {
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #211f1f;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border: none;
  background: #211f1f;
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #ceb8a3;
  transform: scale(1.05);
}

/* Showroom Section */
.showroom {
  padding: 80px 0;
  background: #fff;
}

.showroom-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.showroom-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #8f806d;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.showroom-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #211f1f;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.showroom-description {
  font-size: 1.1rem;
  text-align: justify;
  color: #6e5f54;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.showroom-address {
  font-size: 1.1rem;
  font-weight: 600;
  color: #211f1f;
  margin-bottom: 2rem;
}

.showroom-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #211f1f;
  color: #fff;
}

.btn-primary:hover {
  background: #ceb8a3;
}

.btn-secondary {
  background: transparent;
  color: #211f1f;
  border: 2px solid #211f1f;
}

.btn-secondary:hover {
  background: #211f1f;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #211f1f;
  border: 2px solid #211f1f;
  padding: 15px 30px;
  border-radius: 30px;
}

.btn-outline:hover {
  background: #211f1f;
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
}

.btn-whatsapp:hover {
  background: #ceb8a3;
}

.btn-submit {
  background: #211f1f;
  color: #fff;
  padding: 15px 40px;
  border-radius: 30px;
  width: 100%;
}

.btn-submit:hover {
  background: #ceb8a3;
}

/* Original Projects Section (for index.html) */
.projects:not(.dark-projects) {
  padding: 80px 0;
  background: #f5f5f5;
}

.projects:not(.dark-projects) .projects-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #211f1f;
  text-align: center;
  margin-bottom: 3rem;
}

.projects:not(.dark-projects) .projects-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 3rem;
  overflow: hidden;
}

.projects:not(.dark-projects) .carousel-container {
  overflow: hidden;
  border-radius: 10px;
  padding-top: 25px;
}

.projects:not(.dark-projects) .carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.projects:not(.dark-projects) .project-card {
  flex: 0 0 350px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.projects:not(.dark-projects) .project-card:hover {
  transform: translateY(-10px);
}

.projects:not(.dark-projects) .project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.projects:not(.dark-projects) .project-content {
  padding: 2rem;
}

.projects:not(.dark-projects) .project-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #211f1f;
  margin-bottom: 1rem;
}

.projects:not(.dark-projects) .project-link {
  color: #8f806d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.projects:not(.dark-projects) .project-link:hover {
  color: #ceb8a3;
}

.projects:not(.dark-projects) .carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.projects:not(.dark-projects) .carousel-btn {
  width: 50px;
  height: 50px;
  border: none;
  background: #211f1f;
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.projects:not(.dark-projects) .carousel-btn:hover {
  background: #ceb8a3;
  transform: scale(1.05);
}

/* Luminarias Section */
.luminarias {
    padding: 80px 0;
    background: #f0f0f0;
}

.luminarias-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #211f1f;
    text-align: center;
    margin-bottom: 1rem;
}

.luminarias-subtitle {
    font-size: 1.1rem;
    color: #6e5f54;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.luminarias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.luminaria-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.luminaria-card:hover {
    transform: translateY(-5px);
}

.luminaria-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.luminaria-card h4 {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #211f1f;
}

.luminarias-button {
    text-align: center;
    margin-bottom: 4rem;
}

.brands-section {
    text-align: center;
}

.brands-text {
    font-size: 1.1rem;
    text-align: justify;
    color: #6e5f54;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.brands-grid img {
    height: 60px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.brands-grid img:hover {
    opacity: 1;
}

.brochure-button {
    text-align: center;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: #211f1f;
  color: #fff;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.contact-description {
  font-size: 1.1rem;
  text-align: justify;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-subdescription {
  font-size: 1rem;
  text-align: justify;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-whatsapp {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: #211f1f;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 30px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.footer-tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: #ceb8a3;
  font-weight: 500;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.footer-contact strong {
  color: #fff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ceb8a3;
}

.footer-social p {
  margin-bottom: 1rem;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #ceb8a3;
  transform: translateY(-2px);
}

/* Gallery Section Styles */
.gallery-section {
  padding: 100px 0;
  background: #f8f8f8;
}

.gallery-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
}

.gallery-subtitle {
  font-size: 1.2rem;
  text-align: justify;
  color: #666;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Responsive Design for Gallery */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .gallery-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .gallery-title {
    font-size: 2rem;
  }

  .gallery-section {
    padding: 80px 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: #211f1f;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #333;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    border-radius: 12px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .about-title,
  .solutions-title,
  .projects-title,
  .section-title,
  .section-title-center {
    font-size: 2rem;
  }

  .showroom-title {
    font-size: 1.8rem;
  }

  .solution-card,
  .project-card {
    flex: 0 0 280px;
  }

  .showroom-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Added mobile responsive for elevate and audio sections */
  .elevate-content,
  .audio-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .elevate-text,
  .audio-text {
    padding: 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-services {
    font-size: 0.9rem;
  }

  .solution-card,
  .project-card {
    flex: 0 0 250px;
  }

  .contact-title {
    font-size: 1.8rem;
  }
}
