/*
Theme Name: StyleGuide Daily
Theme URI: https://styleguidedaily.com
Author: StyleGuide Daily
Description: A clean, modern theme for fashion style guide affiliate site
Version: 1.0
License: GPL v2 or later
*/

:root {
    --primary: #d4a574;
    --primary-light: #e8c9a0;
    --primary-dark: #b8895e;
    --rose-gold: #b76e79;
    --rose-gold-light: #d4a0a8;
    --soft-pink: #f2d5d5;
    --soft-pink-bg: #fdf6f0;
    --charcoal: #4a4a4a;
    --charcoal-light: #6b6b6b;
    --warm-white: #faf7f5;
    --white: #ffffff;
    --border: #e8e0d8;
    --text: #333333;
    --text-light: #777777;
    --bg: #faf7f5;
    --font-heading: "Georgia", "Times New Roman", serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    font-size: 16px;
}

a { color: var(--rose-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--charcoal);
}
.site-title a { color: var(--charcoal); }
.site-title .accent { color: var(--primary); }
.main-nav ul { list-style: none; display: flex; gap: 25px; }
.main-nav a { color: var(--charcoal); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.main-nav a:hover { color: var(--rose-gold); }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; background: none; border: none; color: var(--charcoal); }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--soft-pink-bg) 0%, var(--warm-white) 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--charcoal);
    margin-bottom: 15px;
    line-height: 1.3;
}
.hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
}
.hero-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}
.hero-btn:hover { background: var(--primary-dark); color: white; }

/* Content Layout */
.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

/* Post Grid */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.post-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.post-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.post-card-thumb { width: 100%; height: 220px; object-fit: cover; display: block; }
.post-card-body { padding: 20px; }
.post-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.post-card-title a { color: var(--charcoal); }
.post-card-title a:hover { color: var(--rose-gold); }
.post-card-excerpt { color: var(--text-light); font-size: 14px; line-height: 1.6; margin-bottom: 15px; }
.post-card-meta { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.post-card-cat {
    display: inline-block;
    background: var(--soft-pink-bg);
    color: var(--rose-gold);
    padding: 3px 12px;
    border-radius: 3px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Single Post */
.single-post { max-width: 800px; margin: 50px auto; padding: 0 20px; }
.single-post .post-category { margin-bottom: 15px; }
.single-post .post-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--charcoal);
    line-height: 1.3;
    margin-bottom: 25px;
}
.single-post .post-content { font-size: 16px; line-height: 1.9; color: var(--text); }
.single-post .post-content p { margin-bottom: 20px; }
.single-post .post-content h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--charcoal);
    margin: 40px 0 15px;
}
.single-post .post-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--charcoal);
    margin: 30px 0 10px;
}
.single-post .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}
.single-post .post-featured-image { margin-bottom: 30px; }
.single-post .post-featured-image img { width: 100%; height: auto; border-radius: 8px; }

/* Affiliate Disclosure Notice */
.affiliate-notice {
    background: var(--soft-pink-bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    padding: 15px 20px;
    border-radius: 4px;
    margin: 30px 0;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Category Page */
.category-header {
    background: var(--soft-pink-bg);
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}
.category-header h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--charcoal);
}
.category-header p { color: var(--text-light); margin-top: 10px; }

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}
.sidebar-widget-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--charcoal);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget a { color: var(--charcoal); }
.sidebar-widget a:hover { color: var(--rose-gold); }

/* Footer */
.site-footer {
    background: var(--charcoal);
    color: var(--warm-white);
    padding: 40px 0 20px;
    margin-top: 60px;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-light);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--warm-white); font-size: 13px; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    color: rgba(255,255,255,0.6);
}
.footer-disclosure {
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
}

/* Page */
.page-content { max-width: 800px; margin: 50px auto; padding: 0 20px; }
.page-content h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--charcoal);
    margin-bottom: 25px;
}
.page-content p { margin-bottom: 20px; line-height: 1.8; }

/* Responsive */
@media (max-width: 768px) {
    .main-nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
    .main-nav ul.active { display: flex; }
    .menu-toggle { display: block; }
    .content-area { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 28px; }
    .footer-inner { grid-template-columns: 1fr; }
    .single-post .post-title { font-size: 26px; }
}
