/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #C78A5C;
    color: #333333;
}

/* Parallax Effect */
.parallax {
    background-image: url("img/2.png");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    position: relative;
    margin-bottom: 2em;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    background-color: rgba(255, 255, 255, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.navbar .logo img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
}

.navbar nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: #6C9354;
}

.navbar .icons {
    display: flex;
    gap: 1em;
}

.navbar .icons i {
    font-size: 1.2rem;
    color: #333;
}

/* Hero Section in Parallax */
.hero-parallax {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 2em;
    border-radius: 10px;
}

.hero-parallax h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
}

.hero-parallax p {
    font-size: 1.2rem;
    margin-bottom: 1em;
}

.hero-parallax a {
    display: inline-block;
    text-decoration: none;
    background: #FFBF80;
    color: #333;
    padding: 0.8em 2em;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-parallax a:hover {
    background: #6C9354;
    color: #fff;
}

/* Header and Footer */
header, footer, section {
    display: block;
}

header {
    background-color: #333333;
    color: #FFFFFF;
    text-align: center;
    padding: 1em 0;
}

header h1 {
    margin: 0;
    font-size: 2em;
}

/* Feature Box */
.feature-box {
    background-color: #D4C3B5;
    padding: 1em 1.5em;
    border-radius: 8px;
    margin-bottom: 1em;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

/* Call to Action */
.cta a {
    text-decoration: none;
    color: #333;
    background: #6C9354;
    border: none;
}

/* Layout Wrapper */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
    background: #DADADA;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* Hero Section */
.hero {
    background: #FFFFFF;
    text-align: center;
    padding: 2em;
    border-radius: 8px;
    margin-bottom: 2em;
}

.hero h2 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
}

.hero p {
    color: #6C9354;
    font-size: 1.2em;
}

/* Content Section */
.content {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.content-card {
    background: #FFFFFF;
    flex: 1 1 calc(33% - 1em);
    padding: 1.5em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.content-card h3 {
    margin-bottom: 0.5em;
    color: #333333;
}

/* Call to Action */
.cta {
    background: #FFBF80;
    text-align: center;
    padding: 1.5em;
    border-radius: 8px;
    margin: 2em 0;
}

.cta h2 {
    font-size: 1.8em;
    margin-bottom: 0.5em;
}

.cta a {
    text-decoration: none;
    color: #333;
    background: #6C9354;
    border: none;
    padding: 0.8em 1.5em;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
}

.cta a:hover {
    background: #558442;
}

/* Article Section */
.articles {
    margin: 2em 0;
}

.article {
    display: flex;
    gap: 1em;
    margin-bottom: 1.5em;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.article img {
    width: 30%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1em;
    flex: 1;
}

.article-content h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333333;
}

.article-content p {
    margin: 0.5em 0 0;
    color: #6C9354;
}

/* Footer */
footer {
    background-color: #333333;
    color: #FFFFFF;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
}

/* Product Grid Styles */
.product-section {
    padding: 2em;
    background-color: #D4C3B5;
    margin-top: 2em;
}

.section-header {
    text-align: center;
    margin-bottom: 2em;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5em;
    color: #333;
}

.section-header p {
    font-size: 1rem;
    color: #666;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1rem;
    margin: 0.5em 0;
    color: #333;
    padding: 0 0.5em;
}

.product-card span {
    font-weight: bold;
    color: #000;
    display: block;
    margin-bottom: 1em;
}

.product-card a {
    text-decoration: none;
    color: #333;
    background: #FFBF80;
    padding: 0.5em 1em;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.product-card a:hover {
    background: #6C9354;
    color: #fff;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }
}

/* Feature Section Styles */
.feature-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    align-items: center;
    margin: 2em auto;
    max-width: 1200px;
    padding: 2em;
    background-color: #EDE0D4;
    border-radius: 8px;
}

/* Image Section */
.feature-image {
    flex: 1 1 50%;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-image img:hover {
    transform: scale(1.02);
}

/* Content Section */
.feature-content {
    flex: 1 1 50%;
}

.feature-content h2 {
    font-size: 2rem;
    margin-bottom: 1em;
    color: #333;
}

.feature-content p {
    font-size: 1rem;
    margin-bottom: 1.5em;
    color: #666;
}

/* Feature Box Hover Effect */
.feature-box:hover {
    transform: translateX(10px);
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5em;
    color: #333;
}

.feature-box p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

/* Responsive Design for Feature Section */
@media (max-width: 768px) {
    .feature-section {
        flex-direction: column;
        padding: 1em;
    }

    .feature-content h2 {
        font-size: 1.8rem;
    }
}

/* CTA Section Styles */
.cta-section-new {
    background-color: #E6DDD5;
    padding: 3em;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: 4em auto;
}

.cta-section-new h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5em;
}

.cta-section-new p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons Wrapper */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1em;
}

.cta-buttons a {
    text-decoration: none;
    font-size: 1rem;
    padding: 0.8em 1.5em;
    border-radius: 25px;
    border: 2px solid #333;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-buttons a.learn-more {
    background: transparent;
    color: #333;
}

.cta-buttons a.learn-more:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

.cta-buttons a.shop-now {
    background: #5A4525;
    color: #fff;
    border: none;
}

.cta-buttons a.shop-now:hover {
    background: #7D5937;
    transform: translateY(-2px);
}

/* Responsive Design for CTA */
@media (max-width: 768px) {
    .cta-section-new {
        padding: 2em 1.5em;
        margin: 2em 1em;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.8em;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    right: 0;
    top: 100px;
    width: 200px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.1);
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.5em 1em;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
}

.sidebar-header button:hover {
    background-color: #558442;
}

.sidebar h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #6C9354;
    border-bottom: 2px solid #6C9354;
    padding-bottom: 10px;
}

.sidebar-links {
    list-style-type: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 10px;
}

.sidebar-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.sidebar-links a:hover {
    color: #6C9354;
}

.sidebar-section {
    margin-bottom: 2em;
}

.category-list {
    list-style-type: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.5em;
}

.category-list a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #6C9354;
}

.tag {
    background-color: #D4C3B5;
    padding: 0.5em 1em;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.tag:hover {
    background-color: #6C9354;
    color: #fff;
}

.archive-list {
    list-style-type: none;
    padding: 0;
}

.archive-list li {
    margin-bottom: 0.5em;
}

.archive-list a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.archive-list a:hover {
    color: #6C9354;
}
