/* Näset Fönstermontering - Huvudstilmall */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f5dc, #e8e8e8);
}

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

/* Logotyp med CSS */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #006400;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid #006400;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Navigering */
.navbar {
    background: linear-gradient(90deg, #006400, #4169e1);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Mobilmeny */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #006400, #4169e1);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
}

/* Hero-sektion */
.hero {
    background: linear-gradient(135deg, rgba(0,100,0,0.8), rgba(65,105,225,0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23f5f5dc" width="100" height="100"/><rect fill="%23006400" x="20" y="20" width="60" height="40" opacity="0.1"/></svg>');
    color: white;
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA-knappar */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 10px 5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    background: linear-gradient(45deg, #e55a2b, #e8851a);
}

.cta-secondary {
    background: linear-gradient(45deg, #4169e1, #006400);
}

.cta-secondary:hover {
    background: linear-gradient(45deg, #365bb8, #004d00);
}

/* Innehållssektioner */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.5);
}

.section h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
    color: #006400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.section h3 {
    font-size: 2rem;
    margin: 30px 0 20px;
    color: #4169e1;
}

.section h4 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: #006400;
}

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

.grid-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Tabeller */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: linear-gradient(90deg, #006400, #4169e1);
    color: white;
    font-weight: bold;
}

tr:hover {
    background: rgba(0,100,0,0.05);
}

/* Listor */
.benefit-list {
    list-style: none;
    margin: 20px 0;
}

.benefit-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.benefit-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #006400;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Formulär */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 600px;
    margin: 50px auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006400;
    box-shadow: 0 0 10px rgba(0,100,0,0.2);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Spamskydd */
.spam-check {
    margin: 20px 0;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #4169e1;
}

.spam-check label {
    font-size: 0.9rem;
    color: #333;
}

.spam-check input {
    width: auto;
    margin-right: 10px;
}

.hidden {
    display: none !important;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #333, #666);
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #f5f5dc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4169e1;
}

.address-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

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

/* Responsiv design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .form-container {
        margin: 30px 20px;
        padding: 30px 20px;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    th, td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        width: 100%;
        margin: 5px 0;
    }
}

/* Hjälpklasser */
.text-center {
    text-align: center;
}

.margin-top {
    margin-top: 40px;
}

.margin-bottom {
    margin-bottom: 40px;
}

.highlight {
    background: linear-gradient(120deg, #f7931e 0%, #f7931e 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 88%;
    font-weight: bold;
}

/* Print-optimering */
@media print {
    .navbar, .footer, .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        break-inside: avoid;
    }
}