/* style.css */

/* Import Google Fonts (si se usan) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:wght@400;700&display=swap');

/* Variables de color (Opcional, para fácil personalización) */
:root {
    --bs-primary: #6a5acd; /* Ejemplo: SlateBlue - Elige tu color primario */
    --bs-secondary: #6c757d;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;
}

/* Estilos Generales */
body {
    font-family: var(--font-primary);
    padding-top: 70px; /* Ajuste para la navbar fija */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

.section-title {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--bs-dark);
}

/* Navbar */
.navbar {
    transition: background-color 0.3s ease;
}
.navbar-brand {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--bs-primary) !important; /* Usa tu color primario */
}
.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-left: 10px;
    margin-right: 10px;
}
.nav-link:hover, .nav-link.active {
    color: var(--bs-primary) !important;
}


/* Hero Section (Inicio) */
.hero-section {
    /* --- IMPORTANTE: REEMPLAZA ESTA URL CON TU IMAGEN PRINCIPAL --- */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://usinefurniture.com/img/imgPrincipal1.jpg') no-repeat center center;
    background-size: cover;
    min-height: calc(100vh - 70px); /* Altura completa menos la navbar */
    color: #fff;
    position: relative; /* Para overlays si es necesario */
}

.hero-section .tagline {
    font-family: var(--font-secondary);
    font-style: italic;
    font-size: 1.2rem;
}

.hero-section h1 {
    font-size: 3rem; /* Ajusta según necesites */
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section {
        min-height: auto;
        padding: 100px 0;
    }
     body {
        padding-top: 56px; /* Ajuste menor para navbar en móvil */
    }
}

/* Sección Sobre Nosotros */
#nosotros img {
    max-width: 100%;
    height: auto;
}

/* Sección Materiales */
.material-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.material-card img {
    aspect-ratio: 4 / 3; /* Mantiene la proporción de las imágenes */
    object-fit: cover; /* Asegura que la imagen cubra el área sin distorsionarse */
}
.border-dashed {
    border: 2px dashed #ccc;
}

/* Sección Servicios */
.service-list i {
    width: 30px; /* Asegura alineación */
}

/* Sección Galería */
.gallery-grid img.gallery-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}
.gallery-grid img.gallery-img:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

/* Sección Contacto */
.contact-info i {
     width: 30px; /* Asegura alineación */
}
.contact-info a {
    color: var(--bs-dark);
    text-decoration: none;
}
.contact-info a:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}
.social-links a {
    transition: transform 0.2s ease;
}
.social-links a:hover {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: var(--bs-dark); /* Puedes usar var(--bs-dark) o un color específico */
}

/* Utilidades */
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; }
.rounded { border-radius: .375rem!important; }