* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1;
    color: #1f2937;
    background-color: #EBEBEB;
}

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

.text-center {
    text-align: center;
}

.header {
    background: linear-gradient(135deg, #002157, #000E26);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: none;
    gap: 1.5rem;
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-btn:hover {
    color: #fbbf24;
    transform: scale(1.05);
}

.nav-btn.active {
    color: #fbbf24;
    font-weight: 600;
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu {
    position: relative;
}

.mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #0050CF, #002561);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    display: none;
    flex-direction: column;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 60;
}

.mobile-nav.show {
    display: flex;
}

.mobile-nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    text-align: left;
    width: 100%;
}

.mobile-nav-btn:hover {
    background-color: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.mobile-nav-btn.active {
    color: #fbbf24;
    font-weight: 600;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/fondo.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 0;
    animation: fadeIn 0.8s ease-out;
    position: relative;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeIn 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #fbbf24;
    color: #1f2937;
}

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

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #EBEBEB;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background-color: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #1f2937;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.service-description {
    color: #6b7280;
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.gallery-item {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
}

.gallery-image {
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-content {
    padding: 1rem;
}

.gallery-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-title {
    color: #fbbf24;
}

.gallery-description {
    color: #6b7280;
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-description {
    color: #1f2937;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #EBEBEB;
}

.contact-card {
    max-width: 28rem;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
}

.contact-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.contact-subtitle {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.contact-description {
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: #fbbf24;
    color: #1f2937;
}

.contact-icon {
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

.contact-text {
    font-weight: 500;
}

.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.footer {
    background: linear-gradient(135deg, #002157, #000E26);
    color: white;
    padding: 2rem 0;
}

.footer-subtitle {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 2s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Media Queries */
@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}