/* =========================
   FELIPEV - RESPONSIVE CSS
   ========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f3;
    color: #161616;
}

main {
    min-height: 80vh;
}

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

a {
    color: inherit;
}

/* =========================
   HEADER
   ========================= */

.site-header {
    background: #f5f5f3;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-logo {
    margin-right: auto;
    text-decoration: none;
    color: #161616;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: static !important;
}

.site-nav a {
    text-decoration: none;
    color: #161616;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1.5px;
    background: #161616;
    transition: width 0.25s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

/* Hvis du har pakket ikonerne ind i <div class="site-socials"> */
.site-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-left: 4px;
}

.site-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Fallback hvis ikonerne stadig ligger direkte i headeren */
.site-header-inner > a:has(.linkedin-icon),
.site-header-inner > a:has(.facebook-icon),
.site-header-inner > a:has(.instagram-icon) {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.linkedin-icon,
.facebook-icon,
.instagram-icon,
.site-socials img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    position: static !important;
    display: block;
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    padding: 24px 28px 40px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* =========================
   FORSIDE / HERO
   ========================= */

.hero {
    width: min(1200px, 100%);
    margin: 120px auto 100px;
    padding: 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 60px;
    align-items: center;
}

.hero-left {
    max-width: 980px;
}

.hero-tag {
    font-size: 13px;
    letter-spacing: 2px;
    color: #777;
    margin: 0 0 30px 0;
}

.hero h1 {
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -3px;
    margin: 0 0 30px 0;
    color: #111;
}

.hero-description {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 0 40px 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    border: 1px solid #000;
    color: #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
}

.preview-card {
    background: #fff;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
    transition: all 0.4s ease;
}

.preview-card:hover {
    transform: rotate(0deg) scale(1.03);
}

.preview-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
}

/* =========================
   STATEMENT
   ========================= */

.statement {
    width: min(1200px, 100%);
    margin: 180px auto 120px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.statement-label {
    font-size: 13px;
    letter-spacing: 2px;
    color: #777;
    margin: 0;
}

.statement-right h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -2px;
    margin: 0 0 24px 0;
    max-width: 900px;
}

.statement-right p {
    margin: 0;
    max-width: 720px;
    color: #666;
    font-size: 18px;
    line-height: 1.7;
}

/* =========================
   CV
   ========================= */

.cv-page {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
}

.cv-actions,
.cv-actions1 {
    margin: 0;
}

.cv-actions {
    grid-column: 2;
}

.cv-actions1 {
    grid-column: 3;
}

.cv-button,
.cv-button1,
.cv-download,
.cv-download1 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #2f5563;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    position: static !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.cv-button:hover,
.cv-button1:hover,
.cv-download:hover,
.cv-download1:hover {
    background: #244651;
    transform: translateY(-2px);
}

.cv-card {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    align-items: stretch;
}

.cv-sidebar {
    background: #d9e6ec;
    padding: 40px 30px;
}

.cv-photo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.cv-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #b7d0dd;
}

.cv-section {
    margin-bottom: 28px;
}

.cv-section h3 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #2f5563;
}

.cv-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 0;
}

.cv-list li {
    margin-bottom: 6px;
    color: #44545c;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.cv-main {
    padding: 40px;
    background: #fff;
    text-align: left;
}

.cv-header {
    margin-bottom: 24px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
}

.cv-header h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 0 0 6px 0;
    color: #2f5563;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cv-header p {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.cv-content-section {
    max-width: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.cv-content-section h2 {
    margin: 0 0 12px 0;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cv-content-section p {
    margin: 0 0 10px 0;
    line-height: 1.55;
    color: #333;
}

.cv-item {
    margin-bottom: 14px;
}

.cv-date {
    display: inline-block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.cv-item h4 {
    margin: 0 0 4px 0;
    color: #222;
}

.cv-item p {
    margin: 0;
}

/* =========================
   OM MIG
   ========================= */

.about-page {
    width: min(960px, 100%);
    margin: 0 auto;
    padding: 80px 24px;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0 0 32px 0;
    color: #111;
}

.about-text {
    max-width: 760px;
}

.about-text p {
    line-height: 1.9;
    margin: 0 0 22px 0;
    font-size: 1.08rem;
    color: #2d2d2d;
}

.about-signature {
    margin: 40px 0 30px 0;
    font-weight: 600;
    color: #111;
}

/* =========================
   CAROUSEL
   ========================= */

.carousel-window {
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.carousel-track img {
    width: calc(100% / 3);
    height: 250px;
    object-fit: cover;
    padding: 10px;
    border-radius: 12px;
}

.carousel-track img:hover {
    transform: scale(1.03);
    transition: 0.3s ease;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b0b0b0;
    cursor: pointer;
}

.carousel-dots .dot.active {
    background: #3f6a78;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {
    .site-header-inner {
        padding: 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 28px;
    }

    .site-logo {
        width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .site-nav {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-socials {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-left: 0;
        flex-direction: row !important;
    }

    .site-header-inner > a:has(.linkedin-icon),
    .site-header-inner > a:has(.facebook-icon),
    .site-header-inner > a:has(.instagram-icon) {
        order: 3;
    }

    .hero {
        margin: 80px auto 70px;
        padding: 0 24px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-right {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .statement {
        grid-template-columns: 1fr;
        padding: 0 24px;
        margin: 90px auto 80px;
        gap: 20px;
    }

    .cv-page {
        grid-template-columns: 1fr 1fr;
        padding: 50px 20px;
    }

    .cv-actions {
        grid-column: 1;
    }

    .cv-actions1 {
        grid-column: 2;
    }

    .cv-button,
    .cv-button1 {
        width: 100%;
    }

    .cv-card {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .cv-sidebar,
    .cv-main {
        padding: 34px 28px;
    }
}

/* =========================
   MOBIL
   ========================= */

@media (max-width: 640px) {
    .site-header-inner {
        padding: 20px 18px 24px;
        gap: 18px;
    }

    .site-logo {
        font-size: 1.25rem;
    }

    .site-nav {
        width: 100%;
        gap: 26px;
    }

    .site-nav a {
        font-size: 1.05rem;
    }

    .site-socials {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 18px !important;
        width: 100%;
        margin: 0;
    }

    .site-socials a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .linkedin-icon,
    .facebook-icon,
    .instagram-icon,
    .site-socials img {
        width: 32px !important;
        height: 32px !important;
    }

    .hero {
        margin: 64px auto 58px;
        padding: 0 18px;
    }

    .hero-grid {
        gap: 32px;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 13vw, 3.6rem);
        line-height: 1.02;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .preview-card {
        transform: none;
    }

    .statement {
        padding: 0 18px;
        margin: 64px auto 62px;
    }

    .statement-right h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
        letter-spacing: -1px;
    }

    .statement-right p {
        font-size: 1rem;
    }

    .cv-page {
        grid-template-columns: 1fr;
        padding: 34px 14px;
        gap: 12px;
    }

    .cv-actions,
    .cv-actions1 {
        grid-column: 1;
    }

    .cv-button,
    .cv-button1,
    .cv-download,
    .cv-download1 {
        width: 100%;
        padding: 13px 18px;
    }

    .cv-card {
        margin-top: 4px;
        border-radius: 8px;
    }

    .cv-sidebar,
    .cv-main {
        padding: 28px 22px;
    }

    .cv-photo {
        width: 150px;
        height: 150px;
    }

    .cv-header h1 {
        font-size: 2rem;
    }

    .cv-content-section p {
        line-height: 1.6;
    }

    .about-page {
        padding: 48px 18px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .carousel-track img {
        width: 100%;
        height: 220px;
    }
}
