/* 2.5% of 1000 pixels, which equals 25 pixels */
/* 768 pixels, which equals 19.2 pixels. */

.info-ctn > *:not(.raaa){
    user-select: none;
}

:root {
    --clr-primary: #3e1309;
    --clr-secondary: #578b5a;
    --clr-third: #d1b480;
    --clr-dark: #000;
    --clr-light: #fff;
    --clr-background1: #6b361d, #975f2dcf;
    --clr-background2: #4c4634;
    --ff-header: "Roboto Serif", serif;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-bold: 500;
    --fw-extrabold: 600;
}

.header-container > *:not(.farm-img){
    position: absolute; 
    user-select: none;
}

.header-container{
    height: 70vh;
    position: relative;
    padding-bottom: 30px;
}

.farm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 100%, 1000px);
}

.welcome h1 {
    text-align: left;
    padding: 22px;
    font-family: var(--ff-header);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--clr-light);
    text-shadow: rgb(0, 0, 0) 1px 0 5px;
}

@media (max-width: 768px){
    .header-container{
        height: auto;
    }
}

/* <!-- RANCHERS GUIDE --> */

.rancher-guide{
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0px 40px;
    user-select: none;
}

.rancher-guide p{
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

/* <!-- PRODUCT GALLERY --> */
.product-gallery{
    max-width: 700px;
    min-width: none;
    flex-basis: 70%;
}

/* SECTION OF BULLS */
.product-ctn-1{
    padding: 50px 80px;
}


/* BULLS GALLERY CONTAINER     */
.bull-product-1{
    display: flex;
    flex-direction: row;
}

.bull-product-1.odd{
    display: flex;
    flex-direction: row-reverse;
}

.bull-product-1.even{
    display: flex;
}

.main-img-ctn{
    display: block;
}

.product-gallery .main-img-ctn img{
    width: 100%;
    object-fit: cover;
}

.small-img-ctn .small-img-col img{
    width: 100%;
    object-fit: cover;
    min-height: 100px;
    height: 100%;
}


.small-img-ctn{
    display: flex;
    justify-content: space-between;
}

.small-img-col{
    flex-basis: 24.5%;
    cursor: pointer;
    padding-bottom: 5px;
    max-height: 120px;
}

.small-img-col:hover{
    opacity: 0.8;
    transition: all 0.3s ease 0s;   

}

/* <!-- INFO OF BULLS CONTAINER --> */

.info-ctn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    flex-basis: 50%;
}

.bullName{
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-family: var(--ff-header);
    padding-bottom: 15px;
}

.raaa{
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    font-weight: var(--fw-bold);
    padding-bottom: 25px;
}

.dob{
    font-size: clamp(0.8rem, 2.5vw, 1.25rem);
    font-weight: var(--fw-regular);
    padding-bottom: 30px;
}

/* FOR SALE BTN */

.forSale-btn{
    background-color: #932523;
    padding: 25px 40px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    position: relative;
    width: 230px;
    height: 110px;
}

.forSale-btn h5{
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    font-weight: var(--fw-bold);
    color: var(--clr-light);
    padding-bottom: 5px;
}

.forSale-btn p{
    font-size: clamp(0.8rem, 2vw, 1.25rem);
    font-weight: var(--fw-bold);
    color: var(--clr-light);
}

.forSale-btn .phone-number{
    transition: all 0.3s ease 0s;
}


/* BULL DESCRIPTION */
.bullDesc{
    padding: 20px;
    font-size: clamp(0.8rem, 2vw, 1rem);
    text-align: justify;
    color: #555555;
}

.bullDesc-small {
    display: none;
}


/* LEARN MORE BTN */

.learnMore-btn button{
    text-align: center;
    border-radius: 5px;
    border: transparent;
    background-color: #3e1309;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    cursor: pointer;
    color: white;
    padding: 25px 80px;
    min-width: 300px;
    font-weight: var(--fw-extrabold);
}

.learnMore-btn a{
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-decoration: none;
}

.learnMore-btn button:hover {
    background: var(--clr-primary);
    background: linear-gradient(90deg, #3e1309 0%, rgb(165, 48, 19) 100%);
    transition: all 0.3s ease 0s;   
   }
   
.learnMore-btn button:active {
    transform: translate(0em, 0.2em);
}

/* HIDE LAYOUT */
.info-small-screen{
    display: none;
}
.learn-smallBtn .btn-wrapper{
    display: none;
}

 /* <!-- TABLET SCREEN LAYOUT --> */
@media (max-width: 1000px){
    .product-ctn-1{
        padding: 50px 10px;
    }
    .info-ctn{
        padding: 10px;
    }
}


.text-wrap{
    display:flex;
    gap:30px;
}

.raaa, .dob {
    font-size: 16px;
    color: #555;
}



.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adjust the gap between buttons */
    flex-direction: column;
}

.action-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    border: transparent;
    background-color: #932523;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    color: white;
    padding: 15px 20px; /* Adjusted padding */
    min-width: 300px;
    font-weight: var(--fw-extrabold);
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 16px;
}

.action-buttons a{
    text-decoration: none;
}
    

.action-buttons button:hover {
    background-color: #b52b2b; /* Darker red on hover */
    transform: scale(1.05); /* Button enlarges slightly */
}

.action-buttons button span {
    margin-left: 10px;
}

.email-btn button::before {
    content: "\f0e0"; /* Font Awesome envelope icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.call-btn button::before {
    content: "\f095"; /* Font Awesome phone icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.learnMore-btn button::before {
    content: "\f05a"; /* Font Awesome info-circle icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.big-bullDesc{
    background: #F3F3F3;
    border-radius: 5px;
    padding: 30px;
    margin: 30px;
}

/* Initially hide the elements */
.small-bullDesc,
.small-learn-btn {
    display: none;
}


 /* <!-- SMALL SCREEN LAYOUT --> */
 @media only screen and (max-width: 768px) {

    .action-buttons {
        gap: 2px; /* Adjust the gap between buttons */
        margin-bottom:15px;
    }
    
    .action-buttons button {
        padding: 10px;
        max-width: 200px;
        font-size: 14px;
        margin:5px;
    }
    .small-bullDesc,
    .small-learn-btn {
        display: block;
    }

    .small-bullDesc {

    background: #F3F3F3;
    border-radius: 5px;
    padding: 30px;
    margin: 30px;
    }
    
     .small-bullDesc h1 {
        font-size: 1.4em;
     }

    .small-bullDesc p {
        font-size: 1em;
    }

    .small-learn-btn a button {
        border-radius: 5px;
        cursor: pointer;
        color: #fff;
        background-color: var(--clr-primary);
        padding: 25px 80px;
        width: 100%;
        font-weight: var(--fw-extrabold);
    }
    

}

@media (max-width: 480px) {
    .small-bullDesc h1 {
        font-size: 1.1em;
    }

    .small-bullDesc p {
        font-size: 0.9em;
    }

    .action-buttons button {
        min-width: 100px;
    }
}

