﻿/* ===== LIGHT NAVY BLUE FOOTER ===== */
:root {
    --navy-primary: #1e3a8a; /* Light Navy Blue */
    --navy-dark: #172554; /* Darker Navy */
    --navy-light: #3b82f6; /* Lighter Blue for accents */
    --text-white: #ffffff; /* Pure white text */
    --text-light: #f8fafc; /* Light gray for secondary text */
    --text-lighter: #e2e8f0; /* Very light gray */
    --border-light: rgba(255, 255, 255, 0.1); /* Subtle borders */
    --border-medium: rgba(255, 255, 255, 0.2);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --hover-light: rgba(255, 255, 255, 0.05);
    --hover-medium: rgba(255, 255, 255, 0.1);
}

/* Footer Base Styles */
.samco-footer {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    color: var(--text-white);
    padding: 50px 0 25px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.brand-column {
    grid-column: span 1;
}

.brand-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.logo-wrapper {
    width: 90px;
    height: 90px;
    background: var(--text-white);
    border-radius: 12px;
    padding: 10px;
    border: 3px solid var(--navy-light);
    box-shadow: 0 4px 15px var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .logo-wrapper:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.brand-content {
    flex: 1;
}

.brand-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 12px 0;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.95;
}

.brand-mission {
    font-size: 14px;
    color: var(--text-lighter);
    margin: 0;
    line-height: 1.6;
    font-style: italic;
    border-left: 3px solid var(--navy-light);
    padding-left: 12px;
    opacity: 0.9;
}

/* Footer Headings */
.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--navy-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.heading-icon {
    font-size: 16px;
    opacity: 0.9;
}

/* Navigation Links */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-nav li {
        margin-bottom: 14px;
        transition: transform 0.2s ease;
    }

        .footer-nav li:hover {
            transform: translateX(3px);
        }

.footer-link {
    color: var(--text-lighter);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.link-arrow {
    color: var(--navy-light);
    font-size: 14px;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    color: var(--text-white);
    background: var(--hover-light);
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 4px;
}

    .footer-link:hover .link-arrow {
        transform: translateX(3px);
        opacity: 1;
    }

/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    transition: background-color 0.1s ease;
    border-radius: 6px;
    padding: 10px;
}

    .contact-item:hover {
        background: var(--hover-medium);
    }

.contact-icon {
    font-size: 18px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy-light);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-link, .contact-text {
    color: var(--text-lighter);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

    .contact-link:hover {
        color: var(--text-white);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.contact-text {
    opacity: 0.95;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-medium) 50%, transparent 100%);
    margin: 30px 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
}

.copyright-section {
    flex: 1;
}

.copyright-text {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

.current-year {
    font-weight: 600;
    color: var(--text-white);
}

.developer-section {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

    .developer-section:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: var(--navy-light);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.dev-label {
    color: var(--text-light);
    font-size: 13px;
    opacity: 0.9;
}

.developer-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

    .developer-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--navy-light);
        transition: width 0.3s ease;
    }

    .developer-link:hover {
        color: var(--navy-light);
    }

        .developer-link:hover::after {
            width: 100%;
        }

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .brand-column {
        grid-column: span 2;
    }

    .footer-heading {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .footer-link {
        font-size: 15px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .samco-footer {
        padding: 40px 0 20px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-column {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }

    .brand-section {
        align-items: center;
        text-align: center;
    }

    .logo-wrapper {
        width: 80px;
        height: 80px;
    }

    .brand-title {
        font-size: 26px;
    }

    .brand-mission {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--navy-light);
        padding-top: 10px;
        margin-top: 10px;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .developer-section {
        align-self: center;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .samco-footer {
        padding: 35px 0 15px;
    }

    .footer-grid {
        gap: 25px;
    }

    .logo-wrapper {
        width: 70px;
        height: 70px;
    }

    .brand-title {
        font-size: 24px;
    }

    .brand-subtitle,
    .brand-mission {
        font-size: 13px;
    }

    .footer-link {
        font-size: 15px;
    }

    .contact-link,
    .contact-text {
        font-size: 14px;
    }

    .copyright-text {
        font-size: 13px;
    }

    .dev-label,
    .developer-link {
        font-size: 13px;
    }
}

/* Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .samco-footer {
        padding: 30px 0 15px;
    }

    .footer-container {
        padding: 0 12px;
    }

    .contact-item {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .brand-title {
        font-size: 22px;
    }

    .developer-section {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .logo-wrapper,
    .footer-link,
    .contact-item,
    .developer-section {
        transition: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .samco-footer {
        background: var(--navy-dark) !important;
    }

    .footer-link,
    .contact-link {
        text-decoration: underline;
    }
}
