/* Estilos generales */

body {
    background: url('assets/img/desa.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: #d4d4d4;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
}

.overlay {
    background: rgba(30, 30, 30, 0.85);
    min-height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
}

.navbar, .bg-dark {
    background: #23272e !important;
}

.navbar-brand, .nav-link, .navbar-nav .nav-link.active {
    color: #61dafb !important;
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
}

/* Estilos del banner */
.hero-section {
    background: linear-gradient(120deg, #23272e 0%, #1e1e1e 100%);
    color: #fff;
    border-bottom: 2px solid #282c34;
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Estilos de las tarjetas de proyectos */
.card {
    background: #23272e;
    color: #d4d4d4;
    border: 1px solid #282c34;
    box-shadow: 0 2px 8px #000a;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title, .card-text, h1, h2, h3, h4, h5, h6, .lead {
    color: #fff !important;
}

.btn-primary {
    background: #007acc;
    border: none;
}

.btn-primary:hover {
    background: #005a9e;
}

.star-rating {
    color: #ffd700;
    font-size: 1.3rem;
}

.blockquote-footer {
    color: #bdbdbd;
}

.table, .table th, .table td {
    background: #23272e !important;
    color: #d4d4d4 !important;
    border-color: #282c34 !important;
}

.form-control, .form-select {
    background: #23272e;
    color: #d4d4d4;
    border: 1px solid #282c34;
}

.form-control:focus, .form-select:focus {
    background: #23272e;
    color: #fff;
    border-color: #61dafb;
    box-shadow: none;
}

.table-responsive {
    background: #23272e;
}

footer.bg-dark {
    background: #23272e !important;
    color: #61dafb;
    border-top: 2px solid #282c34;
}

::-webkit-scrollbar {
    width: 8px;
    background: #23272e;
}

::-webkit-scrollbar-thumb {
    background: #282c34;
    border-radius: 4px;
}

#testimonios {
    background: #23272e;
    padding: 60px 0 40px 0;
}

#testimonios h2 {
    color: #61dafb !important;
    font-size: 2.2rem;
    font-weight: bold;
    background: #23272e;
    display: inline-block;
    padding: 0.2em 0.8em;
    border-radius: 6px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px #0003;
}

.testimonial-card {
    background: #1e1e1e;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px #0006;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 2rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card .star-rating {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.testimonial-card .blockquote-footer {
    color: #61dafb;
    font-size: 1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    #testimonios h2 {
        font-size: 1.3rem;
    }
    .testimonial-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

#acerca {
    background: rgba(35, 39, 46, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 24px #0006;
    color: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    margin: 3rem auto 2rem auto;
    max-width: 700px;
}

#acerca h2 {
    color: #61dafb;
    font-weight: bold;
    margin-bottom: 1rem;
}

#acerca .foto-perfil {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #61dafb;
    margin-bottom: 1rem;
}

#acerca .btn-contacto {
    background: #61dafb;
    color: #23272e;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    #acerca { padding: 1.2rem 0.7rem 1rem 0.7rem; }
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/***** RESPONSIVE DESIGN *****/

/* Ajuste general para el body y contenedores */
body {
    background: url('assets/img/desa.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: #d4d4d4;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
}

.container, .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Navbar y banner */
.navbar {
    padding: 0.7rem 1rem;
}
.hero-section {
    padding: 60px 0 30px 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 2.5rem;
}
.hero-section .lead {
    font-size: 1.2rem;
}

/* Grid de productos y proyectos */
.row {
    margin-left: 0;
    margin-right: 0;
}
.col-md-4, .col-lg-4, .col-12 {
    padding-left: 10px;
    padding-right: 10px;
}

.card, .testimonial-card {
    margin-bottom: 1.5rem;
}

.card-img-top, .foto-perfil {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
}

/* Sección Acerca de mí */
#acerca {
    padding: 2rem 1rem 1.5rem 1rem;
    margin: 2rem auto 1.5rem auto;
    max-width: 95vw;
}
#acerca .foto-perfil {
    width: 90px;
    height: 90px;
}
#acerca h2 {
    font-size: 1.5rem;
}
#acerca p {
    font-size: 1rem;
}

/* Sección de productos y proyectos */
@media (max-width: 991px) {
    .col-md-4, .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 767px) {
    .col-md-4, .col-lg-4, .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .hero-section h1 {
        font-size: 1.5rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    #acerca {
        padding: 1rem 0.5rem 1rem 0.5rem;
        margin: 1rem auto 1rem auto;
    }
    .testimonial-card {
        padding: 1rem 0.5rem 1rem 0.5rem;
        min-height: 120px;
    }
    .card-img-top, .foto-perfil {
        max-height: 140px;
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
    .btn-contacto {
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
    }
}

/* Ajustes para tablas y formularios en admin */
@media (max-width: 600px) {
    .table-responsive {
        font-size: 0.9rem;
    }
    .form-control, .form-select {
        font-size: 0.95rem;
    }
}

/***** FIN RESPONSIVE DESIGN *****/ 