/* css/style.css */
:root {
    --primary-blue: #0A2342; /* Deep Navy Blue */
    --primary-blue-light: #173b6c;
    --accent-yellow: #FFB800; /* Constructive Yellow */
    --accent-yellow-hover: #E5A600;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Glassmorphism Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-blue);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar span {
    margin-right: 20px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: padding 0.3s ease;
}

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

.logo img {
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

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

.nav-links a:not(.btn) {
    color: var(--primary-blue);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    position: relative;
    padding: 5px 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-yellow);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: 0.4s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,35,66,0.95) 0%, rgba(10,35,66,0.85) 40%, rgba(10,35,66,0.4) 100%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 40px 20px;
}

.hero-text {
    flex: 1;
    color: var(--white);
    max-width: 600px;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-text h1 {
    font-size: 3.8rem;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.15;
}

.hero-text h1 span {
    color: var(--accent-yellow);
    position: relative;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.floating-img {
    max-width: 110%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5));
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Services */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-light);
    transform: skewY(-2deg);
    z-index: 1;
}

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

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background-color: var(--accent-yellow);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-title p {
    color: var(--text-light);
    margin-top: 20px;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-yellow);
}

.service-card .icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s;
}

.service-card:hover .icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.contact-info-boxes h3 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}

.contact-info-boxes > p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.5);
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.info-list li:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.8);
}

.info-list .icon {
    font-size: 1.8rem;
    margin-right: 20px;
    background-color: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.info-list strong {
    display: block;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.info-list span {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.05rem;
}

.contact-form-container {
    padding: 50px;
}

.contact-form-container h3 {
    font-size: 2rem;
    margin-bottom: 35px;
    text-align: center;
    color: var(--primary-blue);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background-color: rgba(255,255,255,0.9);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.15);
    background-color: #fff;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

/* Gracias Page Styles */
.thank-you-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    text-align: center;
    padding: 2rem;
}

.thank-you-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.thank-you-icon {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.thank-you-card h1 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.thank-you-card p {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info-boxes {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-bar-content {
        flex-direction: column;
    }
    
    .top-bar .contact-info,
    .top-bar .contact-phones {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .top-bar span {
        margin-right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 30px 20px;
        box-shadow: var(--shadow-md);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        border-top: 1px solid #e2e8f0;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-links a:not(.btn) {
        font-size: 1.2rem;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links .btn {
        margin-top: 10px;
        width: 100%;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero-text {
        margin-bottom: 40px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image {
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .info-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-list .icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
