/* Custom CSS for Omri Compta Revamp */

/* Define Custom Variables for Colors */
:root {
    --primary-green: #4CAF50;
    /* A clean, professional green */
    --primary-dark: #212529;
    /* Dark text/background */
    --light-gray: #f8f9fa;
    /* Off-white for section backgrounds */
    --text-light-gray: #ced4da;
    /* Lighter text color on dark backgrounds */
}

/* Custom Color Classes for Bootstrap Integration */
.text-primary-green {
    color: var(--primary-green) !important;
}

.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.bg-light-gray {
    background-color: var(--light-gray) !important;
}

.text-light-gray {
    color: var(--text-light-gray) !important;
}

/* Custom Button Styling */
.btn-primary-green {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary-green:hover {
    background-color: #388E3C;
    /* Slightly darker green on hover */
    border-color: #388E3C;
}


/* 1. Navbar Styling */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-dark) !important;
}

.nav-link {
    color: var(--primary-dark) !important;
    font-weight: 500;
    margin-inline: 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}


/* 2. Hero Section Styling */
.hero-section {
    /* Replaces original inline background image and size styles */
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2850&q=80');
    background-size: cover;
    background-position: center;
}

.hero-section .overlay {
    /* Overlap div from original code to provide color overlay */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    /* Darker overlay */
}

/* 4. Services Section Styling (Accordion) */
/* Customizing the accordion for a cleaner look */
.accordion-item {
    border: none;
    border-radius: 0.5rem !important;
}

.accordion-button {
    background-color: white;
    color: var(--primary-dark);
    font-size: 1.1rem;
    /* Add a subtle shadow for better visual depth when open/closed */
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-green);
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--primary-green);
}

.accordion-body {
    padding: 1.5rem;
}

.accordion-body img {
    /* Ensures service images are responsive and fit well */
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
    object-fit: cover;
}

/* 6. Contact Cards Styling */
.contact-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #dee2e6;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.link-primary-green {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: bold;
}

.link-primary-green:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

/* Footer Link Style */
.hover-link:hover {
    text-decoration: underline !important;
}

/* */