/* ========================================
   SECCIÓN HERO
======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 90px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Aumentar la opacidad del overlay para mejor contraste */
    z-index: 1;
}

.hero-bg-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-content {
    text-align: center;
    color: #ffffff;  /* Usar blanco puro para mejor contraste */
    z-index: 10;
    padding: 20px;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hero-icon-placeholder {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0 50px;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background-color: #fff;
}

.hero-subtitle::before {
    left: 0;
}

.hero-subtitle::after {
    right: 0;
}

/* ========================================
   SECCIÓN SOBRE NOSOTROS
======================================== */
.about-section {
    padding: 100px 50px;
    background-color: #fff;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 600px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
}

.about-content {
    padding: 40px;
}

.about-content h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

.about-divider {
    width: 60px;
    height: 2px;
    background-color: #333;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444444; /* Oscurecer el color del texto para mejor contraste */
    margin-bottom: 30px;
}

.about-btn {
    background: none;
    border: 2px solid #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-btn:hover {
    background-color: #333;
    transform: translateX(10px);
}

.about-btn svg {
    stroke: #333;
    transition: stroke 0.3s ease;
}

.about-btn:hover svg {
    stroke: #fff;
}

/* ========================================
   SEPARADOR DE GALERÍA
======================================== */
.gallery-separator {
    padding: 80px 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.separator-line {
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.separator-title {
    font-size: 32px;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
}

/* ========================================
   GALERÍA DE IMÁGENES
======================================== */
.gallery-section {
    padding: 50px;
    background-color: #f9f9f9;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444444; /* Oscurecer el color del texto para mejor contraste */
    font-size: 24px;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.5s ease;
}

.gallery-item:hover .gallery-image img,
.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

/* ========================================
   LIGHTBOX/CARRUSEL
======================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 50px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 50px;
}

.lightbox-next {
    right: 50px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
}

/* ========================================
   SECCIÓN CONTACTO
======================================== */
.contact-section {
    padding: 100px 50px;
    background-color: #fff;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

.contact-divider {
    width: 60px;
    height: 2px;
    background-color: #333;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-details p {
    font-size: 16px;
    line-height: 1.8;
    color: #444444; /* Oscurecer el color del texto para mejor contraste */
    margin-bottom: 10px;
}

.contact-details a {
    color: #444444; /* Oscurecer el color del texto para mejor contraste */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #333;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #333;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-image {
    width: 100%;
    height: 600px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
}