/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(180deg, #e8f5e9, #f3f4f7);
    color: #333;
    line-height: 1.6;
    padding-top: 40px; /* Add space to prevent content overlap with fixed navbar */
}

/* Navigation Menu */
nav {
    background: linear-gradient(90deg, #4CAF50, #00A859);
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Header Section */
header {
    position: relative;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('{{ url_for('static', filename='images/banner-bg.jpg') }}') no-repeat center center/cover;
    height: 400px; /* You can adjust the height as needed */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header h1 {
    font-size: 50px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}

header p {
    font-size: 20px;
    margin-bottom: 30px;
}

header a {
    padding: 15px 30px;
    background: #f39c12;
    color: white;
    text-decoration: none;
    font-size: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header a:hover {
    background-color: #e67e22;
}

.about-section {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-section p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin: 0 auto;
}


/* Highlights Section */
.highlights {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background: linear-gradient(180deg, #f3f4f7, #ffffff);
}

.highlights div {
    text-align: center;
    max-width: 300px;
    padding: 20px;
}

.highlights img {
    width: 80px;
    margin-bottom: 15px;
}

.highlights h3 {
    font-size: 24px;
    color: #4CAF50;
}

.highlights p {
    font-size: 16px;
    color: #555;
}

/* Products Section */
.products {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.products h2 {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 20px;
    font-weight: bold;
}

.products .product {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    background-color: #f3f4f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.products .product img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

.products .product div {
    max-width: 400px;
    text-align: left;
    padding-left: 20px;
}

.products .product h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #2C6B2F;
    font-weight: bold;
}

.products .product p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.products .product a {
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.products .product a:hover {
    background-color: #45a049;
}

.shop-image {
    margin: 30px auto;
    max-width: 50%;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}



 /* Main Section */
 section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.card img {
    height: 200px;
    object-fit: cover;
}

.card h3 {
    font-size: 1.5rem;
    color: #16a085;
    margin: 15px 0;
}

.card p {
    padding: 0 15px;
    color: #555;
}

.btn {
    display: inline-block;
    background-color: #16a085;
    color: white;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 15px 0;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1abc9c;
}

/* Testimonials Section */
.testimonials {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.testimonials h2 {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.testimonial {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
    text-align: center;
}

.testimonial p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.testimonial h4 {
    font-size: 20px;
    color: #4CAF50;
    font-weight: bold;
}

.testimonial .customer-photo {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

/* Comment Section (Google Sign-In required) */
.comments-section {
    margin-top: 50px;
    background-color: #f3f4f7;
    padding: 40px 20px;
    text-align: center;
}

.comments-section h2 {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 20px;
    font-weight: bold;
}

.comment-form textarea {
    width: 60%;
    height: 150px;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.comment-form button {
    padding: 10px 25px;
    background-color: #4CAF50;
    color: white;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

.comment-form button:hover {
    background-color: #45a049;
}

.contact-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-container h1 {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.contact-container p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.contact-container .contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-container .contact-method {
    width: 150px;
    text-align: center;
}

.contact-container .contact-method img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.contact-container .contact-method img:hover {
    transform: scale(1.2);
}

.contact-container .contact-method a {
    display: block;
    text-decoration: none;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.contact-container .contact-method a:hover {
    color: #4CAF50;
} .contact-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-container h1 {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.contact-container p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.contact-container .contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-container .contact-method {
    width: 150px;
    text-align: center;
}

.contact-container .contact-method img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.contact-container .contact-method img:hover {
    transform: scale(1.2);
}

.contact-container .contact-method a {
    display: block;
    text-decoration: none;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.contact-container .contact-method a:hover {
    color: #4CAF50;
}

/* Footer Section */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    font-size: 14px;
    margin-bottom: 20px;
}

footer .social-media {
    margin-top: 20px;
}

footer .social-media h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

footer .social-media a {
    margin: 0 10px;
    display: inline-block;
}

footer .social-media img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

footer .social-media img:hover {
    transform: scale(1.2);
}
.btn {
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
}

.btn-danger {
    background-color: #dc3545;
}

.btn:hover {
    opacity: 0.8;
}


h1, h2 {
    margin: 0;
    font-size: 2.5em;
}

 /* Navigation Bar */
 .navbar {
    position: fixed; /* Freeze at the top */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    z-index: 1000; /* Ensure it stays above other content */
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

.navbar a:hover {
    text-decoration: underline;
}

.hamburger {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger div {
    width: 30px;
    height: 4px;
    background-color: white;
}

/* Side Panel */
.side-panel {
    position: fixed;
    top: 0;
    right: -300px; /* Hidden off-screen */
    width: 300px;
    height: 100%;
    background-color: #444;
    color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 999; /* Just below navbar */
    padding-top: 20px; /* Add space to prevent content overlap with fixed navbar */
}


.side-panel.active {
    right: 0; /* Slide in */
}

.side-panel ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.side-panel li {
    margin: 20px 0;
}

.side-panel a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    display: block;
}

.side-panel a:hover {
    background-color: #555;
}

 /* Responsive Design */
 @media (max-width: 768px) {
    .navbar ul {
        display: none; /* Hide horizontal menu */
    }

    .hamburger {
        display: flex; /* Show hamburger menu */
    }
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    text-align: center;
    padding: 15px;
}

.card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.card h3 {
    margin: 10px 0;
    font-size: 18px;
}

.card p {
    color: #555;
}

.card form {
    display: inline-block;
    margin: 5px 0;
}

.card form button {
    background-color: #007BFF;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.card form button.delete {
    background-color: #dc3545;
}

.card form button:hover {
    opacity: 0.8;
}

.empty-message {
    text-align: center;
    color: #555;
    font-size: 18px;
    margin-top: 20px;
}