/* Valen SPA - Estilos del sitio web */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    background-color: #1a1a1a;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.navbar-brand img {
    height: 60px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffc107;
}

/* Carousel */
.carousel-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.carousel-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.carousel-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.carousel-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.carousel-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-control.active,
.carousel-control:hover {
    background: #fff;
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carousel-arrow {
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-arrow:hover {
    background: rgba(0,0,0,0.8);
}

/* Sections */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 18px;
}

/* About Section */
.about-section {
    background: #fff;
    padding: 60px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-content h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.about-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Services Section */
.services-section {
    background: #f8f9fa;
    padding: 60px 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #ffc107;
}

.service-item h3 {
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 20px;
}

.service-item p {
    color: #666;
}

/* Gallery Section */
.gallery-section {
    background: #fff;
    padding: 60px 20px;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    background: #f8f9fa;
    padding: 60px 20px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    margin-bottom: 40px;
}

.contact-intro p {
    font-size: 18px;
    color: #555;
}

.contact-intro a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffc107;
    outline: none;
}

.btn-submit {
    background: #ffc107;
    color: #1a1a1a;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #e0a800;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #ffc107;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Intranet Link */
.intranet-link {
    background: rgba(255, 193, 7, 0.2);
    padding: 8px 15px !important;
    border-radius: 4px;
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.intranet-link:hover {
    background: rgba(255, 193, 7, 0.3);
    color: #ffc107 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .carousel-content h1 {
        font-size: 32px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .carousel-section {
        height: 400px;
    }
    
    .carousel-slide {
        height: 400px;
    }
}
