/* ==========================================================================
   Tiptree Christmas Street Festival — Shared Styles
   ========================================================================== */

/* ---- Variables ---- */
:root {
    --primary-red: #c41e3a;
    --primary-green: #165b33;
    --primary-gold: #d4af37;
    --dark-blue: #1e3152;
    --light-gold: #f4e5c3;
    --snow-white: #ffffff;
    --text-dark: #2c3e50;
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-blue) 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--snow-white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link {
    color: var(--snow-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-gold) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* ==========================================================================
   Hero Section (development.html)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-green) 50%, var(--primary-red) 100%);
    color: var(--snow-white);
    padding: 2rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>') bottom;
    background-size: cover;
    opacity: 0.1;
}

#logo-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#twinkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-festive {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a01729 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    text-decoration: none;
    display: inline-block;
}

.btn-festive:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(196, 30, 58, 0.6);
    color: white;
}

.btn-festive-outline {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid white;
    text-decoration: none;
    display: inline-block;
}

.btn-festive-outline:hover {
    background: white;
    color: var(--primary-red);
    transform: translateY(-3px);
}

/* ==========================================================================
   Event Info Banner (development.html)
   ========================================================================== */
.event-info-banner {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c4941f 100%);
    color: var(--text-dark);
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.event-date {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.event-time {
    font-size: 1.3rem;
    margin: 0.5rem 0 0;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    min-width: 80px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    font-family: 'Mountains of Christmas', cursive;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* ==========================================================================
   Feature Cards (development.html)
   ========================================================================== */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-gold) 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-gold);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Registration CTA (development.html)
   ========================================================================== */
.registration-cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-red) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.registration-cta::before {
    content: '\1F384';
    position: absolute;
    font-size: 20rem;
    opacity: 0.1;
    top: -5rem;
    right: -5rem;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.registration-content {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Content Sections (shared)
   ========================================================================== */
.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background-color: #f8f9fa;
}

.content-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.content-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-card:hover img {
    transform: scale(1.05);
}

.content-card-body {
    padding: 2rem;
}

.content-card h2 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ==========================================================================
   Timeline (development.html)
   ========================================================================== */
.timeline-section {
    background: var(--light-gold);
    padding: 5rem 0;
}

.timeline-divider {
    text-align: center;
    padding: 3rem 0;
}

.timeline-divider h2 {
    font-size: 3rem;
    color: var(--primary-red);
    position: relative;
    display: inline-block;
    padding: 0 2rem;
}

.timeline-divider h2::before,
.timeline-divider h2::after {
    content: '\2744';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-gold);
}

.timeline-divider h2::before {
    left: 0;
}

.timeline-divider h2::after {
    right: 0;
}

/* ==========================================================================
   Social Media Section (development.html)
   ========================================================================== */
.social-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.social-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-gold);
    transform: scale(1.1) rotate(5deg);
    color: var(--text-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold);
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-gold);
    transform: translateY(-5px);
}

/* ==========================================================================
   Snowfall Effect
   ========================================================================== */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    user-select: none;
    cursor: default;
    animation: snowfall linear infinite;
    color: white;
    opacity: 0.8;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* ==========================================================================
   Privacy Policy Page
   ========================================================================== */
.policy-content-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-gold) 100%);
    min-height: calc(100vh - 400px);
}

.policy-container {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.policy-container h1 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.policy-container h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-container h3 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-container p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-container ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.policy-container ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.last-updated {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
}

.contact-box {
    background: var(--light-gold);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-gold);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .event-date {
        font-size: 2rem;
    }

    .countdown-container {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.75rem 1rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .btn-festive,
    .btn-festive-outline {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .policy-container {
        padding: 1.5rem;
    }

    .policy-container h1 {
        font-size: 2rem;
    }

    .policy-container h2 {
        font-size: 1.5rem;
    }
}
