/* La Casa De Luz - Elegant Mobile-First Responsive Website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Mobile First */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(30, 58, 138, 0.1);
    border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #d97706;
}

.logo-img {
    width: 45px;
    height: 45px;
    margin-right: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.logo-text {
    display: none;
}

/* Mobile Menu */
.nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid rgba(217, 119, 6, 0.2);
}

.nav-menu.active {
    left: 0;
}

.nav-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    margin: 20px 0;
    font-size: 20px;
    padding: 15px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 80%;
    text-align: center;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

.language-toggle {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.language-toggle:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #1e3a8a;
    margin: 4px 0;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 7px);
    background: #d97706;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -7px);
    background: #d97706;
}

/* Hero Section - Mobile First */
.hero {
    min-height: 100vh;
    background: #1e3a5f;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('LaCasaDeLuzLogo.png');
    background-size: 800px 800px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    filter: brightness(1.2);
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-team {
    display: none; /* Hidden as requested */
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    min-height: 55px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b45309, #d97706);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(217, 119, 6, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #1e3a8a;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #0066aa);
    color: white;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.4);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #006699, #004477);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 136, 204, 0.5);
}

.telegram-icon {
    width: 22px;
    height: 22px;
    filter: brightness(1.1);
}

.telegram-icon-small {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* Sections */
.services, .about, .testimonials, .contact {
    padding: 80px 0;
}

.services {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d97706, #f59e0b);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services Grid - Mobile First */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(30, 58, 138, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(217, 119, 6, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(30, 58, 138, 0.15);
    border-color: rgba(217, 119, 6, 0.3);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.1), rgba(217, 119, 6, 0.1));
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.service-content p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 16px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8fafc 0%, #e5f3ff 100%);
}

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

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

.about-description p {
    margin-bottom: 25px;
    color: #4b5563;
    line-height: 1.8;
    font-size: 17px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.highlight {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
}

.highlight h4 {
    color: #d97706;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 18px;
}

.highlight p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.about-image {
    display: flex;
    justify-content: center;
}

.logo-large {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
    border: 4px solid rgba(217, 119, 6, 0.2);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-title::after {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 35px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 16px;
}

.testimonial-author strong {
    color: #fbbf24;
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
}

.testimonial-author span {
    opacity: 0.9;
    font-size: 14px;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h4 {
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 18px;
}

.contact-item a {
    color: #d97706;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #b45309;
}

.location-note {
    font-style: italic;
    color: #6b7280;
    margin-top: 12px;
    font-size: 15px;
}

.contact-cta {
    text-align: center;
    padding: 50px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.1);
}

.contact-cta h3 {
    color: #1e3a8a;
    font-size: 28px;
    margin-bottom: 18px;
    font-weight: 700;
}

.contact-cta p {
    color: #6b7280;
    margin-bottom: 35px;
    font-size: 17px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 50px 0 25px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fbbf24;
}

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

.footer-contact a {
    color: #fbbf24;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #f59e0b;
}

.footer-bottom {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.9;
    font-size: 14px;
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        flex-direction: row;
    }
    
    .contact-info,
    .contact-cta {
        flex: 1;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 35px;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-menu {
        position: static;
        height: auto;
        background: none;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        gap: 15px;
        width: auto;
        border-top: none;
    }
    
    .nav-menu .nav-link {
        margin: 0;
        padding: 8px 16px;
        font-size: 14px;
        width: auto;
        border: none;
        background: rgba(30, 58, 95, 0.9);
        color: white;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu .nav-link:nth-child(1) {
        background: rgba(30, 58, 95, 0.9);
        color: white;
    }
    
    .nav-menu .nav-link:nth-child(2) {
        background: rgba(30, 58, 95, 0.9);
        color: white;
    }
    
    .nav-menu .nav-link:nth-child(3) {
        background: rgba(30, 58, 95, 0.9);
        color: white;
    }
    
    .nav-menu .nav-link:nth-child(4) {
        background: rgba(30, 58, 95, 0.9);
        color: white;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(217, 119, 6, 0.95);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    }
    
    .language-toggle {
        margin-top: 0;
        margin-left: 0;
        padding: 8px 16px;
        font-size: 14px;
        background: rgba(30, 58, 138, 0.9);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .language-toggle:hover {
        background: rgba(30, 58, 138, 1);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    }
    
    .hamburger {
        display: none;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        flex-direction: row;
        text-align: left;
    }
    
    .about-text {
        flex: 2;
        text-align: left;
    }
    
    .about-image {
        flex: 1;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop Styles (1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 64px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .logo-large {
        width: 280px;
        height: 280px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.language-toggle:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-telegram {
        border: 2px solid currentColor;
    }
    
    .service-card {
        border: 2px solid #1e3a8a;
    }
}

