
/* ========================================
   HEADER & NAVIGATION STYLES
======================================== */

/* Header Base Styles */
.site-header {
    background-color: #6B7A62;
    color: #F5F3F0;
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 1rem;
    position: relative;
}

.site-branding {
    width: 100%;
    text-align: center;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #F5F3F0;
    margin: 0;
    font-family: 'Lora', serif;
}

.site-title a {
    color: #F5F3F0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #A4B494;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    justify-content: center;
    width: 100%;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    flex-wrap: nowrap;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #F5F3F0;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: #A4B494;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A4B494;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #F5F3F0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    position: absolute;
    top: 1rem;
    right: 20px;
}

.mobile-menu-toggle:hover {
    color: #A4B494;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: currentColor;
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   HOMEPAGE SECTIONS
======================================== */

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2C3E2D 0%, #4A5D3A 30%, #6B7A62 70%, #8B9A7C 100%);
    color: white;
    padding: 100px 0 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leaves" patternUnits="userSpaceOnUse" width="40" height="40"><path d="M20 5C15 5 10 10 10 15s5 10 10 10 10-5 10-10-5-10-10-10z" fill="rgba(255,255,255,0.03)"/><path d="M30 25C25 25 20 30 20 35s5 10 10 10 10-5 10-10-5-10-10-10z" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23leaves)"/></svg>') repeat;
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-section .container {
    display: grid;
    grid-template-areas: "hero-text hero-image";
    grid-template-columns: 1fr 1.2fr;
    /* gap controlled by customizer */
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.hero-content {
    grid-area: hero-text;
    padding-right: 1.5rem;
    max-width: 100%;
}

.hero-image {
    grid-area: hero-image;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    font-family: 'Lora', serif;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { 
        text-shadow: 2px 4px 8px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.1);
    }
    100% { 
        text-shadow: 2px 4px 8px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.2);
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
    color: #E8F4E6;
    font-weight: 400;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.2);
    max-width: 85%;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 10px;
}


.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    border-radius: 35px;
    z-index: -1;
    animation: imageGlow 4s ease-in-out infinite alternate;
}

@keyframes imageGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.02); }
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: min(800px, 100%);
    max-height: 600px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.3),
        0 10px 25px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255,255,255,0.1);
}

.hero-image img:hover {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 
        0 35px 70px rgba(0,0,0,0.4),
        0 15px 35px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.2);
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: #2C3E2D;
    box-shadow: 
        0 8px 25px rgba(255,255,255,0.3),
        0 4px 12px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 2px solid rgba(255,255,255,0.9);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(255,255,255,0.4),
        0 6px 20px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,1);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    color: #2C3E2D;
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255,255,255,1);
    box-shadow: 
        0 12px 35px rgba(255,255,255,0.3),
        0 6px 20px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-outline {
    background: transparent;
    color: #6B7A62;
    border: 2px solid #6B7A62;
}

.btn-outline:hover {
    background: #6B7A62;
    color: white;
}

/* Section Styles */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2C3E2D;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8B9A7C, #6B7A62);
    border-radius: 2px;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Featured Plant Guides */
.featured-guides-section {
    padding: 80px 0;
    background: #F8F6F3;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.guide-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.guide-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-image img {
    transform: scale(1.1);
}

.guide-content {
    padding: 25px;
}

.guide-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2C3E2D;
}

.guide-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.guide-title a:hover {
    color: #6B7A62;
}

.guide-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Browse by Plant Type */
.browse-plant-type-section {
    padding: 80px 0;
    background: white;
}

.plant-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.plant-type-card {
    text-align: center;
    padding: 30px 20px;
    background: #F8F6F3;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.plant-type-card:hover {
    background: white;
    border-color: #8B9A7C;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.plant-type-icon {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.plant-type-card:hover .plant-type-icon {
    transform: scale(1.1);
}

.plant-type-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C3E2D;
    margin-bottom: 8px;
}

.plant-type-description {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Seasonal Calendar */
.seasonal-calendar-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F5F3F0 0%, #E8E6E3 100%);
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.season-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.season-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--season-color);
}

.season-card.spring { --season-color: #7FB069; }
.season-card.summer { --season-color: #FFB347; }
.season-card.fall { --season-color: #D2691E; }
.season-card.winter { --season-color: #4682B4; }

.season-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.season-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--season-color);
}

.season-card h3 {
    font-size: 1.6rem;
    color: #2C3E2D;
    margin-bottom: 20px;
    font-weight: 600;
}

.season-tasks {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.season-tasks li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #F0F0F0;
}

.season-tasks li:last-child {
    border-bottom: none;
}

.season-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--season-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.season-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Garden Resources Hub */
.garden-resources-section {
    padding: 80px 0;
    background: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.resource-category {
    background: #F8F6F3;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.resource-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B9A7C, #6B7A62);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resource-category:hover::before {
    transform: scaleX(1);
}

.resource-category:hover {
    background: white;
    border-color: #8B9A7C;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.resource-icon {
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.resource-category:hover .resource-icon {
    transform: scale(1.1);
}

.resource-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C3E2D;
    margin-bottom: 15px;
}

.resource-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.resource-button {
    display: inline-block;
    padding: 12px 25px;
    background: #6B7A62;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.resource-button:hover::before {
    left: 100%;
}

.resource-button:hover {
    background: #8B9A7C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 122, 98, 0.3);
}

/* Responsive Design */

/* Large Desktop Screens */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
    
    .guides-grid,
    .plant-type-grid,
    .seasons-grid,
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 1100px) {
    /* Adjust navigation spacing for narrower screens */
    .main-navigation ul {
        gap: 2rem;
    }
    
    .main-navigation a {
        font-size: 0.9rem;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .hero-section {
        padding: 80px 0 100px 0;
        min-height: 60vh;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .guides-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .plant-type-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .seasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .seasonal-calendar-section,
    .featured-guides-section,
    .browse-plant-type-section,
    .garden-resources-section {
        padding: 70px 0;
    }
}

@media (max-width: 992px) {
    /* Adjust header for medium screens */
    .site-header .container {
        gap: 0.8rem;
    }
    
    .site-title {
        font-size: 1.6rem;
    }
    
    .main-navigation ul {
        gap: 2rem;
    }
    
    .main-navigation a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    /* Header Mobile Styles */
    .site-header .container {
        padding: 0 15px;
        padding-right: 60px; /* Make room for mobile toggle */
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        width: 100%;
    }
    
    .main-navigation ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #6B7A62;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-bottom: none;
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    .main-navigation a:hover {
        background-color: rgba(255,255,255,0.1);
    }

    .hero-section {
        padding: 60px 0 80px 0;
        min-height: 50vh;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .plant-type-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }
    
    .seasons-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .seasonal-calendar-section,
    .featured-guides-section,
    .browse-plant-type-section,
    .garden-resources-section {
        padding: 60px 0;
    }
    
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    /* Posts grid for blog/archive pages */
    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .resource-category {
        padding: 30px 20px;
    }
}

/* Mobile Landscape */
@media (max-width: 600px) {
    .hero-section {
        padding: 50px 0 70px 0;
        min-height: 45vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .plant-type-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .seasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 22px;
    }
}

@media (max-width: 480px) {
    /* Header Mobile Styles for Extra Small Screens */
    .site-header {
        padding: 0.8rem 0;
    }
    
    .site-header .container {
        padding: 0 10px;
        padding-right: 50px;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .main-navigation a {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-section {
        padding: 40px 0 60px 0;
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plant-type-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .seasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .seasonal-calendar-section,
    .featured-guides-section,
    .browse-plant-type-section,
    .garden-resources-section {
        padding: 50px 0;
    }
}

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

.site-footer {
    background: linear-gradient(135deg, #2C3E2D 0%, #1F2B20 100%);
    color: #E8E6E3;
    margin-top: 60px;
}

.footer-content {
    padding: 60px 0 30px 0;
}

.footer-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #A4B494;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #6B7A62;
}

.footer-description {
    color: #B8B6B3;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-newsletter h5,
.seasonal-highlight h5,
.footer-contact-info h5 {
    color: #A4B494;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
}

.footer-newsletter p,
.seasonal-highlight p,
.footer-contact-info p {
    color: #B8B6B3;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #D1CFD1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: #A4B494;
    padding-left: 8px;
}

.footer-menu a::before {
    content: '→';
    opacity: 0;
    margin-right: 8px;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #D1CFD1;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-link:hover {
    color: #A4B494;
    padding-left: 8px;
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
}

.seasonal-highlight {
    background: rgba(107, 122, 98, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #6B7A62;
    margin-top: 20px;
}

.current-season-tip {
    font-style: italic;
    color: #A4B494 !important;
    margin: 0 !important;
}

.footer-bottom {
    background: #1A2119;
    padding: 20px 0;
    border-top: 1px solid #3A4B3B;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright,
.powered-by {
    color: #B8B6B3;
    font-size: 0.9rem;
    margin: 0;
}

.powered-by a {
    color: #A4B494;
    text-decoration: none;
}

.powered-by a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 40px 0 20px 0;
    }
    
    .footer-row {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
    
    .footer-seasonal {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-link {
        justify-content: center;
        min-width: 120px;
    }
}

/* 404 Page Specific Styles */
.error-404 {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.error-illustration {
    margin-bottom: 3rem;
}

.garden-pot {
    position: relative;
    width: 120px;
    height: 80px;
    background: #8B7355;
    border-radius: 0 0 50px 50px;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.wilted-plant {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.plant-stem {
    width: 4px;
    height: 60px;
    background: #9B8B5A;
    margin: 0 auto;
    border-radius: 2px;
}

.plant-leaves {
    position: relative;
    top: -20px;
}

.leaf {
    width: 20px;
    height: 30px;
    background: #A0A571;
    border-radius: 50% 0;
    position: absolute;
    opacity: 0.7;
    transform-origin: bottom center;
}

.leaf-1 {
    left: -25px;
    top: -10px;
    transform: rotate(-30deg);
}

.leaf-2 {
    left: 10px;
    top: -15px;
    transform: rotate(30deg);
}

.leaf-3 {
    left: -5px;
    top: -5px;
    transform: rotate(-10deg);
}

.error-number {
    font-size: 8rem;
    font-weight: bold;
    color: #8B9A7C;
    opacity: 0.3;
    margin: 1rem 0;
}

.page-title {
    font-size: 2.5rem;
    color: #2C3E2D;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.error-actions {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.search-section h3,
.navigation-section h3 {
    color: #2C3E2D;
    margin-bottom: 1rem;
}

.quick-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #8B9A7C;
    color: white;
}

.btn-primary:hover {
    background: #7A8A6B;
}

.btn-secondary {
    background: #F5F3F0;
    color: #2C3E2D;
    border: 2px solid #8B9A7C;
}

.btn-secondary:hover {
    background: #8B9A7C;
    color: white;
}

.popular-posts h3 {
    color: #2C3E2D;
    margin-bottom: 1.5rem;
}

.popular-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.popular-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.popular-post:hover {
    transform: translateY(-5px);
}

.popular-post .post-thumbnail img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.popular-post .post-info {
    padding: 1rem;
}

.popular-post h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.popular-post h4 a {
    color: #2C3E2D;
    text-decoration: none;
}

.popular-post h4 a:hover {
    color: #8B9A7C;
}

.popular-post .post-date {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .error-number {
        font-size: 6rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .quick-links {
        flex-direction: column;
        align-items: center;
    }
    
    .popular-posts-grid {
        grid-template-columns: 1fr;
    }
}

.comments-area {
    margin-top: 40px;
    padding: 30px;
    background: #f5f3f0;
    border-radius: 8px;
}

.comments-title {
    color: #4a5a3a;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #8b9a7c;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comment-meta {
    margin-bottom: 15px;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 15px;
}

.comment-form {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.garden-btn {
    background: #8b9a7c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.garden-btn:hover {
    background: #6d7a5f;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #8b9a7c;
}

.required {
    color: #e74c3c;
}

.garden-search-form {
    background: #f5f3f0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.search-field-wrapper {
    position: relative;
    display: flex;
    margin-bottom: 15px;
}

.search-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: #8b9a7c;
}

.search-submit {
    padding: 12px 20px;
    background: #8b9a7c;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: #6d7a5f;
}

.search-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #4a5a3a;
}

.filter-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 0.9rem;
}

.filter-group select:focus {
    outline: none;
    border-color: #8b9a7c;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .search-filters {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f5f3f0;
    border-radius: 8px;
    margin: 40px 0;
}

.no-results-icon {
    font-size: 4rem;
    color: #8b9a7c;
    margin-bottom: 20px;
}

.no-results .page-title {
    color: #4a5a3a;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.no-results .page-content {
    max-width: 600px;
    margin: 0 auto;
}

.no-results p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.search-again {
    margin: 30px 0;
}

.suggested-actions h3,
.helpful-links h3 {
    color: #4a5a3a;
    margin-bottom: 15px;
}

.category-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-link {
    display: inline-block;
    padding: 10px 20px;
    background: #8b9a7c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.category-link:hover {
    background: #6d7a5f;
}

.helpful-links ul {
    list-style: none;
    padding: 0;
}

.helpful-links li {
    margin-bottom: 10px;
}

.helpful-links a {
    color: #8b9a7c;
    text-decoration: none;
    font-size: 1.1rem;
}

.helpful-links a:hover {
    text-decoration: underline;
}
