/* ==========================================================================
   1. FONT & VARIABLES
   ========================================================================== */
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/PlusJakartaSans-variable.woff2") format("woff2-variations");
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand Colors */
    --accent: #ff8b00;
    --highlight: #cfe2f3;
    --nav-text: #cccccc;

    /* Backgrounds */
    --bg-dark: #1d2428;
    --bg-bridge: #14181b;
    --bg-accordion: #12171b;
    --nav-bg: rgba(29, 36, 40, 0.95);

    /* Layout */
    --nav-height: 70px;
    --max-width: 1100px;
    --text-main: #bbb;
}

/* ==========================================================================
   2. RESET & GLOBAL STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    letter-spacing: .05em;
    line-height: 1.6;
    background-color: var(--bg-dark);
    color: #f3f3f3;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1 {
    font-weight: 500;
    color: var(--highlight);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-bottom: .5px;
}

h2 {
    font-weight: 200;
    color: var(--highlight);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-bottom: .5px;
}

h3 {
    font-weight: 200;
    color: var(--highlight);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-bottom: .5px;
}

strong {
    font-weight: 400;
    color: #ff8b00;
    text-transform: uppercase;
}

/* ==========================================================================
   3. REUSABLE LAYOUT CONTAINERS
   ========================================================================== */
.wide-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px;
}

.wide-container p {
    max-width: 750px;
    margin-bottom: 1.2rem;
    color: #bbb;
}

/* ==========================================================================
   4. NAVIGATION (CONSOLIDATED SIDE-NAV ONLY)[cite: 5]
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--nav-bg);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: flex-start; /* Aligns toggle and brand to the left */
    align-items: center;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.nav-brand {
    font-weight: 100;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--highlight);
    letter-spacing: 0.15em;
    font-size: 1.2rem;
}

/* Hide horizontal desktop links[cite: 5] */
.nav-links {
    display: none;
}

/* Persistent Hamburger Toggle[cite: 5] */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    margin-right: 50px; /* Space between icon and logo */
}

.bar {
    width: 100%;
    height: 2px;
    background-color: var(--highlight);
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation to 'X'[cite: 5] */
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Side Navigation Drawer[cite: 5] */
.side-nav {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden off-screen */
    width: 300px;
    height: 100vh;
    background-color: rgba(18, 23, 27, 0.98); 
    backdrop-filter: blur(15px);
    z-index: 999;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 120px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.side-nav.is-active {
    left: 0;
}

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

.side-nav-links li {
    margin-bottom: 25px;
}

.side-nav-links a {
    text-decoration: none;
    color: var(--nav-text);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}

.side-nav-links a:hover {
    color: var(--accent);
}

/* ==========================================================================
   5. COMPONENTS (Accordions, Badges, Buttons)
   ========================================================================== */
/* Accordions */
.accordion-item {
    width: 100%;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

summary {
    padding: 8px 25px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--highlight);
    list-style: none;
    background-color: #242c31;
    display: flex;
    justify-content: space-between;
}

summary:hover {
    background-color: #1a2126;
    color: var(--accent);
}

summary::after {
    content: "+";
    color: var(--accent);
    font-family: monospace;
}

details[open] summary::after {
    content: "−";
}

summary::-webkit-details-marker {
    display: none;
}

.accordion-content {
    padding: 1px 35px;
    color: #999;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Badges & Icons */
.cert-badge, 
.hero-badge, 
.social-badge {
    height: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.cert-badge {
    max-width: 100px;
}

.hero-badge {
    max-height: 45px;
    margin: 25px 0 0 5px;
}

.social-badge {
    max-width: 30px;
}

.cert-badge:hover, 
.hero-badge:hover, 
.social-badge:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0;
    backface-visibility: hidden;
    filter: blur(1px);
    animation: slowZoom 18s linear infinite alternate, crossFade 18s infinite;
}

.slide-1 { background-image: url("../img/hero_3.jpg"); animation-delay: 0s; }
.slide-2 { background-image: url("../img/hero_4.jpg"); animation-delay: 6s; }
.slide-3 { background-image: url("../img/hero_5.jpg"); animation-delay: 12s; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 100%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-subline {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin: 0;
}

.hero-logo {
    width: 100%;
    max-width: 650px;
    height: auto;
    margin: 15px 0;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.hero-details {
    font-weight: 300;
    max-width: 630px;
    color: #cccccc;
    font-size: 1.2rem;
    letter-spacing: 0.07em;
    line-height: 1.2;
    margin-top: 10px;
}

.hero-badge-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-top: 5px;
}

.hero-badges-row img {
    height: 40px;            
    width: auto;             
    margin: 0 !important;
    padding: 0;
}

/* ==========================================================================
   7. PRICING SECTION
   ========================================================================== */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
}

.pricing-card {
    position: relative;
    background-color: #242c31;
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 369px;
    min-height: 850px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border 0.3s ease, background-color 0.3s ease;
}

.pricing-card.highlighted,
.pricing-card:hover {
    border: 1px solid var(--accent);
    background-color: #2a3338;
    box-shadow: 0 10px 30px rgba(255, 139, 0, 0.15);
    transform: translateY(-10px);
}

/* Pricing Card Visual Stack */
.tier-label {
    position: absolute;
    top: 25px;
    left: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #888;
}

.tier-name {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--highlight);
    width: 100%;
}

.price {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
}

.period {
    font-size: 1rem;
    color: #cfe2f3;
    font-weight: 400;
}

.pricing-card .description {
    position: absolute;
    top: 250px;
    left: 30px;
    right: 30px;
    font-size: 1rem;
    color: #999;
    text-align: left;
}

.features,
.client-req {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features {
    padding-top: 530px;
    margin-bottom: 30px;
    text-align: left;
}

.features li,
.client-req li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #bbb;
    display: flex;
    align-items: flex-start;
}

.features li::before,
.client-req li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 12px;
    font-weight: bold;
}

.buy-button {
    margin-top: auto;
    display: block;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--accent);
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.pricing-card.highlighted .buy-button,
.pricing-card:hover .buy-button {
    background: var(--accent);
}

/* ==========================================================================
   8. SPECIFIC SECTIONS (Bridge, About, etc)
   ========================================================================== */
#bridge,
#bridge-2 {
    background-color: var(--bg-bridge);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

#about {
    position: relative;
    width: 100%;
    background: url("../img/bsbk_nick_draft-4.jpg") center/cover no-repeat;
}

.about-subtitle {
    padding: 3px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--highlight);
}

.about-text {
    max-width: 68%;
    min-width: 320px;
    padding: 0 30px 40px 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, .9);
    background: rgba(29, 36, 40, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.about-bg-overlay {
    background: linear-gradient(to right, var(--bg-dark) 0%, rgba(29, 36, 40, 0) 100%);
    width: 100%;
}

.about-content-split {
    display: flex;
    justify-content: flex-start;
    min-height: 400px;
    align-items: center;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================= */
.contact-section {
    padding: 90px 60px;
}

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

.contact-header h2 {
    font-size: 3rem;
    margin-bottom: 5px;
}

.contact-grid-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-details {
    font-size: 0.95rem;
    color: var(--nav-text);
    text-align: right;
    padding-right: 20px;
}

.contact-details p {
    margin: 0 0 8px 0;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* The Form */
.contact-form-slick {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.contact-form-slick input,
.contact-form-slick textarea {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    font-family: inherit;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form-slick input:focus,
.contact-form-slick textarea:focus {
    border-color: var(--accent);
}

.contact-form-slick input::placeholder,
.contact-form-slick textarea::placeholder {
    color: #666;
    text-transform: capitalize;
}

.form-submit-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.slick-send {
    padding: 10px 25px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--accent);
    color: white;
}

.slick-send:hover {
    background: var(--accent);
    color: black;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-container {
    background-color: var(--bg-bridge);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1px 60px 1px 10px;
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 20px;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-links-grid {
    display: flex;
    gap: 80px;
}

.footer-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.footer-list li {
    margin-bottom: 10px;
    margin-left: 1px;
}

.footer-list li::before {
    content: "▹";
    color: var(--accent);
    margin-right: 12px;
    font-weight: bold;
}

.footer-list a {
    text-decoration: none;
    color: #bbb;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--highlight);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 30px 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* LEGAL TEXT */
.legal-text-content ul {
    max-width: 650px;
    margin-left: 50px;
    margin-right: auto;
    padding-left: 1px;
    list-style: none;
}

.legal-text-content li {
    margin-bottom: 16px;
}

.legal-text-content li::before {
    content: "▹";
    color: var(--accent);
    margin-right: 12px;
    font-weight: bold;
}

.legal-text-content li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   9. ANIMATIONS & RESPONSIVENESS
   ========================================================================== */
@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

@keyframes crossFade {
    0% { opacity: 0; }
    5% { opacity: 1; }
    33% { opacity: 1; }
    45% { opacity: 0; }
    100% { opacity: 0; }
}

section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

@media (max-width: 800px) {
    .contact-grid-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .contact-details {
        text-align: center;
        padding-right: 0;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: left !important;
        align-items: flex-start;
    }

    .footer-links-grid {
        justify-content: center;
        gap: 40px;
    }

    .footer-brand {
        text-align: left !important;
    }
    
    .footer-links-grid {
        justify-content: flex-start !important;
    }
    
    .footer-list li {
        text-align: left;
    }

    .about-bg-overlay {
        background: rgba(29, 36, 40, 0.85);
    }

    .hero-content {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .pricing-grid {
        justify-content: center;
    }

    .pricing-card {
        min-height: auto;
        padding-bottom: 40px;
    }
}