/* Generelle stiler */
body {
    font-family: 'Nunito Sans', sans-serif; /* Moderne og lettlest font */
    margin: 0;
    line-height: 1.8;
    background-color: #f7f9fc; /* Lys, moderne bakgrunn */
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
    overflow-x: hidden; /* Forhindre horisontal scroll ved animasjoner */
}

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

.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    color: #2c3e50;
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-intro {
    color: #555;
    font-size: 1.2em;
    line-height: 1.9;
    margin-bottom: 40px;
}

/* Header */
.site-header {
    background-color: #fff;
    color: #2c3e50;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.8em;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.site-nav ul li {
    margin-left: 30px;
}

.site-nav ul li:first-child {
    margin-left: 0;
}

.site-nav a {
    color: inherit;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: #18cb96; /* Endret hover-farge */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px 0;
    transition: transform 0.3s ease-in-out;
}

.menu-toggle.is-active .hamburger:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .hamburger:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    background-color: #e3f2fd; /* Lys blå bakgrunn */
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    color: #2c3e50;
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #555;
    font-size: 1.3em;
    line-height: 2;
    margin-bottom: 40px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.domain-name,
.service-name {
    color: #18cb96; /* Endret hovedfarge for navn */
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.domain-description,
.service-description {
    color: #555;
    margin-bottom: 20px;
}

/* Knapper */
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.button.primary {
    background-color: #18cb96; /* Endret primær knappfarge */
    color: #fff;
}

.button.primary:hover {
    background-color: #14a37a; /* Mørkere variant for hover */
}

.button.secondary {
    background-color: #fff;
    color: #18cb96; /* Endret sekundær knappfarge */
    border: 1px solid #18cb96;
}

.button.secondary:hover {
    background-color: #18cb96; /* Endret sekundær knapp hover-farge */
    color: #fff;
}

/* Solgte Domener */
#sold-domains {
    background-color: #f9f9f9; /* Litt annen bakgrunn for visuell separasjon */
}

.sold-domain-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.sold-domain-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.sold-domain-item:last-child {
    border-bottom: none;
}

.sold-domain-name {
    color: #e74c3c; /* Beholder rød farge for solgte domener for kontrast */
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 5px;
}

.sold-domain-info {
    color: #777;
    font-size: 1.1em;
}

/* Kontakt */
.contact-link {
    color: #18cb96; /* Endret kontaktlenkfarge */
    font-size: 1.3em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #14a37a; /* Mørkere variant for hover */
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
    margin-top: 80px;
}

/* Responsivitet */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .section-intro {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    /* Mobilnavigasjon */
    .site-nav {
        position: absolute;
        top: 100%; /* Under headeren */
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
    }

    .site-nav.is-active {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .site-nav ul li {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .site-nav ul li:last-child {
        margin-bottom: 0;
    }

    .site-nav a {
        display: block;
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.8em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .grid {
        grid-template-columns: 1fr; /* En kolonne på mindre skjermer */
    }

    .card {
        margin-bottom: 20px;
    }

    .sold-domain-name {
        font-size: 1.4em;
    }

    .contact-link {
        font-size: 1.2em;
    }
}
