/* Streama i Almedalen - Styles */

:root {
    --color-primary: rgb(35, 27, 59);
    --color-secondary: rgb(72, 55, 120);
    --color-accent: rgb(182, 0, 150);
    --color-text: rgb(255, 255, 255);
    --color-text-dark: rgb(35, 27, 59);
    --color-light: rgba(255, 255, 255, 0.9);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-text);
    background: var(--color-primary);
    line-height: 1.6;
}

/* Early Bird Banner */
.early-bird-banner {
    background: linear-gradient(135deg, rgb(0, 180, 120) 0%, rgb(0, 140, 100) 100%);
    padding: 0.75rem 2rem;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.early-bird-banner a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.early-bird-banner a:hover {
    text-decoration: underline;
}

.early-bird-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: rgba(35, 27, 59, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.with-banner {
    top: 44px;
}

.logo {
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--color-text);
}

.logo span {
    color: var(--color-accent);
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, rgba(35, 27, 59, 0.85) 0%, rgba(72, 55, 120, 0.8) 100%),
                url('/images/almedalen.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 8s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero h1 span {
    display: block;
    color: var(--color-accent);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1000px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 280px;
}

.hero-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-card-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.hero-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.hero-card-price {
    display: inline-block;
    background: var(--color-accent);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
}

/* Page Header */
.page-header {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--color-text);
    color: var(--color-text-dark);
}

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

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: #f8f7fc;
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(35, 27, 59, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    opacity: 0.7;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.pricing .section-title,
.pricing .section-subtitle {
    color: var(--color-text);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pricing-section-subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Description Section */
.description {
    padding: 5rem 2rem;
    background: var(--color-text);
    color: var(--color-text-dark);
}

.description h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-align: center;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.description-content p {
    margin-bottom: 1rem;
    opacity: 0.85;
}

.description-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.description-content li {
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--color-text);
    color: var(--color-text-dark);
}

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

.contact-form {
    margin-top: 3rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-group input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border: 2px solid #e0dde8;
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* CTA Section */
.cta {
    padding: 4rem 2rem;
    background: var(--color-primary);
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(182, 0, 150, 0.4);
}

/* Footer */
footer {
    padding: 3rem 2rem;
    background: var(--color-primary);
    text-align: center;
}

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

footer a {
    color: var(--color-accent);
    text-decoration: none;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    color: var(--color-text-dark);
    border-radius: 20px;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-dark);
    padding: 0.5rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-content {
    padding: 1.5rem 2rem 2rem;
}

.modal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.modal-content h3:first-child {
    margin-top: 0;
}

.modal-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.modal-content ul {
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.modal-content li {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 0.25rem;
}

/* Accessibility Badge */
.accessibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.accessibility-badge svg {
    width: 24px;
    height: 24px;
    fill: var(--color-accent);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Booking Form */
.booking-form {
    background: #f8f7fc;
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
    flex-direction: column;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e0dde8;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: white;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.booking-form textarea {
    min-height: 100px;
    resize: vertical;
}

.booking-form .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.booking-form .checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-form .checkbox-item input[type="checkbox"] {
    width: auto;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Step Wizard */
.step-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step-indicator.active,
.step-indicator.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0dde8;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s, color 0.3s;
}

.step-indicator.active .step-number {
    background: var(--color-accent);
    color: white;
}

.step-indicator.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: var(--color-text-dark);
    font-weight: 500;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.form-buttons .btn {
    flex: 1;
    min-width: 120px;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: white;
}

/* Events List */
.events-list {
    background: #e8f5e9;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.events-list h4 {
    color: #2e7d32;
    font-size: 0.95rem;
}

.event-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.event-info {
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.event-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-remove:hover {
    background: #c82333;
}

/* Booking Summary */
.booking-summary {
    background: #f8f7fc;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-section {
    margin-bottom: 1rem;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-section h4 {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-section p {
    color: var(--color-text-dark);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.summary-event {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

/* Service Selector */
.service-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.service-option {
    cursor: pointer;
}

.service-option input {
    display: none;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.875rem 0.5rem;
    background: white;
    border: 2px solid #e0dde8;
    border-radius: 12px;
    transition: all 0.2s;
    text-align: center;
}

.service-card svg {
    width: 28px;
    height: 28px;
    fill: var(--color-secondary);
    transition: fill 0.2s;
}

.service-card span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.service-option:hover .service-card {
    border-color: var(--color-accent);
}

.service-option input:checked + .service-card {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.service-option input:checked + .service-card svg {
    fill: white;
}

.service-option input:checked + .service-card span {
    color: white;
}

/* Date Selector */
.date-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.date-option {
    cursor: pointer;
}

.date-option input {
    display: none;
}

.date-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.25rem;
    background: white;
    border: 2px solid #e0dde8;
    border-radius: 10px;
    transition: all 0.2s;
    text-align: center;
}

.date-card .day-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 0.5px;
}

.date-card .day-date {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-top: 0.2rem;
}

.date-option:hover .date-card {
    border-color: var(--color-accent);
}

.date-option input:checked + .date-card {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.date-option input:checked + .date-card .day-name,
.date-option input:checked + .date-card .day-date {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        padding: 1rem;
        display: none;
        flex-direction: column;
        text-align: center;
    }

    nav.active {
        display: flex;
    }

    nav a {
        margin: 0.75rem 0;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .form-group {
        flex-direction: column;
    }

    .form-group input,
    .form-group .btn {
        width: 100%;
    }

    .booking-form .form-row {
        grid-template-columns: 1fr;
    }

    .service-selector {
        grid-template-columns: repeat(3, 1fr);
    }

    .date-selector {
        grid-template-columns: repeat(3, 1fr);
    }
}
