:root {
    --gold: #d4af37;
    --gold-light: #fadd75;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-card-hover: #252525;
    --text-light: #f0f0f0;
    --shadow-soft: 0 10px 30px -10px rgba(0,0,0,0.5);
    --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.4);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    letter-spacing: -0.5px;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.animate-fade-up.in-view {
    animation: fadeUp 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-fade-up.in-view.delay-1 { animation-delay: 0.08s; }
.animate-fade-up.in-view.delay-2 { animation-delay: 0.16s; }
.animate-fade-up.in-view.delay-3 { animation-delay: 0.24s; }
.animate-fade-up.in-view.delay-4 { animation-delay: 0.32s; }


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}


header {
    height: 85vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.6),
            rgba(18,18,18,1)
    ),
    url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?ixlib=rb-1.2.1&auto=format&fit=crop&w=1353&q=80');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
}

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


.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--gold-light), var(--gold));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn:hover::before {
    opacity: 1;
}

.btn:disabled {
    background: #555;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    color: #888;
}


section {
    padding: 100px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}


.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 20px;
}

.price-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.price-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-gold);
    border-color: transparent;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price-card.highlight {
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(145deg, #252525, #1e1e1e);
}

.price-card.highlight:hover {
    box-shadow: var(--shadow-gold), inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.price {
    font-size: 2.5rem;
    color: var(--gold);
    margin: 15px 0;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

.desc {
    color: #aaa;
    font-size: 1.1rem;
}

.extra-info {
    margin-top: 50px;
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
}

#booking {
    background: linear-gradient(to bottom, var(--bg-dark), #1a1a1a);
    padding-bottom: 120px;
}

.date-selector-container {
    margin-bottom: 50px;
    text-align: center;
    display: inline-block;
    background: var(--bg-card);
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.date-selector-container label {
    font-size: 1.2rem;
    margin-right: 20px;
    color: var(--gold);
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

#bookingDate {
    padding: 12px 20px;
    font-size: 1.1rem;
    border-radius: 30px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    background-color: var(--bg-dark);
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

#bookingDate:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

#bookingDate::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg);
    cursor: pointer;
}

/* Boknings-rutnät */
.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    max-width: 850px;
    margin: 0 auto;
}

.time-slot {
    background: var(--bg-card);
    color: var(--text-light);
    padding: 15px;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.time-slot:not(.booked):not(.past):hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
    background: var(--bg-card-hover);
    color: var(--gold);
}

.time-slot.selected {
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    color: #000;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    font-weight: bold;
}

.time-slot.booked {
    background: rgba(61, 0, 0, 0.5);
    color: #ff6b6b;
    border-color: rgba(80, 0, 0, 0.5);
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}

.time-slot.past {
    background: #181818;
    color: #444;
    border-color: #222;
    cursor: not-allowed;
    opacity: 0.4;
}

.time-slot:not(.booked):not(.past)::after {
    content: 'Boka';
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    color: var(--gold);
}

.time-slot:not(.booked):not(.past):hover::after {
    opacity: 1;
    transform: translateY(0);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--bg-card);
    padding: 50px;
    box-shadow: var(--shadow-gold);
    border-radius: 25px;
    width: 90%;
    max-width: 450px;
    position: relative;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: slideUp 0.4s ease;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #888;
    font-size: 32px;
    transition: color 0.3s;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}

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

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

input {
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #333;
    background: #2a2a2a;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--gold);
    background: #333;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}


.map-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.1);
}

.map-container iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.5s;
}
.map-container:hover iframe {
    filter: grayscale(0%) invert(0%);
}


footer {
    background: #080808;
    padding-top: 80px;
    color: #aaa;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    color: #fff;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.8;
}

.footer-section ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-section i {
    color: var(--gold);
    font-size: 1.2rem;
}

.footer-section a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.footer-bottom {
    background: #000;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #111;
}


.success-icon {
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 25px;
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.bar {
    display: block;
    width: 30px;
    height: 2px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--gold);
}

.form-feedback {
    display: none;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: center;
    animation: shake 0.4s ease-in-out;
}

.info-box {
    margin-top: 60px;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.info-label {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.1rem;
}

.info-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

.info-link:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.flatpickr-calendar {
    background: #1e1e1e !important;
    border: 1px solid #333 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    font-family: 'Poppins', sans-serif !important;
    border-radius: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 10px !important;
}

.flatpickr-calendar::before, .flatpickr-calendar::after {
    display: none !important;
}

.flatpickr-month {
    background: #1e1e1e !important;
    color: #d4af37 !important;
    border-bottom: 1px solid #333;
    border-radius: 15px 15px 0 0 !important;
    height: 50px !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-family: 'Playfair Display', serif !important;
    font-weight: bold !important;
}

.flatpickr-current-month input.cur-year {
    font-family: 'Playfair Display', serif !important;
    font-weight: bold !important;
}

.flatpickr-weekdays {
    background: #1e1e1e !important;
}

span.flatpickr-weekday {
    color: #888 !important;
    font-weight: normal !important;
}

.flatpickr-day {
    color: #fff !important;
    border-radius: 50% !important;
    transition: all 0.2s;
}

.flatpickr-day:hover, .flatpickr-day:focus {
    background: #333 !important;
    border-color: #333 !important;
}

.flatpickr-day.today {
    border-color: #d4af37 !important;
    color: #fff !important;
}
.flatpickr-day.today:hover {
    background: #d4af37 !important;
    color: #000 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #000 !important;
    font-weight: bold !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.flatpickr-prev-month, .flatpickr-next-month {
    fill: #d4af37 !important;
    color: #d4af37 !important;
}
.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg {
    fill: #fff !important;
}

/* Animationer */
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0;}
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1;}
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

@media (max-width: 768px) {
    nav { padding: 15px 20px; }
    .menu-toggle { display: block; }

    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed; left: -100%; top: 0;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%; height: 100vh;
        justify-content: center;
        text-align: center; transition: 0.4s ease-in-out;
        padding: 0; gap: 30px;
    }
    .nav-menu.active { left: 0; }
    .nav-menu a {
        font-size: 1.5rem;
        display: inline-block;
    }

    header {
        min-height: 90vh;
        height: auto;
        padding: 60px 20px;
        background-position: center top;
        background-attachment: scroll;
    }

    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1rem; padding: 0 20px; }

    section h2 { font-size: 2.2rem; }

    .booking-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .time-slot { padding: 10px; font-size: 1rem; min-height: 70px; }

    .date-selector-container {
        padding: 15px 20px;
        width: 100%;
        border-radius: 20px;
    }
    .date-selector-container label {
        display: block; margin-bottom: 10px; margin-right: 0;
    }
    #bookingDate { width: 90%; }

    .footer-content { text-align: left; gap: 30px;}
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.5rem; }
    .booking-grid { grid-template-columns: repeat(2, 1fr); }
    .modal-content { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .animate-fade-up,
    .animate-fade-up.in-view {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}