/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 880px; /* Cambiado de 1200px a 680px */
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #0099a8;
    color: white;
    border: 2px solid #0099a8;
}

.btn-primary:hover {
    background-color: #007a87;
    border-color: #007a87;
}

.btn-login {
    background-color: transparent;
    color: #0099a8;
    border: 2px solid #0099a8;
}

.btn-login:hover {
    background-color: #0099a8;
    color: white;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative; /* Añadido para posicionar el botón de login */
}

.logo {
    text-align: center; /* Centrar el logo */
}

.logo img {
    height: 60px; /* Aumentado de 40px a 60px para hacer el logo más grande */
}

.login-button {
    position: absolute; /* Posicionamiento absoluto */
    right: 20px; /* Colocar a la derecha */
}

.btn-login {
    background-color: transparent;
    color: #0099a8;
    border: 2px solid #0099a8;
    padding: 8px 15px; /* Reducido de 10px 20px a 8px 15px para hacer el botón más pequeño */
    font-size: 14px; /* Reducido el tamaño de la fuente */
}

.btn-login:hover {
    background-color: #0099a8;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://ocasa.com/img/fotos/slider1-.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end; /* Cambiado de center a flex-end para alinear al bottom */
    position: relative;
    color: white;
    text-align: left;
    padding: 0 20px;
}

/* Soporte para pantallas de alta resolución (2x) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: url('https://ocasa.com/img/fotos/slider1-.jpg');
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65); /* Aumentado de 0.5 a 0.65 para oscurecer más la imagen */
}

.hero-content {
    position: relative;
    max-width: 600px;
    margin-left: 10%;
    margin-bottom: 80px; /* Añadido para dar espacio en la parte inferior */
    color: white; /* Asegurando que el texto sea blanco */
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white; /* Asegurando que el título sea blanco */
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: white; /* Asegurando que el párrafo sea blanco */
}

/* Club Transportista Section */
.club-section {
    padding: 80px 0;
    background-color: white;
}

.club-section h2 {
    text-align: center;
    color: #0099a8;
    margin-bottom: 25px;
    font-size: 28px;
}

.club-section p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.club-image {
    margin: 25px auto;
    text-align: center;
}

.club-image img {
    max-width: 100%;
    border-radius: 8px;
}

.evaluation-criteria {
    margin: 30px 0;
}

.evaluation-criteria ul {
    padding-left: 20px;
}

.evaluation-criteria li {
    font-size: 18px;
    margin-bottom: 10px;
}

.cta-text {
    color: #0099a8;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-top: 30px;
}

/* Proveedor del Trimestre Section */
.provider-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.provider-section h2 {
    text-align: center;
    color: #0099a8;
    margin-bottom: 25px;
    font-size: 28px;
}

.provider-section p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.provider-image {
    margin: 25px auto;
    text-align: center;
}

.provider-image img {
    max-width: 100%;
    border-radius: 8px;
}

.providers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.provider-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #0099a8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.provider-card h3 {
    color: #0099a8;
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: bold;
}

.provider-card p {
    color: #666;
    font-size: 16px;
    margin: 0;
    font-weight: normal;
}

.congrats-text {
    margin-top: 30px;
}

.congrats-text strong {
    color: #0099a8;
}

/* Giftcards Section */
.giftcards-section {
    padding: 80px 0;
    background-color: white;
}

.giftcards-section h2 {
    text-align: center;
    color: #0099a8;
    margin-bottom: 25px;
    font-size: 28px;
}

.giftcards-section p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.giftcards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.giftcard-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.giftcard-item:hover {
    transform: translateY(-5px);
}

.giftcard-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 60px 0 20px;
    color: #333;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #666;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #0099a8;
}

.tracking-form {
    display: flex;
    margin-top: 15px;
}

.tracking-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.tracking-form button {
    background-color: #0099a8;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #666;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #0099a8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .footer-column {
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .providers-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .provider-card {
        width: 100%;
        max-width: 300px;
    }
    
    .giftcards-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .club-section h2,
    .provider-section h2,
    .giftcards-section h2 {
        font-size: 24px;
    }
    
    .club-section p,
    .provider-section p,
    .giftcards-section p,
    .evaluation-criteria li {
        font-size: 16px;
    }
    
    .cta-text {
        font-size: 20px;
    }
}

/* Secciones de contenido */
.club-section .container,
.provider-section .container,
.giftcards-section .container {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

/* Para elementos que necesitan alineación a la izquierda dentro de las secciones */
.club-section p,
.provider-section p,
.evaluation-criteria,
.evaluation-criteria ul {
    text-align: left;
}