/* Sorteo Page Specific Styles */
:root {
    --primary-color: #6b7b6c;
    --secondary-color: #d8cdc0;
    --accent-color: #a47453; /* Color cobre/marrón */
    --dark-primary: #556155;
    --light-primary: #8a9a8b;
    --dark-accent: #8a6245; /* Versión más oscura del acento */
    --text-color: #333333;
    --background-color: #f8f5f2;
    --white-color: #ffffff;
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.2s ease;
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Main Content Padding (to account for fixed header) */
main {
    padding-top: 80px; /* Height of the header */
}

/* Button Styles */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-medium);
    letter-spacing: 1px;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn--primary:hover {
    background-color: var(--dark-primary);
    border-color: var(--dark-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(107, 123, 108, 0.3);
}

.btn--secondary {
    background-color: var(--accent-color);
    color: var(--white-color);
    border: 2px solid var(--accent-color);
}

.btn--secondary:hover {
    background-color: var(--dark-accent);
    border-color: var(--dark-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(164, 116, 83, 0.3);
}

/* Section Styles */
.section-title {
    font-family: var(--font-title);
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

.section-content {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
}

.section-content p {
    margin-bottom: 20px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroa.jpg') center/cover no-repeat;
    opacity: 0.08;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header__title {
    font-family: var(--font-title);
    font-size: 48px;
    margin-bottom: 15px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: 14px;
}

.breadcrumbs__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
    color: var(--secondary-color);
}

.breadcrumbs__separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs__current {
    color: var(--white-color);
}

/* Sorteo Banner Section */
.sorteo-banner {
    padding: 80px 0;
    background-color: var(--white-color);
    text-align: center;
}

.sorteo-banner__content {
    max-width: 800px;
    margin: 0 auto;
}

.sorteo-banner__badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(164, 116, 83, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.sorteo-banner__title {
    font-family: var(--font-title);
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sorteo-banner__text {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
}

/* Countdown Section */
.countdown-section {
    padding: 60px 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/leaf-pattern.png') center/cover no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.countdown-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.countdown-title {
    font-family: var(--font-title);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 600;
    color: var(--accent-color);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.countdown-value::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    top: 50%;
    left: 0;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-message {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 20px;
}

/* How to Participate Section */
.how-to-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.step-card__icon {
    margin-bottom: 25px;
}

.step-card__title {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-card__description {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Prize Section */
.prize-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.prize-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.prize-image {
    position: relative;
}

.rounded-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.prize-image__pattern {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70%;
    height: 70%;
    background-color: var(--accent-color);
    border-radius: 10px;
    opacity: 0.8;
    z-index: 1;
}

.prize-content .section-title {
    text-align: left;
}

.prize-content .section-title::after {
    margin-left: 0;
    margin-right: auto;
}

.prize-separator {
    margin: 30px 0;
    color: var(--accent-color);
    font-size: 24px;
    letter-spacing: 5px;
}

.prize-tagline {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.prize-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Winners Section */
.winners-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.winner-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform var(--transition-medium);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--accent-color);
}

.winner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.winner-card__month {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.winner-card__name {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.winner-card__prize {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.winner-card__quote {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
    position: relative;
    padding-top: 20px;
}

.winner-card__quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-medium);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-family: var(--font-title);
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.faq-question::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--accent-color);
}

.faq-answer {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.cta-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white-color);
    box-shadow: 0 20px 40px rgba(107, 123, 108, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroa.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.cta-card__title {
    font-family: var(--font-title);
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.cta-card__text {
    font-family: var(--font-body);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.cta-card__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid .step-card:last-child {
        grid-column: span 2;
    }
    
    .prize-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .prize-content {
        text-align: center;
    }
    
    .prize-content .section-title {
        text-align: center;
    }
    
    .prize-content .section-title::after {
        margin: 15px auto 0;
    }
    
    .prize-buttons {
        justify-content: center;
    }
    
    .winners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .winners-grid .winner-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .countdown {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .countdown-item {
        flex: 1 0 45%;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid .step-card:last-child {
        grid-column: auto;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .winners-grid {
        grid-template-columns: 1fr;
    }
    
    .winners-grid .winner-card:last-child {
        grid-column: auto;
    }
    
    .cta-card__buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .sorteo-banner__title {
        font-size: 28px;
    }
    
    .sorteo-banner__badge {
        font-size: 14px;
    }
    
    .countdown-title {
        font-size: 24px;
    }
    
    .countdown-value {
        font-size: 36px;
        width: 60px;
        height: 60px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .countdown-message {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .prize-tagline {
        font-size: 20px;
    }
    
    .step-card {
        padding: 30px 20px;
    }
    
    .step-card__title {
        font-size: 20px;
    }
}