/* Theme Variables */
:root {
    
    --secondary: lightgrey;
    --page-background: white;     /* Dark grey */
    --content-background: blue;  /* Near black */
    --text-light: grey;         /* White */
    --text-dark: darkgrey;  
    --grey: grey;           
    --near-black: #333333;
    --near-white: #eeeeee;
    --neatspecsgrey: #7d6969;
    --legal-text: #272727;
    }


.footer .logo-container object {
    --logo-color: greenyellow;
}

/* Base Layout */
body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--page-background);
    color: black;
}

/* Header Styles */
header {
    flex-shrink: 0;
    background-color: var(--page-background);
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    padding-top: 1rem;
    align-items: flex-start;
}

.header-side-container {
    width: 120px;
    display: flex;
    align-items: flex-start;  
    justify-content: center;
}

/* Logo Styles */
.logo-container {
    flex-grow: 1;
    text-align: center;
}

.logo-container img {
    max-width: 220px;
    height: auto;
}

/* Content Layout */
.content-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 1rem;
    background-color: var(--page-background);
}

.content-wrapper > div {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    padding-top: 10vh;
    padding-bottom: 15vh;
}

.content-wrapper .row.spacing {
    width: 100%;
}

.page-container {
    width: 70%;
    margin: 0 auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Content Sections */
.content-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid var(--primary);
    background-color: green;
}

.content-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-section h3 {
    color: var(--near-white);
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.section-link {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.auth-btn object.profile-icon {
    width: 100%;
    height: 100%;
    max-height: 40px;
    object-fit: contain;
}

.auth-btn object.sign-in-icon {
    width: 100%;
    height: 100%;
    max-height: 55px;
    object-fit: contain;
}

/* Button Styles */
.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 100px;
    height: auto;
    padding: 8px;
}

.icon-btn:hover {
    transform: scale(1.05);
}

/* Auth Button Styles */
.auth-btn {
    background: none;
    border: none;
    padding-top: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-btn img {
    display: none;
}

.auth-btn img.active {
    display: block;
}

.auth-btn img.sign-in-icon {
    width: 100%;
    height: 100%;
    max-height: 55px;
    object-fit: contain;
}

.auth-btn img.profile-icon {
    width: 100%;
    height: 100%;
    max-height: 40px;
    object-fit: contain;
}

/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--page-background);
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 200px;
    display: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

/* Hamburger Menu */
.hamburger-menu {
    padding: 8px 16px;

    color: yellow;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hamburger-menu:hover {
    color: var(--primary);
}

.hamburger-icon {
    width: 24px;
    height: 24px;
}

/* Footer Styles */
.footer {
    flex-shrink: 0;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 1.5rem;
    width: 100%;
}

.footer .logo-container {
    max-width: 200px;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.footer .logo-container img {
    max-width: 100%;
    height: auto;
}

/* Image Gallery and Placeholder Styles */
.image-container,
.placeholder-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}

.image-container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.placeholder-block {
    background-color: #4a4a4a;
    height: 200px;
    color: white;
    font-size: 1.2rem;
    border-radius: 8px;
    margin: 10px 0;
}

/*------------grey------*/

/* Tagline styles */
.tagline-text,
.tagline h7 {
    font-size: 1rem;
    color: #696969;
    margin: .95rem 0;
    text-align: center;
    width: 100%;
    display: block;
}

/* Tagline styles */
.tagline {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.tagline .row {
    width: 100%;
}

/*------------greyEND------*/





/* Utility Classes */
.spacing {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .page-container {
        width: 90%;
        padding: 0.5rem;
    }
    
    .header-side-container {
        width: 80px;
    }
    
    .icon-btn {
        max-width: 70px;
        max-height: 70px;
        padding: 12px;
    }

    .content-section {
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
    }

    .dropdown-menu {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100% !important;
        margin: 0;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1050;
    }

    .dropdown-item {
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #eee;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .image-container {
        max-width: 85%;
        min-width: 280px;
        max-height: 500px;
    }

    .image-container img {
        max-width: 320px;
        max-height: 500px;
        width: auto;
    }

    .auth-btn {
        padding-top: 0.75rem;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1199px) {
    .header-container {
        padding: 1rem 1rem;
    }

    .image-container {
        max-width: 500px;
    }

    .image-container img {
        max-height: 550px;
    }

    .row > [class*='col-'] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Desktop Styles */
@media (min-width: 1200px) {
    .logo-container img {
        max-width: 300px;
    }

    .image-container {
        max-width: 300px;
    }

    .row > [class*='col-'] {
        padding-left: 15px;
        padding-right: 15px;
    }
}