/* ChefJuke.com Master Stylesheet 
    Version: 3.1 (Static Redux)
    Theme: Modern Culinary-Industrial / Personal Storyteller
*/

/* --- 1. Variables & Global Resets --- */
:root {
    --primary: #E67E22;    /* Burnt Orange */
    --secondary: #2C3E50;  /* Midnight Blue */
    --accent: #D35400;     /* Deep Orange */
    --holiday-red: #c0392b;/* Santa Crawl Red */
    --bg: #FDFCF0;         /* Parchment Cream */
    --text: #2D3436;       /* Soft Black */
    --white: #FFFFFF;
    --border: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* --- 2. Navigation --- */
header {
    background: var(--secondary);
    color: var(--white);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--white);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* --- 3. Hero Section --- */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('images/hero-background.jpg') no-repeat center center/cover;
    min-height: 65vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.hero-logo { 
    max-width: 400px; 
    width: 90%; 
    height: auto; 
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.hero p {
    font-size: 1.25rem;
    max-width: 750px;
    opacity: 0.9;
}

/* --- 4. Content Blocks & Cards --- */
.intro {
    padding: 5rem 0;
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 6px solid var(--primary);
    transition: transform 0.3s ease;
}

.card:hover { 
    transform: translateY(-8px); 
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2.2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover { 
    background: var(--accent); 
    transform: scale(1.02);
}

.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* --- 5. Biography & Timeline --- */
.bio-grid { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }

.bio-entry {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: var(--white);
    padding: 2.5rem;
    gap: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    align-items: start;
}

.bio-date {
    font-weight: 800;
    color: var(--primary);
    text-align: right;
    padding-right: 2rem;
    border-right: 4px solid var(--border);
    font-size: 1.3rem;
}

.bio-entry.featured { background: var(--secondary); color: var(--white); }
.bio-entry.featured .bio-date { color: var(--primary); border-right-color: rgba(255,255,255,0.2); }

.bio-img-container { margin-top: 1.5rem; }
.bio-img-container img { max-width: 450px; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.img-label { display: block; font-size: 0.85rem; font-style: italic; opacity: 0.8; margin-top: 0.6rem; }

/* --- 6. Photo Galleries (Burning Man / Santa) --- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.photo-item {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--secondary);
}

.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-item:hover img { transform: scale(1.1); }

.caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: var(--white);
    font-size: 0.9rem;
}

/* --- 7. Santa Crawl Specifics --- */
.santa-code {
    background: #fdf2f2;
    padding: 3.5rem;
    border-radius: 15px;
    border: 3px dashed var(--holiday-red);
    margin: 4rem 0;
}

.code-list { list-style: none; max-width: 750px; margin: auto; }
.code-list li {
    padding: 1rem 0 1rem 3rem;
    border-bottom: 1px solid rgba(192, 57, 43, 0.1);
    position: relative;
}

.code-list li::before { content: '🎅'; position: absolute; left: 0; font-size: 1.4rem; }

/* --- 8. Scrapbook (Sisters) --- */
.scrapbook-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 4rem; }
.scrapbook-item {
    background: var(--white);
    padding: 1.2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.scrapbook-item:nth-child(even) { transform: rotate(2.5deg); }
.scrapbook-item:hover { transform: rotate(0deg) scale(1.02); z-index: 10; }
.image-wrapper { width: 100%; height: 450px; overflow: hidden; margin-bottom: 1.2rem; border: 1px solid #eee; }
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* --- 9. Footer --- */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem 0 2rem;
    margin-top: 6rem;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }
.copyright { text-align: center; font-size: 0.85rem; opacity: 0.6; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2.5rem; margin-top: 2rem; }

/* --- 10. Responsive --- */
@media (max-width: 900px) {
    .bio-entry { grid-template-columns: 1fr; }
    .bio-date { text-align: left; border-right: none; border-bottom: 4px solid var(--primary); }
    .scrapbook-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
}