/* Hero Section Styles */
.hero {
/* Use a compelling background image or color for visual impact */
background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-background.jpg') center/cover no-repeat;
color: #fff;
padding: 4rem 2rem;
text-align: center;
margin-bottom: 2rem; /* ensure no overlap with following sections */
}
.hero-content {
max-width: 800px;
margin: 0 auto;
}
/* Hero Text Styles */
.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.hero .tagline {
font-size: 1.2rem;
margin-bottom: 2rem;
}
/* CTA Button Styles */
.cta-button {
display: inline-block;
background-color: #ff7f50; /* a standout color (coral) for the CTA */
color: #fff;
text-decoration: none;
padding: 0.75rem 1.5rem;
font-size: 1.1rem;
font-weight: bold;
border: none;
border-radius: 5px;
cursor: pointer;
/* Smooth hover transition and slight animation */
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
animation: pulse 2s infinite;
}
.cta-button:hover {
background-color: #ff5722; /* a darker shade on hover for feedback */
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Subtle pulsing animation to draw attention to the CTA */
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(255,127,80, 0.7); }
70% { box-shadow: 0 0 0 10px rgba(255,127,80, 0); }
100% { box-shadow: 0 0 0 0 rgba(255,127,80, 0); }
}
/* Product List Styles for a clean, aligned layout */
.products {
padding: 2rem;
}
.products h2 {
text-align: center;
margin-bottom: 1.5rem;
}
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.product-item {
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 1.5rem;
text-align: left;
}
/* Responsive Adjustments for Mobile */
@media (max-width: 600px) {
.hero {
padding: 3rem 1rem;
}
.hero h1 {
font-size: 1.8rem;
}
.hero .tagline {
font-size: 1rem;
}
.cta-button {
font-size: 1rem;
}
}