/* Living Machines - Custom Styles */

/* Custom hero section height */
.min-vh-75 {
    min-height: 75vh;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom primary color override for Living Machines theme */
:root {
    --bs-primary: #1A4314; /* Living Machines Primary Green */
    --bs-primary-rgb: 26, 67, 20;
    --bs-secondary: #6c757d; /* Bootstrap 5.3 grey */
    --bs-secondary-rgb: 108, 117, 125;
}

/* Hero section enhancements - background image with gradient overlay */
.hero-section {
    background: linear-gradient(to right, rgba(26, 67, 20, 0.85) 0%, rgba(26, 67, 20, 0.6) 40%, rgba(26, 67, 20, 0.3) 70%, rgba(26, 67, 20, 0.1) 100%), url('../img/growhouse_living_machines.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    position: relative;
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Button enhancements */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Primary button styling */
.btn-primary {
    background-color: #1A4314 !important;
    border-color: #1A4314 !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: #0f2a0d !important;
    border-color: #0f2a0d !important;
    color: white !important;
}

.btn-primary:focus {
    background-color: #1A4314 !important;
    border-color: #1A4314 !important;
    box-shadow: 0 0 0 0.25rem rgba(26, 67, 20, 0.25) !important;
}

/* Outline primary button */
.btn-outline-primary {
    color: #1A4314 !important;
    border-color: #1A4314 !important;
}

.btn-outline-primary:hover {
    background-color: #1A4314 !important;
    border-color: #1A4314 !important;
    color: white !important;
}

/* Navbar enhancements */
.navbar-brand {
    font-weight: 700;
    color: #1A4314 !important;
}

/* Enhanced navbar styling */
.navbar {
    padding: 1rem 0;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: #333 !important;
    padding: 0.75rem 1.25rem !important;
    margin: 0 0.25rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #1A4314 !important;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Dropdown positioning - start from navbar bottom */
.navbar-nav .dropdown-menu {
    top: calc(100% + 1rem) !important;
    margin-top: 0 !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    transform: translateY(0) !important;
}

.navbar-nav .dropdown-item {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: rgba(26, 67, 20, 0.1);
    color: #1A4314;
}

/* CTA Button styling */
.nav-cta-btn {
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    padding: 0.75rem 1.5rem !important;
    margin-left: 0.5rem !important;
    border-radius: 0.5rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(26, 67, 20, 0.3);
}

/* Navbar logo styling */
.navbar-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.navbar-brand-text {
    font-weight: 700;
    color: #1A4314 !important;
    font-size: 1.25rem;
}

/* Mobile navbar adjustments */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.05rem !important;
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-cta-btn {
        margin: 1rem 0 0.5rem 0 !important;
        text-align: center !important;
        display: block !important;
    }
    
    .navbar-nav .dropdown-menu {
        box-shadow: none;
        border: 1px solid #e0e0e0;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        flex: 1;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-toggler-icon {
        width: 1.5em;
        height: 1.5em;
    }
    
    .navbar-toggler-text {
        font-size: 0.9rem;
        font-weight: 500;
        color: #1A4314;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem !important;
        padding: 0.6rem 0.75rem !important;
    }
}

.navbar-nav .nav-link {
    color: #495057 !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #1A4314 !important;
}

.navbar-nav .nav-link.active {
    color: #1A4314 !important;
    font-weight: 600;
}

/* Section styling */
.section-title {
    color: #1A4314;
    font-weight: 700;
}

.section-subtitle {
    color: #6c757d;
}

/* Card styling */
.card-title {
    color: #1A4314;
    font-weight: 600;
}

/* Icon styling */
.text-primary {
    color: #1A4314 !important;
}

/* Footer styling */
.footer {
    background-color: #2c2c2c;
    border-top: 1px solid #444;
    color: white;
}

.footer-heading {
    color: white !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: #e0e0e0 !important;
    line-height: 1.6;
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: white !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f8f9fa !important;
    text-decoration: none;
}

.footer-divider {
    border-color: #444 !important;
    margin: 2rem 0 1rem 0;
}

.footer-copyright {
    color: #b0b0b0 !important;
    font-size: 0.85rem;
    margin: 0;
}

.footer-designer-link {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
}

.footer-designer-link:hover {
    color: #f8f9fa !important;
    text-decoration: underline;
}

/* Form styling */
.form-control:focus {
    border-color: #1A4314;
    box-shadow: 0 0 0 0.25rem rgba(26, 67, 20, 0.25);
}

/* Link styling */
a {
    color: #1A4314;
}

a:hover {
    color: #0f2a0d;
}

/* Hero icon */
.hero-image i {
    color: white !important;
}

/* Service and product cards */
.service-card, .product-card {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
}

.service-card:hover, .product-card:hover {
    border-color: #1A4314;
}

/* Contact form submit button */
.contact-form .btn-primary {
    background-color: #1A4314 !important;
    border-color: #1A4314 !important;
    color: white !important;
}

.contact-form .btn-primary:hover {
    background-color: #0f2a0d !important;
    border-color: #0f2a0d !important;
}

/* Image object-fit support */
.object-fit-cover {
    object-fit: cover;
}

/* Bento grid enhancements */
.bento-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Step numbers styling */
.step-number {
    width: 50px;
    height: 50px;
    background-color: #1A4314;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Testimonial card styling */
.testimonial-card {
    position: relative;
    padding: 2rem;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1A4314 0%, #228B22 100%);
    border-radius: 0.375rem 0.375rem 0 0;
}

/* Team card hover effects */
.team-card {
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
}

/* Team image styling */
.team-image-container {
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.team-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1A4314;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(26, 67, 20, 0.3);
}

/* Service card layout */
.service-card-horizontal {
    transition: border-color 0.3s ease;
}

.service-card-horizontal:hover {
    border-color: #1A4314 !important;
}

/* Quote styling */
.quote-icon {
    opacity: 0.25;
    position: absolute;
    top: -10px;
    left: -5px;
}

/* Enhanced form styling */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #1A4314 !important;
    box-shadow: 0 0 0 0.25rem rgba(26, 67, 20, 0.25) !important;
    outline: none;
}

/* Project logos styling */
.project-logo-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.project-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 67, 20, 0.15);
    border-color: #1A4314;
}

.project-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.project-logo-card:hover .project-logo {
    filter: grayscale(0%);
}

/* Project section styling */
.projects-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Product page specific styles */
.product-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem 0;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    text-align: center;
}

.product-stats-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #1A4314;
}

.spec-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.spec-grid {
    display: grid;
    gap: 1rem;
}

.spec-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.spec-item:last-child {
    border-bottom: none;
}

.crop-category-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.crop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.crop-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    margin-bottom: 1rem;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid #1A4314;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #1A4314;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.price-display {
    margin: 1rem 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6c757d;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1A4314;
}

.pricing-features {
    padding: 1rem 2rem;
}

.pricing-features ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.pricing-features ul li:last-child {
    border-bottom: none;
}

.pricing-footer {
    padding: 1rem 2rem 2rem;
}

.whatsapp-cta-section {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.financing-options {
    margin-top: 1rem;
}

.financing-options .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
}

/* Breadcrumb styling */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #1A4314;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Content-focused styling */
.highlight-box {
    background: linear-gradient(135deg, #1A4314 0%, #2d5a2d 100%);
    color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(26, 67, 20, 0.3);
}

.highlight-box h3 {
    color: white !important;
}

.size-option {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.growhouse-model {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 100%;
    transition: transform 0.3s ease;
}

.growhouse-model:hover {
    transform: translateY(-5px);
}

.growhouse-model.popular {
    border: 2px solid #1A4314;
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #1A4314;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.model-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cta-section {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

/* Lead paragraph styling - thicker font weight and larger size */
.lead {
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

/* Projects page styling */
.projects-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem 0;
}

.stat-card {
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.project-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.project-location {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-content {
    height: calc(100% - 250px);
    display: flex;
    flex-direction: column;
}

.project-category .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

.project-description {
    flex-grow: 1;
    line-height: 1.6;
}

.project-features {
    border-top: 1px solid #f0f0f0;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mini-project-card {
    background: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.mini-project-card:hover {
    transform: translateY(-3px);
}

.bg-outline-primary {
    background-color: rgba(26, 67, 20, 0.1);
    color: #1A4314;
}

.bg-outline-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.bg-outline-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-outline-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

/* Responsive adjustments for product page */
@media (max-width: 768px) {
    .product-hero-section {
        padding: 2rem 0;
    }
    
    .size-option {
        margin-bottom: 0.5rem;
    }
    
    .growhouse-model {
        margin-bottom: 2rem;
    }
    
    .popular-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .project-image {
        height: 225px;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-actions .btn {
        width: 100%;
    }
}

/* About and Contact pages styling */
.about-hero-section,
.contact-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem 0;
}

.achievement-item {
    text-align: center;
    padding: 1rem;
    background: rgba(26, 67, 20, 0.05);
    border-radius: 0.5rem;
    border-left: 4px solid #1A4314;
}

.mission-card,
.vision-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.icon-wrapper {
    text-align: center;
}

.team-member-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.team-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.team-member-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1A4314;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-3px);
}

.value-icon {
    text-align: center;
}

.contact-method {
    text-align: center;
}

.contact-icon {
    text-align: center;
}

.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form .form-label {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #1A4314;
    box-shadow: 0 0 0 0.2rem rgba(26, 67, 20, 0.25);
}

.service-area-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-area-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-area-list {
    list-style: none;
    padding: 0;
}

.service-area-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.service-area-list li:before {
    content: "✓";
    color: #1A4314;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-area-list li:last-child {
    border-bottom: none;
}

.accordion-button {
    font-weight: 600;
    color: #1A4314;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(26, 67, 20, 0.1);
    color: #1A4314;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 67, 20, 0.25);
}

/* Responsive adjustments for about and contact pages */
@media (max-width: 768px) {
    .team-member-image {
        width: 120px;
        height: 120px;
    }
    
    .mission-card,
    .vision-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .achievement-item {
        margin-bottom: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .min-vh-75 {
        min-height: 60vh;
    }
    
    .bento-card {
        margin-bottom: 1rem;
    }
    
    .project-logo-card {
        height: 100px;
        padding: 1rem;
    }
    
    .project-logo {
        max-height: 60px;
    }
} 