/* Custom Font Setup (Inter) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f7; /* Light background for accessibility */
    color: #212529; /* Bootstrap default text color */
}

/* Gradient background for hero and footer sections */
.bg-hero {
    background-color: #eceff1;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center; 
}

.bg-marble {
    background-color: #eceff1;
    background-image: url('images/minimalist-grey-marble-background-web-ui-design-stone-texture-features-sleek-modern-surface-subtle-veining-refined-381709510.webp');
    background-size: cover;
    background-position: center;
}

/* --- Navigation Logo Styles --- */
.navbar-banner-img {
    max-height: 100px; 
    width: auto;
    display: block;
    border: none;
    border-radius: 0;
    /* Optional: adds a smooth transition if the bar shrinks on scroll later */
    transition: max-height 0.3s ease; 
}
/* Custom Hero Title Colors */
.text-electrical {
    color: #4195da; /* Professional Royal Blue */
}

.text-security {
    color: #33dd5b; /* Secure Forest Green */
}

/* Optional: Subtle text shadow to help it pop against the background image */
#home h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
footer h4 {
    color: #33dd5b !important; /* Light Green */
}
.footer-fb-icon {
    color: #1877F2; /* Official Facebook Blue */
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.footer-fb-icon:hover {
    color: #ffffff; /* Turns white when hovered */
    transform: scale(1.2); /* Slightly grows when hovered */
}
@media (max-width: 768px) {
    .navbar-banner-img {
        /* Increased from 40px to 50px */
        max-height: 50px; 
    }
}

/* Prevents the top of pictures from being cut off */
.gallery-img {
    height: 500px; /* You can adjust this height */
    object-fit: contain; /* Shows the FULL image without cropping */
    background-color: #1a1a1a; /* Adds a clean dark background to the sides/top of odd-sized photos */
}

/* Mobile height adjustment */
@media (max-width: 768px) {
    .gallery-img {
        height: 400px;
    }
}

/* Optional: Make the carousel background match the image background for a seamless look */
#simpleCarousel {
    background-color: #1a1a1a;
    border-radius: 12px;
}
