/* Custom Nature Theme CSS */

/* Logo sizing fix */
.logo-header img {
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
}

/* Logo positioning - responsive */
.logo-header {
    display: flex !important;
    align-items: center !important;
    color: black;
    width: auto !important;
    height: auto !important;
}

.main-bar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Responsive logo sizing */
@media only screen and (max-width: 991px) {
    .logo-header {
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    .logo-header img {
        max-height: 50px !important;
    }
}

@media only screen and (max-width: 480px) {
    .logo-header img {
        max-height: 40px !important;
    }
}

/* Nature Theme Colors */
:root {
    --nature-primary: #4CAF50;
    --nature-secondary: #2E7D32;
    --nature-accent: #81C784;
    --nature-light: #C8E6C9;
    --nature-dark: #1B5E20;
    --nature-earth: #8D6E63;
    --nature-sky: #87CEEB;
}

/* Primary color updates */
.site-text-primary,
.text-primary {
    color: var(--nature-primary) !important;
}

.site-bg-primary,
.bg-primary {
    background-color: var(--nature-primary) !important;
}

.site-button {
    background-color: var(--nature-primary) !important;
    border-color: var(--nature-primary) !important;
}

.site-button:hover,
.site-button:focus,
.site-button:active {
    background-color: var(--nature-secondary) !important;
    border-color: var(--nature-secondary) !important;
}

/* Navigation hover effects */
.header-nav .nav > li:hover > a,
.header-nav .nav > li.active > a,
.header-nav .nav > li.current-menu-item > a {
    color: var(--nature-primary) !important;
}

/* Links and accents */
a {
    color: var(--nature-primary);
}

a:hover,
a:focus {
    color: var(--nature-secondary);
}

/* Section headings */
.section-head h2 {
    color: var(--nature-primary) !important;
}

/* Separators */
.wt-separator.style-square {
    border-color: var(--nature-primary) !important;
}

.separator-left,
.separator-right {
    background-color: var(--nature-primary) !important;
}

/* Icons and service boxes */
.wt-icon-box-wraper .icon-sm,
.wt-icon-box-wraper .icon-md,
.wt-icon-box-wraper .icon-lg {
    color: var(--nature-primary) !important;
}

.wt-tilte {
    color: var(--nature-primary) !important;
}

/* Product cards nature theme */
.product-card:hover {
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.product-overlay {
    background: rgba(76, 175, 80, 0.8);
}

.product-info h4 {
    color: var(--nature-primary) !important;
}

/* WhatsApp button nature theme */
.whatsapp-btn {
    background: #25D366;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: var(--nature-secondary);
    transform: scale(1.05);
}

/* Footer nature theme */
.site-footer .widget-title {
    color: var(--nature-accent) !important;
}

.site-footer a:hover {
    color: var(--nature-accent) !important;
}

/* Form elements nature theme */
.form-control:focus {
    border-color: var(--nature-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25) !important;
}

/* Buttons and CTAs */
.attractive-button {
    background-color: var(--nature-earth) !important;
    transition: all 0.3s ease;
}

.attractive-button:hover {
    background-color: var(--nature-secondary) !important;
    transform: scale(1.05);
}

/* Breadcrumb nature theme */
.wt-breadcrumb li a {
    color: var(--nature-primary) !important;
}

/* Accordion nature theme */
.acod-head.acc-actives a,
.acod-head a:hover {
    color: var(--nature-primary) !important;
}

/* Top bar nature theme */
.top-bar {
    background-color: var(--nature-secondary) !important;
}

/* Main bar nature theme */
.main-bar.site-bg-primary {
    background-color: var(--nature-primary) !important;
}

/* Slider text nature theme */
.site-text-primary {
    color: var(--nature-accent) !important;
}

/* Nature-inspired gradients */
.nature-gradient {
    background: linear-gradient(135deg, var(--nature-primary) 0%, var(--nature-secondary) 100%);
}

.nature-gradient-light {
    background: linear-gradient(135deg, var(--nature-light) 0%, var(--nature-accent) 100%);
}

/* Hover effects for nature theme */
.nature-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}

/* Nature-themed borders */
.nature-border {
    border: 2px solid var(--nature-primary);
    border-radius: 10px;
}

.nature-border-light {
    border: 1px solid var(--nature-light);
    border-radius: 5px;
}

/* Selection colors */
::selection {
    background: var(--nature-primary);
    color: #fff;
}

::-moz-selection {
    background: var(--nature-primary);
    color: #fff;
}

::-webkit-selection {
    background: var(--nature-primary);
    color: #fff;
}

/* Scrollbar nature theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--nature-light);
}

::-webkit-scrollbar-thumb {
    background: var(--nature-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--nature-secondary);
}

/* Loading animation nature theme */
.loading-pic .loader span {
    background-color: var(--nature-primary) !important;
}

/* Testimonial nature theme */
.testimonial-position {
    color: var(--nature-primary) !important;
}

/* Pricing table nature theme */
.pricingtable-price {
    background-color: var(--nature-primary) !important;
}

.pricingtable-title {
    background-color: var(--nature-secondary) !important;
}

/* Blog post nature theme */
.wt-post-readmore a:hover {
    color: var(--nature-primary) !important;
}

.wt-post-tags .post-tags a:hover {
    background-color: var(--nature-primary) !important;
    border-color: var(--nature-primary) !important;
}

/* Social icons nature theme */
.social-icons a:hover {
    color: var(--nature-primary) !important;
}

/* Progress bar nature theme */
.progress-bar {
    background-color: var(--nature-primary) !important;
}

/* Alert boxes nature theme */
.alert-success {
    background-color: var(--nature-light) !important;
    border-color: var(--nature-primary) !important;
    color: var(--nature-dark) !important;
}

/* Tab navigation nature theme */
.wt-tabs .nav-tabs > li > a.active,
.wt-tabs .nav-tabs > li > a:hover {
    color: var(--nature-primary) !important;
}

/* Modal nature theme */
.modal-header {
    background-color: var(--nature-primary) !important;
    color: white !important;
}

/* Carousel nature theme */
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
    background: var(--nature-primary) !important;
}

/* Additional nature-inspired elements */
.leaf-decoration::before {
    content: "🌿";
    margin-right: 8px;
    color: var(--nature-primary);
}

.eco-badge {
    background: var(--nature-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.sustainable-highlight {
    background: linear-gradient(120deg, transparent 0%, var(--nature-light) 50%, transparent 100%);
    padding: 2px 0;
}

/* Responsive Product Grid Fixes */
@media only screen and (max-width: 1199px) {
    .product-card {
        margin-bottom: 30px;
    }
    .product-image-container {
        height: 220px;
    }
}

@media only screen and (max-width: 991px) {
    .product-image-container {
        height: 200px;
    }
    .product-info {
        padding: 15px;
    }
    .product-info h4 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 767px) {
    .col-lg-4.col-md-6.col-sm-6 {
        width: 100% !important;
        margin-bottom: 20px;
    }
    .product-image-container {
        height: 250px;
    }
    .product-card {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .product-image-container {
        height: 200px;
    }
    .product-info {
        padding: 12px;
    }
    .product-info h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .product-info p {
        font-size: 12px;
        line-height: 1.4;
    }
    .whatsapp-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Mobile Navigation Improvements */
@media only screen and (max-width: 991px) {
    .header-nav .nav {
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .header-nav .nav > li > a {
        padding: 15px !important;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-toggle {
        border: 1px solid #ddd;
        background: #fff;
        padding: 8px 10px;
    }
    
    .navbar-toggle .icon-bar {
        background: #333 !important;
    }
}

/* Container and Section Responsive Fixes */
@media only screen and (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section-full {
        padding-left: 0;
        padding-right: 0;
    }
    
    .p-t80 {
        padding-top: 40px !important;
    }
    
    .p-b50 {
        padding-bottom: 30px !important;
    }
    
    .section-head h2 {
        font-size: 24px !important;
        line-height: 1.3;
    }
    
    .section-head p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Footer Responsive */
@media only screen and (max-width: 767px) {
    .footer-top .col-lg-3,
    .footer-top .col-md-6 {
        margin-bottom: 30px;
    }
    
    .widget {
        margin-bottom: 25px;
    }
    
    .widget-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* Slider Responsive Fixes */
@media only screen and (max-width: 767px) {
    .tp-caption {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }
    
    .main-slider .tp-banner-container {
        height: 400px !important;
    }
}

@media only screen and (max-width: 480px) {
    .tp-caption {
        font-size: 20px !important;
        padding: 0 15px !important;
    }
    
    .main-slider .tp-banner-container {
        height: 350px !important;
    }
}

/* WhatsApp Icon Responsive */
@media only screen and (max-width: 768px) {
    #whatsapp-icon {
        right: 15px;
        bottom: 70px;
    }
    
    #whatsapp-icon img {
        width: 60px;
        height: 60px;
    }
}

@media only screen and (max-width: 480px) {
    #whatsapp-icon {
        right: 10px;
        bottom: 60px;
    }
    
    #whatsapp-icon img {
        width: 50px;
        height: 50px;
    }
}

/* Text and Typography Responsive */
@media only screen and (max-width: 575px) {
    h1 {
        font-size: 28px !important;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 22px !important;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 18px !important;
        line-height: 1.3;
    }
    
    h4 {
        font-size: 16px !important;
        line-height: 1.3;
    }
    
    p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Image Responsive */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Overflow fixes */
.container-fluid {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Button Responsive */
@media only screen and (max-width: 575px) {
    .site-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .button-lg {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Grid System Fixes */
@media only screen and (max-width: 767px) {
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Form Responsive */
@media only screen and (max-width: 575px) {
    .form-control {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}