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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
}

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

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay - adjust opacity as needed */
}

/* Logo Header - Sticky */
.logo-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    pointer-events: none; /* Allow clicks to pass through when transparent */
}

.logo-header.scrolled {
    background: rgba(44, 62, 80, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    transition: padding 0.3s ease;
}

.logo-header.scrolled .logo-container {
    padding: 15px 20px;
}

.logo {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: max-height 0.3s ease;
}

.logo-header.scrolled .logo {
    max-height: 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 20px 20px 20px;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 40px auto 20px;
    font-family: 'Arial', sans-serif;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Celebration Effects */
.counter.celebrate-100 {
    animation: pulse-small 0.5s ease;
}

.counter.celebrate-1000 {
    animation: pulse-medium 0.8s ease;
}

.counter.celebrate-10000 {
    animation: pulse-large 1s ease;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

.counter.celebrate-100000 {
    animation: pulse-large 1.2s ease, rainbow-glow 2s ease;
}

.counter.celebrate-1000000 {
    animation: pulse-explosion 1.5s ease, rainbow-glow 3s ease;
}

@keyframes pulse-small {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse-medium {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes pulse-large {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes pulse-explosion {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.25); }
    60% { transform: scale(1.1); }
}

@keyframes rainbow-glow {
    0% { filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8)); }
    25% { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)); }
    50% { filter: drop-shadow(0 0 30px rgba(0, 255, 0, 0.8)); }
    75% { filter: drop-shadow(0 0 30px rgba(0, 100, 255, 0.8)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.8)); }
}

/* Particle container */
/* Particle container */
.celebration-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 3rem;
    animation: particle-explode 3.5s ease-out forwards;
}

@keyframes particle-explode {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    30% {
        transform: translate(var(--velocity-x), var(--velocity-y)) rotate(180deg) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(var(--velocity-x), calc(var(--velocity-y) + 600px)) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

.digit {
    background: white;
    border: 2px solid #333;
    border-radius: 0;
    padding: 15px 20px;
    font-size: 4rem;
    font-weight: bold;
    color: #2c3e50;
    min-width: 70px;
    text-align: center;
    border-right: none;
}

.digit.flash {
    background: #90EE90;
}

.digit.flash-fade {
    transition: background-color 1.5s ease;
}

.digit:first-child {
    border-radius: 8px 0 0 8px;
}

.digit:last-child {
    border-radius: 0 8px 8px 0;
    border-right: 2px solid #333;
}

.digit.empty {
    background: #f0f0f0;
    color: transparent;
}

.counter-label {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-top: 15px;
}

.hero-text {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

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

.cta-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

.cta-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-button {
    display: block;
    text-decoration: none;
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: #333;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-button h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.cta-button p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    /* Reset hero content padding on mobile */
    .hero-content {
        padding: 20px;
    }
    
    /* Adjust counter on mobile */
    .counter {
        gap: 0;
        margin: 30px auto 15px;
    }
    
    .digit {
        font-size: 2.5rem;
        padding: 10px 12px;
        min-width: 45px;
    }
    
    .counter-label {
        font-size: 1rem;
    }
    .logo-container {
        gap: 20px;
        padding: 15px 20px;
    }
    
    .logo {
        max-height: 60px;
    }
    
    .logo-header.scrolled .logo {
        max-height: 50px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .counter {
        font-size: 3.5rem;
        margin: 30px 0;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-container h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        gap: 30px;
    }
    
    .cta-button {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-height: 50px;
    }
    
    .logo-header.scrolled .logo {
        max-height: 40px;
    }
    
    .counter {
        gap: 0;
    }
    
    .digit {
        font-size: 1.8rem;
        padding: 8px 10px;
        min-width: 35px;
    }
    
    .counter-label {
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .counter {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .cta-container h2 {
        font-size: 1.75rem;
    }
}
/* Scroll Down Button */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.scroll-down-circle {
    width: 60px;
    height: 60px;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down-circle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.arrow-down {
    color: white;
    font-size: 2rem;
    line-height: 1;
}

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

.scroll-down.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Kiosk Mode */
body.kiosk-mode .hero {
    height: 100vh;
    min-height: 100vh;
}

body.kiosk-mode .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 40px 20px;
}

body.kiosk-mode .scroll-down {
    display: none;
}

body.kiosk-mode .cta-section {
    display: none;
}

/* Kiosk Mode Background Rotation */
body.kiosk-mode .hero-image {
    animation: fade-background 5s ease-in-out;
}

@keyframes fade-background {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-copyright {
    font-size: 0.85rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-kiosk {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(236, 240, 241, 0.2);
}

.kiosk-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.kiosk-link:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* Hide footer in kiosk mode */
body.kiosk-mode .footer {
    display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .footer-address {
        font-size: 0.8rem;
        line-height: 1.6;
    }
    
    .footer {
        padding: 30px 15px;
    }
}