/* styles.css - Mobile-First, SEO-Optimized, GripEdge Branding */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.first-header {
	margin-top: 4em;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.logo-container {
	display: flex;
	justify-content: center;  
	align-items: center;
	height: 300px;
}

.logo {
    width: 280px;
    max-width: 90%;
}

h1 {
    font-size: 2.4rem;
    margin: 15px 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.first-header p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 25px;
    opacity: 0.9;
}

.cta {
    display: inline-block;
    background-color: #32CD32;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta:hover {
    background-color: #28a828;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(50, 205, 50, 0.3);
}

.cta.secondary {
    background-color: #000;
    color: #32CD32;
    border: 2px solid #32CD32;
}

.cta.secondary:hover {
    background-color: #32CD32;
    color: #000;
}

/* Hero Image */
#hero-image {
	display: flex;
	justify-content: center;  
	align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #f8f8f8;
}

.hero-img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Features */
#features {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

#features h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #000;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.feature img {
    border-radius: 8px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: #000;
}

.feature p {
    font-size: 1rem;
    color: #555;
}

/* Testimonials */
#testimonials {
    padding: 60px 20px;
    background-color: #f8f8f8;
}

#testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #000;
}

.testimonial {
    max-width: 1000px;
    margin: 0 auto 50px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.testimonial-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

blockquote {
    padding: 30px;
    flex: 1;
}

blockquote h3 {
    color: #000;
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 900;
}

.subtitle {
    font-style: italic;
    color: #32CD32;
    margin-bottom: 20px;
    font-weight: bold;
}

blockquote h4 {
    color: #000;
    font-size: 1.25rem;
    margin: 20px 0 10px;
    font-weight: 900;
}

blockquote p {
    margin-bottom: 15px;
    color: #444;
    line-height: 1.8;
}

/* Product Showcase */
#product-showcase {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

#product-showcase h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #000;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.product-img {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial {
        flex-direction: row;
    }

    .testimonial-img {
        width: 45%;
        height: auto;
    }

    blockquote {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.9rem;
    }

    .cta {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .testimonial-img {
        height: 200px;
    }
}