/*
Theme Name: Anerio
Theme URI: https://anerio.co.uk
Author: Anerio Kennel
Description: Custom theme for Anerio Red Mini Long Hair Dachshund kennel website.
Version: 2.0
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2c2c2c;
    background: #fdf9f6;
}

a { color: #9b1c1c; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* === CONTAINER === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
#site-header {
    background: #fff;
    border-bottom: 3px solid #9b1c1c;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-branding .logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #9b1c1c;
}

.site-branding .brand-text .site-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #9b1c1c;
    letter-spacing: 1px;
    line-height: 1.1;
}

.site-branding .brand-text .site-tagline {
    font-size: 0.78rem;
    color: #777;
    letter-spacing: 0.5px;
}

/* === NAV === */
#primary-nav { display: flex; align-items: center; }

#primary-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

#primary-nav ul li { position: relative; }

#primary-nav ul li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.88rem;
    color: #2c2c2c;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a {
    background: #9b1c1c;
    color: #fff;
    text-decoration: none;
}

/* Dropdown */
#primary-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e0d5ce;
    border-top: 2px solid #9b1c1c;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 200;
    flex-direction: column;
    gap: 0;
}

#primary-nav ul li:hover > ul { display: flex; }

#primary-nav ul li ul li a {
    padding: 9px 16px;
    border-radius: 0;
    font-size: 0.82rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: #9b1c1c;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 3px;
}

/* === HERO / BANNER === */
#hero {
    background: linear-gradient(135deg, #9b1c1c 0%, #6b0f0f 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

#hero h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#hero p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 10px;
}

#hero .kennel-cert {
    display: inline-block;
    margin-top: 18px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* === RECONSTRUCTION NOTICE === */
#reconstruction-notice {
    background: #fff8e1;
    border-left: 5px solid #f59e0b;
    border-radius: 0 6px 6px 0;
    margin: 40px auto;
    max-width: 900px;
    padding: 28px 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(245,158,11,0.12);
}

#reconstruction-notice .notice-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    line-height: 1;
}

#reconstruction-notice .notice-content h2 {
    font-size: 1.25rem;
    color: #92400e;
    margin-bottom: 8px;
}

#reconstruction-notice .notice-content p {
    color: #78350f;
    font-size: 0.95rem;
    line-height: 1.6;
}

#reconstruction-notice .notice-content p strong {
    color: #92400e;
}

/* === SECTIONS === */
.section {
    padding: 50px 0;
}

.section:nth-child(even) {
    background: #fff;
}

.section-title {
    font-size: 1.5rem;
    color: #9b1c1c;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8d5d5;
}

.section p {
    max-width: 820px;
    color: #3a3a3a;
}

/* === ABOUT SECTION === */
#about-section {
    background: #fff;
}

/* === WAITING LIST CTA === */
#cta-section {
    background: linear-gradient(135deg, #fdf2f2, #fce8e8);
    text-align: center;
    padding: 50px 20px;
}

#cta-section h2 {
    color: #9b1c1c;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

#cta-section p {
    color: #555;
    margin-bottom: 22px;
}

.btn {
    display: inline-block;
    background: #9b1c1c;
    color: #fff;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    text-decoration: none;
}

.btn:hover {
    background: #7a1515;
    text-decoration: none;
    color: #fff;
}

.btn-whatsapp {
    background: #25d366;
}
.btn-whatsapp:hover { background: #1da851; }

/* === CONTACT STRIP === */
#contact-strip {
    background: #2c2c2c;
    color: #e0e0e0;
    padding: 36px 0;
}

#contact-strip .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

#contact-strip .contact-item a {
    color: #f2a0a0;
}

#contact-strip .contact-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 6px;
}

#contact-strip .contact-item .value {
    font-size: 0.95rem;
}

/* === FOOTER === */
#site-footer {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

/* === CONTENT PAGES === */
.page-content, .post-content {
    padding: 50px 0;
}

.entry-title {
    font-size: 2rem;
    color: #9b1c1c;
    margin-bottom: 20px;
}

.entry-content p { margin-bottom: 16px; }
.entry-content h2, .entry-content h3 { color: #9b1c1c; margin: 24px 0 10px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 16px; }
.entry-content img { margin: 16px 0; border-radius: 4px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    #site-header .header-inner { flex-wrap: wrap; }

    .nav-toggle { display: block; }

    #primary-nav {
        display: none;
        width: 100%;
        order: 3;
    }

    #primary-nav.open { display: block; }

    #primary-nav ul {
        flex-direction: column;
        gap: 0;
    }

    #primary-nav ul li ul {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid #9b1c1c;
        padding-left: 10px;
    }

    #primary-nav ul li.open > ul { display: flex; }

    #hero h1 { font-size: 1.5rem; }

    #reconstruction-notice {
        flex-direction: column;
        padding: 20px;
    }
}
