/* Page-specific styles */

/* Active nav link */
.nav-menu a.active {
    color: var(--color-primary);
    font-weight: 600;
}

/* Page Hero */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.pandora-hero {
    background: url('../img/fondojhope.png') center/cover no-repeat;
    position: relative;
}

.pandora-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.pandora-hero > * {
    position: relative;
    z-index: 1;
}

.dance-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4e8 50%, #d4edda 100%);
}

.art-hero {
    background: linear-gradient(135deg, #f8f0ff 0%, #ffe8f5 50%, #f0d4ff 100%);
}

.amazon-hero {
    background: linear-gradient(135deg, #f0fff0 0%, #e8f5e8 50%, #d4edda 100%);
}

.hope-hero {
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e0 50%, #ffe8cc 100%);
}

.merch-hero {
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-light) 50%, #f5e6d3 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-title {
    font-family: var(--font-title);
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.pandora-hero .page-title { color: var(--color-accent); }
.dance-hero .page-title { color: var(--color-blue); }
.art-hero .page-title { color: var(--color-purple); }
.amazon-hero .page-title { color: var(--color-green); }
.hope-hero .page-title { color: var(--color-primary); }

.page-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.page-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.page-tag {
    background: rgba(232, 115, 90, 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.page-text {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Page Decoration */
.page-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-element.element-1 {
    background: var(--color-accent);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    background: var(--color-primary);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element.element-3 {
    background: var(--color-purple);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Music Notes */
.music-note {
    position: absolute;
    font-size: 2rem;
    color: var(--color-blue);
    opacity: 0.4;
    animation: floatNote 4s ease-in-out infinite;
}

.note-1 { top: 15%; left: 10%; animation-delay: 0s; }
.note-2 { top: 40%; right: 15%; animation-delay: 1s; }
.note-3 { bottom: 30%; left: 20%; animation-delay: 2s; }
.note-4 { top: 25%; right: 25%; animation-delay: 3s; }

@keyframes floatNote {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-15px) rotate(15deg); opacity: 0.7; }
}

/* Art Elements */
.art-element {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    opacity: 0.3;
    animation: spin 8s linear infinite;
}

.art-element.element-1 { background: var(--color-purple); top: 20%; left: 15%; }
.art-element.element-2 { background: var(--color-accent); top: 50%; right: 20%; animation-delay: 2s; }
.art-element.element-3 { background: var(--color-yellow); bottom: 25%; left: 25%; animation-delay: 4s; }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Leaf Elements */
.leaf-element {
    position: absolute;
    width: 50px;
    height: 30px;
    background: var(--color-green);
    border-radius: 0 50% 50% 50%;
    opacity: 0.3;
    animation: sway 5s ease-in-out infinite;
}

.leaf-1 { top: 15%; left: 10%; transform: rotate(-30deg); }
.leaf-2 { top: 45%; right: 15%; transform: rotate(20deg); animation-delay: 1s; }
.leaf-3 { bottom: 25%; left: 20%; transform: rotate(-10deg); animation-delay: 2s; }
.leaf-4 { top: 30%; right: 30%; transform: rotate(40deg); animation-delay: 3s; }

@keyframes sway {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

/* Heart Elements */
.heart-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

.heart-1 { top: 20%; left: 15%; border-radius: 50%; }
.heart-2 { top: 50%; right: 20%; border-radius: 50%; animation-delay: 1s; }
.heart-3 { bottom: 25%; left: 25%; border-radius: 50%; animation-delay: 2s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

/* Merch Elements */
.merch-element {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    opacity: 0.3;
    animation: float 5s ease-in-out infinite;
}

.merch-element.element-1 { background: var(--color-secondary); top: 20%; left: 10%; }
.merch-element.element-2 { background: var(--color-primary); top: 50%; right: 15%; animation-delay: 2s; }
.merch-element.element-3 { background: var(--color-yellow); bottom: 20%; left: 25%; animation-delay: 4s; }

/* Page Content */
.page-content {
    padding: 4rem 2rem;
    background: url('../img/fondojhope.png') center/cover no-repeat;
    position: relative;
}

.page-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.page-content > * {
    position: relative;
    z-index: 1;
}

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

.content-card {
    background: var(--color-bg);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.content-card h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.content-card p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-image {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    background: white;
    padding: 1rem;
}

/* Illustration Box */
.illustration-box {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.illustration-pandora { background: linear-gradient(135deg, #ff6b9d, #e8735a); }
.illustration-dance { background: linear-gradient(135deg, #4a90d9, #7cb342); }
.illustration-art { background: linear-gradient(135deg, #9c64a6, #ff6b9d); }
.illustration-amazon { background: linear-gradient(135deg, #7cb342, #5a9e6f); }
.illustration-hope { background: linear-gradient(135deg, #f4c542, #e8735a); }

.box-inner {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* Page Features */
.page-features {
    padding: 4rem 2rem;
    background: var(--color-bg-light);
}

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

.features-container h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Hope Messages */
.hope-messages-list {
    margin: 2rem 0;
}

.hope-messages-list p {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Page CTA */
.page-cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.cta-container p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Ticket Card */
.ticket-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ticket-header {
    margin-bottom: 2rem;
}

.ticket-badge {
    background: var(--color-primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.ticket-header h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.ticket-header p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.ticket-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-title);
}

/* Merch Display */
.merch-display {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.merch-item-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    width: 150px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

.merch-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.merch-item-card h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--color-text);
}

.merch-item-card p {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .content-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .content-left {
        order: 2;
    }

    .content-right {
        order: 1;
    }

    .page-title {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .page-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .merch-display {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
