/* ============================================
   KONTAKT - DEDIKERAD STYLESHEET
   ============================================ */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--olive-green) 0%, #6B9967 100%);
    padding: var(--spacing-xxl) 0;
    margin-top: 82px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M20 50c0-16.5 13.5-30 30-30s30 13.5 30 30" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    opacity: 0.5;
}

.page-hero h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Kontaktinfo Section */
.contact-info-section {
    padding: var(--spacing-xxl) 0;
    background: var(--off-white);
}

.contact-info-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-card h2 {
    color: var(--warm-gray);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--olive-green);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--warm-gray);
    line-height: 1.6;
    margin: 0;
}

.info-item a {
    color: var(--dark-blue);
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--olive-green);
}

/* Team Section */
.team-section {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    color: var(--warm-gray);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--sand-beige) 100%);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    padding: 2rem;
}

.team-content h3 {
    color: var(--warm-gray);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-title {
    color: var(--olive-green);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.team-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-blue);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.team-contact a:hover {
    color: var(--olive-green);
}

.contact-icon {
    font-size: 1.2rem;
}

/* E-post spam-skydd */
.email-link {
    cursor: pointer;
}

/* Kontaktformulär Section */
.contact-form-section {
    padding: var(--spacing-xxl) 0;
    background: var(--off-white);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    color: var(--warm-gray);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--medium-gray);
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--warm-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label.required::after {
    content: ' *';
    color: var(--rust-orange);
}

.form-control {
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--olive-green);
    box-shadow: 0 0 0 3px rgba(78, 121, 75, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-alert {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.form-alert.hidden {
    display: none;
}

.form-alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Buttons */
.btn-primary.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-info-card {
        padding: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-image {
        height: 250px;
    }

    .team-content {
        padding: 1.5rem;
    }

    .form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 3rem 0;
    }

    .contact-info-card,
    .form-wrapper {
        padding: 1.5rem;
    }

    .team-content h3 {
        font-size: 1.3rem;
    }
}
