/* Estilos Generales y Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #020617;
    color: #f8fafc;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: #f59e0b;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #f59e0b;
}

/* Botones */
.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #020617;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: #f8fafc;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    border-color: #f59e0b;
    color: #f59e0b;
}

.btn-primary-outline {
    border: 2px solid #f59e0b;
    color: #f59e0b;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary-outline:hover {
    background-color: #f59e0b;
    color: #020617;
}

.w-100 {
    width: 100%;
}

/* Sección Hero */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #1e293b 0%, #020617 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #f59e0b;
}

.hero-text p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.shadow-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Características */
.features {
    padding: 100px 0;
    background-color: #090d16;
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    font-size: 18px;
    margin-bottom: 60px;
}

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

.feature-card {
    background-color: #0f172a;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card i {
    font-size: 40px;
    color: #f59e0b;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: #94a3b8;
    font-size: 15px;
}

/* Galería */
.gallery {
    padding: 100px 0;
}

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

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 240px;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), transparent);
    opacity: 0;
    transition: 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.gallery-overlay span {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

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

/* Contacto */
.contact {
    padding: 100px 0;
    background-color: #090d16;
}

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

.contact-info h2 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 20px;
}

.contact-info p {
    color: #94a3b8;
    font-size: 17px;
    margin-bottom: 30px;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-weight: 600;
}

.info-list i {
    color: #f59e0b;
    font-size: 18px;
}

.contact-form-wrapper {
    background-color: #0f172a;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
}

.input-group input,
.input-group textarea {
    background-color: #020617;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-success {
    text-align: center;
    padding: 40px 0;
}

.form-success i {
    font-size: 50px;
    color: #10b981;
    margin-bottom: 15px;
}

.hidden {
    display: none;
}

/* Carrusel y Modal de Imágenes */
.modal-img-container {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.95);
    justify-content: center;
    align-items: center;
}

.modal-img-content {
    max-width: 85%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.modal-img-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #f8fafc;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.modal-img-close:hover {
    color: #f59e0b;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(15, 23, 42, 0.8);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 30px;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s ease;
    z-index: 1010;
}

.carousel-btn:hover {
    background-color: #f59e0b;
    color: #020617;
    border-color: #f59e0b;
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Footer */
footer {
    background-color: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

footer p {
    color: #64748b;
    font-size: 14px;
}

/* Media Queries para Responsividad */
@media (max-width: 968px) {
    .hero-content,
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .info-list {
        align-items: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .nav-links {
        display: none;
    }
}
