/* 
* Rohi Company Limited Website Styles
* Created: April 2025
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #388e3c; /* Green - represents bananas/agriculture */
    --secondary-color: #fbc02d; /* Yellow - represents bananas */
    --accent-color: #f57c00; /* Orange - warm, inviting color */
    --text-color: #333333;
    --light-color: #ffffff;
    --grey-color: #f5f5f5;
    --dark-grey: #757575;
    --border-color: #e0e0e0;
    --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-light {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-title p {
    color: var(--dark-grey);
    font-size: 18px;
}

section {
    padding: 80px 0;
}

/* ===== Header Styles ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
    color: white;
}

.main-nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #F3BA38;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
}

.hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--light-color);
    max-width: 700px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ===== About Section ===== */
.about-preview {
    background-color: var(--grey-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text, .about-image {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* ===== Products Section ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

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

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

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
}

.product-card p {
    padding: 0 20px 20px;
    color: var(--dark-grey);
}

.product-card .btn {
    margin: 0 20px 20px;
}

/* ===== Impact Section ===== */
.impact {
    background-color: var(--grey-color);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.impact-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-10px);
}

.impact-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.impact-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.impact-card p {
    color: var(--dark-grey);
}

/* ===== Testimonial Section ===== */
.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: var(--secondary-color);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--dark-grey);
    font-size: 14px;
}

/* ===== CTA Section ===== */
.cta {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer Styles ===== */
.footer {
    background-color: #333;
    color: var(--light-color);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col p {
    margin-bottom: 20px;
    color: #aaa;
}

.footer-motto p {
    font-style: italic;
    color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #aaa;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

/* ===== Responsive Styles ===== */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .footer-content {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        box-shadow: var(--box-shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.active {
        max-height: 300px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav ul li {
        margin: 10px 0;
        color: black;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .footer-col {
        flex: 100%;
    }
}