/* =========================================================
   KONTAKT - MODERNE KOMPAKT DESIGN
========================================================= */

body {
    background-color: rgba(0,0,0,0.75);
    background-image: url("../billeder/toon.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: darken;
    background-position: bottom;
    background-attachment: fixed;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* =========================================================
   HEADER MED KONTAKTKNAP
========================================================= */

.contact-header {
    background: white;
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header-text h1 {
    margin: 0 0 6px 0;
    font-size: 2.2rem;
    color: var(--primary-blue);
}

.header-text p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.btn-contact-primary {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 68, 148, 0.25);
    white-space: nowrap;
}

.btn-contact-primary:hover {
    background: #003a7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 68, 148, 0.35);
}

/* =========================================================
   QUICK INFO CARDS
========================================================= */

.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.info-value a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.info-value a:hover {
    color: #003a7a;
    text-decoration: underline;
}

/* =========================================================
   BESTYRELSEN
========================================================= */

.board-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.board-card {
    background: white;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.board-card-vacant {
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
    border: 2px dashed #667eea;
}

.board-card-vacant:hover {
    background: linear-gradient(135deg, #eef2ff 0%, #dfe5ff 100%);
    border-color: #5568d3;
}

.board-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.board-avatar-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.board-avatar-vacant {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }
}

.board-info {
    width: 100%;
}

.board-role {
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.board-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.board-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    min-height: 40px;
}

.board-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.contact-btn {
    background: #f5f7fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    color: #333;
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    background: #e8ecf1;
    border-color: var(--primary-blue);
    transform: translateX(2px);
}

.contact-btn .icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-btn .text {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.contact-btn .copied {
    position: absolute;
    right: 14px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: #4caf50;
    font-weight: 600;
}

.contact-btn.copied-state {
    background: #e8f5e9;
    border-color: #4caf50;
}

.contact-btn.copied-state .text {
    opacity: 0;
}

.contact-btn.copied-state .copied {
    opacity: 1;
    transform: translateX(0);
}

.btn-join-board {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-weight: 600;
}

.btn-join-board:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8a 100%);
    transform: translateX(0) scale(1.02);
}

.btn-join-board .text {
    color: white;
}

/* =========================================================
   BLIV MEDLEM SEKTION (FJERNET)
========================================================= */

/* =========================================================
   FAQ SECTION
========================================================= */

.faq-section {
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.faq-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.faq-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.faq-card h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin: 0 0 10px 0;
}

.faq-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.faq-card a:hover {
    color: #003a7a;
    text-decoration: underline;
}

/* =========================================================
   MODAL
========================================================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f44336;
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #d32f2f;
    transform: rotate(90deg);
}

/* =========================================================
   TOAST NOTIFICATIONS
========================================================= */

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    padding: 14px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    animation: toastSlideIn 0.3s ease;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast.toast-success {
    border-left: 4px solid #4caf50;
}

.toast.toast-error {
    border-left: 4px solid #f44336;
}

.toast-message {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    .contact-header {
        padding: 24px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-text h1 {
        font-size: 1.8rem;
    }
    
    .btn-contact-primary {
        width: 100%;
        justify-content: center;
    }
    
    .quick-info {
        grid-template-columns: 1fr;
    }
    
    .board-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .join-board-card {
        padding: 28px 20px;
    }
    
    .join-board-card h3 {
        font-size: 1.5rem;
    }
    
    .toast-container {
        left: 20px;
        right: 20px;
    }
    
    .toast {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .board-avatar {
        width: 70px;
        height: 70px;
    }
    
    .board-name {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}