/* styles.css - Estilos compartidos para todas las páginas */
:root {
    --primary-color: #e67e22;
    --secondary-color: #2c3e50;
    --oceba-blue: #1a3b5d;
    --oceba-gold: #ffd700;
    --light-gray: #f8f9fa;
    --dark-gray: #34495e;
    --text-color: #333;
    --text-light: #7f8c8d;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #f5f5f5;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logo h1 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.logo .tagline {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 2px;
}

.navbar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 15px;
}

.navbar a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary-color);
}

.navbar a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section con imagen de fondo */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('./imagenes/coop.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: white;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 36px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 18px;
}

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

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    text-align: left;
}

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

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card:nth-child(1) .service-icon {
    color: #f1c40f;
}

.service-card:nth-child(2) .service-icon {
    color: #3498db;
}

.service-card:nth-child(3) .service-icon {
    color: #1abc9c;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 14px;
}

.service-features i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 12px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s;
}

.service-link:hover {
    color: #d35400;
}

/* OCEBA Banner */
.oceba-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.oceba-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--oceba-gold);
}

.oceba-logo-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--oceba-blue);
    font-weight: 700;
}

.oceba-logo-mini i {
    font-size: 24px;
    color: var(--oceba-gold);
}

.oceba-logo-mini span {
    font-size: 18px;
    letter-spacing: 1px;
}

.oceba-message-mini {
    flex: 1;
    color: #495057;
    font-size: 14px;
}

.oceba-message-mini strong {
    color: var(--oceba-blue);
}

.oceba-links-mini {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.oceba-links-mini a {
    color: var(--oceba-blue);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #f8f9fa;
}

.oceba-links-mini a:hover {
    color: var(--oceba-gold);
    background-color: var(--oceba-blue);
}

.oceba-links-mini i {
    font-size: 12px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color), #34495e);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--secondary-color), #34495e);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-info p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #bdc3c7;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: #bdc3c7;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.service-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #34495e;
    border-bottom: 1px solid #34495e;
}

.badge {
    padding: 8px 20px;
    background-color: #34495e;
    border-radius: 50px;
    font-size: 14px;
    color: #bdc3c7;
    transition: all 0.3s;
    text-decoration: none;
}

.badge:hover {
    background-color: var(--primary-color);
    color: white;
}

.oceba-badge {
    background-color: var(--oceba-blue);
    border: 1px solid var(--oceba-gold);
    color: var(--oceba-gold);
}

.oceba-badge:hover {
    background-color: var(--oceba-gold);
    color: var(--oceba-blue);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    color: #bdc3c7;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .services h2,
    .page-header h2 {
        font-size: 28px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .oceba-content {
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
    }

    .oceba-message-mini {
        text-align: center;
    }

    .oceba-links-mini {
        justify-content: center;
    }

    .service-badges {
        gap: 10px;
    }

    .badge {
        padding: 5px 15px;
        font-size: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0;
    }

    .hero h2 {
        font-size: 28px;
    }

    .btn-primary {
        padding: 12px 25px;
    }

    .service-card {
        padding: 30px 20px;
    }
}