/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --river-gold: #F9D58B;
    --maple-amber: #D87E2F;
    --forest-umber: #5B3B1D;
    --sunset-orange: #EC9F4C;
    --canyon-brown: #2F1C0F;
    --cream: #FFF8E7;
    --warm-white: #FFFCF5;
}

body {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
    color: var(--forest-umber);
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--sunset-orange) 0%, var(--maple-amber) 50%, var(--forest-umber) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(249, 213, 139, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 159, 76, 0.3) 0%, transparent 50%);
}

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

.festival-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 25px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--forest-umber);
    position: relative;
    overflow: hidden;
}

.festival-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.merch-button-container {
    margin-top: 30px;
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.merch-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    color: var(--warm-white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: shake 3s infinite;
}

.merch-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    animation: none;
}

@keyframes shake {
    0%, 98% { transform: translateX(0); }
    1% { transform: translateX(-1px); }
    2% { transform: translateX(1px); }
    3% { transform: translateX(-1px); }
    4% { transform: translateX(0); }
}

.badge-text {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--warm-white);
}

.festival-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.festival-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    font-style: italic;
    color: var(--warm-white);
}

.festival-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.detail-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--forest-umber);
}

.detail-label {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: var(--warm-white);
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--warm-white);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.leaves-decoration::before,
.leaves-decoration::after {
    content: '🍂';
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.leaves-decoration::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.leaves-decoration::after {
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

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

/* Intro Section */
.intro-section {
    padding: 100px 0;
    background: var(--warm-white);
    position: relative;
    z-index: 100;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--forest-umber);
    margin-bottom: 30px;
    line-height: 1.2;
}

.intro-content p {
    font-size: 1.3rem;
    color: var(--forest-umber);
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--river-gold) 100%);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-align: center;
    color: var(--forest-umber);
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: transparent;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    perspective: 1000px;
    height: 280px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.feature-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-back {
    transform: rotateY(180deg);
    background: rgba(255, 255, 255, 0.9);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--forest-umber);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--forest-umber);
    opacity: 0.8;
}

/* Info Section */
.info-section {
    padding: 100px 0;
    background: var(--warm-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.info-card {
    background: linear-gradient(135deg, var(--river-gold) 0%, var(--sunset-orange) 100%);
    padding: 40px;
    border-radius: 15px;
    color: var(--forest-umber);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--forest-umber) 0%, var(--canyon-brown) 100%);
    color: var(--warm-white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--river-gold) 0%, var(--sunset-orange) 100%);
    color: var(--forest-umber);
}

.cta-button.secondary {
    background: transparent;
    color: var(--warm-white);
    border: 2px solid var(--river-gold);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, var(--sunset-orange) 0%, var(--maple-amber) 100%);
}

.cta-button.secondary:hover {
    background: var(--river-gold);
    color: var(--forest-umber);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.footer-info p {
    font-size: 1rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .festival-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .detail-item {
        padding: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    /* Tablet cart icon adjustments */
    .floating-cart {
        top: 25px;
        right: 25px;
    }
    
    .cart-icon {
        width: 50px;
        height: 50px;
    }
    
    .cart-symbol {
        font-size: 20px;
    }
    
    .cart-badge {
        width: 22px;
        height: 22px;
        top: -7px;
        right: -7px;
        font-size: 11px;
    }
    
    .cart-dropdown {
        width: 340px;
        top: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .festival-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-content h2 {
        font-size: 1.8rem;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    /* Mobile cart icon adjustments */
    .floating-cart {
        top: 20px;
        right: 20px;
    }
    
    .cart-icon {
        width: 45px;
        height: 45px;
    }
    
    .cart-symbol {
        font-size: 18px;
    }
    
    .cart-badge {
        width: 20px;
        height: 20px;
        top: -6px;
        right: -6px;
        font-size: 10px;
    }
    
    .cart-dropdown {
        width: 300px;
        top: 55px;
    }
}

/* Schedule page specific styles */
.time-bubble {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--warm-white);
    text-decoration: none;
}

.time-bubble:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.time-bubble.active {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
}

.schedule-detail {
    display: none;
    margin-top: 40px;
    text-align: center;
}

.schedule-detail.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.schedule-detail .feature-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.schedule-detail h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--forest-umber);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.schedule-detail p {
    font-size: 1.2rem;
    color: var(--forest-umber);
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Floating Cart Styles */
.floating-cart {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
}

.cart-icon {
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cart-symbol {
    font-size: 24px;
    color: var(--warm-white);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--river-gold);
    color: var(--forest-umber);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    border: 2px solid var(--warm-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cart-dropdown {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 380px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.cart-header {
    padding: 25px;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--forest-umber);
    border-bottom: 2px solid rgba(91, 59, 29, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    background: rgba(212, 175, 55, 0.1);
}

.cart-empty {
    padding: 50px 25px;
    text-align: center;
    color: var(--forest-umber);
    opacity: 0.6;
    font-style: italic;
    font-size: 1.1rem;
}

.cart-items {
    max-height: 350px;
    overflow-y: auto;
    padding: 15px 0;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: rgba(91, 59, 29, 0.1);
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--river-gold);
    border-radius: 3px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid rgba(91, 59, 29, 0.1);
    transition: background 0.2s ease;
}

.cart-item:hover {
    background: rgba(212, 175, 55, 0.05);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    display: block;
    font-weight: 600;
    color: var(--forest-umber);
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.cart-item-type {
    display: block;
    font-size: 0.9rem;
    color: var(--forest-umber);
    opacity: 0.7;
    text-transform: capitalize;
    background: rgba(212, 175, 55, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    display: inline-block;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--river-gold);
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
}

.remove-item {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    background: #c0392b;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.cart-footer {
    padding: 25px;
    border-top: 2px solid rgba(91, 59, 29, 0.15);
    background: rgba(212, 175, 55, 0.05);
}

.cart-total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest-umber);
    margin-bottom: 18px;
    text-align: center;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--river-gold) 0%, var(--autumn-orange) 100%);
    color: var(--forest-umber);
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.cart-checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--autumn-orange) 0%, var(--river-gold) 100%);
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--river-gold);
    color: var(--forest-umber);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cart-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
} 