/* Grundläggande stil och nollställning */
:root {
    --primary-color: #d8231e; /* Röd färg från logotypen för enhetlighet */
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --highlight-color: #FFC107; /* Färg för att markera dagens öppettid */
    --container-width: 960px;
    --font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
    scroll-behavior: smooth; /* För mjuk scrollning när man klickar på knappen */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    max-height: 310px;
}

/* Hero-sektion */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    overflow: hidden; /* Förhindrar horisontell scroll på små skärmar */
    position: relative;
    min-height: 200px; /* Säkerställer att sektionen har höjd för loggan */
}

.hero .container {
    /* Återställd container för normal centrering */
}

.hero-text {
    text-align: center;
}

.hero h1 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 2.8rem;
}

.hero .subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}
/* Generella sektionsstilar */
section {
    padding: 50px 0;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

/* Öppettider */
.opening-hours {
    background-color: var(--secondary-color);
}

.hours-list {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li span:first-child {
    font-weight: 600;
}

/* Markera dagens öppettid */
.hours-list li.today {
    background-color: var(--highlight-color);
    color: var(--text-color);
    font-weight: 700;
}

/* Förslag-sektion */
.suggestions {
    background-color: #fff;
}

.suggestions p {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Karta */
.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #eee;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.location p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.95rem;
}

.social-media {
    margin-bottom: 15px;
}

.social-media a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
}

/* Responsivitet för mobila enheter */
@media (max-width: 768px) {
    .logo {
        position: static; /* Återställer loggans position */
        transform: none; /* Nollställer transform */
        display: block;
        margin: 0 auto 30px; /* Centrerar loggan och ger avstånd */
        max-height: 150px;
    }

    .hero .container {
        /* Inga specialregler behövs längre här */
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    section h2 {
        font-size: 1.8rem;
    }
}
