/* Custom Styles for Poomost - Enhanced Light Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #f4623a;
    /* Original Orange */
    --primary-dark: #d94c25;
    --secondary-color: #212529;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

body {
    font-family: 'Outfit', sans-serif;
    /* Keeping the modern font as it's cleaner */
}

/* Typography Overrides to match new font */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Navbar - Restore original light feel but cleaner */
#mainNav {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

#mainNav .navbar-brand {
    color: var(--primary-color) !important;
}

#mainNav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section - Keep the original image but improve text readability if needed */
header.masthead {
    /* Overlay to ensure text pops on the image */
    background: linear-gradient(to bottom, rgba(92, 77, 66, 0.6) 0%, rgba(92, 77, 66, 0.6) 100%), url("../assets/img/bg-solar.jpg");
    background-size: cover;
    background-position: center;
}

header.masthead h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    /* Modern rounded buttons */
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 98, 58, 0.3);
}

/* Service Cards - Light Theme */
.service-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-card i {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Features / Why Us Section */
.feature-box {
    padding: 2rem;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background-color: rgba(244, 98, 58, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

/* Process Steps */
.step-card {
    position: relative;
    padding: 2rem;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.step-number {
    background: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-weight: bold;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(244, 98, 58, 0.1);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(244, 98, 58, 0.25);
}

/* Contact Cards */
.contact-info-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.contact-info-item i {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--light-bg) !important;
}

/* Portfolio Improvements */
#portfolio {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.portfolio-item {
    position: relative;
    display: block;
    max-width: 25rem;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item .portfolio-box-caption {
    background-color: rgba(244, 98, 58, 0.9);
    transition: opacity 0.3s ease;
    opacity: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
}

.portfolio-item:hover .portfolio-box-caption {
    opacity: 1;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}