/*
Theme Name: Anerio Dachshund
Theme URI: https://www.anerio.org
Author: Anerio
Author URI: https://www.anerio.org
Description: Custom theme for Anerio Red Mini Long Hair Dachshund kennel
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anerio
*/

/* =========================================================
   IMPORTS & VARIABLES
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Poppins:wght@300;400;700&display=swap');

:root {
    --color-primary:   #edaa85;   /* warm peach/terracotta */
    --color-accent:    #f3986d;   /* sidebar header bg    */
    --color-red:       #df0808;   /* highlight red        */
    --color-dark:      #2d2e32;   /* body text            */
    --color-bg:        #ffffff;
    --color-sidebar-bg:#f7f7f5;
    --color-footer-bg: #f4f4f4;
    --color-link:      #5137e4;
    --sidebar-width:   240px;
    --shadow:          0 3px 11px rgba(0,0,0,.18);
    --radius:          12px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--color-dark);
    background: #eeeeee;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: opacity .2s;
}
a:hover { opacity: .75; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5 {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    margin: 0 0 .5em;
    line-height: 1.3;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; line-height: 1.7; }

ul { list-style: none; margin: 0; padding: 0; }

/* =========================================================
   LAYOUT WRAPPER
   ========================================================= */

.site-wrapper {
    display: flex;
    min-height: 100vh;
    max-width: 1300px;
    margin: 0 auto;
    background: var(--color-bg);
    box-shadow: var(--shadow);
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.site-sidebar {
    width: var(--sidebar-width);
    flex: 0 0 var(--sidebar-width);
    background: var(--color-sidebar-bg);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

/* Sidebar top banner */
.sidebar-brand {
    background: var(--color-accent);
    border-bottom: 8px solid var(--color-accent);
    padding: 24px 16px 20px;
    text-align: center;
}

.sidebar-brand .brand-logo {
    width: 60px;
    margin: 0 auto 12px;
    border-radius: 50%;
}

.sidebar-brand .brand-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.sidebar-brand .brand-subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    margin: 4px 0 0;
}

/* Sidebar navigation */
.sidebar-nav {
    padding: 16px 0;
    flex: 1;
}

.sidebar-nav ul { display: flex; flex-direction: column; }

.sidebar-nav li { position: relative; }

.sidebar-nav > ul > li > a {
    display: block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-dark);
    border-left: 3px solid transparent;
    transition: background .15s, border-color .15s;
}

.sidebar-nav > ul > li > a:hover,
.sidebar-nav > ul > li.current-menu-item > a,
.sidebar-nav > ul > li.current-menu-ancestor > a {
    background: rgba(237,170,133,.15);
    border-left-color: var(--color-primary);
    color: var(--color-dark);
    opacity: 1;
}

/* Sub-menus */
.sidebar-nav ul ul {
    background: rgba(0,0,0,.04);
    border-left: 3px solid var(--color-primary);
    margin-left: 20px;
    display: none;
}
.sidebar-nav li:hover > ul,
.sidebar-nav li.current-menu-ancestor > ul { display: flex; }

.sidebar-nav ul ul li a {
    display: block;
    padding: 7px 16px;
    font-size: .85rem;
    color: var(--color-dark);
    opacity: .8;
    transition: opacity .15s;
}
.sidebar-nav ul ul li a:hover { opacity: 1; }

/* Sidebar contact */
.sidebar-contact {
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(0,0,0,.08);
    font-size: .8rem;
    color: var(--color-dark);
    line-height: 1.7;
}
.sidebar-contact strong { display: block; margin-top: 6px; }

/* WhatsApp button */
.sidebar-whatsapp {
    display: flex;
    justify-content: center;
    padding: 12px 20px 20px;
}
.sidebar-whatsapp a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    opacity: 1;
    transition: filter .2s;
}
.sidebar-whatsapp a:hover { filter: brightness(.9); }
.sidebar-whatsapp svg { width: 18px; height: 18px; fill: #fff; }

/* =========================================================
   MAIN CONTENT
   ========================================================= */

.site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* =========================================================
   MOBILE HEADER (hamburger, hidden on desktop)
   ========================================================= */

.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: var(--color-accent);
    border-bottom: 5px solid var(--color-primary);
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 200;
}

.mobile-header .mobile-brand {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s;
}

/* =========================================================
   PAGE CONTENT
   ========================================================= */

.page-content {
    flex: 1;
    padding: 48px 56px;
    max-width: 860px;
}

/* Hero section */
.home-hero {
    text-align: center;
    margin-bottom: 40px;
}

.home-hero .kennel-logo {
    width: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
}

.home-hero h1 {
    font-size: 2.8rem;
    color: var(--color-dark);
    margin-bottom: 0;
}

.home-hero .tagline {
    color: var(--color-dark);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin-top: 6px;
}

/* Breed banner image */
.breed-banner {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
}
.breed-banner img { width: 100%; border-radius: var(--radius); }

/* Kennel name badge */
.kennel-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: 10px 28px;
    border-radius: 50px;
    margin: 12px 0 20px;
    border: 3px solid var(--color-primary);
    text-align: center;
}

/* Welcome block */
.welcome-block {
    background: #fff;
    border: 5px solid var(--color-primary);
    border-radius: var(--radius);
    padding: 36px 40px 32px;
    margin-bottom: 36px;
    box-shadow: none;
    text-align: center;
}

.welcome-block .welcome-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}

.welcome-block p {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
}

/* News callout */
.news-callout {
    background: #fff8f5;
    border-left: 4px solid var(--color-red);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.news-callout .news-label {
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-red);
    margin-bottom: 8px;
}
.news-callout p {
    margin: 0;
    font-size: .95rem;
    font-weight: 400;
    color: var(--color-red);
}

/* CTA Button */
.btn-primary {
    display: inline-block;
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    padding: 12px 32px;
    font-size: .9rem;
    font-weight: 400;
    text-align: center;
    transition: background .2s, color .2s;
    margin: 12px 0 24px;
    opacity: 1;
}
.btn-primary:hover {
    background: var(--color-primary);
    color: #fff;
    opacity: 1;
}

/* Illustration image + caption */
.illustration-wrap { text-align: center; margin: 28px 0; }
.illustration-wrap img {
    border-radius: var(--radius);
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
.illustration-caption {
    font-size: .8rem;
    color: #888;
    margin-top: 8px;
}

/* About section */
.about-section {
    font-size: .95rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-section .highlight-red { color: var(--color-red); font-weight: 700; }

/* Waiting list CTA */
.waitlist-callout {
    background: #fff0ee;
    border: 2px solid var(--color-red);
    border-radius: var(--radius);
    padding: 24px 28px;
    text-align: center;
    margin: 32px 0;
}
.waitlist-callout p {
    margin: 0;
    color: var(--color-red);
    font-weight: 700;
    font-size: .95rem;
}
.waitlist-callout a {
    color: var(--color-red);
    text-decoration: underline;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--color-footer-bg);
    border-top: 1px solid rgba(0,0,0,.08);
    padding: 40px 56px;
    text-align: center;
    font-size: .9rem;
}

.site-footer p { margin: 0 0 6px; line-height: 1.8; }

.site-footer .footer-logo {
    width: 160px;
    margin: 20px auto 12px;
}

.site-footer .footer-links { color: var(--color-link); }
.site-footer .footer-links a { color: var(--color-link); }

.site-footer .copyright {
    margin-top: 16px;
    font-size: .78rem;
    color: #aaa;
}

/* =========================================================
   WORDPRESS NATIVE SUPPORT
   ========================================================= */

/* Alignment classes */
.alignleft  { float: left;  margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 0 auto 10px; }

/* WP post/page wrapper */
.entry-content { max-width: 100%; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 1em; }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }
.entry-content h2 { margin-top: 1.5em; }

/* Gallery widget */
.wp-block-image img { border-radius: var(--radius); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .site-sidebar { display: none; position: fixed; left: 0; top: 0; height: 100%; z-index: 300; transform: translateX(-100%); transition: transform .3s ease; }
    .site-sidebar.open { display: flex; transform: translateX(0); }
    .mobile-header { display: flex; }
    .page-content { padding: 28px 24px; }
    .site-footer { padding: 32px 24px; }
    .welcome-block { padding: 24px 20px; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .home-hero h1 { font-size: 2rem; }
}
