/*
Theme Name: Blocksy Child - Little River
Theme URI: https://dev.littleriverguesthouse.com
Description: Warm rustic child theme for Little River Guesthouse (not a hotel, not a resort)
Author: Little River Guesthouse
Author URI: https://dev.littleriverguesthouse.com
Template: blocksy
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-child-littleriver
*/



/* ===========================================
   LITTLE RIVER GUESTHOUSE - CUSTOM STYLES
   Design: Warm, rustic, countryside home
   NOT a hotel or resort
   ========================================== */

/* ===========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Color Palette - Warm & Rustic */
    --lrg-background: #F6F1EB;        /* Warm off-white/milk */
    --lrg-accent: #C97355;            /* Clay/terracotta */
    --lrg-secondary: #8B9A7F;         /* Sage green */
    --lrg-text: #3A3432;              /* Warm dark gray */
    --lrg-heading: #2A2321;           /* Darker warm gray */
    --lrg-white: #FFFFFF;
    --lrg-light-bg: #EDE7DF;          /* Lighter background for sections */
    
    /* Spacing - Generous & Breathing */
    --lrg-space-xs: 0.5rem;
    --lrg-space-sm: 1rem;
    --lrg-space-md: 2rem;
    --lrg-space-lg: 4rem;
    --lrg-space-xl: 6rem;
    
    /* Border Radius - Soft */
    --lrg-radius-sm: 4px;
    --lrg-radius-md: 8px;
    --lrg-radius-lg: 12px;
    
    /* Transitions */
    --lrg-transition: all 0.3s ease;
}


/* ===========================================
   GLOBAL RESETS & BASE STYLES
   ========================================== */
body {
    background-color: var(--lrg-background);
    color: var(--lrg-text);
    font-family: 'Lora', Georgia, serif;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove pure black, use warm dark gray */
* {
    color: inherit;
}


/* ===========================================
   TYPOGRAPHY
   ========================================== */

/* Headings - Serif, Elegant, Warm */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--lrg-heading);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin-top: 0;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 0.875rem;
    font-weight: 500;
}

h5 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.625rem;
    font-weight: 600;
}

/* Paragraph Spacing */
p {
    margin-bottom: 1.5rem;
}

/* Links - Subtle & Warm */
a {
    color: var(--lrg-accent);
    text-decoration: none;
    transition: var(--lrg-transition);
}

a:hover {
    color: var(--lrg-secondary);
    text-decoration: underline;
}

/* Lists - Relaxed */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}


/* ===========================================
   LAYOUT & SPACING
   ========================================== */

/* Generous Vertical Spacing */
.entry-content > *,
.wp-block-group > * {
    margin-bottom: var(--lrg-space-md);
}

/* Section Padding */
.wp-block-group,
.wp-block-cover {
    padding-top: var(--lrg-space-lg);
    padding-bottom: var(--lrg-space-lg);
}

/* Container Max Width - Breathing Room */
.entry-content,
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lrg-space-md);
}

/* No Strict Grids - Organic Flow */
.wp-block-columns {
    gap: var(--lrg-space-lg);
    margin-bottom: var(--lrg-space-lg);
}

.wp-block-column {
    padding: 0;
}


/* ===========================================
   BUTTONS - SOFT, CALM, ROUNDED
   ========================================== */
.wp-block-button__link,
.button,
.btn,
button[type="submit"],
input[type="submit"],
.wp-element-button {
    background-color: var(--lrg-accent);
    color: var(--lrg-white);
    border: none;
    border-radius: var(--lrg-radius-md);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: var(--lrg-transition);
    text-transform: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    font-family: 'Lora', Georgia, serif;
}

.wp-block-button__link:hover,
.button:hover,
.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #B36547;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 115, 85, 0.3);
    color: var(--lrg-white);
    text-decoration: none;
}

/* Secondary/Outline Buttons */
.wp-block-button.is-style-outline .wp-block-button__link,
.button-secondary {
    background-color: transparent;
    border: 2px solid var(--lrg-secondary);
    color: var(--lrg-secondary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.button-secondary:hover {
    background-color: var(--lrg-secondary);
    color: var(--lrg-white);
    transform: translateY(-2px);
}

/* Soft Button Labels - No Aggressive CTAs */
.wp-block-button__link {
    text-transform: none;
}


/* ===========================================
   IMAGES - BREATHING SPACE
   ========================================== */
.wp-block-image {
    margin: var(--lrg-space-lg) 0;
}

.wp-block-image img {
    border-radius: var(--lrg-radius-sm);
    display: block;
    max-width: 100%;
    height: auto;
}

/* Featured Images */
.post-thumbnail img,
.attachment-post-thumbnail {
    border-radius: var(--lrg-radius-sm);
}

/* Image Captions */
.wp-block-image figcaption,
.wp-caption-text {
    font-size: 0.9rem;
    color: var(--lrg-text);
    opacity: 0.8;
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}


/* ===========================================
   HEADER & NAVIGATION
   ========================================== */
.site-header {
    background-color: var(--lrg-background);
    padding: var(--lrg-space-md) 0;
}

/* Navigation - Calm & Minimal */
.header-menu-wrap a,
.main-navigation a {
    color: var(--lrg-text);
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: var(--lrg-transition);
    text-transform: none;
    padding: 0.5rem 1rem;
}

.header-menu-wrap a:hover,
.main-navigation a:hover {
    color: var(--lrg-accent);
    text-decoration: none;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-switcher a {
    padding: 0.25rem 0.5rem;
    border-radius: var(--lrg-radius-sm);
}

.language-switcher a.current-language {
    background-color: var(--lrg-accent);
    color: var(--lrg-white);
}


/* ===========================================
   FOOTER - WARM & MINIMAL
   ========================================== */
footer,
.site-footer {
    background-color: var(--lrg-light-bg);
    padding: var(--lrg-space-lg) 0 var(--lrg-space-md);
    margin-top: var(--lrg-space-xl);
    border-top: 1px solid rgba(139, 154, 127, 0.2);
}

footer a {
    color: var(--lrg-text);
    transition: var(--lrg-transition);
}

footer a:hover {
    color: var(--lrg-accent);
}

.footer-menu {
    margin-bottom: var(--lrg-space-md);
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: var(--lrg-space-md);
}


/* ===========================================
   BLOG - CLEAN & READABLE
   ========================================== */

/* Blog Archive */
.blog .site-main,
.archive .site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--lrg-space-lg) var(--lrg-space-md);
}

/* Blog Grid */
.blog .posts-container,
.archive .posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--lrg-space-lg);
}

/* Blog Post Card */
.blog article,
.archive article {
    background-color: var(--lrg-white);
    border-radius: var(--lrg-radius-md);
    overflow: hidden;
    transition: var(--lrg-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog article:hover,
.archive article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Single Post - Narrow, Readable */
.single-post .entry-content,
.page .entry-content {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--lrg-space-lg) var(--lrg-space-md);
}

.single-post .entry-header,
.page .entry-header {
    max-width: 720px;
    margin: 0 auto var(--lrg-space-lg);
    padding: 0 var(--lrg-space-md);
}

/* Post Meta */
.entry-meta {
    font-size: 0.9rem;
    color: var(--lrg-text);
    opacity: 0.7;
    margin-bottom: var(--lrg-space-md);
}

/* Post Navigation */
.post-navigation {
    max-width: 720px;
    margin: var(--lrg-space-lg) auto;
    padding: var(--lrg-space-md);
    border-top: 1px solid rgba(139, 154, 127, 0.2);
}


/* ===========================================
   ROOMS (Custom Post Type)
   ========================================== */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--lrg-space-lg);
    margin: var(--lrg-space-lg) 0;
}

.room-card {
    background-color: var(--lrg-white);
    border-radius: var(--lrg-radius-md);
    overflow: hidden;
    transition: var(--lrg-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.room-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.room-card-content {
    padding: var(--lrg-space-md);
}

.room-card h3 {
    margin-bottom: var(--lrg-space-sm);
}


/* ===========================================
   RETREATS (Custom Post Type - RU Only)
   ========================================== */
.retreat-hero {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: var(--lrg-space-lg);
    border-radius: var(--lrg-radius-md);
    overflow: hidden;
}

.retreat-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.retreat-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--lrg-space-md);
}

.retreat-section {
    margin-bottom: var(--lrg-space-lg);
}

.retreat-section h2 {
    color: var(--lrg-accent);
    margin-bottom: var(--lrg-space-md);
}

/* Who this retreat is for/not for */
.retreat-for-list,
.retreat-not-for-list {
    background-color: var(--lrg-light-bg);
    padding: var(--lrg-space-md);
    border-radius: var(--lrg-radius-md);
    margin-bottom: var(--lrg-space-md);
}

.retreat-not-for-list {
    border-left: 4px solid var(--lrg-accent);
}

/* Retreat CTA */
.retreat-cta {
    background-color: var(--lrg-light-bg);
    padding: var(--lrg-space-lg);
    border-radius: var(--lrg-radius-md);
    text-align: center;
    margin-top: var(--lrg-space-xl);
}

.retreat-cta .button {
    font-size: 1.1rem;
    padding: 16px 40px;
}

.retreat-note {
    font-size: 0.9rem;
    margin-top: var(--lrg-space-sm);
    opacity: 0.8;
    font-style: italic;
}

/* Retreat Grid (Archive) */
.retreat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--lrg-space-lg);
    margin: var(--lrg-space-lg) 0;
}


/* ===========================================
   FORMS - APPLICATION FORM
   ========================================== */
.wpforms-container,
.gform_wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--lrg-space-lg);
    background-color: var(--lrg-white);
    border-radius: var(--lrg-radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wpforms-field-label,
.gfield_label {
    font-weight: 500;
    color: var(--lrg-heading);
    margin-bottom: 0.5rem;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field textarea,
.wpforms-field select,
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea,
.gform_wrapper select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(139, 154, 127, 0.3);
    border-radius: var(--lrg-radius-sm);
    font-size: 16px;
    font-family: 'Lora', Georgia, serif;
    transition: var(--lrg-transition);
    background-color: var(--lrg-white);
}

.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
    border-color: var(--lrg-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 115, 85, 0.1);
}

/* Checkboxes - Required */
.wpforms-field-checkbox li,
.gfield_checkbox li {
    margin-bottom: var(--lrg-space-sm);
}

.wpforms-field-checkbox input[type="checkbox"],
.gfield_checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.wpforms-required-label,
.gfield_required {
    color: var(--lrg-accent);
}

/* Form Submit Button */
.wpforms-submit,
.gform_button {
    background-color: var(--lrg-accent);
    color: var(--lrg-white);
    border: none;
    border-radius: var(--lrg-radius-md);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--lrg-transition);
}

.wpforms-submit:hover,
.gform_button:hover {
    background-color: #B36547;
    transform: translateY(-2px);
}


/* ===========================================
   SOCIAL MEDIA LINKS
   ========================================== */
.lrg-social-links {
    text-align: center;
    padding: var(--lrg-space-lg) 0;
}

.social-intro {
    font-size: 0.95rem;
    color: var(--lrg-text);
    opacity: 0.8;
    margin-bottom: var(--lrg-space-sm);
    font-style: italic;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--lrg-space-md);
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lrg-light-bg);
    border-radius: 50%;
    color: var(--lrg-text);
    transition: var(--lrg-transition);
}

.social-icon:hover {
    background-color: var(--lrg-accent);
    color: var(--lrg-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(201, 115, 85, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}


/* ===========================================
   CARDS & BACKGROUNDS
   ========================================== */

/* No Aggressive Boxes */
.wp-block-group.has-background {
    background-color: rgba(246, 241, 235, 0.6) !important;
    border: 1px solid rgba(139, 154, 127, 0.2);
    border-radius: var(--lrg-radius-md);
    padding: var(--lrg-space-lg);
}

/* Soft Accent Backgrounds */
.bg-accent {
    background-color: rgba(201, 115, 85, 0.05);
}

.bg-secondary {
    background-color: rgba(139, 154, 127, 0.05);
}


/* ===========================================
   UTILITIES
   ========================================== */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--lrg-accent);
}

.text-secondary {
    color: var(--lrg-secondary);
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--lrg-space-sm); }
.mb-md { margin-bottom: var(--lrg-space-md); }
.mb-lg { margin-bottom: var(--lrg-space-lg); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--lrg-space-sm); }
.mt-md { margin-top: var(--lrg-space-md); }
.mt-lg { margin-top: var(--lrg-space-lg); }


/* ===========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    body {
        font-size: 16px;
    }
    
    /* Spacing */
    .wp-block-group {
        padding-top: var(--lrg-space-md);
        padding-bottom: var(--lrg-space-md);
    }
    
    .entry-content,
    .site-content {
        padding: 0 var(--lrg-space-sm);
    }
    
    /* Columns Stack */
    .wp-block-columns {
        flex-direction: column;
        gap: var(--lrg-space-md);
    }
    
    /* Blog Grid */
    .blog .posts-container,
    .archive .posts-container {
        grid-template-columns: 1fr;
    }
    
    /* Room/Retreat Grids */
    .room-grid,
    .retreat-grid {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .wpforms-container,
    .gform_wrapper {
        padding: var(--lrg-space-md);
    }
    
    /* Retreat Hero */
    .retreat-hero {
        height: 250px;
    }
    
    /* Navigation */
    .header-menu-wrap a,
    .main-navigation a {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .wp-block-button__link,
    .button {
        padding: 12px 24px;
        font-size: 15px;
    }
}


/* ===========================================
   PRINT STYLES
   ========================================== */
@media print {
    .site-header,
    .site-footer,
    .social-icons,
    .retreat-cta,
    .wpforms-container {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
}


/* ===========================================
   ACCESSIBILITY
   ========================================== */

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--lrg-accent);
    outline-offset: 2px;
}

/* Skip to Content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--lrg-accent);
    color: var(--lrg-white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--lrg-light-bg);
    clip: auto !important;
    color: var(--lrg-text);
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


/* ===========================================
   END OF STYLES
   ========================================== */
