/* Reset och grundläggande styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header och Navigation */
header {
    background: linear-gradient(135deg, #003f7f 0%, #0056b3 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    background: linear-gradient(45deg, #ffcd00, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Desktop Navigation */
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.desktop-nav a:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(45deg, #ffcd00, #ffd700);
    color: #003f7f !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255,205,0,0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,205,0,0.4);
    background: linear-gradient(45deg, #ffd700, #ffcd00);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #003f7f;
    list-style: none;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu li {
    margin: 0.5rem 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.8rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Hero Sections */
.hero, .service-hero, .city-hero, .quote-hero, .location-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h1, .service-hero h1, .city-hero h1, .quote-hero h1, .location-hero h1 {
    font-size: 3rem;
    color: #003f7f;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content, .service-hero p, .city-hero p, .quote-hero p, .location-hero p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #666;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    color: #003f7f;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.content-section h3 {
    color: #0056b3;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Services Grid */
.services-overview {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.service-card h3 {
    color: #003f7f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-link {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #003f7f;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th {
    background: #003f7f;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

tr:nth-child(even) {
    background: #f8f9fa;
}

tr:hover {
    background: #e3f2fd;
}

/* Cards och Grid Layouts */
.material-comparison, .installation-methods, .damage-types, .trend-showcase {
    margin: 3rem 0;
}

.method-grid, .damage-grid, .trend-grid, .removal-grid, .building-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.method-card, .damage-card, .trend-card, .removal-card, .building-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffcd00;
    transition: transform 0.3s ease;
}

.method-card:hover, .damage-card:hover, .trend-card:hover, .removal-card:hover, .building-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.method-card h4, .damage-card h4, .trend-card h4, .removal-card h4, .building-card h4 {
    color: #003f7f;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Lists */
ul {
    margin: 1rem 0 1rem 2rem;
}

li {
    margin-bottom: 0.5rem;
}

ol {
    margin: 1rem 0 1rem 2rem;
}

ol li {
    margin-bottom: 1rem;
    font-weight: 500;
}

/* FAQ Sections */
.faq-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    color: #003f7f;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item h3 {
    color: #003f7f;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Quote Form */
.quote-form-section {
    padding: 4rem 0;
    background: white;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quote-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #003f7f;
}

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

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ffcd00;
    box-shadow: 0 0 0 3px rgba(255,205,0,0.1);
}

.form-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.form-info h3 {
    color: #003f7f;
    margin-bottom: 1rem;
}

.form-info ul {
    list-style: none;
    margin-left: 0;
}

.form-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.form-info li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Quote Overlay */
.quote-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.quote-overlay-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-overlay {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-overlay:hover {
    color: #333;
}

.pulse-border {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Footer */
footer {
    background: #003f7f;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffcd00;
    font-size: 1.3rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: #ffcd00;
}

.footer-bottom {
    border-top: 1px solid #0056b3;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Thank You Page */
.thank-you-section {
    padding: 4rem 0;
    text-align: center;
}

.thank-you-content h1 {
    color: #28a745;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 4px solid #ffcd00;
}

.step h3 {
    color: #003f7f;
    margin-bottom: 0.5rem;
}

.meanwhile {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.links a {
    color: #0056b3;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #0056b3;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.links a:hover {
    background: #0056b3;
    color: white;
}

/* Sitemap */
.sitemap-section {
    padding: 4rem 0;
}

.sitemap-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.sitemap-section-content h2 {
    color: #003f7f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.sitemap-section-content ul {
    list-style: none;
    margin-left: 0;
}

.sitemap-section-content li {
    margin-bottom: 0.3rem;
}

.sitemap-section-content a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap-section-content a:hover {
    color: #003f7f;
    text-decoration: underline;
}

/* Error Page */
.error-section {
    padding: 4rem 0;
    text-align: center;
}

.error-section h1 {
    color: #dc3545;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Internal Links */
.internal-links {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #0056b3;
}

.internal-links p {
    margin: 0;
    font-style: italic;
}

.internal-links a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
}

.internal-links a:hover {
    text-decoration: underline;
}

/* Special Elements */
.process-steps ol {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.faq-detailed {
    margin: 2rem 0;
}

.faq-detailed h4 {
    color: #003f7f;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.category-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-top: 3px solid #ffcd00;
}

.category-card h4 {
    color: #003f7f;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
        position: relative;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .hero h1, .service-hero h1, .city-hero h1, .quote-hero h1, .location-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .links {
        flex-direction: column;
        align-items: center;
    }
    
    .method-grid, .damage-grid, .trend-grid, .removal-grid, .building-types {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero h1, .service-hero h1, .city-hero h1, .quote-hero h1, .location-hero h1 {
        font-size: 1.7rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.7rem 0.5rem;
    }
}

/* Accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #ffcd00;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header, footer, .quote-overlay, .cta-button {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        color: black;
    }
}