/* ===== ESQUERRE - STYLES.CSS ===== */
/* 50 años de tradición en diseño de muebles */

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #f4f1ed 0%, #e8e1d6 100%);
    color: #2c2c2c;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-bottom: 1px solid #d4c4a8;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo con imagen real */
.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Logo completo (solo imagen) */
.logo-full {
    height: 45px;
    object-fit: contain;
}

/* Logo CSS (fallback o alternativo) */
.logo-icon {
    width: 40px;
    height: 40px;
    background: #8B4513;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 25px;
    background: #8B4513;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 13px;
    width: 22px;
    height: 8px;
    background: #8B4513;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #2c2c2c;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
}

/* Navegación */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #8B4513;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(244,241,237,0.95) 0%, rgba(232,225,214,0.95) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f8f5f1" width="1200" height="600"/><rect fill="%23e8dcc6" x="100" y="150" width="200" height="120" rx="10" opacity="0.6"/><rect fill="%23d4c4a8" x="350" y="100" width="150" height="180" rx="8" opacity="0.7"/><rect fill="%23c9b899" x="550" y="120" width="180" height="150" rx="12" opacity="0.6"/><rect fill="%23bca888" x="780" y="80" width="160" height="200" rx="6" opacity="0.8"/></svg>');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #2c2c2c;
    position: relative;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: #8B4513;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #2c2c2c;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #555;
    font-weight: 300;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #8B4513;
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139,69,19,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #654321;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139,69,19,0.4);
}

/* ===== LEGACY SECTION ===== */
.legacy {
    padding: 6rem 2rem;
    background: white;
}

.legacy .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.legacy-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
    font-weight: 700;
    line-height: 1.2;
}

.legacy-highlight {
    color: #8B4513;
    font-weight: 800;
}

.legacy-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.legacy-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f5f1;
    border-radius: 12px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B4513;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legacy-image {
    position: relative;
}

.legacy-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 6rem 2rem;
    background: #f8f5f1;
}

.services .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-weight: 700;
}

.services-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    border: 1px solid #e8dcc6;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 3.5rem;
    color: #8B4513;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== VALUES SECTION ===== */
.values {
    padding: 6rem 2rem;
    background: white;
}

.values .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.values h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.value-item {
    padding: 2rem;
}

.value-item i {
    font-size: 3rem;
    color: #8B4513;
    margin-bottom: 1.5rem;
}

.value-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-weight: 600;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 2rem;
    background: #2c2c2c;
    color: white;
}

.contact .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    font-weight: 300;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #d4c4a8;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo .logo-title {
    color: white;
    font-size: 1.5rem;
}

.footer-logo .logo-subtitle {
    color: #999;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .legacy .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .legacy-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .services h2,
    .legacy h2,
    .values h2,
    .contact h2 {
        font-size: 2.2rem;
    }

    .logo-title {
        font-size: 1.4rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .service-card,
    .value-item {
        padding: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}