/* Custom CSS for Aria Construction Group */

:root {
    --primary-black: #111111;
    --secondary-grey: #444444;
    --light-grey: #f8f9fa;
    --pure-white: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--secondary-grey);
    background-color: var(--pure-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .font-heading {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-black);
}

/* Navbar Enhancements */
.navbar {
    transition: all 0.3s ease-in-out;
}
.nav-link {
    color: var(--primary-black) !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.nav-link:hover, .nav-link.active {
    color: #777777 !important;
}

/* Hero Section */
.hero-section {
    min-height: 70vh;
    background-image: linear-gradient(rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 0.8)), url('file:///C|/Users/ariac/Documents/images/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

/* Button overrides for square, modern look */
.btn {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.btn-dark {
    background-color: var(--primary-black);
    border: none;
}
.btn-dark:hover {
    background-color: var(--secondary-grey);
}

/* Accessibility: Focus states */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid var(--primary-black);
    outline-offset: 2px;
}

/* Gallery Specific Styles */
.gallery-card {
    overflow: hidden;
    background-color: var(--primary-black);
}

.gallery-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
    cursor: zoom-in;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Modal Lightbox Background */
#lightboxModal {
    background-color: rgba(17, 17, 17, 0.95);
}

/* This ensures the links have a little 'breathing room' from the bottom */
@media (min-width: 992px) {
    .navbar-nav.align-items-end .nav-link {
        padding-bottom: 10px; /* Adjust this number to perfectly line up with your logo text */
    }
}

/* Carousel Specifics */
.carousel-item {
    background-color: #000;
}

/* Dark overlay to make white text pop */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the 0.5 to make it darker or lighter */
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 0; /* Align flexbox centering */
}

/* Modern 'Object-Fit' to prevent image stretching */
.object-fit-cover {
    object-fit: cover;
}

/* Ensure captions use your Montserrat font */
.carousel-caption h1, .carousel-caption h2 {
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}