/* Trädäck Vellinge - Huvudstyling för webbplats */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c1810;
    background-color: #f8f6f2;
    font-size: 16px;
}

/* Huvudcontainer för all innehåll */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header och navigation */
header {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Logo styling med CSS */
.logo {
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    color: #f5deb3;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    border: 3px solid #f5deb3;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(139, 69, 19, 0.8);
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(160, 82, 45, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Navigering desktop */
nav {
    float: right;
    margin-top: 15px;
}

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

nav ul li a {
    color: #f5deb3;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    background-color: rgba(245, 222, 179, 0.2);
    transform: translateY(-2px);
}

/* Mobil hamburger meny */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #f5deb3;
    cursor: pointer;
    float: right;
    margin-top: 20px;
}

.mobile-nav {
    display: none;
    background: #654321;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
}

.mobile-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 10px;
}

.mobile-nav.show {
    display: block;
}

/* Hero sektion */
.hero {
    background: linear-gradient(rgba(139, 69, 19, 0.7), rgba(160, 82, 45, 0.7)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="%238b4513"/><rect x="50" y="100" width="150" height="10" fill="%23a0522d"/><rect x="50" y="120" width="150" height="10" fill="%23a0522d"/><rect x="50" y="140" width="150" height="10" fill="%23a0522d"/><rect x="250" y="100" width="150" height="10" fill="%23a0522d"/><rect x="250" y="120" width="150" height="10" fill="%23a0522d"/><rect x="250" y="140" width="150" height="10" fill="%23a0522d"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: bold;
}

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

/* CTA knappar */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
    background: linear-gradient(135deg, #008b8b 0%, #20b2aa 100%);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #20b2aa;
    color: #20b2aa;
}

.cta-button.secondary:hover {
    background: #20b2aa;
    color: white;
}

/* Huvudinnehåll */
main {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 50px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    color: #654321;
    margin-bottom: 20px;
}

h1 {
    font-size: 36px;
    text-align: center;
    border-bottom: 3px solid #20b2aa;
    padding-bottom: 15px;
}

h2 {
    font-size: 28px;
    margin-top: 40px;
}

h3 {
    font-size: 22px;
    margin-top: 30px;
    color: #8b4513;
}

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

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

th {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
    font-weight: bold;
}

tr:hover {
    background-color: #faf8f5;
}

/* Informationsrutor */
.info-box {
    background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
    border-left: 5px solid #20b2aa;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.info-box h4 {
    color: #006666;
    margin-bottom: 10px;
    font-size: 18px;
}

.warning-box {
    background: linear-gradient(135deg, #fff2e6 0%, #ffeaa7 100%);
    border-left: 5px solid #f39c12;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.warning-box h4 {
    color: #e67e22;
    margin-bottom: 10px;
}

/* Listor */
ul, ol {
    margin: 20px 0;
    padding-left: 30px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Länkar i innehåll */
.content-section a {
    color: #20b2aa;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.content-section a:hover {
    color: #008b8b;
    text-decoration: none;
}

/* Formulär */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #654321;
}

input[type="text"], 
input[type="email"], 
input[type="tel"], 
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0d5c7;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="tel"]:focus, 
textarea:focus {
    outline: none;
    border-color: #20b2aa;
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    background: linear-gradient(135deg, #20b2aa 0%, #008b8b 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

/* Spamskydd */
.spam-protection {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    border-left: 4px solid #20b2aa;
}

.captcha-question {
    font-weight: bold;
    margin-bottom: 10px;
    color: #654321;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c1810 0%, #3d2518 100%);
    color: #d4af8c;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    color: #f5deb3;
    margin-bottom: 15px;
    font-size: 18px;
}

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

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

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

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

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}

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

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .cta-button {
        display: block;
        margin: 10px auto;
        text-align: center;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    h3 {
        font-size: 18px;
    }
}