/* Bootstrap is used primarily for css. This custom css is used for styling major elements of the index page. */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #EDE9CE;
    color: #3A5931;
}

/* Nav bar  */

.nav-link {
    color: #3A5931;
    font-weight: bold;
}

.navbar-color {
    background-color: #FAFAFA;
}

.navbar-brand {
    font-weight: bold;
}

.navbar-logo{
    height: 60px;
    width:auto;
    transition: height 0.3s ease;
}

@media (max-width: 768px){
    .navbar-logo{
        height: 45px;
    }
}

.button-brand {
    background-color: #608551;
    border-color: #609551;
    color: #ffffff;
}

.button-brand:hover {
    background-color: #3A5931;
    border-color: #3A5931;
    color: #ffffff;
}

/* --- Updated Hero Section Styles --- */
.hero {
    /* 1. Establish a positioning context for the child elements */
    position: relative;
    height: 80vh;
    min-height: 500px;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display:block;
}

/* 7. Style the text elements (no change from before) */
.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #3A5931;
}

.hero-subtitle {
    color: #608551;
}

.amazonBanner .hero-subtitle{
    color: ghostwhite;
}
/* mobile adjustment hero images*/
@media (max-width: 768px){
    .hero-title { font-size: 2rem;}
}

/* vertical height issue */
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
    height: 100%;
}

.section-padding {
    padding: 60px 0;
}

/* Card beautification */
.card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
    text-align: center;
    padding: 1.5rem;
}

.card-img-top {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    padding-top: 1rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#carouselExample {
    padding: 0 4rem;
}

/* 2. Style the control buttons and icons */
.carousel-control-prev,
.carousel-control-next {
    /* Use the padding area for the controls' width */
    width: 4rem;
}

/* 3. Position the buttons at the very edges of the container */
.carousel-control-prev {
    left: 0;
}
.carousel-control-next {
    right: 0;
}
