/* Estilos personalizados para Brand Builders MX */

:root {
    --primary-red: #dc3545;
    --dark-bg: #000000;
    --light-bg: #f9f9f9;
    --text-dark: #333333;
    --text-light: #666666;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

/* Botones */
.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Carousel */
.carousel-item img {
    max-height: 700px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Formularios */
.form-control,
.form-select {
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.input-group-text {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    color: var(--primary-red);
    font-size: 2.5rem;
}

h2 {
    color: var(--text-dark);
    font-size: 2rem;
}

h3 {
    color: var(--text-dark);
    font-size: 1.75rem;
}

/* Footer */
.bg-dark {
    background-color: var(--dark-bg) !important;
}

.bg-dark a {
    color: white;
    transition: color 0.3s ease;
}

.bg-dark a:hover {
    color: var(--primary-red);
}

/* Secciones */
.aboutus {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.txtBlack {
    color: var(--text-dark);
}

/* Iconos */
.redessociales {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.redessociales:hover {
    background-color: var(--primary-red);
    color: white !important;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .carousel-item img {
        max-height: 250px;
    }

    .col-md-2 {
        min-width: 150px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}