* {
   margin: 0;
    padding: 0;
  box-sizing: border-box;
        }

body {
            
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
        }
        
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  gap: 2rem;
 }

 

/* Main Content */
.main-content {
  margin-left: 280px;
  min-height: 100vh;
 
}
/* Barra lateral de navegación */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(145deg, #2c5aa0, #1e3a5f);
    padding: 2rem 1rem;
    z-index: 1000;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #64b5f6, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 1rem;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(100,181,246,0.3);
}

.nav-menu .icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}
/* Hero Section con Carrusel */
.hero-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

/* Imágenes del carrusel */
.slide-1 {
    background-image: url(dientes.jpg);
}

.slide-2 {
    background-image: url(imagen2.jpg);
}

.slide-3 {
    background-image: url(imagen3.jpg);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44,90,160,0.8), rgba(30,58,95,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: white;
    max-width: 600px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}


.section-title {
  font-size: 2rem;
  color: #003366;
  text-align: center;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 35px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,174,239,0.2);
  border-color: #00AEEF;
}

.service-image {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00AEEF, #003366);
  border-radius: 12px;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.service-title {
  color: #003366;
  font-size: 1.4rem;
  font-weight: bold;
}

.service-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-price {
  background: linear-gradient(135deg, #00AEEF, #003366);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.about-section {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  margin-bottom: 3rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  display: block;
}

.about-section h2 {
  color: #003366;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(0,174,239,0.1), rgba(0,51,102,0.1));
  border-radius: 12px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00AEEF, #003366);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

.feature h3 {
  color: #003366;
  margin-bottom: 0.5rem;
}

.feature p {
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content, .footer {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .menu-toggle {
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1001;
        background: #2c5aa0;
        color: white;
        border: none;
        padding: 0.5rem;
        border-radius: 5px;
        cursor: pointer;
    }
}