/* AbadiMT Condensed Light font */
@font-face {
    font-family: 'AbadiMT Condensed Light';
    src: local('AbadiMT Condensed Light'), 
         local('AbadiMTCondensedLight'),
         local('Abadi MT Condensed Light');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* If you have the font file, uncomment and use this instead:
@font-face {
    font-family: 'AbadiMT Condensed Light';
    src: url('../fonts/AbadiMTCondensedLight.woff2') format('woff2'),
         url('../fonts/AbadiMTCondensedLight.woff') format('woff'),
         url('../fonts/AbadiMTCondensedLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'AbadiMT Condensed Light', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0d1f3a;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    max-width: 1200px;
    width: 90vw;
    height: 85vh;
    max-height: 800px;
    background: transparent;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

/* Left Sidebar - Menu */
.sidebar {
    background-color: #264796;
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

/* New Header Section */
.sidebar-top-header {
    background-color: #029FE2;
    padding: 1.5rem;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Photo Section */
.sidebar-photo {
    padding: 1rem;
    text-align: center;
    background-color: #264796;
}

    .sidebar-photo img {
        max-width: 60%;
        height: auto;
        border-radius: 0;
        /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);*/
    }

.menu {
    padding: 0;
}

.menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}

    .menu-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        border-left-color: #ffffff;
        transform: translateX(5px);
    }

    .menu-item.active {
        background-color: rgba(255, 255, 255, 0.15);
        color: #ffffff;
        border-left-color: #ffffff;
        font-weight: 600;
    }

/* Right Content Area */
.content-area {
    background: url('images/start_background.png') left center no-repeat;
    background-size: auto 100%;
    height: 100%;
    width: 100%;
    position: relative;
    overflow-y: auto;
    display: flex;
    align-items: center;
}

    .content-area::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        z-index: 1;
    }

.content {
    position: relative;
    z-index: 2;
    color: white;
    width: 90%;
    margin: 0 0 0 2rem;
}

.content-title {
    position: absolute;
    top: 6.3rem;
    right: 2rem;
    font-family: 'Abadi MT Condensed Light', sans-serif;
    font-size: 1.7rem;
    color: white;
    z-index: 2;
}

/* Text Content Styling */
.content-text {
    text-align: left;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    margin-bottom: 2rem;
    box-shadow: none;
    max-width: 60%;
    margin-top: 25%;
}

    .content-text p {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #ffffff;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }

        .content-text p:last-child {
            margin-bottom: 0;
        }

/* Text Content Bottom - aligned at bottom */
.content-text-bottom {
    text-align: left;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.5;
    position: absolute;
    bottom: 2rem;
    left: 1rem;
}

/* Company Details Wrapper */
.company-details-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-end;
}

/* Company Info - Left side */
.company-info {
    text-align: left;
    color: white;
    font-size: 0.9rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
}

    .company-info .company-name {
        font-weight: 700;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }

    .company-info .company-address {
        color: #ffffff;
        margin-bottom: 0.5rem;
    }

    .company-info .company-contact {
        color: #ffffff;
        display: block;
        margin: 0 0 0.25rem 0;
    }

        .company-info .company-contact:last-child {
            margin-bottom: 0;
        }

    .company-info a {
        color: #029FE2;
        text-decoration: none;
        transition: color 0.3s ease;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    }

        .company-info a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

    @media (max-width: 768px) {
        .company-info {
            font-size: 0.85rem;
        }

        .company-info .company-name {
            font-size: 1.1rem;
        }

        .company-info .company-contact {
            margin: 0.5rem 0;
        }
    }

    @media (max-width: 480px) {
        .company-info {
            font-size: 0.8rem;
        }

        .company-info .company-name {
            font-size: 1rem;
        }
    }

/* Company Owner - Right side */
.company-owner {
    text-align: left;
    color: white;
    font-size: 0.9rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
}

    .company-owner .owner-title {
        font-weight: 700;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: #ffffff;
    }

    .company-owner .owner-name {
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 0.5rem;
    }

    .company-owner .owner-detail {
        color: #ffffff;
        display: block;
        margin: 0 0 0.25rem 0;
    }

        .company-owner .owner-detail:last-child {
            margin-bottom: 0;
        }

    .company-owner a {
        color: #029FE2;
        text-decoration: none;
        transition: color 0.3s ease;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    }

        .company-owner a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

    @media (max-width: 768px) {
        .company-owner {
            font-size: 0.85rem;
        }

        .company-owner .owner-title {
            font-size: 1.1rem;
        }
    }

    @media (max-width: 480px) {
        .company-owner {
            font-size: 0.8rem;
        }

        .company-owner .owner-title {
            font-size: 1rem;
        }
    }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    background: #264796;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-container {
        width: 95vw;
        height: 90vh;
    }
}

@media (max-width: 768px) {
    body {
        align-items: flex-start;
    }

    .main-container {
        grid-template-columns: 1fr;
        width: 100vw;
        height: 100vh;
        max-height: none;
        border-radius: 0;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 280px;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 2000;
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .content-area {
        width: 100vw;
        background-position: center center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .content {
        padding: 5rem 1rem 2rem;
        max-width: 95%;
        margin-left: 1rem;
    }

    #content-display {
        padding-top: 3rem;
    }

    .content-text {
        max-width: 60%;
        margin-top: 35%;
    }

        .content-text p {
            font-size: 1rem;
            line-height: 1.6;
        }

    .content-text-bottom {
        position: static;
        max-width: 90%;
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .company-details-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .company-info {
        font-size: 0.85rem;
    }

    .company-owner {
        font-size: 0.85rem;
    }

    .sidebar-photo img {
        max-width: 60%;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 260px;
    }

    .content {
        padding: 4rem 0.75rem 1.5rem;
        margin-left: 0.75rem;
    }

    #content-display {
        padding-top: 2.5rem;
    }

    .content-text {
        max-width: 60%;
        margin-top: 25%;
    }

        .content-text p {
            font-size: 0.95rem;
            line-height: 1.5;
        }

    .content-text-bottom {
        max-width: 95%;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .company-info {
        font-size: 0.8rem;
    }

    .company-owner {
        font-size: 0.8rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar,
.content-area::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track,
.content-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb,
.content-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

    .sidebar::-webkit-scrollbar-thumb:hover,
    .content-area::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
