/*
Theme Name: DogFriendlyScene Custom Theme
Theme URI: https://dogfriendlyscene.co.uk/
Author: Teresa Milne
Author URI: https://dogfriendlyscene.co.uk/
Description: A modern, minimal WordPress theme inspired by Door.com for dog-friendly locations and directories.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dogfriendlyscene-theme
*/

/* ===== Base / Reset ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #323739;
    /* slate dark */
    margin: 0;
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: #91693a;
    /* sienna accent */
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: #704e27;
    /* darker sienna */
}

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

/* ===== Header ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.site-logo img {
    display: block;
    height: 56px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #323739;
    /* slate dark */
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 0;
}

.nav-menu a:hover {
    color: #91693a;
    /* sienna */
}

/* Hamburger toggle */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: 0;
    cursor: pointer;
    color: #323739;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        right: 20px;
        top: 70px;
        width: 240px;
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 10px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
        padding: 16px;
        transform-origin: top right;
        transform: scale(.98) translateY(-6px);
        opacity: 0;
        transition: transform .2s ease, opacity .2s ease;
    }

    .main-nav.active {
        display: block;
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav-menu a {
        font-size: 1.05rem;
    }
}

/* ===== Main Content ===== */
main {
    padding: 32px 0;
}

/* Blog grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.post-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 1.4rem;
    margin: 0 0 10px;
    font-weight: 600;
}

.post-title a {
    color: #111;
}

.post-title a:hover {
    color: #0074e4;
}

.post-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
}

.read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 500;
    color: #0074e4;
}

.read-more:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
.site-footer {
    background: #fff;
    border-top: 1px solid #eaeaea;
    padding: 24px 0;
    color: #555;
    text-align: center;
    font-size: 0.95rem;
}

/* ===== Buttons ===== */

/* Primary CTA button */
.btn-primary {
    display: inline-block;
    background: #91693a;
    /* sienna */
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: background .2s ease, transform .2s ease;
}

.btn-primary:hover {
    background: #704e27;
    /* darker sienna */
    transform: translateY(-2px);
}

/* Secondary link button */
.btn-link {
    display: inline-block;
    color: #91693a;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}

.btn-link:hover {
    color: #704e27;
    border-color: #704e27;
}

/* Outline button (optional variant) */
.btn-outline {
    display: inline-block;
    padding: 10px 22px;
    border: 2px solid #91693a;
    border-radius: 6px;
    color: #91693a;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-outline:hover {
    background: #91693a;
    color: #fff;
}

/* ===== Typography ===== */

/* Global heading defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    /* neutral dark */
    margin: 0 0 16px;
    line-height: 1.3;
}

/* Specific sizes inspired by Door.com */
h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #323739;
    /* slate dark */
}

p {
    margin: 0 0 1.2em;
    font-size: 1rem;
    color: #323739;
}

/* Subtle section titles */
.section-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #91693a;
    /* sienna accent */
    margin-bottom: 16px;
}

/* Hero heading (homepage top banner) */
.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero p {
    font-size: 1.2rem;
    color: #5f5f5f;
    margin-bottom: 20px;
}