.hero-section {
    height: 550px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-image: url('https://images.unsplash.com/photo-1517649763962-0c623066013b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    margin-bottom: 120px;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.linear-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(44deg, rgba(0, 0, 0, 0.6) 52%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.hero-text {
    z-index: 3;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.quick-links {
    margin-top: 2rem;
}

.quick-link-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.quick-link-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.search-header {
    border-bottom: 1px solid #e8f4f8;
    padding: 1rem 1rem 1rem 1rem;
    margin: 0;
}


.enhanced-search-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #ffffff, #f8fffe);
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    z-index: 100;
    position: relative;
}

.search-content {
    padding: 0 20px 16px 20px;
    min-height: auto;
}




.filter-label-compact {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    font-size: 0.85rem;
}


.custom-slider-container-compact {
    position: relative;
    margin: 8px 0;
}


.search-btn-compact {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    border: none !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    padding: 16px 40px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer;
    font-size: 1.1rem;
    min-width: 250px;
}

.search-btn-compact:hover {
    background: linear-gradient(135deg, #218838, #1ea085) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    text-decoration: none !important;
}

.search-section {
    position: relative;
}

/* Main Search Input */
.styled-input-main {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #e8f4f8;
    border-radius: 15px;
    background: #fafbfc;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.styled-input-main:focus {
    border-color: #4CAF50;
    background: white;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.styled-input-main::placeholder {
    color: #7f8c8d;
    font-style: italic;
}

.styled-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e8f4f8;
    border-radius: 12px;
    background: #fafbfc;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.styled-input:focus {
    border-color: #4CAF50;
    background: white;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.styled-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8f4f8;
    border-radius: 12px;
    background: #fafbfc;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
}

.styled-select:focus {
    border-color: #4CAF50;
    background: white;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.input-icon-right {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 1.2rem;
    pointer-events: none;
}

.clear-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: rgba(0,0,0,0.1);
    color: #dc3545;
}

.search-btn-compact:disabled {
    background: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
}

.search-btn-compact:disabled:hover {
    background: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

.filter-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.9rem;
}


.simple-search-container {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 15px !important;
}

.search-container {
    z-index: 4;
    max-width: 600px;
}

.bg-dark-opacity {
    --bs-bg-opacity: 0.8;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

/* Search Toggle */
.search-toggle-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.search-toggle-tabs {
    display: flex;
    justify-content: flex-start;
    position: absolute;
    top: -1.5rem;
    left: 0;
    z-index: 10;
}

.btn-toggle {
    font-weight: bold;
    border: 1px solid #d3e2d9;
    border-radius: 31px;
    padding: 0.5rem 2rem;
    background: rgba(33, 136, 56, 0.33);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    margin-right: 4px;
}

.btn-toggle-active {
    background-color: #218838;
    color: #fff;
}

.btn-toggle-inactive {
    background-color: #d3e2d9;
    color: #666;
}

/* Divider Section */
.divider-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    height: 200px;
}

.divider-section img {
    width: 100%;
    height: auto;
}

/* Popular Categories */
.popular-categories {
    z-index: 2;
    width: 100%;
}

.category-btn {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Activity Slider */
.activity-card {
    height: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.activity-card img {
    object-fit: cover;
    height: 200px;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.carousel-inner {
    display: flex;
    align-items: center;
}

#carouselContent {
    display: flex;
    gap: 1rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #444B4D;
    border-radius: 50%;
    padding: 1rem;
}

/* Range Slider Styling */
input[type="range"] {
    accent-color: #218838 !important;
}

input[type="range"]::-webkit-slider-thumb {
    background: #218838 !important;
}

input[type="range"]::-moz-range-thumb {
    background: #218838 !important;
}

input[type="range"]::-ms-thumb {
    background: #218838 !important;
}

/* Result and Map Toggle */
.btn-toggle {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-toggle-active {
    background-color: #218838;
    color: #fff;
}

.btn-toggle-inactive {
    background-color: #f0f0f0;
    color: #333;
}

.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

#toggleViewButton {
    border-radius: 25px;
}

.result-card:hover {
    transform: none !important;
    box-shadow: none;
}

.clickable-row {
    cursor: pointer;
}


.checkbox-grid-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.styled-checkbox-wrapper-compact {
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 8px;
    background: #fafbfc;
    border: 1px solid #e8f4f8;
    transition: all 0.2s ease;
    cursor: pointer;
}

.styled-checkbox-wrapper-compact:hover {
    background: #f0f9f0;
    border-color: #4CAF50;
    transform: translateX(1px);
}

.styled-checkbox-wrapper-compact .styled-checkbox {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #4CAF50;
    cursor: pointer;
}

.styled-checkbox-wrapper-compact .styled-checkbox-label {
    font-size: 0.85rem;
    color: #2c3e50;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
}

.styled-checkbox-wrapper-compact .styled-checkbox:checked + .styled-checkbox-label {
    color: #2E7D32;
    font-weight: 600;
}


.result-card {
    height: 280px !important;
}

.result-card .row {
    height: 100%;
}

.result-card .col-md-4 {
    height: 100%;
}

.result-card .col-md-8 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.result-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.logo-container {
    position: relative;
    height: 100%;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.club-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.fallback-logo {
    object-fit: contain !important;
    padding: 2rem;
    opacity: 0.7;
    max-height: 80%;
    max-width: 80%;
}


.sidebar-card {
    height: 180px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

.sidebar-card .card-body {
    padding: 1rem 1rem 1rem 1rem !important;
}

/* Sidebar Logo Styling */
.sidebar-logo-container {
    position: relative;
    height: 100%;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-club-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.sidebar-club-logo.fallback-logo {
    object-fit: contain !important;
    padding: 1rem;
    opacity: 0.7;
    max-height: 70%;
    max-width: 70%;
}

/* Sidebar card content styling */
.sidebar-card .card-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
    color: #2c3e50 !important;
}

.sidebar-card .text-muted {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

.sidebar-card .btn {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.5rem !important;
}

.sidebar-card .contact-icon {
    width: 20px !important;
    height: 20px !important;
}

.sidebar-card .contact-icon i {
    font-size: 0.6rem !important;
}

/* Fix för horisontell scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Populära kategorier sektion */
.popular-categories-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4a6741 100%);
    padding: 4rem 0;
    margin: 26rem 0 0 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    z-index: 1;
}

.popular-categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(46, 125, 50, 0.2) 100%);
    z-index: 1;
}

.popular-categories-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.popular-categories-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.categories-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.category-button {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    min-width: 160px;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    text-decoration: none;
}

.category-button:hover {
    background: rgba(76, 175, 80, 0.8);
    border-color: rgba(76, 175, 80, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    color: white;
}

.category-button i {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Responsiv design för kategorier */
@media (max-width: 768px) {
    .popular-categories-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .categories-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .category-button {
        min-width: 200px;
        padding: 0.8rem 1.5rem;
    }
}

/* Map Markers and Popups Styling */
.azure-map-control {
    z-index: 0;
}

.custom-marker {
    position: relative;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 10 !important;
}

.custom-marker img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.2s ease;
}

.custom-marker:hover img {
    transform: scale(1.1);
}

.custom-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    opacity: 0;
    visibility: hidden;
    width: 300px;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 9999 !important;
    cursor: default;
}

.custom-marker.active .custom-popup {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.custom-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: #fff;
}

/* Marker-Card (popup container) */
.marker-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 0.8rem;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Card Header */
.card-header {
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
    padding: 0.5rem 0.75rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h5 {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Info Content */
.info-content {
    padding: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-group {
    margin-bottom: 0.75rem;
}

.info-item {
    display: flex;
    margin-bottom: 0.5rem;
    align-items: flex-start;
}

.info-item i {
    margin-right: 0.5rem;
    color: #218838;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.info-value {
    font-weight: 500;
    font-size: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

/* Description */
.info-desc {
    display: flex;
    border-top: 1px solid #eee;
    padding-top: 0.75rem;
    align-items: flex-start;
}

.info-desc p {
    font-size: 0.8rem;
    margin: 0;
    color: #444;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

/* Contact items */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.contact-item i {
    margin-right: 0.5rem;
    color: #218838;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item a {
    color: #0071c1;
    text-decoration: none;
    cursor: pointer;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-item .location-link {
    color: #0071c1;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.contact-item .location-link:hover {
    color: #218838;
    text-decoration: underline;
}

/* Actions */
.card-actions {
    display: flex;
    padding: 0.75rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.action-btn i {
    margin-right: 0.3rem;
}

.action-btn.primary {
    background: #218838;
    color: #fff;
}

.action-btn.secondary {
    background: #f8f9fa;
    color: #218838;
    border: 1px solid #218838;
}

.action-btn.edit {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    border: none;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
    transition: all 0.3s ease;
}

.action-btn.edit:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    opacity: 1;
}

.action-btn:hover {
    opacity: 0.9;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {

    .hero-section {
        height: 300px;
        margin-bottom: 0;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-text p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .hero-text p[style*="font-size: 1.8rem"] {
        font-size: 1.1rem !important;
    }

    .hero-text p[style*="font-size: 1.1rem"] {
        font-size: 0.9rem !important;
        padding: 0 1rem;
    }

    .quick-links {
        margin-top: 1rem;
        padding: 0 1rem;
        gap: 0.3rem !important;
    }

    .quick-link-btn {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        margin: 0;
    }

    .enhanced-search-container {
        margin: 0 0.5rem;
        max-width: none;
    }

    .search-header h3 {
        font-size: 1.1rem !important;
    }

    .styled-input-main {
        font-size: 0.9rem;
        padding: 12px 16px 12px 40px;
    }

    .filter-label {
        font-size: 0.8rem;
    }

    .styled-input, .styled-select {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .search-btn-compact {
        font-size: 0.95rem !important;
        padding: 12px 30px !important;
        min-width: 200px;
    }




    .enhanced-search-container {
        margin: 0 1rem;
        max-width: none;
        border: none !important;
        box-shadow: none !important;
        background: white !important;
    }

    .search-content {
        padding: 1rem;
    }


    .col-12.col-md-3:nth-child(3) {
        display: none !important;
    }

    .row.g-3 {
        gap: 0.25rem !important;
    }

    .col-12.col-md-3 {
        margin-bottom: 0.5rem;
    }


    .styled-input-group {
        margin-bottom: 0.25rem;
    }

    .styled-input, .styled-select {
        font-size: 16px; 
        padding: 0.75rem 2.5rem 0.75rem 2.5rem;
    }

    .filter-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .distance-section .filter-label {
        margin-bottom: 0.5rem;
    }

    .row.g-3.align-items-end[style*="margin-top: -25px"] {
        margin-top: 0.5rem !important;
    }

    .search-button-section {
        margin-top: 1.5rem;
    }

    .search-button {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .hero-section {
        height: 400px;
    }

    .search-toggle-wrapper .position-absolute {
        position: static !important;
        transform: none !important;
        margin-top: 1rem;
    }
    
    .position-absolute[style*="bottom: -120px"] {
        position: static !important;
        transform: none !important;
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    .popular-categories-section {
          margin-top: 45rem !important;
        padding: 3rem 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .popular-categories-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .categories-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .category-button {
        width: calc(100% - 2rem);
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Legacy mobile styles */
    .search-container {
        flex-direction: column;
        width: 90%;
        gap: 10px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .activity-card {
        width: 80%;
    }

    #carouselContent {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .popular-categories {
        margin-top: 3rem;
    }

    .category-btn {
        flex: 0 0 auto;
        padding: 0.5rem 1rem;
    }

    .category-btn img {
        width: 20px;
        height: 20px;
    }
}

body {
    background-color: #f8f9fa;
}

/* ===== AKTIVITETSKORT SEKTION ===== */
.upcoming-activities-section {
    margin-top: 2rem;
}

.activity-card-new {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.activity-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.activity-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card-new:hover .activity-image {
    transform: scale(1.05);
}

.heart-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    position: absolute;
    top: 15px;
    right: 15px;
}

.heart-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.heart-btn i {
    font-size: 1.2rem;
    color: #dc3545;
}

.activity-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.activity-tag {
    background: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.activity-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.activity-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.activity-details {
    margin-bottom: 1rem;
}

.activity-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
    color: #495057;
    font-size: 0.85rem;
}

.activity-detail-item i {
    color: #28a745;
    font-size: 1rem;
    width: 20px;
}

.btn-more-info {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.btn-more-info:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-more-info i {
    margin-right: 8px;
}

/* Responsiv aktivitetskort */
@media (max-width: 992px) {
    .upcoming-activities-section .row {
        justify-content: center;
    }
    
    .upcoming-activities-section .col-lg-4 {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .upcoming-activities-section {
        padding: 2rem 0;
    }
    
    .activity-image-container {
        height: 180px;
    }
    
    .activity-card-body {
        padding: 1rem;
    }
    
    .activity-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .activity-description {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .activity-detail-item {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .activity-details {
        margin-bottom: 0.8rem;
    }
    
    .btn-more-info {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .heart-btn {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .heart-btn i {
        font-size: 1rem;
    }
    
    .activity-tags {
        top: 10px;
        left: 15px;
    }
    
    .activity-tag {
        padding: 3px 8px;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .upcoming-activities-section {
        padding: 1.5rem 0;
    }
    
    .activity-image-container {
        height: 160px;
    }
    
    .activity-card-body {
        padding: 0.8rem;
    }
    
    .activity-title {
        font-size: 0.95rem;
    }
    
    .activity-description {
        font-size: 0.8rem;
    }
    
    .activity-detail-item {
        font-size: 0.75rem;
    }
    
    .btn-more-info {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
    
    .heart-btn {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }
    
    .heart-btn i {
        font-size: 0.9rem;
    }
    
    .activity-tags {
      margin-left: 9px;
    }
    
    .activity-tag {
        padding: 2px 6px;
        font-size: 0.7rem;
    }
}

/* Feature tags styling */
.feature-tags {
    margin-top: 20px;
}

.feature-tag {
    color: white !important;
    text-decoration: underline;
    font-size: 17px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 3;
    position: relative;
}

.hero-text[style*="gap: 5px"] {
    gap: 0px !important;
}

/* Mobile anpassningar för hero-section */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
        margin-bottom: 80px;
    }
    
    .hero-text[style*="max-width: 800px"] {
        max-width: 95% !important;
      
        margin: 0 10px !important;
       
    }
    
    .hero-text[style*="gap: 5px"] {
        gap: 0px !important;
    }
    
    .hero-text[style*="font-size: 50px"] {
        font-size: 32px !important;
    }
    
    .hero-text[style*="font-size: 24px"] {
        font-size: 18px !important;
    }
    
    .hero-text[style*="font-size: 18px"] {
        font-size: 14px !important;
        line-height: 18px !important;
    }
    
    .feature-tags {
        margin-top: 10px;
        gap: 2px !important;
    }
    
    .feature-tag {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 350px;
        margin-bottom: 60px;
    }
    
    .hero-text[style*="max-width: 800px"] {
        max-width: 98% !important;
        padding: 0px !important;
        margin: 0 5px !important;
       
    }
    
    .hero-text[style*="gap: 5px"] {
        gap: 0px !important;
    }
  
    .hero-text[style*="font-size: 50px"] {
        font-size: 28px !important;
    }
    
    .hero-text[style*="font-size: 24px"] {
        font-size: 16px !important;
    }
    
 
    .hero-text[style*="font-size: 18px"] {
        font-size: 13px !important;
        line-height: 16px !important;
    }
    
  
    .feature-tags {
        margin-top: 8px;
    }
    
    .feature-tag {
        font-size: 12px;
        white-space: normal;
        margin: 3px;
    }
}