/* Trädfällning Näset - Stil för retro 2011 webbdesign */

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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f3f0 0%, #e8e6e1 100%);
    background-attachment: fixed;
}

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

/* Header och navigation */
header {
    background: linear-gradient(135deg, #2c5530 0%, #1a331c 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
    border-bottom: 3px solid #8B4513;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #f5f3f0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: "🌲";
    font-size: 32px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #f5f3f0;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

nav a:hover {
    background: rgba(139, 69, 19, 0.6);
    color: #fff;
    transform: translateY(-2px);
}

/* Mobil meny */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #f5f3f0;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c5530 0%, #1a331c 100%);
    border-top: 2px solid #8B4513;
}

.mobile-nav ul {
    flex-direction: column;
    gap: 0;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
}

/* Hero sektion */
.hero {
    background: linear-gradient(rgba(44, 85, 48, 0.8), rgba(26, 51, 28, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23228B22" width="100" height="100"/><circle fill="%23654321" cx="20" cy="80" r="15"/><circle fill="%23654321" cx="80" cy="20" r="12"/><polygon fill="%23006400" points="50,10 30,30 70,30"/></svg>');
    color: #f5f3f0;
    padding: 80px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    color: #fff;
}

.hero p {
    font-size: 22px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Knappar */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #654321;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin: 10px 5px;
}

.btn:hover {
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #663399 0%, #9966CC 100%);
    border-color: #4B0082;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9966CC 0%, #BA55D3 100%);
}

/* Innehållssektioner */
.content-section {
    padding: 60px 0;
    background: #fff;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
}

.content-section h2 {
    font-size: 36px;
    color: #2c5530;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.content-section h3 {
    font-size: 24px;
    color: #1a331c;
    margin: 25px 0 15px 0;
    border-bottom: 2px solid #8B4513;
    padding-bottom: 5px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Tabeller */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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

.responsive-table th {
    background: linear-gradient(135deg, #2c5530 0%, #1a331c 100%);
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.responsive-table tr:nth-child(even) {
    background: #f8f8f8;
}

.responsive-table tr:hover {
    background: #e8f4e8;
}

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

.benefits-list li, .steps-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 30px;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c5530;
    font-weight: bold;
    font-size: 18px;
}

.steps-list li {
    counter-increment: step-counter;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    background: #8B4513;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
}

.steps-list {
    counter-reset: step-counter;
}

/* Formulär */
.form-container {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 2px solid #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5530;
    box-shadow: 0 0 8px rgba(44, 85, 48, 0.2);
}

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

.hidden {
    display: none;
}

/* Spam-skydd */
.security-check {
    background: #f0f8f0;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #2c5530;
    margin-bottom: 20px;
}

.security-check label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-check input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a331c 0%, #0f1f11 100%);
    color: #f5f3f0;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 3px solid #8B4513;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h3 {
    color: #f5f3f0;
    margin-bottom: 15px;
    font-size: 20px;
}

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

.footer-links a {
    color: #f5f3f0;
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8B4513;
}

.footer-address {
    text-align: right;
    font-style: italic;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
}

/* Sitemap */
.sitemap-container {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    margin: 20px 0;
}

.sitemap-container ul {
    list-style: none;
    margin-left: 20px;
}

.sitemap-container li {
    margin: 8px 0;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.sitemap-container a {
    color: #2c5530;
    text-decoration: none;
    font-weight: 500;
}

.sitemap-container a:hover {
    color: #8B4513;
    text-decoration: underline;
}

/* Responsiv design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        display: none;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .btn {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-address {
        text-align: left;
    }
    
    .responsive-table {
        font-size: 14px;
    }
    
    .responsive-table th,
    .responsive-table td {
        padding: 8px 10px;
    }
    
    .form-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .content-section h2 {
        font-size: 28px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
    
    .responsive-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

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

.content-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Hover-effekter för kort */
.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #2c5530;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Gradienter och texturer */
.texture-bg {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(44, 85, 48, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
}