/* বেসিক রিসেট */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* হেডার এবং নেভিগেশন */
header {
    background-color: #004d00; 
    color: white;
    padding: 15px 0;
    text-align: center;
}

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

nav {
    background-color: #006400; 
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #007500;
    border-radius: 4px;
}

/* ইন্ট্রো সেকশন */
.intro-section {
    background-color: #e8f5e9;
    padding: 30px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.intro-section h2 {
    color: #004d00;
    margin-top: 0;
}

/* প্রোডাক্ট গ্রিড স্টাইল (index.php) */
#plant-grid-section h2 {
    text-align: center;
    color: #004d00;
    margin: 30px 0 20px 0;
}

.plant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 8px; 
    padding-bottom: 30px;
}

.plant-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px; 
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    
    display: flex; 
    flex-direction: column; 
    min-height: 240px; 
    padding-bottom: 2px; 
}

.plant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.plant-card img {
    width: 100%;
    height: 90px; 
    object-fit: cover; 
    border-bottom: 1px solid #eee;
}

.plant-card h3 {
    color: #004d00; 
    font-size: 0.85em; 
    font-weight: bold;
    margin: 5px 2px 0 2px; 
    min-height: 20px; 
    padding: 0 2px;
    line-height: 1.1;
    margin-bottom: 0; 
}

.plant-card .short-desc {
    font-size: 0.75em;
    color: #555;
    /* শর্ট ডিসক্রিপশনের উপরে মার্জিন */
    margin: 5px 5px 2px 5px; 
    padding: 0;
    line-height: 1.2;
}

.plant-card .price {
    font-size: 1.0em; 
    font-weight: bold;
    color: #d9534f; 
    margin: 0; 
    margin-top: auto; 
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.order-btn-card {
    background-color: #28a745; 
    color: white;
    border: none;
    display: block; 
    margin: 2px 5px 0px 5px; 
    padding: 5px; 
    font-size: 0.8em; 
    text-align: center;
}

.order-btn-card:hover {
    background-color: #1e7e34;
}

/* ↓↓↓ বিস্তারিত (Detail) পেজ স্টাইল (details.php) ↓↓↓ */
.detail-page-container {
    background-color: white;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.detail-page-container .product-title {
    color: #004d00;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 10px;
    margin-top: 0;
    text-align: center;
}

.plant-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.plant-image-container img {
    max-width: 100%;
    height: auto;
    max-height: 200px; /* ইমেজের উচ্চতা সর্বশেষ ফিক্সড করা হলো */
    border-radius: 8px;
    object-fit: cover; 
}

.price-detail {
    font-size: 1.2em;
    color: #d9534f;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
}

.description-section, .care-section {
    margin-top: 20px;
    padding: 0 10px;
}

.description-section h3, .care-section h3 {
    color: #006400;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.care-section ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.order-btn {
    background-color: #28a745; 
    color: white;
    border: none;
    display: block;
    text-align: center;
    font-size: 1.1em;
    padding: 12px;
    border-radius: 5px;
    margin: 30px 10px 10px 10px; 
}

.order-btn:hover {
    background-color: #1e7e34;
}
/* ↑↑↑ বিস্তারিত (Detail) পেজ স্টাইল ↑↑↑ */


/* ↓↓↓ অর্ডার পেজ স্টাইল (order.php) ↓↓↓ */
.order-form-container {
    background-color: white;
    padding: 20px 30px;
    margin: 20px auto 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 600px; 
}

.order-form-container h2 {
    color: #004d00;
    text-align: center;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.order-whatsapp-form p {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.order-whatsapp-form input[type="text"],
.order-whatsapp-form input[type="email"],
.order-whatsapp-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
    font-size: 1em;
}

.delivery-charge {
    color: #28a745;
    font-weight: bold;
    margin-top: 10px;
}

.total-amount {
    color: #d9534f;
    font-size: 1.2em;
    border-top: 1px dashed #ddd;
    padding-top: 10px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.info-note {
    background-color: #f0f8ff;
    border: 1px solid #cce5ff;
    color: #004085;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 0.9em;
    text-align: center;
}

/* ↓↓↓ ফিক্সড হোয়াটসঅ্যাপ বাটন ডিজাইন ↓↓↓ */
.whatsapp-order-btn {
    background-color: #25d366; /* WhatsApp সবুজ রং */
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px; /* বাটন গোল করা */
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.whatsapp-order-btn:hover {
    background-color: #128c7e;
}
/* ↑↑↑ ফিক্সড হোয়াটসঅ্যাপ বাটন ডিজাইন ↑↑↑ */


/* যোগাযোগ সেকশন */
.contact-section {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

/* ফুটার */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    font-size: 0.9em;
}