/* Layout with Header and Footer - Desktop Only */

/* ========================================
   Base Layout Structure
======================================== */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   Site Header - Hidden on Mobile/Tablet
======================================== */

.site-header {
    background-color: #ffffff;
    padding: 4px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #DAF0FF;
    /* Hide on mobile and tablet by default */
    display: none;
}

.site-header__container {
    width: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__logo {
    flex-shrink: 0;
}

.site-header__logo-img {
    height: 60px;
    width: auto;
    border-radius: 50%;
}

.site-header__title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #db2c36;
    margin-left: 8px;
}

.site-header__title a {
    color: #db2c36;
    text-decoration: none;
}

.site-header__nav {
    margin-left: auto;
}

.site-header__nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.site-header__nav-item {
    margin: 0;
    padding: 0;
}

.site-header__nav-link {
    color: #0079CF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0;
    transition: color 0.2s ease;
    display: block;
}

.site-header__nav-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* ========================================
   Site Main Content
======================================== */

.site-main {
    flex: 1;
    padding: 24px 16px;
    color: #434343;
}

/* ========================================
   Site Footer - Hidden on Mobile/Tablet
======================================== */

.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 32px 0 16px;
    margin-top: 100px;
    /* Hide on mobile and tablet by default */
    display: none;
}

.site-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.site-footer__logo {
    margin-bottom: 16px;
}

.site-footer__logo-img {
    height: 32px;
    width: auto;
    border-radius: 50%;
}

.site-footer__nav {
    margin-bottom: 16px;
}

.site-footer__nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.site-footer__nav-item {
    margin: 0;
}

.site-footer__nav-link {
    color: #0079CF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.site-footer__nav-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.site-footer__copyright {
    color: #6c757d;
    font-size: 12px;
    margin-top: 16px;
}

/* ========================================
   Desktop Only - Show Header and Footer
======================================== */

@media (min-width: 1024px) {
    .site-header {
        display: block;
    }

    .site-footer {
        display: block;
    }
}

/* ========================================
   Large Desktop Optimizations
======================================== */

@media (min-width: 1400px) {
    .site-footer__container {
        max-width: 1400px;
    }

    .site-header__nav-list {
        gap: 40px;
    }
}