/*
Theme Name: DogToyHaven
Theme URI: https://dogtoyhaven.com
Author: Zakaria farouki
Author URI: https://dogtoyhaven.com
Description: A dark-themed WordPress theme for DogToyHaven.com, focused on dog toys guides.
Version: 1.0
Text Domain: dogtoyhaven
*/

body {
    background: #1a1a1a;
    color: #d3d3d3;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
a {
    color: #d3d3d3;
    text-decoration: none;
}
a:hover {
    color: #0ea5e9;
}
header {
    position: sticky;
    top: 0;
    background: #111;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.site-logo {
    font-size: 1.5em;
    color: #0ea5e9;
    font-weight: bold;
}
.site-logo img {
    max-height: 50px; /* Adjustable for custom logo */
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
    margin: 0;
    padding: 0;
}
nav ul li a {
    padding: 0.5em 1em;
    border-radius: 5px;
}
nav ul li a:hover {
    background: #222;
}
.hero {
    display: flex;
    align-items: center;
    padding: 4em 2em;
    background: #222;
    border-radius: 10px;
    margin: 2em;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.hero-text {
    flex: 1;
    padding-right: 2em;
}
.hero h1 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 0.5em;
}
.hero p {
    margin-bottom: 1em;
}
.hero button {
    background: #0ea5e9;
    color: #fff;
    border: none;
    padding: 0.75em 1.5em;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 1em;
    font-size: 1em;
}
.hero button:hover {
    background: #0c8cd1;
}
.hero img {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.featured {
    padding: 2em;
}
.featured h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 1em;
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
}
.cards article {
    background: #222;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
}
.cards img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1em;
}
.cards h3 {
    color: #fff;
    margin-bottom: 0.5em;
}
.cards p {
    margin-bottom: 1em;
}
.explore-sidebar {
    display: flex;
    padding: 2em;
    gap: 2em;
}
.explore {
    flex: 3;
}
.explore h2 {
    color: #fff;
    margin-bottom: 1em;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em;
}
.grid article {
    background: #222;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
}
.grid img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1em;
}
.grid h3 {
    color: #fff;
    margin-bottom: 0.5em;
}
.sidebar {
    flex: 1;
    background: #222;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.sidebar h2 {
    color: #fff;
    margin-bottom: 1em;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar li {
    display: flex;
    gap: 1em;
    margin-bottom: 1em;
    align-items: center;
}
.sidebar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}
.sidebar div {
    display: flex;
    flex-direction: column;
}
.sidebar span {
    font-size: 0.8em;
    color: #aaa;
}
.newsletter {
    padding: 2em;
    background: #222;
    border-radius: 10px;
    margin: 2em;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
}
.newsletter h2 {
    color: #fff;
    margin-bottom: 1em;
}
.newsletter form {
    display: flex;
    justify-content: center;
    gap: 1em;
    max-width: 600px;
    margin: 0 auto;
}
.newsletter input {
    flex: 1;
    padding: 0.75em;
    border: none;
    border-radius: 5px;
    background: #333;
    color: #d3d3d3;
}
.newsletter button {
    background: #0ea5e9;
    color: #fff;
    border: none;
    padding: 0.75em 1.5em;
    border-radius: 5px;
    cursor: pointer;
}
.newsletter button:hover {
    background: #0c8cd1;
}
.trust {
    padding: 2em;
}
.trust h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 1em;
}
.points {
    display: flex;
    gap: 1em;
}
.points div {
    flex: 1;
    background: #222;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
    font-weight: bold;
}
footer {
    background: #111;
    padding: 2em;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}
footer .branding {
    font-size: 1.2em;
    color: #0ea5e9;
    margin-bottom: 1em;
}
footer nav ul {
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
    gap: 1em;
    list-style: none;
    margin: 0;
    padding: 0;
}
footer .popular {
    margin-top: 1em;
}
footer .popular ul {
    list-style: none;
    display: flex;
    gap: 1em;
    justify-content: center;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    .hero {
        flex-direction: column;
        padding: 2em 1em;
        margin: 1em;
    }
    .hero-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 1em;
    }
    .hero img {
        max-width: 100%;
    }
    .explore-sidebar {
        flex-direction: column;
        padding: 1em;
    }
    .points {
        flex-direction: column;
    }
    .newsletter form {
        flex-direction: column;
    }
}