/*
Theme Name: vasista_27_03_21
Theme URI: https://hmdglobalgroup.com
Author: HMD Global
Author URI: https://hmdglobalgroup.com
Description: A custom modern theme specialized for The Vasista Natural Agri Products sub-brand and HMD Global Logistics.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vasista_27_03_21
*/

/* Global Styles - Vasista Branding */
:root {
    --primary-color: #173C1E; /* Vasista Forest Green */
    --secondary-color: #0d2211; /* Vasista Dark Green (Headers/Footers) */
    --accent-color: #FD6D01; /* Vasista Vibrant Orange (Buttons/CTAs) */
    --text-color: #333333;
    --light-bg: #f8f9fa;
}

/* Enforced Bootstrap Overrides for True Brand Consistency */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--primary-color) !important; }
.text-accent  { color: var(--accent-color) !important; }
.bg-primary   { background-color: var(--primary-color) !important; }
.bg-success   { background-color: var(--primary-color) !important; }
.bg-accent    { background-color: var(--accent-color) !important; }

/* Enforced Button Branding map */
.btn-primary { 
    background-color: var(--accent-color) !important; 
    border-color: var(--accent-color) !important; 
    color: #fff !important; 
}
.btn-primary:hover { 
    background-color: var(--primary-color) !important; 
    border-color: var(--primary-color) !important; 
    color: #fff !important; 
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    color: #222222; /* A slightly darker shade for headings */
}

/* Logo Styles */
.custom-logo-link {
    display: block;
    padding: 10px;
}

.custom-logo {
    max-height: 100px;
    width: auto;
    height: auto;
    background: transparent;
    margin-bottom: 10px;
}

.front-page-logo {
    max-height: 350px;
    width: auto;
    height: auto;
    background: transparent;
    margin-bottom: 20px;
}

/* Header Styles */
.site-header {
    background: var(--secondary-color);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: var(--light-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    padding-top: 76px; /* Reduced from calc(76px + 4rem) to remove gap */
    padding-bottom: 4rem;
    position: relative;
}



.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .hero-content {
    background: transparent;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 50px; /* Reduced from 200px to move content up */
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.hero-section .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-section::before {
        width: 300px;
        height: 300px;
    }

    .hero-section .hero-content {
        margin-top: 30px; /* Reduced from 150px on mobile */
    }

    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 2.5rem 2rem;
    margin: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Vasista Cards */
.vasista-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
}

.vasista-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-card a {
    text-decoration: none;
}

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

.product-card .product-title {
    color: var(--text-color);
    margin: 1.5rem;
    text-align: center;
}

.product-details-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}


.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #ddd;
    padding: 0.8rem;
}

.contact-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0,0,0,0.03);
}
.contact-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-detail {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-detail i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-detail a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: #e0e0e0;
    padding: 3rem 0;
}

.site-footer a {
    color: var(--accent-color);
}

.footer-contact-detail {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-detail i {
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-contact-detail a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-contact-detail a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.widget-title {
    color: #fff; /* Or a contrasting color */
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.navbar-nav {
    gap: 1.5rem;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.5rem 0 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .current-menu-item .nav-link,
.navbar-nav .nav-item.active .nav-link {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .current-menu-item .nav-link:after,
.navbar-nav .nav-item.active .nav-link:after {
    width: 100%;
}

.footer-menu li a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--accent-color);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-nav {
        gap: 0;
        padding: 1rem 0;
        background: var(--secondary-color);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-left: 3px solid transparent;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .current-menu-item .nav-link,
    .navbar-nav .nav-item.active .nav-link {
        background: rgba(0, 0, 0, 0.1);
        border-left-color: var(--primary-color);
    }

    .navbar-nav .nav-link:after {
        display: none;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #e68a00;
    border-color: #e68a00;
    color: #fff;
}

/* Reviews Section */
.review-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.review-stars {
    color: var(--primary-color);
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0;
}

.slogan {
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
} 
/* Responsive Vasista Logo Display Optimization */
.front-page-logo {
    width: 100%;
    max-width: 320px; /* Increased from 280px */
    height: auto;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: max-width 0.3s ease;
}

@media (min-width: 768px) {
    .front-page-logo {
        max-width: 480px; /* Increased from 350px */
    }
}

@media (min-width: 992px) {
    .front-page-logo {
        max-width: 650px; /* Increased from 420px */
    }
}

/* Awards & Recognition Styles & Lightbox */
.award-card { 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    border: 1px solid rgba(0,0,0,0.03); 
    cursor: pointer;
}
.award-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.hover-zoom { transition: transform 0.4s ease; }
.hover-zoom:hover { transform: scale(1.03); }

/* Custom Lightbox Enhancements */
.lightbox-modal .modal-content {
    background: transparent;
    border: none;
}
.lightbox-modal .modal-body {
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-modal img {
    max-height: 90vh;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    border-radius: 4px;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 5px;
    z-index: 1060;
}
.lightbox-nav:hover { background: rgba(0,0,0,0.8); }
.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }
.lightbox-close {
    position: absolute;
    right: -60px;
    top: -20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    line-height: 1;
}

@media (max-width: 1200px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { right: 10px; top: -50px; }
}

