/* ========================================
   COMUNIDAD LANDING PAGE STYLES
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* Hero Section Styles */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section-update {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section-steps {
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-logo {
    position: relative;
    z-index: 3;
    background-image: url('https://clavebursatil.com/wp-content/uploads/2020/06/logo-cb-3-1-1400x242.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 350px;
    height: 60px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.3); */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-highlight {
    color: #c6f501;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.5); */
}

.custom-community-header {
    background: 
        url('https://clavebursatil.com/wp-content/uploads/2025/09/Banner-comunidad-min.png') center/cover,
        linear-gradient(180deg, #082146 0%, rgb(8, 186, 88) 80%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 0;
    background-attachment: fixed;
}

/* CTA Button Styles */
.cta-button {
    background: #08ba58;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(134, 134, 134, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 43, 43, 0.6);
    color: white;
    text-decoration: none;
}

.cta-button-community {
    background: #1d2530;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 186, 88, 0.4);
}

.cta-button-community:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 186, 88, 0.6);
    color: white;
    text-decoration: none;
}

/* Features Section Styles */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-section .row {
    display: flex;
    flex-wrap: wrap;
}

.features-section .col-lg-4,
.features-section .col-md-6 {
    display: flex;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 90%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #08ba58;
    flex-shrink: 0;
}

.feature-card h4 {
    flex-shrink: 0;
    margin-bottom: 15px;
}

.feature-card p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Steps Section Styles */
.steps-section {
    padding: 80px 0;
    background: white;
}

.step-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    border: 2px solid #e9ecef;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #08ba58;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #08ba58, #082146);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #08ba58;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Info Section Styles */
.info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-icon {
    background: linear-gradient(45deg, #08ba58, #082146);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.info-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Form Section Styles */
.form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #082146 0%, #08ba58 100%);
    color: white;
}

.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    color: #333;
}

.form-card:hover {
    transform: translateY(-5px);
}

.form-header {
    background: linear-gradient(135deg, #082146 0%, #08ba58 100%);
    color: white;
    padding: 40px 40px 30px;
    text-align: center;
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-title i {
    font-size: 1.5rem;
}

.form-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.form-content {
    padding: 40px;
}

.subscription-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-label i {
    color: #08ba58;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #08ba58;
    box-shadow: 0 0 0 3px rgba(8, 186, 88, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-primary {
    background: #08ba58;
    color: white;
}

.btn-primary:hover {
    background: #06a048;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 186, 88, 0.3);
}

/* Community Specific Styles */
.community-highlight {
    color: #08ba58;
    font-weight: 600;
}

.community-underline {
    border-bottom: 3px solid #08ba58;
    display: inline-block;
    padding-bottom: 2px;
}

.step-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #08ba58, #082146);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-image img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

/* Scroll Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .form-header {
        padding: 30px 20px 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .form-content {
        padding: 30px 20px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Dark Mode Styles */
body.dark .custom-community-header {
    background: 
        url('https://clavebursatil.com/wp-content/uploads/2025/09/Banner-comunidad-min.png') center/cover,
        linear-gradient(180deg, rgba(8, 33, 70, 0.3) 0%, rgba(8, 186, 88, 0.3) 80%);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 0;
    background-attachment: fixed;
}

body.dark .feature-card {
    background: #2c3e50;
    color: white;
}

body.dark .step-card {
    background: #2c3e50;
    color: white;
    border-color: #4a5f7a;
}

body.dark .form-card {
    background: #2c3e50;
    color: white;
}

body.dark .info-card {
    background: #34495e;
}

body.dark .info-content h4 {
    color: white;
}

body.dark .info-content p {
    color: #bdc3c7;
}

body.dark .form-label {
    color: white;
}

body.dark .form-control {
    background: #34495e;
    border-color: #4a5f7a;
    color: white;
}

body.dark .form-control:focus {
    border-color: #08ba58;
    background: #34495e;
}

body.dark .features-section {
    background: #1a1a1a;
}

body.dark .info-section {
    background: #1a1a1a;
}

/* Footer Section Styles */
.footer-section {
    background: #1d2530;
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

/* Dark Mode Footer */
body.dark .footer-section {
    background: #1a1a1a;
}
