/* Støtt oss Seksjon */
.support-section {
    background-color: var(--bg-lighter);
    text-align: center;
}

.support-section h2 {
    font-size: var(--font-size-h2);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.support-section p {
    font-size: var(--font-size-body-lg);
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Donation method container */
.donation-method {
    text-align: center;
    margin: 20px auto;
    display: inline-block;
    margin-right: 30px;
}

.donation-method:last-child {
    margin-right: 0;
}

/* Container for all donation methods */
.support-section {
    text-align: center;
}

/* Donation descriptive text */
.donation-text {
    display: inline-block;
    font-size: 1.1rem;
    color: #666;
    margin-right: 12px;
    margin-bottom: 0;
    font-weight: 500;
    vertical-align: middle;
}

/* Copyable number styling */
.donation-info {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
    border: 2px solid;
    letter-spacing: 1px;
    vertical-align: middle;
}

/* VIPPS number styling - official orange color */
.vipps-number {
    background-color: #ff5100;
    color: white;
    border-color: #ff5100;
}

.vipps-number:hover {
    background-color: #e64900;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 81, 0, 0.3);
}

/* Bank account number styling */
.bank-number {
    background-color: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--color-primary);
}

.bank-number:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

/* Copy feedback */
.donation-info.copied {
    transform: scale(0.95);
}

.donation-info.copied::after {
    content: 'Copied!';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    animation: copyFeedback 2s ease-out forwards;
}

@keyframes copyFeedback {
    0% { opacity: 0; transform: translateX(-50%) translateY(-5px); }
    20% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-5px); }
}

.support-section .cta-button {
    background-color: #28a745;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.support-section .cta-button:hover {
    background-color: #218838;
}

/* Sponsorer Seksjon */
.sponsor-section {
    background-color: #f1f3f4;
    text-align: center;
    padding: 60px 0;
    position: relative;
    width: 100%;
}

.sponsor-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
    position: relative;
    z-index: 2;
    max-width: 1500px;  /* Increased from 1025px to 1500px for wider content */
    margin-left: auto;
    margin-right: auto;
}

/* Background image display for sponsors */
.sponsor-background-image {
    width: 100%;
    max-width: 1500px;  /* Increased from 1025px to 1500px for wider content */
    height: 80vh;
    min-height: 500px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Additional sponsors grid */
.additional-sponsors {
    margin-top: 40px;
    max-width: 1500px;  /* Increased from 1025px to 1500px for wider content */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.sponsor-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
    width: 100%;
}

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

.sponsor-logo {
    max-width: 150px;
    max-height: 100px;
    width: auto;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.sponsor-item h4 {
    font-size: 1.3rem;
    color: #333;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.sponsor-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 10px 0 15px 0;
}

.sponsor-link {
    display: inline-block;
    background: linear-gradient(135deg, #8CC63F, #7AB635);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(140, 198, 63, 0.3);
}

.sponsor-link:hover {
    background: linear-gradient(135deg, #7AB635, #6BA530);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 198, 63, 0.4);
}

/* General partner images still retain their styles */
.partners-container img:not([src="images/samarbeidpartnere1.png"]) {
    width: 150px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .sponsor-section {
        padding: 40px 20px;
        text-align: center;
    }

    .sponsor-section h2 {
        font-size: 2rem;
        margin-bottom: 25px;
        text-align: center;
    }

    .sponsor-background-image {
        width: 100%;
        max-width: 100%;
        height: 50vh;
        min-height: 250px;
        margin: 0 auto;
    }

    .additional-sponsors {
        margin-top: 30px;
        padding: 0 15px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .sponsor-item {
        padding: 20px;
        max-width: 250px;
    }

    .sponsor-logo {
        max-width: 120px;
        max-height: 80px;
    }

    .partners-container img[src="images/samarbeidpartnere.png"] {
        width: 90%;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .sponsor-section {
        padding: 30px 15px;
        text-align: center;
    }

    .sponsor-section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .sponsor-background-image {
        width: 100%;
        max-width: 100%;
        height: 40vh;
        min-height: 200px;
        margin: 0 auto;
    }

    .additional-sponsors {
        margin-top: 25px;
        padding: 0 10px;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sponsor-item {
        padding: 15px;
        max-width: 100%;
    }

    .sponsor-item h4 {
        font-size: 1.1rem;
    }

    .sponsor-item p {
        font-size: 0.9rem;
    }

    .sponsor-logo {
        max-width: 100px;
        max-height: 70px;
    }

    .partners-container img[src="images/samarbeidpartnere1.png"] {
        width: 100%;
        margin: 0 auto;
        display: block;
    }
}



/* Samarbeidspartnere Seksjon */
.partner-section {
    background-color: #f0f0f0;
    text-align: center;
}



/* Responsiv Design */
@media (max-width: 768px) {
    
    
    .support-section h2, 
    .sponsor-section h2, 
    .partner-section h2 {
        font-size: 2rem;
    }

    .support-section p {
        font-size: 1rem;
    }

    /* Mobile donation adjustments */
    .donation-method {
        display: block;
        margin: 15px auto;
        margin-right: 0;
        text-align: center;
    }

    .donation-text {
        display: block;
        font-size: 1rem;
        margin-bottom: 6px;
        margin-right: 0;
    }

    .donation-info {
        padding: 10px 20px;
        font-size: 1.3rem;
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
}

@media (max-width: 480px) {
   

    .support-section h2{
        font-size: 1.8rem;
    }
    
    .support-section p {
        font-size: 0.9rem;
    }

    /* Extra small mobile donation info */
    .donation-method {
        display: block;
        margin: 12px auto;
        margin-right: 0;
        text-align: center;
    }

    .donation-text {
        display: block;
        font-size: 0.9rem;
        margin-bottom: 5px;
        margin-right: 0;
    }

    .donation-info {
        padding: 8px 16px;
        font-size: 1.2rem;
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
}
