/*=============== VARIABLES CSS ===============*/
:root {
    /*========== Colors ==========*/
    /* Color mode HSL(hue, saturation, lightness) */
    --first-color: hsl(0, 0%, 15%);        /* Negro principal */
    --first-color-alt: hsl(0, 0%, 20%);    /* Negro más oscuro */
    --first-color-light: hsl(0, 0%, 90%);
    --second-color: hsl(44, 98%, 50%);     /* Amarillo */
}

/*=============== HERO SPECIFIC ===============*/
.condesa-hero {
    background: linear-gradient(160deg, var(--first-color) 0%, var(--first-color-alt) 100%);
}

.condesa-hero .hero__title,
.condesa-hero .hero__description {
    color: var(--second-color);
}

/*=============== PRODUCTS ===============*/
.products__content {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.products__card {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    transition: .3s;
    border: 2px solid var(--first-color-light);
}

.products__card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    transform: translateY(-0.25rem);
    border-color: var(--second-color);
}

.products__icon {
    font-size: 2rem;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.products__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--first-color);
}

.products__description {
    font-size: var(--small-font-size);
}

/*=============== LOCATION ===============*/
.location__content {
    display: grid;
    gap: 2rem;
}

.location__map {
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid var(--first-color-light);
}

.location__info {
    padding: 2rem;
    background-color: var(--container-color);
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.location__subtitle {
    font-size: var(--h3-font-size);
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.location__text {
    font-size: var(--normal-font-size);
    line-height: 1.6;
}

/*=============== ABOUT VIDEO ===============*/
.about__content {
    display: grid;
    gap: 2.5rem;
}

.about__video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    background-color: var(--first-color-light);
    border: 2px solid var(--second-color);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--h2-font-size);
    color: var(--first-color);
}

/* Personalización del botón principal */
.button {
    background-color: var(--second-color);
}

.button:hover {
    background-color: hsl(44, 98%, 45%);
}

/* Personalización del footer */
.footer {
    background-color: var(--first-color);
}

.footer__social-link {
    background-color: var(--second-color);
}

.footer__social-link:hover {
    background-color: hsl(44, 98%, 45%);
}

/*=============== RESPONSIVE ===============*/
@media screen and (min-width: 568px) {
    .about__content {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .location__content {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }

    .location__map {
        height: 400px;
    }
}

@media screen and (min-width: 768px) {
    .products__content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== MEJORAS RESPONSIVE PARA MOVILES Y TABLETS ========== */
@media screen and (max-width: 575.98px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100vw;
  }
  .section {
    padding: 1.5rem 0 2rem;
  }
  .about__content.grid,
  .products__content.grid,
  .location__content {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
  }
  .products__card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .location__map {
    height: 200px !important;
    min-width: 0;
    max-width: 100%;
  }
  .hero__title {
    font-size: 2rem !important;
  }
  .hero__description {
    font-size: 1rem !important;
  }
  .footer__container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

html, body {
  overflow-x: hidden;
} 