/* =========================================
   1. VARIABLER & GRUNDINSTÄLLNINGAR
   ========================================= */
* { box-sizing: border-box; }

:root {
    --color-orange: #fe6b41;
    --color-dark: #200603;
    --color-cream: #FDFBF0;
    --color-white: #ffffff;
    --color-pink: #feabda;
    --color-black: #000000;
    
    --font-main: 'Barlow Condensed', sans-serif;
    --font-code: 'Source Code Pro', monospace;
    --font-abel: 'Abel Regular';
    --font-sign: 'Priestacy';
    
    --section-spacing: 50px; 
    --container-width: 96%;
    --container-max: 1600px;
    --border-radius: 4px;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-black);
    line-height: 1.5;
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word; 
    word-wrap: break-word; 
    transition: background-color 0.3s ease;
}

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

button { font-family: var(--font-main); }
main { padding-top: 0; text-align: center; margin-top: 0; }

/* -- Bakgrundsfärger -- */
.bg-orange { background-color: var(--color-orange); }
.bg-cream { background-color: var(--color-cream); }
.bg-dark { background-color: var(--color-dark); }
.bg-pink { background-color: var(--color-pink); }
.bg-white { background-color: #ffffff; }

/* =========================================
   2. GENERIELLA LAYOUT-KLASSER
   ========================================= */
.section-block {
    width: var(--container-width);
    max-width: var(--container-max);
    margin: var(--section-spacing) auto; 
    padding: 60px 40px;
    box-sizing: border-box;
}

.text-code { font-family: var(--font-code); }

/* Hamburgermeny (Dold på desktop) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
}

/* Pilknappar i sliders */
.nav-btn {
    background-color: rgba(32, 6, 3, 0.8);
    color: white;
    border: none;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}
.nav-btn span { position: relative; top: -3px; line-height: 1; }
.nav-btn:hover { background-color: rgba(32, 6, 3, 1); }
.nav-btn.left { transform: translateX(-20px); }
.nav-btn.right { transform: translateX(20px); }

/* =========================================
   3. HEADER & MENY
   ========================================= */
.top-banner {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 80px;
    background-color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--color-black);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links button {
    font-family: var(--font-main);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--color-black);
    padding: 5px 0;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 200;
    transition: 0.3s;
}
.nav-links button.active { border-bottom: 1.3px solid var(--color-black); }

/* -- Temafärger Header -- */
.header-orange { background-color: var(--color-orange); }
.header-orange .nav-links button, .header-orange .logo, .header-orange .menu-toggle { color: var(--color-black); }

.header-cream { background-color: var(--color-cream); border-bottom: none; }
.header-cream .nav-links button, .header-cream .logo, .header-cream .menu-toggle { color: var(--color-black); }

.header-dark { background-color: var(--color-dark); }
.header-dark .nav-links button, .header-dark .logo, .header-dark .menu-toggle { color: var(--color-pink); }
.header-dark .nav-links button.active { border-bottom-color: var(--color-pink); }

.header-pink { background-color: var(--color-pink); border-bottom: none; }
.header-pink .nav-links button, .header-pink .logo, .header-pink .menu-toggle { color: var(--color-dark); }

.header-white { background-color: #ffffff; }
.header-white .nav-links button, .header-white .logo, .header-white .menu-toggle { color: var(--color-black); }
.header-white .nav-links button.active { border-bottom-color: var(--color-black); }

/* =========================================
   4. FOOTER
   ========================================= */
.footer-section { background-color: var(--color-dark); display: flex; justify-content: space-between; align-items: flex-start; padding: 30px 60px 80px 60px; }
.footer-left h2 { font-size: 3rem; color: var(--color-pink); margin: 0 0 20px 0; }
.footer-right h2 { font-size: 2rem; color: var(--color-pink); margin: 0 0 10px 0; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.email-link { font-family: var(--font-code); color: var(--color-pink); text-decoration: none; font-size: 1rem; font-weight: 300; }
.email-link:hover { text-decoration: underline; }
.footer-right p { font-family: var(--font-code); color: var(--color-pink); text-decoration: none; font-size: 1rem; font-weight: 300; }
.linkedin-icon { width: 40px; }

/*
.footer-center { display: flex; flex-direction: column; align-items: center; text-align: center; margin-right: -40vw;}
.footer-center h2 { font-size: 2rem; color: var(--color-pink); margin: 0 0 10px 0; }
.footer-center p { font-family: var(--font-code); color: var(--color-pink); font-size: 1rem; font-weight: 300; line-height: 1.5;margin: 0 0 15px 0; }
.footer-center strong { font-weight: 600; }
*/

/* =========================================
   5. VYER: HEM
   ========================================= */
.hero-container {
    display: flex; flex-direction: column; align-items: center; width: 100%;
    padding-top: 100px; overflow-x: hidden; 
}
.hero-images { display: flex; align-items: flex-end; justify-content: center; gap: 0; width: var(--container-width); max-width: 950px; margin: 0 auto 20px auto; }
.hero-images img { box-shadow: none; object-fit: cover; }
.img-small { width: 110px; height: 175px; margin-bottom: -35px; margin-right: 25px; position: relative; z-index: 3; }
.img-large { width: 190px; height: 300px; margin-bottom: -10px;}
.img-medium { width: 140px; height: 220px; }

.info-box { background-color: #F8A7D8; text-align: center; z-index: 1; margin-top: 0; margin-bottom: var(--section-spacing); padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.info-box h2 { font-size: 4rem; margin-top: 0; margin-bottom: 20px; font-weight: 300; color: var(--color-black); }
.info-box p { font-family: var(--font-code); font-size: 0.8rem; max-width: 1000px; margin: 0 auto; font-weight: 300; }

.white-box { background-color: var(--color-white); display: flex; flex-direction: column; align-items: center; text-align: center; }
.white-box-text { width: 100%; display: flex; flex-direction: column; align-items: center; max-width: 1400px; margin: 0 auto; }
.white-box-text h3 { font-family: var(--font-main); font-size: 3rem; margin-bottom: 15px; font-weight: 300; }
.white-box-text p { font-family: var(--font-code); max-width: 300px; font-size: 0.8rem; font-weight: 300; }
.section-image { width: 100%; max-width: 600px; margin-top: 20px; }

.projects-section { background-color: var(--color-dark); color: var(--color-pink); text-align: left; }
.projects-title { font-size: 3rem; font-weight: 300; margin-bottom: 40px; padding-left: 0; color: var(--color-pink); max-width: 1400px; margin-left: auto; margin-right: auto; text-align: left; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; align-items: start; max-width: 1400px; margin: 0 auto; }
.project-item img { margin-bottom: 20px; }
.project-item h4 { font-family: var(--font-code); font-size: 1rem; margin-bottom: 10px; color: var(--color-pink); font-weight: 600; }
.project-item p { font-family: var(--font-code); font-size: 1rem; opacity: 0.9; font-weight: 300; }

.tips-section { background-color: var(--color-cream); overflow: hidden; }
.tips-title { font-size: 3rem; font-weight: 300; margin-bottom: 40px; color: var(--color-dark); max-width: 1400px; margin-left: auto; margin-right: auto; text-align: left; padding-left: 0; }
.tips-wrapper { position: relative; display: flex; align-items: center; max-width: 1400px; margin: 0 auto; }
.tips-slider { display: flex; gap: 80px; overflow-x: auto; padding: 20px; width: 100%; scroll-behavior: smooth; scrollbar-width: none; }
.tips-slider::-webkit-scrollbar { display: none; }
.book-item { min-width: 200px; text-decoration: none; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s; }
.book-item:hover { transform: translateY(-5px); }
.book-item img { box-shadow: 0 10px 20px rgba(0,0,0,0.15); margin-bottom: 15px; }
.book-item p { color: var(--color-dark); font-size: 1.1rem; text-align: center; }

.network-section { background-color: var(--color-orange); display: flex; justify-content: center; }
.network-content { display: flex; align-items: center; justify-content: center; gap: 60px; width: 100%; max-width: 1400px; margin: 0 auto; }
.network-img-container { flex: 0 0 250px; }
.network-img-container img { border-radius: 50%; }
.network-text-group { flex: 0 1 auto; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 300px; }
.network-text-group h2 { font-family: var(--font-main); font-size: 3rem; color: var(--color-dark); line-height: 1.1; margin-bottom: 20px; }
.network-text-group p { font-family: var(--font-code); font-size: 0.8rem; font-weight: 300; max-width: 780px; margin-bottom: 40px; }
.formula-img { height: 200px; width: auto; }

.white-box, .projects-section, .tips-section, .network-section { width: 100% !important; max-width: 100% !important; margin-top: 0 !important; margin-bottom: 0 !important; border-radius: 0 !important; }

/* =========================================
   6. VYER: OM OSS
   ========================================= */
.about-page-container {
    display: grid; grid-template-columns: 1fr 2fr 1.5fr; gap: 60px;
    width: var(--container-width); max-width: var(--container-max); margin: 120px auto; align-items: start;
}
.about-col-left img { width: 100%; max-width: 450px; height: auto; object-fit: cover; border-radius: 4px; display: block; margin: 0 auto; }
.about-col-center { text-align: left; }
.about-col-center h1 { font-family: var(--font-main); font-size: 2.5rem; font-weight: 400; margin-top: 0; margin-bottom: 30px; color: var(--color-black); }
.about-text-body p { font-family: var(--font-code); font-size: 1rem; line-height: 1.6; margin-bottom: 25px; color: black; font-weight: 300; }
.about-col-right { position: relative; min-height: 800px; }

.collage-wrapper { position: relative; width: 600px; max-width: 100%; height: 100%; margin: 0 auto; }
.collage-img { position: absolute; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 2px; }
.img-cloud { width: 280px; top: 0; left: -20px; z-index: 2; }
.img-crowd { width: 390px; top: 220px; right: -40px; z-index: 1; }
.img-dancer { width: 270px; top: 500px; left: 10px; z-index: 3; background-color: white; padding: 15px; }

.marquee-strip { background-color: #F8A7D8; width: var(--container-width); max-width: var(--container-max); margin: var(--section-spacing) auto; overflow: hidden; padding: 20px 0; white-space: nowrap; }
.marquee-content { display: flex; width: max-content; animation: scroll-left 40s linear infinite; }
.marquee-content span { font-family: var(--font-main); font-size: 2rem; font-weight: 300; color: var(--color-dark); text-transform: uppercase; word-spacing: 100px; margin-right: 100px; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.quotes-section { width: var(--container-width); max-width: var(--container-max); margin: 0 auto 80px auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 40px; padding: 0 20px; box-sizing: border-box; }
.quote-card { background-color: transparent; border: none; padding: 0; text-align: left; box-shadow: none; display: block; transition: none; }
.quote-card::before { content: ""; display: block; width: 100%; max-width: 250px; border-top: 1px solid var(--color-black); margin-bottom: 25px; }
.quote-header { font-family: var(--font-code); font-weight: 700; font-size: 1rem; color: var(--color-black); margin-bottom: 10px; display: block; }
.quote-body { font-family: var(--font-code); font-size: 1rem; font-weight: 400; line-height: 1.5; color: var(--color-black); margin: 0; }

/* =========================================
   7. VYER: KARRIÄR
   ========================================= */
.career-section { background-color: var(--color-pink); min-height: 100vh; padding: 120px 100px; display: flex; justify-content: center; margin: 0; }
.career-container { width: var(--container-width); max-width: 1600px; display: flex; gap: 80px; }
.career-col { flex: 1; display: flex; flex-direction: column; gap: 120px; }
.career-col.right { padding-top: 200px; }

.career-card { text-align: center; font-family: var(--font-code); color: var(--color-dark); }
.career-card h3 { font-family: var(--font-code); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; display: inline-block; border-bottom: 2px solid var(--color-dark); padding-bottom: 5px; margin-bottom: 30px; }
.career-card h4 { font-family: var(--font-sign); font-weight: 700; font-size: 1.2rem; display: inline-block; }
.career-card p { font-size: 1rem; line-height: 1.8; font-weight: 450; max-width: 600px; margin: 0 auto; }
.career-card strong { font-weight: 700; }

.career-col.center-image { display: flex; align-items: center; justify-content: center; flex: 1.6; }
.career-col.center-image img { width: 100%; height: auto; object-fit: cover; border-radius: 0; box-shadow: none; border: none; background-color: transparent; transform: scale(1.3) translateY(-60px); }

.box-v1 { margin-top: 150px; }
.box-v2 { margin-top: -50px; }
.box-v3 { margin-top: 80px; margin-right: -230px; }
.box-h1 { margin-top: -100px; }
.box-h2 { margin-top: -80px; }
.box-h3 { margin-top: -50px; }

/* =========================================
   8. VYER: MISSION
   ========================================= */
.mission-section { background-color: var(--color-dark); min-height: 100vh; display: flex; justify-content: center; padding: 120px 100px; margin: 0; flex-direction: column; align-items: center; }
.mission-container { width: var(--container-width); max-width: 600px; margin: 0 auto; display: block; }
.mission-text-col { color: var(--color-pink); text-align: left; width: 100%; }
.mission-text-col h2 { font-family: var(--font-main); font-size: 3rem; font-weight: 300; margin-bottom: 40px; color: var(--color-pink); }
.mission-text-col p { font-family: var(--font-code); font-size: 1rem; line-height: 1.6; margin-bottom: 25px; font-weight: 300; opacity: 0.9; }
.mission-text-col em { font-style: italic; }

.mission-slider-section { width: 100%; max-width: 1400px; margin-top: 100px; }
.mission-slider-section .tips-title { color: var(--color-pink); text-align: left; }
.mission-slider-section .book-item p { color: var(--color-pink); }
.mission-slider-section .mission-nav-btn { background-color: rgba(254, 171, 218, 0.15); color: var(--color-pink); }
.mission-slider-section .mission-nav-btn:hover { background-color: rgba(254, 171, 218, 0.4); }

/* =========================================
   9. VYER: KONTAKT
   ========================================= */
.contact-section { background-color: var(--color-dark); min-height: 100vh; width: 100%; margin-top: 0; padding-top: 150px; padding-bottom: 100px; display: flex; justify-content: center; }
.contact-container { width: var(--container-width); max-width: 800px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.contact-header { text-align: center; width: 100%; }
.contact-header h1 { font-family: var(--font-main); font-size: 3rem; font-weight: 300; color: var(--color-pink); margin: 0; }
.contact-form-wrapper { width: 100%; max-width: 500px; }

.form-group { margin-bottom: 30px; margin-top: 20px; }
.form-label { display: block; font-family: var(--font-code); color: var(--color-pink); font-size: 1rem; font-weight: 300; margin-bottom: 8px; opacity: 0.8; }
.form-section-title { font-family: var(--font-code); color: var(--color-pink); font-size: 1rem; font-weight: 300; margin-bottom: 20px; display: block; border-bottom: 1px solid rgba(254, 171, 218, 0.2); padding-bottom: 5px; }
.form-input, .form-textarea { width: 100%; background-color: rgba(60, 20, 20, 0.3); border: 1px solid rgba(254, 171, 218, 0.1); border-radius: 4px; padding: 12px; font-family: var(--font-code); font-size: 1rem; font-weight: 300; color: var(--color-pink); box-sizing: border-box; outline: none; transition: border-color 0.3s, background-color 0.3s; }
.form-input:focus, .form-textarea:focus { border-color: var(--color-pink); background-color: rgba(60, 20, 20, 0.5); }
.form-textarea { height: 150px; resize: none; }
.form-row { display: flex; gap: 20px; }
.form-col { flex: 1; }

.form-checkbox-group { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; cursor: pointer; }
.form-radio { appearance: none; width: 20px; height: 20px; border: 1px solid var(--color-pink); display: grid; place-content: center; margin: 0; }
.form-radio::before { content: ""; width: 10px; height: 10px; background-color: var(--color-pink); transform: scale(0); transition: 0.2s transform ease-in-out; }
.form-radio:checked::before { transform: scale(1); }
.checkbox-label { font-family: var(--font-code); color: var(--color-pink); font-size: 1rem; font-weight: 300; opacity: 0.9; }

.submit-btn { background-color: var(--color-pink); color: var(--color-dark); font-family: var(--font-code); font-weight: 600; font-size: 1rem; padding: 12px 60px; border: none; cursor: pointer; transition: transform 0.2s, background-color 0.2s; display: block; margin: 0 auto; width: 100%; max-width: 200px; }
.submit-btn:hover { transform: translateY(-2px); background-color: #fff; }


/* =========================================
   10. RESPONSIVITET (Samlade Media Queries)
   ========================================= */

/* --- MAX 1100px (Liten dator / Stor surfplatta) --- */
@media (max-width: 1100px) {
    .about-page-container { grid-template-columns: 1fr; gap: 40px; max-width: 800px; margin: 60px auto; padding: 0 15px; }
    .about-col-right { min-height: auto; display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
    .about-col-left { display: flex; justify-content: center; width: 100%; }
    .about-col-left img { max-width: 300px; width: 100%; }
    .collage-wrapper { width: 100%; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
    .collage-img { position: static; width: 150px; height: auto; margin: 0; transform: none; }
    .quotes-section { grid-template-columns: 1fr; }
}

/* --- MAX 900px (Surfplatta / Mobil i landskap) --- */
@media (max-width: 900px) {
    /* Gemensamt */
    .hide-on-mobile { display: none !important; }
    
    /* Layout */
    .network-content { flex-direction: column; gap: 40px; text-align: center; }
    .network-img-container { flex: 0 0 200px; width: 200px; }
    .footer-section { flex-direction: column; gap: 40px; align-items: flex-start; }
    .footer-right { align-items: flex-start; text-align: left; }
    
    /* Typografi */
    .projects-title, .tips-title, .footer-left h2 { font-size: 2.5rem; }
    .logo { font-size: 2rem; }
    
    /* Boxar / Grids */
    .quotes-section { grid-template-columns: 1fr; gap: 50px; }
    .quote-card::before { max-width: 100%; }
    .mission-container { grid-template-columns: 1fr; }
    .mission-text-col { padding: 0 20px; }
    .mission-section { padding: 100px 20px; }
    
    /* Sliders */
    .nav-btn { display: none !important; }
    
    /* Mobilmeny */
    .menu-toggle { display: block; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; padding: 20px 0; box-shadow: 0 10px 15px rgba(0,0,0,0.1); text-align: center; }
    .nav-links.open { display: flex; }
    .nav-links button { font-size: 1.5rem; padding: 15px; width: 100%; border-bottom: none !important; }
    
    /* Färg på rullgardinen (ärver headerns tema) */
    .header-orange .nav-links { background-color: var(--color-orange); }
    .header-cream .nav-links { background-color: var(--color-cream); }
    .header-dark .nav-links { background-color: var(--color-dark); }
    .header-pink .nav-links { background-color: var(--color-pink); }
    .header-white .nav-links { background-color: var(--color-white); }
}

/* --- MAX 800px (Små surfplattor / Större mobiler) --- */
@media (max-width: 800px) {
    /* Karriär-vyns layout nollställs */
    .career-col.center-image { padding: 40px 0; }
    .career-container { flex-direction: column; gap: 60px; }
    .career-col.right { padding-top: 0; }
    .career-col { gap: 60px; }
    .box-v1, .box-v2, .box-v3, .box-h1, .box-h2, .box-h3 { margin-top: 0 !important; }
}

/* --- MAX 600px (Mobil) --- */
@media (max-width: 600px) {
    .section-block { padding: 40px 20px; width: 96%; }
    .tips-slider { gap: 40px; }
    
    /* Tvinga fullskärm på mörk/ljus bakgrund sektioner */
    .white-box, .projects-section, .tips-section, .network-section {
        width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; border-radius: 0 !important;
        padding-left: 5%; padding-right: 5%; padding-top: 80px; padding-bottom: 80px; margin-top: 0 !important; margin-bottom: 0 !important;
    }
    
    /* Krymp rubriker */
    .info-box h2 { font-size: 2.5rem; }
    .white-box-text h3 { font-size: 2rem; }
    .projects-title, .tips-title, .network-text-group h2, .footer-left h2 { font-size: 2rem; }
    .contact-header h1 { font-size: 2.5rem; }
    .mission-text-col h2 { font-size: 2.2rem; }
    
    /* Hero Bilder Skalning */
    .hero-images { width: 100%; margin-bottom: 20px; }
    .img-small { width: 28vw; height: auto; margin-right: 6vw; margin-bottom: -10vw; }
    .img-large { width: 48vw; height: auto; margin-bottom: -5vw;}
    .img-medium { width: 35vw; height: auto; margin-left: -5vw; }
}