/* ===================================
   CUSTOM FONTS
   =================================== */
@font-face {
    font-family: 'Sans Plomb';
    src: url('/fonts/SansPlomb-98.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Akzidenz Grotesk Pro';
    src: url('/fonts/AkzidenzGroteskPro-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Akzidenz Grotesk Pro';
    src: url('/fonts/AkzidenzGroteskPro-Md.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Akzidenz Grotesk Pro';
    src: url('/fonts/AkzidenzGroteskPro-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* ===================================
   COLOR VARIABLES
   =================================== */
:root {
    --dark-green: #00341E;
    --lime-green: #D2FF5B;
    --cream: #F4FFD6;
}

/* ===================================
   GLOBAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Akzidenz Grotesk Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sans Plomb', sans-serif;
    margin-top:-14px;
}

h3 {
    font-size: 90px;
    line-height: .89 !important;
    margin-bottom: 30px;
    font-weight: 700;
}

.btn {
    font-weight: 700;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.bg-dark-green {
    background-color: var(--dark-green);
}

.bg-lime-green {
    background-color: var(--lime-green);
}

.bg-cream {
    background-color: var(--cream);
}

.text-dark-green {
    color: var(--dark-green);
}

.text-lime-green {
    color: var(--lime-green);
}

.text-cream {
    color: var(--cream);
}

.no-underline {
    text-decoration: none !important;
}
/* ===================================
   PRE-HEADER SECTION
   =================================== */
.pre-header {
    padding-top: 60px;
    padding-bottom: 60px;
}

.pre-header h3 {
    text-transform: uppercase;
}

.pre-header p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* Custom button style */
.btn-lime-green {
    background-color: var(--lime-green);
    color: var(--dark-green);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    border-radius: 0px;
}

.btn-lime-green:hover {
    opacity: 0.7;
    background-color: var(--lime-green);
    color: var(--dark-green);
}

/* ===================================
   HEADER SECTION
   =================================== */
.main-header {
    height: 100vh;
    /*background-image: url('/images/header-bg-placeholder.png');*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    position: relative; /* This should already be here, but make sure */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--lime-green);
    margin-top: -1px; /* Remove any negative margin */
}

/* Navigation */
.header-nav {
    padding: 40px 0;
    position: absolute;
    top: 479px; /* Desktop pre-header height */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.4s ease;
    margin-top: -1px;
    width: 100%;
}

.header-nav.sticky {
    position: fixed;
    top: 0;
    background-color: var(--dark-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 40px;
}

.nav-list li a {
    color: var(--lime-green);
    text-decoration: underline;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.4s ease;
    display: inline-block;
}

.nav-list li a:hover {
    opacity: 0.8;
}

/* Logo in center */
.nav-logo {
    position: absolute;
    left: 48.5%;
    transform: translateX(-50%);
}

.dignity-bag-logo {
    color: var(--lime-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.4s ease;
    white-space: nowrap;
    font-family: 'Sans Plomb', sans-serif;
    font-size:48px;
    line-height:48px;
}

.header-nav.sticky .dignity-bag-logo {
    opacity: 1;
}

/* Sliding nav items */
.nav-link-goal {
    transition: transform 0.4s ease;
}

.nav-link-solution {
    transition: transform 0.4s ease;
}

.header-nav.sticky .nav-link-goal {
    transform: translateX(-80px);
}

.header-nav.sticky .nav-link-solution {
    transform: translateX(80px);
}

/* Main Title */
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%; /* Add this */
    padding: 0 40px; /* Match nav/controls padding */
}

.header-content h1 {
    font-size: 200px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
    opacity: 0; /* Start hidden */
    transition: opacity 0.3s ease;
}

.header-content h1.loaded {
    opacity: 1;
}

/* Video Controls */
.video-controls {
    padding-bottom: 40px;
}

.controls-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.control-btn {
    background: none;
    border: none;
    color: var(--lime-green);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 0;
}

/* Give pause button fixed width to prevent shifting */
#pauseBtn {
    min-width: 100px; /* Adjust based on longest text ("II PAUSE" vs "▶ PLAY") */
    text-align: left;
}

#fullscreenBtn {
    text-align: right;
}

.control-btn:hover {
    opacity: 0.8;
}

.control-btn.underline {
    text-decoration: underline;
}

/* Video styling */
.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.header-video.hidden {
    display: none;
}

/* Header overlay sits on top of video */
.header-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: opacity 0.3s ease;
}

.header-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===================================
   BIG BAG SECTION
   =================================== */
.big-bag-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.text-content-wrapper {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.big-bag-section h3 {
    max-width:80%;
    margin-left: auto;
    margin-right: auto;
}

.big-bag-section p {
    font-size: 18px;
    max-width:80%;
    line-height: 1.25;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.image-row {
    margin-top: 60px;
    margin-bottom: 60px;
}

.image-row img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   COLLABORATION SECTION
   =================================== */
.collaboration-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.collaboration-section h3 {
    max-width:69%;
}

.collaboration-section p {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 0;
    max-width:80%;
}

.image-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.image-stack img {
    width: 387px;
    height: 257px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   LES VALORISTES SECTION
   =================================== */
.les-valoristes-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.les-valoristes-section p {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 30px;
}

/* Dark Green Button */
.btn-dark-green {
    background-color: var(--dark-green);
    color: var(--cream);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    border-radius: 0;
}

.btn-dark-green:hover {
    opacity: 0.8;
    background-color: var(--dark-green) !important;
    color: var(--cream);
}

/* ===================================
   FEATURE SECTION
   =================================== */
.feature-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.feature-content {
    padding: 80px 40px;
    margin: 0px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-content h3 {
    max-width: 70%;
    font-size:100px;
    line-height:.95em;
}

/* Feature Button */
.btn-feature {
    background-color: var(--dark-green);
    color: var(--lime-green);
    border: none;
    border-radius: 0;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.btn-feature:hover {
    opacity: 0.8;
    background-color: var(--dark-green) !important;
    color: var(--lime-green);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding-bottom: 50px;
    padding-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*max-width: 1140px;*/
    margin: 0 auto;
    padding: 0 15px;
}

.footer-left a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-left a:hover {
    opacity: 0.5;
}

.footer-logo {
    height: auto;
    width: auto;
    max-height: 50px;
}

.footer-right {
    display: flex;
    align-items: end;
    gap: 30px;
}

.copyright {
    color: var(--lime-green);
    font-size: 14px;
    margin-bottom:-7px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.5;
}

.social-icon {
    height: auto;
    width: auto;
    max-height: 30px;
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */
@media (max-width: 768px) {
    .header-content {
        padding:0 10px;
    }

    .header-content h1 {
        font-size:190px;
        line-height:.86em;
        white-space: normal;
    }
    h3 {
        font-size: 80px;
        line-height: .88em;
    }

    section img {
        padding-left:10px;
        padding-right:10px;
    }
    /* Hide desktop nav on mobile */
    .desktop-nav {
        display: none !important;
    }

    /* Mobile Logo */
    .mobile-logo {
        position: absolute;
        left: 20px;
        z-index: 1001;
    }

    .dignity-bag-logo-mobile {
        color: var(--lime-green);
        font-size: 30px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: 'Sans Plomb', sans-serif;
        opacity: 0;
        transition: opacity 0.4s ease;
        font-family: 'Sans Plomb', sans-serif;
        /*font-size:50px;*/
    }

    /* Show logo when sticky */
    .header-nav.sticky .dignity-bag-logo-mobile {
        opacity: 1;
    }

    /* Hamburger Menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        position: absolute;
        right: 20px;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: var(--lime-green);
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }

    /* Mobile Menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--dark-green);
        transition: right 0.4s ease;
        z-index: 1000;
        padding-top: 80px;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-list li {
        padding: 20px 30px;
        border-bottom: 1px solid rgba(210, 255, 91, 0.2);
    }

    .mobile-nav-list li a {
        color: var(--lime-green);
        text-decoration: none;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
    }

    .mobile-nav-list li a:hover {
        opacity: 0.8;
    }

    /* Adjust nav padding for mobile */
    .header-nav {
        padding: 20px 0;
        top: 908px; /* Mobile pre-header height */
    }

    .header-nav .container-fluid {
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    .control-btn:first-child,
    .control-btn:last-child {
        display: none;
    }
    .controls-list {
        justify-content: center;
    }

    #fullVideo {
        object-fit: contain;
        background-color: #000;
    }

    .big-bag-section p {
        max-width:90%;
    }
    .feature-content h3 {
        max-width: 100%;
        font-size:69px;
        line-height:.95em;
    }

    .big-bag-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .big-bag-section h3 {
        max-width: 100%;
    }

    .collaboration-section {
        text-align: center;
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .collaboration-section h3 {
        font-size:75px;
        max-width:100%;
    }

    .collaboration-section p {
        max-width:100%;
    }

    .collaboration-section .image-stack {
        margin-top:60px;
    }

    .les-valoristes-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .image-row {
        margin-top: 60px;
        margin-bottom: 60px;
    }


        /* Hide desktop footer on mobile */
        .desktop-footer {
            display: none !important;
        }

        /* Mobile footer centered layout */
        .mobile-footer {
            display: block !important;
            margin-top:-1px;
        }

        .footer-mobile-center {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
            text-align: center;
        }

        .footer-mobile-center .social-links {
            justify-content: center;
        }

}

/* Show hamburger only on mobile */
@media (min-width: 769px) {
    .hamburger,
    .mobile-menu,
    .mobile-logo,
    .mobile-footer {
        display: none !important;
    }
}