/* Nicole Lloyd Portfolio - Shared Base Stylesheet */
/* This file contains styles shared across all pages: reset, base typography, animations */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base CSS Variables - Can be overridden by page-specific stylesheets */
    :root {
        --bg-primary: #FFFFFF;
        --bg-white: #FFFFFF;
        --text-primary: #1F1F1D;
        --text-secondary: #5F6461;
        --text-muted: #7A7F7B;
        --divider: #D6D3CE;
    
    --font-display: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

   
}

/* Base Body Styles */
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

.nav-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 32px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1000;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    width: 155px;
    height: 30px;
    flex-shrink: 0;
}

.nav-items {
    display: flex;
    gap: 24px;
}

.nav-items a {
    font-weight: 500;
    font-size: 16px;
    text-transform: titlecase;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-items a.active {
    color: var(--text-primary);
    font-weight: 800;
}

.nav-items a:hover {
    color: var(--text-primary);
}

/* Legacy nav-links support (for home page) */
.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    text-transform: titlecase;
    color: var(--text-muted);
    text-decoration: none;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hamburger button - hidden on desktop */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: opacity 0.2s ease;
}
.hamburger-btn:hover {
    opacity: 0.8;
}
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-open .hamburger-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-open .hamburger-btn span:nth-child(2) {
    opacity: 0;
}
.nav-open .hamburger-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-divider {
    height: 1px;
    background: var(--divider);
    width: 100%;
    margin: 0;
}

/* Shared link styles for nav and footer */
.site-link {
    font-weight: 500;
    font-size: 16px;
    text-transform: titlecase;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.site-link:hover {
    color: var(--text-primary);
}

.site-link.active {
    color: var(--text-primary);
    font-weight: 800;
}

/* Main Content */
main {
    margin-top: 160px;
    padding: 0 208px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* Typography - Base Text Styling */
h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.01em;
    max-width: 55vw;
    text-transform: none;
    color: var(--text-primary);
}

h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: capitalize;
    color: var(--text-primary);
    margin: 24px 0 16px 0;
}

h3 {
    font-size: 18px;
    font-weight: 550;
    line-height: 1.3;
    text-transform: capitalize;
    color: var(--text-secondary);
    margin: 24px 0 8px 0;
}

.subheader {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.7;
    text-transform: none;
    color: var(--text-primary);
    margin-bottom: 0px;
    max-width: 760px;
}

.subheader-light {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    text-transform: none;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 760px;
}

.body-copy {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 16px;
    margin-top: 16px;
    max-width: 760px;
    color: var(--text-secondary);
}

.body-copy-no-margin {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    max-width: 760px;
    color: var(--text-primary);
}

.body-bold {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.7;
    max-width: 760px;
}

.body-copy strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* Links in content */
.body-copy a,
section a,
p a {
    font-size: 16px;
    text-transform: capitalize;
    color: var(--text-primary);
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.body-copy a:hover,
section a:hover,
p a:hover {
    opacity: 0.7;
}

/* Bullet lists */
.body-copy.bullet {
    padding-left: 20px;
    position: relative;
    margin-bottom: 0px;
    margin-top: 12px;
}

.body-copy.bullet::before {
    content: "‣";
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* Quote Section */
.quote-section {
    padding: 24px 0;
    border-left: 4px solid var(--divider);
    padding-left: 24px;
    margin: 0px;
}

.quote-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.quote-attribution {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Testimonial (blockquote) – same as quote-section for consistency */
.testimonial {
    padding: 24px 0;
    border-left: 4px solid var(--divider);
    padding-left: 24px;
    margin: 0;
}
.testimonial .body-copy:first-of-type,
.testimonial p:first-of-type {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 24px;
}
.testimonial .attribution {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Images */
.image-frame {
    border-radius: 10px;
    overflow: hidden;
    margin: 48px 0;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: #D7DBDC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
}

/* Footer */
footer {
    padding: 96px 48px;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-divider {
    height: 1px;
    background: var(--divider);
    margin-bottom: 32px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 48px;
    align-items: center;
}

.footer-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    text-transform: titlecase;
    color: var(--text-muted);
    text-decoration: none;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Shared Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll Animation Base Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    main {
        padding: 0 48px;
    }
    
    .nav-content {
        padding: 32px 48px 0 48px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 24px;
    }

@media (max-width: 768px) {
        .hero .sub-nav {
            display: none;
        }
    }
    
    .nav-header {
        flex-wrap: wrap;
    }
    
    .hamburger-btn {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    
    .nav-items {
        display: none;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        order: 3;
        padding-top: 16px;
        padding-bottom: 8px;
    }
    
    .nav-open .nav-items {
        display: flex;
    }
    
    .logo {
        order: 1;
    }
    
    main {
        padding: 0 24px;
        margin-top: 120px;
    }
    
    h1 {
        font-size: 32px;
        max-width: 100%;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .quote-text {
        font-size: 28px;
    }
    
    /* Footer: stack and left-align — logo, then links */
    .footer-columns {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}
