/* style_main.css */
@import url('style_common.css'); /* Import common styles */

/* === Home Page Specific Styles === */
main#home-content { max-width: 900px; }

/* Hero Section Enhancement */
.hero-section { background-color: #fff; color: #333; padding: 60px 30px; text-align: center; border-radius: 8px; margin-bottom: 40px; position: relative; overflow: hidden; background-image: none; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.hero-section::before { content: none; }
.hero-content { position: static; z-index: auto; max-width: 700px; margin: 0 auto; background-color: transparent; padding: 0; border-radius: 0; transition: none; }
.hero-content h2 { font-size: 2.8em; text-shadow: none; margin-top: 0; margin-bottom: 15px; font-weight: bold; color: #333; }
.hero-content .tagline { font-size: 1.4em; opacity: 1; font-style: normal; margin-bottom: 35px; color: #555; }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 15px; }
/* Hero buttons use .action-button.button-red */

/* General Content Section Styling for Home Page */
.content-section { background-color: #fff; padding: 30px; margin-bottom: 40px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.featured-section { background-color: #fdfdfd; }
.testimonials-section { background-color: #f5f5f5; }
.social-section { background-color: #fff; }
.section-divider { margin: 50px auto; width: 80%; border: none; border-top: 1px solid #ddd; }

/* Featured Items */
.featured-items-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }

/* New rule to style the anchor tags wrapping the featured items */
.featured-item-link {
    text-decoration: none;
    color: inherit;
}

.featured-item { text-align: center; border: 1px solid #e8e8e8; padding: 0; border-radius: 8px; background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.06); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.featured-item:hover { transform: translateY(-4px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.featured-item img { max-width: 100%; height: 200px; object-fit: cover; border-radius: 0; margin-bottom: 0; border-bottom: 1px solid #eee; display: block; }
.featured-item h3 { margin: 15px 10px 8px 10px; font-size: 1.25em; color: #333; }
.featured-item p { font-size: 0.95em; color: #666; margin: 0 15px 15px 15px; line-height: 1.5; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.testimonial-card { background-color: #fff; border: 1px solid #e8e8e8; padding: 25px 20px 15px 20px; border-radius: 8px; display: flex; flex-direction: column; box-shadow: 0 2px 5px rgba(0,0,0,0.06); }
.testimonial-card p { font-style: italic; color: #444; margin-top: 0; margin-bottom: 15px; flex-grow: 1; line-height: 1.6; font-size: 1em; position: relative; padding-left: 25px; }
.testimonial-card p::before { content: '“'; position: absolute; left: 0; top: -5px; font-size: 2.5em; color: #ff6347; opacity: 0.6; line-height: 1; }
.testimonial-card p.attribution { font-style: normal; font-weight: bold; text-align: right; color: #777; font-size: 0.9em; margin-bottom: 0; flex-grow: 0; padding-left: 0; }
.testimonial-card p.attribution::before { content: none; }
.testimonial-card .card-actions { margin-top: 15px; padding-top: 10px; text-align: center; border-top: 1px dashed #eee; }
/* Review buttons use .action-button.button-grey */

/* Social Links */
.social-links-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 30px; text-align: center; padding-top: 10px; }
.social-link { display: inline-block; padding: 12px 20px; color: #444; text-decoration: none; font-weight: bold; transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease; border: 1px solid #ddd; border-radius: 6px; background-color: #f9f9f9; min-width: 120px; }
.social-link:hover { transform: translateY(-3px); background-color: #f0f0f0; box-shadow: 0 3px 8px rgba(0,0,0,0.1); color: #000; border-color: #ccc; }
.social-link span { font-size: 1.05em; }

/* Home Page Responsive */
@media (max-width: 768px) { /* Tablet */
    .hero-section { padding: 60px 20px; }
    .hero-content h2 { font-size: 2.4em; }
    .hero-content .tagline { font-size: 1.2em; }
}

@media (max-width: 600px) { /* Mobile */
    .hero-section { padding: 40px 15px; margin-bottom: 30px; }
    .hero-content h2 { font-size: 2em; }
    .hero-content .tagline { font-size: 1.1em; }
    .hero-actions .action-button { min-width: calc(50% - 10px); flex-grow: 1; flex-basis: calc(50% - 10px); margin: 0; text-align: center; }
    .hero-actions { gap: 10px; }
    .content-section { padding: 20px; margin-bottom: 30px;}
    .featured-items-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
    .social-links-grid { gap: 15px; }
    .social-link { min-width: 100px; padding: 10px 15px; font-size: 0.95em;}
    .action-button.button-grey { padding: 8px 14px; font-size: 0.95em;} /* Review button */
}
