/* Top Navigation Bar */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: height 0.3s ease, padding 0.3s ease;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 40px;
    align-items: center;
    transition: gap 0.3s ease;
}

/* Home image link */
.home-logo {
    height: 28px;
    width: auto;
    display: block;
}

.top-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease, font-size 0.3s ease;
}

.top-nav a:hover {
    opacity: 0.7;
}

/* Hamburger Menu Styles - From Uiverse.io by JulanDeAlb */
.hamburger {
    cursor: pointer;
    display: none; /* Hidden by default */
}

.hamburger input {
    display: none;
}

.hamburger svg {
    /* The size of the SVG defines the overall size */
    height: 2.3em;
    /* Define the transition for transforming the SVG */
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    /* Define the transition for transforming the Stroke */
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
    transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* Menu Text */
.menu-text {
    display: none; /* Hidden by default */
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-left: 10px;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 60px; /* Start below the nav */
    left: -300px; /* Hidden by default */
    width: 300px;
    height: calc(100vh - 60px); /* Full height minus nav */
    background-color: rgba(0, 0, 0, 0.8); /* Black with transparency */
    backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 20px 30px 30px 30px;
    box-sizing: border-box;
}

.sidebar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #1e9bd7;
}

body {
    background-color: #1a1a1a;
    color: #ffffff;
}

.about-section {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 40px;
    margin-top: 60px; /* offset for fixed header */
    overflow-x: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    gap: 60px;
    padding: 0 40px;
    align-items: flex-start;
}

/* Left Content Side */
.about-content {
    flex: 1;
    padding-right: 40px;
}

.about-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    margin-bottom: 40px;
    color: #ffffff;
}

.about-quote {
    font-size: 18px;
    line-height: 1.8;
    color: #cfcfcf;
    margin-bottom: 40px;
    font-style: italic;
    border-left: 4px solid #1e9bd7;
    padding-left: 20px;
}

.about-quote::before {
    content: '"';
    font-size: 36px;
    color: #1e9bd7;
    margin-right: 8px;
}

.about-quote::after {
    content: '"';
    font-size: 36px;
    color: #1e9bd7;
}

.quote-bold {
    font-weight: 700;
    color: #ffffff;
}

.about-spacer {
    height: 60px;
}

.about-subsection {
    margin-bottom: 50px;
}

.about-subtitle {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    margin-bottom: 15px;
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: #1e9bd7;
    border-radius: 2px;
}

.about-description {
    font-size: 16px;
    line-height: 1.9;
    color: #cfcfcf;
    margin-top: 20px;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-description.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Values Section */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.value-item {
    padding: 0 0 0 30px;
    position: relative;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.value-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1e9bd7;
    font-size: 24px;
    font-weight: bold;
}

.value-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.value-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e9bd7;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.value-description {
    font-size: 16px;
    line-height: 1.7;
    color: #cfcfcf;
    margin: 0;
}

.value-description strong {
    color: #1e9bd7;
    font-weight: 700;
}

/* Right Image Side - Parallax */
.about-image-side {
    flex: 0 0 450px;
    position: sticky;
    top: 0px;
    height: 130vh;
}

.about-image-wrapper {
    width: 100%;
    height: 80%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image-side {
        display: none;
    }

    .about-content {
        padding-right: 0;
    }

    .about-title {
        font-size: 42px;
    }

    .about-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding-top: 80px;
    }

    .about-container {
        padding: 0 20px;
        gap: 30px;
    }

    .about-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .about-quote {
        font-size: 16px;
    }

    .about-subtitle {
        font-size: 20px;
    }

    .about-description {
        font-size: 14px;
    }

    .about-image-side {
        display: none;
    }
}