/* Häckklippning Malmö - Huvudstilmall */
/* Grundläggande stilar för trädgårdsföretag */

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #2d3e2d;
    background: linear-gradient(135deg, #f8fff8 0%, #f0f8f0 100%);
    font-size: 16px;
}

/* Logotyp med CSS för häcktjänster */
.hakk-logotyp {
    display: inline-block;
    font-size: 1.8em;
    font-weight: bold;
    color: #2d5a2d;
    text-decoration: none;
    position: relative;
    padding: 10px 15px;
}

.hakk-logotyp::before {
    content: "🌿";
    margin-right: 8px;
    font-size: 1.2em;
}

.hakk-logotyp::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 2px;
}

/* Header och navigation för häckföretag */
.hakk-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.hakk-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hakk-nav li {
    margin-left: 25px;
}

.hakk-nav a {
    text-decoration: none;
    color: #2d3e2d;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
}

.hakk-nav a:hover {
    color: #4CAF50;
}

/* Mobil hamburger-meny för häckklippningstjänster */
.hakk-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hakk-hamburger span {
    width: 25px;
    height: 3px;
    background: #2d5a2d;
    margin: 3px 0;
    transition: 0.3s;
}

/* Call-to-action knappar för offertbegäran */
.hakk-cta-knapp {
    background: linear-gradient(45deg, #FF8C00, #FF7F50);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.hakk-cta-knapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    background: linear-gradient(45deg, #FF7F50, #FF6347);
}

.hakk-cta-knapp.stor {
    padding: 15px 30px;
    font-size: 18px;
}

/* Hero-sektion för häckklippning */
.hakk-hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f1d4 50%, #c8e6c8 100%);
    padding: 60px 0;
    text-align: center;
}

.hakk-hero h1 {
    font-size: 2.5em;
    color: #2d5a2d;
    margin-bottom: 20px;
    font-weight: bold;
}

.hakk-hero p {
    font-size: 1.2em;
    color: #4a5d4a;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Innehållssektioner för häcktjänster */
.hakk-sektion {
    padding: 50px 0;
}

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

.hakk-sektion h2 {
    font-size: 2em;
    color: #2d5a2d;
    margin-bottom: 30px;
    text-align: center;
}

.hakk-sektion h3 {
    font-size: 1.5em;
    color: #3d6b3d;
    margin-bottom: 20px;
    margin-top: 30px;
}

.hakk-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
}

/* Tabeller för häckinformation */
.hakk-tabell {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hakk-tabell th,
.hakk-tabell td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e8f5e8;
}

.hakk-tabell th {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    font-weight: bold;
}

.hakk-tabell tr:hover {
    background: #f8fff8;
}

/* Infoboxar för häckklippningstips */
.hakk-infobox {
    background: linear-gradient(135deg, #fff8dc, #fffff0);
    border-left: 5px solid #FFD700;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.hakk-infobox h4 {
    color: #2d5a2d;
    margin-bottom: 10px;
    font-size: 1.3em;
}

/* Fold-out sektioner för frågor och svar */
.hakk-foldout {
    margin: 20px 0;
    border: 1px solid #e8f5e8;
    border-radius: 8px;
    overflow: hidden;
}

.hakk-foldout-titel {
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #2d5a2d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hakk-foldout-titel:hover {
    background: linear-gradient(135deg, #e8f5e8, #d4f1d4);
}

.hakk-foldout-innehall {
    padding: 20px;
    display: none;
    background: white;
}

.hakk-foldout-innehall.aktiv {
    display: block;
}

/* Bilder och media för häckklippning */
.hakk-bild {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hakk-bild::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,80 Q30,60 40,80 Q50,60 60,80 Q70,60 80,80" stroke="rgba(255,255,255,0.2)" stroke-width="2" fill="none"/></svg>') repeat;
    opacity: 0.3;
}

/* Formulär för offertbegäran */
.hakk-formular {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    margin: 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hakk-formular h3 {
    color: #2d5a2d;
    margin-bottom: 20px;
    text-align: center;
}

.hakk-form-grupp {
    margin-bottom: 20px;
}

.hakk-form-grupp label {
    display: block;
    margin-bottom: 5px;
    color: #2d5a2d;
    font-weight: bold;
}

.hakk-form-grupp input,
.hakk-form-grupp textarea,
.hakk-form-grupp select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e8f5e8;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.hakk-form-grupp input:focus,
.hakk-form-grupp textarea:focus,
.hakk-form-grupp select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.hakk-spam-skydd {
    background: #f8fff8;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #e8f5e8;
}

/* Footer för häckklippningsföretag */
.hakk-footer {
    background: #2d5a2d;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

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

.hakk-footer-sektion h4 {
    color: #8BC34A;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.hakk-footer-sektion a {
    color: #e8f5e8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.hakk-footer-sektion a:hover {
    color: #8BC34A;
}

.hakk-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a6b4a;
    color: #b8d4b8;
}

/* Responsiv design för mobila enheter */
@media (max-width: 768px) {
    .hakk-hamburger {
        display: flex;
    }
    
    .hakk-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        padding: 20px;
    }
    
    .hakk-nav.aktiv {
        display: flex;
    }
    
    .hakk-nav li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .hakk-hero h1 {
        font-size: 2em;
    }
    
    .hakk-hero p {
        font-size: 1.1em;
    }
    
    .hakk-container {
        padding: 0 15px;
    }
    
    .hakk-tabell {
        font-size: 14px;
    }
    
    .hakk-tabell th,
    .hakk-tabell td {
        padding: 10px 8px;
    }
    
    .hakk-formular {
        padding: 20px;
        margin: 20px 15px;
    }
    
    .hakk-footer-innehall {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Specialstilar för olika häcktyper */
.hakk-typ-bok {
    border-left: 5px solid #8B4513;
    background: linear-gradient(135deg, #FFF8DC, #F5F5DC);
}

.hakk-typ-liguster {
    border-left: 5px solid #228B22;
    background: linear-gradient(135deg, #F0FFF0, #E6FFE6);
}

.hakk-typ-tuja {
    border-left: 5px solid #006400;
    background: linear-gradient(135deg, #F5FFFA, #EEFFF0);
}

/* Knappstilar för olika åtgärder */
.hakk-knapp-sekundar {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 5px;
}

.hakk-knapp-sekundar:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Liststilar för häckinformation */
.hakk-lista {
    list-style: none;
    padding-left: 0;
}

.hakk-lista li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.hakk-lista li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Viktig information för häckklippning */
.hakk-viktigt {
    background: linear-gradient(135deg, #FFF3CD, #FFEBCC);
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.hakk-viktigt h4 {
    color: #856404;
    margin-bottom: 10px;
}

/* Områdespecifik information */
.hakk-omraden {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hakk-omraden-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hakk-omrade-kort {
    background: #f8fff8;
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid #4CAF50;
}

/* Prisindikation utan fasta priser */
.hakk-prisinfo {
    background: linear-gradient(135deg, #E8F5E8, #F0F8F0);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
}

.hakk-prisinfo em {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    display: block;
    margin-top: 10px;
}

/* Breadcrumb navigation */
.hakk-breadcrumb {
    background: #f8fff8;
    padding: 10px 0;
    font-size: 14px;
}

.hakk-breadcrumb a {
    color: #4CAF50;
    text-decoration: none;
}

.hakk-breadcrumb a:hover {
    text-decoration: underline;
}

/* Tillgänglighetsförbättringar */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #2d5a2d;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 3px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* Print-stilar */
@media print {
    .hakk-header,
    .hakk-footer,
    .hakk-cta-knapp {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Animationer för användarinteraktion */
@keyframes hakk-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hakk-fade-in {
    animation: hakk-fade-in 0.6s ease-out;
}

/* Tillståndsstilar för formulärvalidering */
.hakk-fel {
    border-color: #dc3545 !important;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.3) !important;
}

.hakk-framgang {
    border-color: #28a745 !important;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.3) !important;
}

.hakk-felmeddelande {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Laddar-animation för formulärinlämning */
.hakk-laddar {
    position: relative;
    overflow: hidden;
}

.hakk-laddar::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: hakk-laddar-animation 1.5s infinite;
}

@keyframes hakk-laddar-animation {
    0% { left: -100%; }
    100% { left: 100%; }
}