/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: linear-gradient(135deg, hsl(210, 40%, 20%), hsl(210, 40%, 35%));
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 3rem;
    width: auto;
    display: block;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-button {
    background: none;
    border: none;
    color: rgb(248, 250, 252);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-button:hover {
    color: hsl(45, 100%, 70%);
}

.nav-button-active {
    color: rgb(248, 250, 252);
}

/* CTA Button */
.cta-container {
    display: none;
    align-items: center;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgb(243, 244, 246);
    color: rgb(17, 24, 39);
    border: 2px solid white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: white;
    transform: translateY(-1px);
}

.phone-icon {
    width: 1rem;
    height: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.mobile-menu {
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-button {
    background: none;
    border: none;
    color: white;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.mobile-nav-button:hover {
    color: hsl(45, 100%, 70%);
}

.mobile-cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    color: white;
    border: 2px solid white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
    width: fit-content;
}

.mobile-cta-button:hover {
    background: white;
    color: hsl(210, 40%, 20%);
}

/* Media Queries */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .cta-container {
        display: flex;
    }
    
    .mobile-menu-button {
        display: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('./public/lovable-uploads/822533f1-9447-4efe-8496-6dd4c3030743.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 130, 246, 0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.hero-text {
    max-width: 64rem;
    margin: 0 auto;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: hsl(45, 100%, 70%);
    animation: fadeIn 1s ease-in-out 0.2s both;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-in-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-in-out 0.6s both;
}

.hero-btn-primary, .hero-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-btn-primary {
    background: white;
    color: hsl(210, 40%, 20%);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.3);
}

.hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.hero-btn-secondary {
    background: white;
    color: hsl(210, 40%, 20%);
    border: 2px solid white;
}

.hero-btn-secondary:hover {
    transform: scale(1.05);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    animation: fadeIn 1s ease-in-out 0.8s both;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: hsl(45, 100%, 70%);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 90%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 0.25rem;
    height: 2rem;
    background: hsl(45, 100%, 70%);
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: rgba(210, 230, 255, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.light {
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: hsl(210, 40%, 20%);
    margin-bottom: 1.5rem;
}

.section-header.light .section-title {
    color: white;
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background: hsl(45, 100%, 70%);
    margin: 0 auto 2rem;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

.section-header.light .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-welcome {
    font-size: 2rem;
    font-weight: bold;
    color: hsl(210, 40%, 20%);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
}

.about-description p {
    margin-bottom: 1rem;
}

.about-description strong {
    color: hsl(210, 40%, 20%);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

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

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

.value-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: hsl(210, 40%, 20%);
}

.value-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: hsl(210, 40%, 20%);
    margin-bottom: 0.75rem;
}

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

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: white;
}

.main-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-image-container {
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.main-service .service-image {
    height: 12rem;
}

.additional-service .service-image {
    height: 10rem;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 130, 246, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon-circle {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 3rem;
    height: 3rem;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: hsl(210, 40%, 20%);
    margin-bottom: 0.75rem;
}

.additional-service .service-title {
    font-size: 1.125rem;
}

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

.additional-service .service-description {
    font-size: 0.875rem;
}

.additional-services {
    background: rgba(210, 230, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
}

.additional-services-title {
    font-size: 2rem;
    font-weight: bold;
    color: hsl(210, 40%, 20%);
    text-align: center;
    margin-bottom: 3rem;
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: rgba(210, 230, 255, 0.1);
}

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

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.3);
}

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

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

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, hsl(210, 40%, 20%), hsl(210, 40%, 35%));
    color: white;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.unit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.unit-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.unit-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.unit-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: rgb(248, 250, 252);
}

.unit-address {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.unit-address svg {
    margin-right: 0.5rem;
}

.unit-actions {
    display: grid;
    gap: 0.75rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.875rem;
}

.contact-btn.whatsapp {
    background: #16a34a;
    color: rgb(248, 250, 252);
}

.contact-btn.whatsapp:hover {
    background: #15803d;
    transform: scale(1.05);
}

.contact-btn.phone {
    background: #2563eb;
    color: rgb(248, 250, 252);
}

.contact-btn.phone:hover {
    background: #1d4ed8;
}

.contact-btn.maps {
    background: #0f172a;
    color: rgb(248, 250, 252);
    border: 2px solid hsl(45, 100%, 70%);
}

.contact-btn.maps:hover {
    background: #1e293b;
}

.contact-btn.instagram {
    background: transparent;
    color: #f472b6;
    border: 2px solid #f472b6;
}

.contact-btn.instagram:hover {
    background: #f472b6;
    color: hsl(210, 40%, 20%);
}

.hours-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.hours-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.hours-header svg {
    color: hsl(45, 100%, 70%);
    margin-right: 0.75rem;
}

.hours-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.hours-day {
    font-weight: 600;
    color: rgb(248, 250, 252);
    margin-bottom: 0.25rem;
}

.hours-time {
    color: rgba(255, 255, 255, 0.9);
}

.emergency-note {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 64rem;
    top: 50%;
    transform: translateY(-50%);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(59, 130, 246, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgb(59, 130, 246);
}

#modalImage {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-30px);
    }
    70% {
        transform: translateX(-50%) translateY(-15px);
    }
    90% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Media Queries */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .main-services {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .additional-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
