/**
 * layout.css
 * Requires: global.css
 * Used by: head.php, index.php
 */
/* ==========================================================================
   GLOBAL STRUCTURE & MODULAR LAYOUT STYLES (1440x1024 Optimal Layout)
   ========================================================================== */

/* Header Wrapper Definition */
.site-header {
    width: 100%;
    height: 135px;
    background: linear-gradient(89.72deg, #01272C 0%, #091413 100%);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Alignment inside Header */
.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    height: 60px;
    width: auto;
}

.logo-text {
    height: 35px;
    width: auto;
}

/* Header Right Hand Buttons Side */
.header-actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

.user-btn, .cart-btn, .menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.user-btn .user-icon-svg {
    width: 43px;
    height: 43px;
}

.user-btn .user-avatar-img {
    width: 43px;
    height: 43px;
}

.cart-btn {
    position: relative;
}

.cart-btn img {
    width: 36px;
    height: 36px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #B62779;
    color: #FFFFFF;
    font-family: var(--font-inter);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn img {
    width: 40px;
    height: 40px;
}


/* ==========================================================================
   SITE FOOTER COMPONENT
   ========================================================================== */
.site-footer {
    flex-shrink: 0;
    width: 100%;
    background: #0C383B; /* Figma exact box fill background hex */
    color: #FFFFFF;
    padding: 60px 0 30px 0;
    font-family: var(--font-inter);
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Brand Area & Newsletter Layout */
.footer-brand-section {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 45px;
    height: auto;
    display: block;
}

.footer-brand-name {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

/* Clean Underlined Input Entry Forms */
.footer-newsletter-form {
    width: 100%;
    max-width: 400px;
    margin-top: 5px;
}

.footer-newsletter-form .input-group {
    display: flex;
    border-bottom: 2px solid #FFFFFF;
    padding-bottom: 5px;
}

.footer-newsletter-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 8px 0;
}

.footer-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-submit-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0 5px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.newsletter-submit-btn:hover {
    transform: translateX(5px);
}

.footer-disclaimer {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

/* Links Columns Box Alignment */
.footer-nav-section {
    display: flex;
    gap: 100px;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.005em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    opacity: 0.85;
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Bottom Copyright Bar Row */
.footer-bottom {
    max-width: 1440px;
    margin: 40px auto 0 auto;
    padding: 20px 80px 0 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Adaptive Fluid Scale Adjuster */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        gap: 50px;
        padding: 0 40px;
    }
    .footer-nav-section {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }
    .footer-bottom {
        padding: 20px 40px 0 40px;
    }
}