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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    background-color: #F9F7F2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s, color 0.3s;
}

a:hover {
    color: #B4B581;
    opacity: 1;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/*TYPOGRAFI*/
h1, h2, h3, h4, h5, h6, p, span, li, button, input, label,
.page-title, 
.section-header h2, 
.hero-text-block h1,
.case-intro h1 {
    font-family: 'Poppins', sans-serif;
}

h1, h2, .page-title, .section-header h2, .hero-text-block h1 {
    font-weight: 300 !important;
    letter-spacing: 1px;
}

/*HEADER & NAVIGATION*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    width: 100%;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
    color: #1a1a1a;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 300;
}

nav a.active {
    font-weight: 700;
}

/* BUTTONS*/
.btn {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #B4B581;
    border: 1px solid #B4B581;
    padding: 16px 32px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #B4B581;
    color: #F9F7F2;
}

/*HERO (FORSIDE) */
.hero-wrapper {
    position: relative;
    background-image: url('Billeder/herobillede.jpg');
    background-size: cover;
    background-position: center top;
    height: 100vh;
    width: 100%;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-wrapper nav a,
.hero-wrapper .logo {
    color: #ffffff !important;
    opacity: 0.9;
}

.hero-wrapper nav a:hover {
    color: #B4B581 !important;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 60px;
    pointer-events: none;
}

.hero-text-block {
    margin: auto 0 auto auto;
    width: 50%;
    text-align: right;
    pointer-events: auto;
}

.hero-subtitle {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text-block h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text-block p {
    font-style: italic;
    font-weight: 300;
    font-size: 16px;
    opacity: 0.9;
    max-width: 400px;
    margin-left: auto;
}

.mobile-hero-img {
    display: none;
}

/*SEKTIONER - SERVICES / HVAD JEG LAVER*/
.what-i-do-section {
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-header p {
    font-size: 16px;
    color: #444;
    max-width: 500px;
    margin: 20px auto 0;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    border: 1px solid #d1d1d1;
    background-color: transparent;
    position: relative;
    transition: all 0.4s ease;
}

.card-number {
    font-family: 'Poppins', serif;
    font-size: 18px;
    font-style: italic;
    color: #B4B581;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 30px;
}

.card-arrow {
    font-size: 20px;
    margin-top: auto;
    color: #1a1a1a;
    transition: transform 0.3s ease;
}

.service-card:hover {
    background-color: #B4B581;
    border-color: #B4B581;
    transform: translateY(-5px);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .card-number,
.service-card:hover .card-arrow {
    color: #ffffff;
}

.service-card:hover .card-arrow {
    transform: translateX(10px);
}

/*PROJEKTER*/
.category-header {
    text-align: center;
    margin-top: 150px; 
    margin-bottom: 80px; 
    border-top: 1px solid #dcdcdc; 
    padding-top: 40px;
}

.page-intro {
    font-size: 16px;
    color: #444;       
    max-width: 600px;  
    margin-bottom: 100px; 
    line-height: 1.8;
    font-weight: 300;
}

.category-header h2 {
    font-size: 28px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 60px;
    width: 100%;
}

.page-title {
    font-size: 36px;
    margin-bottom: 100px;
    color: #1a1a1a;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.project-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.project-row.reverse {
    flex-direction: row-reverse;
}

.row-image {
    flex: 1;
}

.row-image img,
.row-image video {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: contain;
    display: block;
    border: 1px solid #dcdcdc;
    padding: 30px;
    background-color: #F9F7F2;
    transition: transform 0.3s ease;
}

.row-image:hover img {
    transform: scale(1.02);
}

.row-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.project-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
}

.project-category {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin-bottom: 20px;
}

.row-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    font-weight: 300;
    margin-bottom: 15px;
    max-width: 450px;
}

/*SOCIAL MEDIA GALLERI*/
.social-gallery-section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 30px; 
}

.gallery-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 300; 
}

.gallery-header p {
    font-size: 14px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}

.social-item {
    overflow: hidden; 
    position: relative;
    cursor: pointer;
}

.social-item img, 
.social-item video {
    width: 100%;
    aspect-ratio: 4/5; 
    object-fit: cover; 
    display: block;
    transition: transform 0.5s ease;
    border-radius: 0; 
}

.social-item:hover img {
    transform: scale(1.05);
}

/*OM MIG*/
.about-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.about-header h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.intro-italic {
    font-size: 18px;
    font-style: italic;
    color: #1a1a1a; 
    line-height: 1.6;
    font-weight: 300;
}

.about-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
}

.about-text-content {
    flex: 1;
    padding-top: 10px;
}

.about-text-content p {
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* PROGRAMMER JEG BRUGER*/
.skills-programs {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.skills-programs .section-title {
    margin-bottom: 40px;
    font-weight: 300;
    font-style: italic;
    font-size: 24px;
}

.program-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.program-item {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
    border: 1px solid #d1d1d1;
    padding: 12px 24px;
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.program-item:hover {
    border-color: #B4B581;
    color: #ffffff;
    background-color: #B4B581;
    transform: translateY(-2px);
}

/* KONTAKT*/
.simple-contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 16px;
    color: #666;
    font-weight: 300;
}

.contact-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ccc;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #ccc;
    transition: all 0.3s ease;
}

.contact-item .label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #4A3B32;
}

.contact-item .value {
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    color: #1a1a1a;
    transition: padding-right 0.3s ease;
}

.contact-item:hover { 
    border-bottom: 1px solid #B4B581; 
    padding-left: 10px; 
}

.contact-item:hover .value { 
    color: #B4B581; 
    padding-right: 10px; 
}

/* FOOTER*/
footer {
    margin-top: auto;
    padding: 80px 60px 40px 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col p, .footer-col a {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.footer-bottom {
    text-align: center;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
}

/*  MEDIA QUERIES*/
@media (max-width: 768px) {
    header, .hero-wrapper header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        align-items: center;
    }

    nav ul {
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    nav a { font-size: 11px; }

    .hero-wrapper {
        height: auto;
        min-height: auto;
        padding-bottom: 60px;
        background-image: none !important; 
        background-color: #F9F7F2; 
        color: #1a1a1a !important;
    }

    .hero-overlay { display: none; }

    .hero-wrapper nav a, 
    .hero-wrapper .logo { color: #1a1a1a !important; }

    .hero-content { padding: 0 20px; margin-top: 20px; }

    .hero-text-block {
        width: 100%;
        text-align: left;
        margin: 0;
    }

    .hero-text-block h1 { font-size: 32px; margin-bottom: 20px; color: #1a1a1a; }
    .hero-subtitle { color: #B4B581; margin-bottom: 10px; }
    .hero-text-block p { font-size: 16px; color: #333; }

    .mobile-hero-img {
        display: block !important;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 20px 0 30px 0;
        filter: grayscale(100%);
        border-radius: 4px;
    }

    .what-i-do-section { padding: 60px 20px; }
    .services-grid { grid-template-columns: 1fr; gap: 30px; }
    .page-container { padding: 40px 20px; }
    .projects-list { gap: 60px; }
    .project-row, .project-row.reverse { flex-direction: column; gap: 30px; }
    .row-image img { padding: 15px; }

    .about-header h1 { font-size: 36px; }
    .about-grid { flex-direction: column; gap: 40px; }
    .about-image { width: 100%; }

    .program-item { padding: 10px 15px; font-size: 11px; flex-grow: 1; text-align: center; }

    .contact-item { flex-direction: column; gap: 10px; align-items: flex-start; }
    .contact-header h1 { font-size: 32px; }

    footer { padding: 40px 20px; }
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-col { text-align: left !important; }

    .social-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .social-gallery-section { padding: 40px 20px; }
}
