/* Reset och grundläggande */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 60px 0;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.event-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.icon {
    font-size: 1.5rem;
}

/* Main content */
main {
    background: white;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    padding: 40px 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

/* Spots counter */
.spots-counter {
    text-align: center;
    margin-bottom: 50px;
}

.counter-card {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.counter-card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.counter-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.counter-total {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sections */
section {
    margin-bottom: 60px;
    padding: 0 20px;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

/* About section */
.about p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.highlight .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.highlight h3 {
    font-size: 1.2rem;
    color: #2c3e50;
}

/* Registration form */
.registration {
    max-width: 600px;
    margin: 0 auto;
}

.registration-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #555;
}

.registration-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.registration-info a:hover {
    text-decoration: underline;
}

.registration-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Error messages */
.error-message {
    background: #ff6b6b;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

/* Status check section */
.status-check {
    text-align: center;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin: 0 20px;
}

.status-check a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.status-check a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    color: white;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .event-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .counter-number {
        font-size: 3rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .highlights {
        grid-template-columns: 1fr;
    }
    
    .registration-form {
        padding: 30px 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .registration-form {
        padding: 20px 15px;
    }
}

/* Bildspel */
.slideshow-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 40px auto;
    padding: 0 0 20px 0;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 520px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-image {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.7s;
    background: #222;
}

.slideshow-image.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-dots {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
}

.slideshow-dot.active {
    background: #667eea;
}

@media (max-width: 900px) {
    .slideshow-container {
        max-width: 98vw;
        height: 360px;
    }
}

@media (max-width: 600px) {
    .slideshow-container {
        max-width: 100vw;
        height: 240px;
    }
    .slideshow-dot {
        width: 9px;
        height: 9px;
    }
} 