/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f0fa;
}

/* Header */
.header {
    background: linear-gradient(145deg, #d8bfd8, #e6c5e1);
    text-align: center;
    padding: 80px 20px;
    position: relative;
    color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.logo {
    font-size: 2.5rem;
    color: #4b0082;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

/* Header Decoration */
.header-decoration {
    margin-top: 50px; /* Increased margin for more space */
}

.header-decoration h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.header-decoration p {
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(145deg, #d8bfd8, #f4d8f8);
    color: #4b0082;
}

.hero-content {
    max-width: 900px;
    margin: auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons .btn,
.hero-buttons .btn-secondary {
    padding: 15px 25px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.hero-buttons .btn {
    background-color: #4b0082;
    color: #fff;
}

.hero-buttons .btn-secondary {
    background-color: #e6d1e8;
    color: #4b0082;
}

/* Featured Products Section */
.featured {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
    margin-top: 40px; /* Added margin to avoid overlap with previous sections */
}

.featured h2 {
    font-size: 2.5rem;
    color: #4b0082;
    margin-bottom: 40px;
}

.featured-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.product-item {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 280px;
    transition: transform 0.3s ease-in-out;
}

.product-item:hover {
    transform: scale(1.05);
}

.product-item img {
    width: 100%;
    border-radius: 5px;
}

.product-item h3 {
    margin-top: 10px;
    color: #4b0082;
    font-size: 1.5rem;
}

.product-item p {
    font-size: 1rem;
    color: #777;
}

/* Services Section */
.services {
    padding: 60px 20px;
    background-color: #f4f0f8;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #4b0082;
}

.service-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-item {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 280px;
    transition: transform 0.3s ease-in-out;
}

.service-item:hover {
    transform: scale(1.05);
}

.service-item img {
    width: 100%;
    border-radius: 5px;
}

.service-item h3 {
    margin-top: 10px;
    color: #4b0082;
    font-size: 1.5rem;
}

.service-item p {
    font-size: 1rem;
    color: #777;
}

/* About Section */
.about {
    display: flex;
    justify-content: space-between;
    padding: 60px 20px;
    background-color: #fff;
    margin-top: 40px;
}

.about-content {
    max-width: 50%;
}

.about h2 {
    font-size: 2.5rem;
    color: #4b0082;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 20px;
}

.about-image {
    width: 40%;
    border-radius: 10px;
    margin-left: 20px;
}

.about .btn {
    padding: 12px 25px;
    background-color: #4b0082;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 20px;
    background-color: #f4d8f8;
    text-align: center;
    margin-top: 40px;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #4b0082;
}

.testimonial-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.testimonial-item {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 280px;
    transition: transform 0.3s ease-in-out;
}

.testimonial-item:hover {
    transform: scale(1.05);
}

.testimonial-item p {
    font-size: 1.2rem;
    color: #777;
}

.testimonial-item h3 {
    margin-top: 10px;
    font-size: 1.3rem;
    color: #4b0082;
}

/* Footer */
.footer {
    padding: 40px 20px;
    background-color: #4b0082;
    color: white;
    text-align: center;
}

.footer h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer a {
    color: #e6d1e8;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}
