/* Beaverwood Theme - Homepage Styles */

/* Beaverwood Theme - Homepage Styles */

/* Hero Slider Section */
.hero-slider-section {
    margin-bottom: 3rem;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Homepage Sections */
.homepage-sections {
    margin-top: 3rem;
}

.featured-section {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.featured-section p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* Quick Links Section */
.quick-links-section {
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.quick-links-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-link-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.quick-link-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.quick-link-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quick-link-card .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.quick-link-card .btn:hover {
    background: #2980b9;
    color: #fff;
}

/* Recent Posts Section */
.recent-posts-section {
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.recent-posts-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.recent-post-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.recent-post-card h3 {
    margin-bottom: 0.5rem;
}

.recent-post-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.recent-post-card h3 a:hover {
    color: #3498db;
}

.recent-post-card .post-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.recent-post-card p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.recent-post-card .read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.recent-post-card .read-more:hover {
    color: #2980b9;
}

/* Front Page Specific Styles */
.front-page .entry-header {
    text-align: center;
    margin-bottom: 2rem;
}

.front-page .entry-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.front-page .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Hero Text Section */
.hero-text-section {
    text-align: center;
}

.hero-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2c3e50;
    margin: 0;
    font-weight: 400;
}

/* Image Cards Section */
.image-cards-section {
    padding: 3rem 2rem;
}

.image-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.image-card {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.card-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.card-caption {
    color: #2c3e50;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* Homepage Sections */
.homepage-sections {
    margin-top: 0;
    width: 100%;
}

/* Full width content for front page */
.front-page .content-area {
    display: block;
}

.front-page .content-wrapper {
    max-width: 100%;
}

/* Full width sections */
.hero-slider-section,
.featured-section,
.quick-links-section,
.recent-posts-section {
    width: 100%;
    max-width: none;
}

/* Responsive Design for Homepage */
@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }

    .image-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .image-cards-section {
        padding: 2rem 1rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .featured-section {
        padding: 2rem 1rem;
    }

    .featured-section h2 {
        font-size: 2rem;
    }

    .featured-section p {
        font-size: 1rem;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .quick-link-card {
        padding: 1.5rem;
    }

    .recent-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .front-page .entry-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .featured-section {
        padding: 1.5rem 1rem;
    }

    .featured-section h2 {
        font-size: 1.75rem;
    }

    .quick-link-card {
        padding: 1rem;
    }

    .recent-post-card {
        padding: 1rem;
    }
}