/* Grundinställningar */
:root {
    --primary-color: #1a3a32; /* Skogsgrön */
    --accent-color: #d4af37;  /* Guld */
    --text-color: #333;
    --light-bg: #f9fbf9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Navigering */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 58, 50, 0.9), rgba(26, 58, 50, 0.9)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    color: var(--white);
    padding: 140px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background-color: #c09d2f;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* USPs */
.usps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 80px 20px;
    margin-top: -50px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.usp-box {
    text-align: center;
    padding: 20px;
}

.usp-box .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.usp-box h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Tjänster */
.services {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent-color);
}

.service-card h3 {
    margin-bottom: 15px;
}

.price-tag {
    margin-top: 20px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Kontakt */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

/* Responsivitet */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none; /* Här kan man lägga till en mobilmeny-logik */
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }
    
    .usps {
        margin-top: 20px;
    }
}

/* Prissida Specifika Stilar */

.pricing-hero {
    /* Denna rad lägger till både den mörkgröna toningen och bilden */
    background: linear-gradient(rgba(26, 58, 50, 0.9), rgba(26, 58, 50, 0.9)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0 80px; /* Lite mer luft i överkant */
    text-align: center;
}

.pricing-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.price-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.package-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    min-height: 45px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.price .once {
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    color: #888;
}

.features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.check {
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 10px;
}

/* Hosting Sektion */
.hosting-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.hosting-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hosting-content h2 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hosting-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.hosting-price {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    min-width: 200px;
}

.hosting-price .price-tag {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.hosting-price .note {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* CTA Sektion */
.cta-section {
    padding: 100px 20px;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
}

/* Responsivitet för prissidan */
@media (max-width: 768px) {
    .hosting-box {
        flex-direction: column;
        padding: 30px;
    }
    
    .hosting-features {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: none;
    }
}

/* Tjänstesida Detaljer */
.services-hero {
    background: linear-gradient(rgba(26, 58, 50, 0.9), rgba(26, 58, 50, 0.9)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
}

.detail-grid.reverse {
    direction: rtl; /* Vänder på ordningen */
}

.detail-grid.reverse .detail-text {
    direction: ltr; /* Återställer textriktningen */
}

.category-tag {
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.detail-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 10px 0 20px;
}

.detail-list {
    margin: 25px 0;
}

.detail-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.detail-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.detail-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Process Section */
.process {
    padding: 100px 0;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.cta-mini {
    margin-top: 30px;
    padding: 20px;
    background: var(--light-bg);
    border-left: 4px solid var(--accent-color);
}

/* Responsivitet */
@media (max-width: 768px) {
    .detail-grid, .detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
    }
}

/* Kontakt-sida Specifikt */
.contact-hero {
    background: linear-gradient(rgba(26, 58, 50, 0.9), rgba(26, 58, 50, 0.9)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.contact-page-content {
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Profilkort */
.profile-card {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.profile-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.profile-image-placeholder {
    width: 100%;
    height: 350px; /* Justera höjden efter smak */
    background-color: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid #e0e0e0;
}

.profile-text {
    padding: 30px;
}

.profile-text h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.profile-text .title {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.bio-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Direktkontakt info */
.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item .icon {
    font-size: 1.5rem;
    background: var(--light-bg);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2px;
}

/* Formulär */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

/* FAQ */
.faq {
    padding: 60px 20px 100px;
    background: var(--light-bg);
    border-radius: 20px;
    margin-bottom: 80px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Responsivitet */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}