/* ============================================================
   PROYECTO.PHP - DISEÑO PROFESIONAL Y MODERNO
   ============================================================ */

/* Hero Section con Slider */
.project-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.project-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 32px;
    color: white;
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Quick Info Bar */
.quick-info-bar {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quick-info-item:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.quick-info-item i {
    font-size: 32px;
    color: var(--primary-color);
    min-width: 40px;
}

.quick-info-item .label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.quick-info-item strong {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* Descripción del Proyecto */
.project-description {
    padding: 100px 0;
    background: white;
}

.description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.description-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.description-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.section-label {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.description-content h2 {
    font-size: 42px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
}

.description-text {
    font-size: 17px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 35px;
}

.trust-indicators {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.trust-item i {
    font-size: 20px;
}

/* Características Modernas */
.project-features {
    padding: 100px 0;
    background: #f9f9f9;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header-center h2 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
}

.section-header-center p {
    font-size: 18px;
    color: #666;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card-modern {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.feature-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.feature-card-modern h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.feature-card-modern p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Master Plan */
.master-plan-section {
    padding: 100px 0;
    background: white;
}

.master-plan-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.master-plan-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 10;
}

.fullscreen-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Galería Moderna */
.project-gallery-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item-modern {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(76, 175, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-modern:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-modern:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    font-size: 48px;
    color: white;
}

/* Modal de Galería */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-close:hover {
    color: var(--primary-color);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-color);
}

.gallery-prev {
    left: 30px;
}

.gallery-next {
    right: 30px;
}

/* CTA Final */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../uploads/project/header.jpg') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.cta-content-modern h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-content-modern p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons-modern {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .description-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .description-content h2,
    .section-header-center h2 {
        font-size: 32px;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .quick-info-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content-modern h2 {
        font-size: 32px;
    }
    
    .gallery-prev,
    .gallery-next {
        padding: 15px;
        font-size: 24px;
    }
}
