/* Pangara SA - Custom CSS */

/* Brand Colors */
:root {
    --pangara-red: #ed1c24;
    --pangara-white: #FFFFFF;
}

/* Text Colors */
.text-pangara-red {
    color: var(--pangara-red);
}

.text-pangara-white {
    color: var(--pangara-white);
}

/* Background Colors */
.bg-pangara-red {
    background-color: var(--pangara-red);
}

.bg-pangara-white {
    background-color: var(--pangara-white);
}

/* Button Styles */
.btn-pangara-red {
    background-color: var(--pangara-red);
    color: var(--pangara-white);
    border: 2px solid var(--pangara-red);
}

.btn-pangara-red:hover {
    background-color: transparent;
    color: var(--pangara-red);
    border: 2px solid var(--pangara-red);
}

.btn-outline-pangara-red {
    background-color: transparent;
    color: var(--pangara-red);
    border: 2px solid var(--pangara-red);
}

.btn-outline-pangara-red:hover {
    background-color: var(--pangara-red);
    color: var(--pangara-white);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--pangara-red);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--pangara-red);
    color: var(--pangara-white);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

/* Services Section */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* Footer Styles */
footer {
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #f8f9fa !important;
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Carousel/Slider Styles */
.carousel-inner {
    height: 400px; /* Fixed height for all sliders */
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will crop/scale the image to maintain aspect ratio while filling the container */
    object-position: center; /* Center the image within the container */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }

    .carousel-inner {
        height: 300px; /* Smaller height for mobile devices */
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
