* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; background-color: #fefefe; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; border-radius: 8px; }
h1, h2, h3 { font-weight: 700; margin-bottom: 15px; }

/* Knappar */
.btn { display: inline-block; padding: 12px 30px; background-color: #007bff; color: #fff; border-radius: 5px; font-weight: 600; border: none; cursor: pointer; }
.btn:hover { background-color: #0056b3; }
.btn-small { display: inline-block; padding: 8px 20px; background-color: #333; color: #fff; border-radius: 5px; font-size: 0.9rem; }
.btn-small:hover { background-color: #555; }
.btn-large { width: 100%; font-size: 1.1rem; padding: 15px; }

/* Header & Navigation */
header { background-color: #fff; padding: 20px 0; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: #007bff; }
nav ul { display: flex; align-items: center; }
nav ul li { margin-left: 25px; font-weight: 600;}
nav ul li a:hover { color: #007bff; }
.nav-btn { background-color: #007bff; color: white !important; padding: 8px 15px; border-radius: 5px; }
.nav-btn:hover { background-color: #0056b3 !important; }

/* Hero (Startsida) */
/* Hero (Startsida) */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1600') no-repeat center center/cover; 
    padding-top: 80px; 
    color: #ffffff;
}

.hero h1 { 
    font-size: 3.5rem; 
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}

.hero p { 
    font-size: 1.2rem; 
    max-width: 700px; 
    margin: 0 auto 30px; 
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    color: #f0f0f0;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem; 
    font-weight: 700; 
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #1a1a1a;
    margin-bottom: 25px;
}


.hero-title .text-highlight {
    background: linear-gradient(90deg, #007bff, #00d2ff); 
    -webkit-text-fill-color: transparent; 
    display: inline-block;
}

/* Anpassa storleken för mobiltelefoner så den inte hamnar utanför skärmen */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
}

/* Exempel Section */
.exempel-section { padding: 100px 0; background-color: #f9f9f9; }
.exempel-section h2 { text-align: center; font-size: 2.5rem; }
.section-subtitle { text-align: center; color: #777; margin-bottom: 50px; font-size: 1.1rem;}
.exempel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.exempel-card { background-color: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; }
.exempel-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.exempel-card img { height: 200px; object-fit: cover; width: 100%; margin-bottom: 15px; }
.exempel-card h3 { color: #007bff; }
.exempel-card p { color: #555; margin-bottom: 20px; font-size: 0.95rem; }

/* Om oss */
.om-oss-section { padding: 100px 0; background-color: #fff; }
.om-oss-content { max-width: 800px; margin: 0 auto; text-align: center; }
.om-oss-content h2 { font-size: 2.5rem; color: #007bff; margin-bottom: 20px;}
.om-oss-content p { font-size: 1.1rem; margin-bottom: 15px; color: #555; }

/* Kontaktsidans design */
.kontakt-hero { padding: 150px 0 50px; background-color: #007bff; color: white; text-align: center; }
.kontakt-hero h1 { font-size: 3rem; }
.kontakt-form-section { padding: 60px 0 100px; background-color: #f4f7f6; }
.form-wrapper { max-width: 700px; margin: -50px auto 0; background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); position: relative; z-index: 10; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #333; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 1rem; transition: border-color 0.3s;}
.form-group input:focus, .form-group textarea:focus { border-color: #007bff; outline: none; }

/* Footer */
footer { background-color: #222; color: #eee; padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-box h3 { color: #007bff; border-bottom: 2px solid #333; padding-bottom: 10px; margin-bottom: 15px; }
.footer-box p { margin-bottom: 10px; color: #bbb; }
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid #444; color: #888; font-size: 0.9rem; }

/* Priser Section */
.priser-section { padding: 100px 0; background-color: #fefefe; }
.priser-section h2 { text-align: center; font-size: 2.5rem; color: #007bff; margin-bottom: 10px; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 50px; max-width: 900px; margin-left: auto; margin-right: auto; }

.pricing-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 40px 30px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* valt paket */
.pricing-card.featured { border: 2px solid #007bff; position: relative; }
.pricing-card.featured::before { content: 'Valt paket'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #007bff; color: white; padding: 5px 20px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; letter-spacing: 1px; }

.pricing-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #333; }
.pricing-card .price { font-size: 2.2rem; font-weight: 700; color: #007bff; margin-bottom: 20px; }
.pricing-card .sub-price { font-size: 1rem; color: #777; font-weight: 400; display: block; margin-top: 5px; }

.pricing-card p { font-size: 0.95rem; color: #666; margin-bottom: 30px; }

.pricing-card ul { 
    margin-bottom: 30px; 
    text-align: left; 
    flex-grow: 1; 
}

.pricing-card ul li { margin-bottom: 12px; padding-left: 30px; position: relative; font-size: 0.95rem; }
.pricing-card ul li::before { content: '✓'; color: #007bff; position: absolute; left: 0; font-weight: bold; font-size: 1.2rem; }

/* Styling för dropdown-menyn (select) */
.form-group select { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 1rem; transition: border-color 0.3s; background-color: #fff; cursor: pointer; color: #333; }
.form-group select:focus { border-color: #007bff; outline: none; }

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: #1a1a1a; /* Mörkgrå, lyxig bakgrund */
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Denna klass används av JavaScript för att dölja rutan */
.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cookie-icon {
    font-size: 1.5rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ddd;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cookie-btn {
    flex: 1; /* Gör knapparna lika stora */
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.accept-btn {
    background-color: #007bff; /* Samma blå som dina andra knappar */
    color: white;
}

.accept-btn:hover {
    background-color: #0056b3;
}

.decline-btn {
    background-color: #333;
    color: #ccc;
}

.decline-btn:hover {
    background-color: #444;
}

/* Anpassning för mobiltelefoner */
@media (max-width: 480px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        border-radius: 15px 15px 0 0; /* Rundade hörn bara där uppe */
    }
}

/* Responsivitet för mobiler */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    header .container { flex-direction: column; }
    nav ul { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    nav ul li { margin: 5px 10px; }
}

/* popup */
.modal { 
    display: none;
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.6); 
}

.modal-content { 
    background-color: #fff; 
    margin: 15vh auto;
    padding: 40px; 
    border-radius: 10px; 
    max-width: 500px; 
    width: 90%;
    text-align: center; 
    position: relative; 
    box-shadow: 0 5px 30px rgba(0,0,0,0.3); 
    animation: slideDown 0.4s ease-out; 
}

@keyframes slideDown { 
    from { transform: translateY(-50px); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}

.close-btn { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    font-size: 1.8rem; 
    cursor: pointer; 
    color: #888; 
    line-height: 1;
}

.close-btn:hover { color: #333; }

.modal-content h2 { 
    color: #28a745;
    margin-bottom: 15px; 
}