/* Lindley Photography — Static Site Styles */

:root {
    --bg: #faf9f7;
    --text: #333;
    --text-light: #777;
    --accent: #c4a882;
    --accent-dark: #a88d6a;
    --border: #e8e4df;
    --white: #fff;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* Navbar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-light);
    transition: color 0.2s;
}

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

.nav-categories {
    display: flex;
    gap: 20px;
}

.nav-categories a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-light);
    transition: color 0.2s;
}

.nav-categories a:hover { color: var(--accent); }

/* Hero */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider { position: relative; height: 100%; }

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: var(--white);
}

.hero-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-overlay h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin: 10px 0 20px;
}

.hero-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--white);
    padding: 10px 24px;
    display: inline-block;
    transition: all 0.2s;
}

.hero-link:hover {
    background: var(--white);
    color: var(--text);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active { background: var(--white); }

/* Main Layout */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}

/* Post Cards */
.post-card {
    background: var(--white);
    margin-bottom: 40px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.post-image {
    display: block;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-image:hover img { transform: scale(1.03); }

.post-body {
    padding: 30px;
}

.post-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.post-body h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    margin: 10px 0;
    line-height: 1.3;
}

.post-body h2 a:hover { color: var(--accent); }

.post-body time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.post-body p {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.read-more:hover { border-bottom-color: var(--accent); }

/* Sidebar */
.sidebar { padding-top: 0; }

.widget {
    background: var(--white);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.widget h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.widget ul { list-style: none; }

.widget li { margin-bottom: 8px; }

.widget a {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: color 0.2s;
}

.widget a:hover { color: var(--accent); }

.search-form {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
}

.search-form button {
    border: none;
    background: var(--accent);
    color: var(--white);
    padding: 10px 16px;
    cursor: pointer;
    font-size: 1rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.85rem;
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
    .main-wrapper { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .hero { height: 400px; }
    .hero-overlay h2 { font-size: 1.8rem; }
    .nav-categories { display: none; }
}

@media (max-width: 600px) {
    .navbar { padding: 0 20px; }
    .nav-links { gap: 15px; }
    .main-wrapper { padding: 30px 20px; }
    .post-image img { height: 250px; }
    .hero-overlay { padding: 30px; }
}

/* Post Detail Page */
.post-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.post-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-detail-header .post-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
}

.post-detail-header h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    margin: 15px 0;
    line-height: 1.3;
}

.post-detail-header time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.post-detail-content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text);
}

.post-detail-content p {
    margin-bottom: 20px;
}

.post-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.post-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}

.post-meta-footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 30px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.related-posts {
    margin-top: 50px;
}

.related-posts h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 25px;
}

.related-post {
    display: inline-block;
    width: 30%;
    margin: 0 1.5%;
    vertical-align: top;
}

.related-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

.related-post h4 {
    font-size: 0.85rem;
    margin-top: 10px;
    font-weight: 500;
}

.back-to-blog {
    text-align: center;
    padding: 30px;
}

.back-to-blog a {
    font-size: 0.85rem;
    color: var(--accent);
}

/* Static Pages */
.static-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
}

.static-page h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.static-page p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 20px;
}

.static-page a { color: var(--accent); }

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
}
