/* =======================================
   1. GLOBAL SETTINGS
======================================= */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

/* =======================================
   2. NAVBAR
======================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.navbar-logo {
    height: 50px;
    width: auto;
}

/* =======================================
   3. BACK TO TOP BUTTON
======================================= */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(211, 211, 211, 0.8);
    color: black;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.back-to-top:hover {
    background: rgba(169, 169, 169, 0.9);
    transform: scale(1.05);
}

/* =======================================
   4. HERO (VIDEO) & OVERLAY
======================================= */
video {
    object-fit: cover;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* =======================================
   5. HOME SECTION
======================================= */
#home .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.welcome-text {
    font-size: 40px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.home-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
}

.tagline {
    font-size: 29px;
    color: white;
    margin-top: 10px;
}

/* =======================================
   6. BUTTON STYLING
======================================= */
.btn-warning {
    padding: 12px 30px;
    font-size: 19px;
    border-radius: 5px;
}
.btn-getintouch {
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-getintouch:hover {
    background-color: gold;
    color: black;
    border-color: gold;
    text-decoration: none;
}
/* =======================================
   7. SECTION PADDING
======================================= */
#what-we-do,
#products,
#product {
    padding: 80px 0;
}

/* =======================================
   8. WHAT WE DO SECTION
======================================= */
#what-we-do p.text-uppercase {
    font-size: 14px;
    letter-spacing: 1px;
}

/* Responsive Images */
#what-we-do img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* =======================================
   9. PRODUCT CARDS
======================================= */
.products-copy{
    text-align: center;
}
.product-card .card {
    height: 500px;
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.product-card .card-img-top {
    height: 60%;
    object-fit: cover;
}

.product-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card {
    text-decoration: none;
    color: black;
}

.product-card .card-body h5 {
    color: black;
    transition: color 0.3s ease-in-out;
}

.product-card:hover .card {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.product-card:hover .card-body h5 {
    color: #198754;
}

/* =======================================
   10. PARALLAX SECTION
======================================= */
.parallax-section {
    height: 500px;
    background-image: url('../images/rodeo-bg.webp');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.quote-text {
    position: relative;
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    max-width: 80%;
    line-height: 1.5;
    z-index: 1;
}

@media (max-width: 768px) {
    .parallax-section {
        display: none;
    }
}

/* =======================================
   11. CUSTOM HATS PROCESS SECTION
======================================= */
#custom-hats-process {
    background-color: hotpink;
}

#custom-hats-process h4 {
    color: black;
}

#custom-hats-process .text-center {
    max-width: 700px;
    margin: 0 auto;
}

.custom-process-icons {
    max-width: 200px;
    margin-bottom: 20px;
}

/* =======================================
   12. CONTACT SECTION
======================================= */
#contact {
    background-color: hotpink;
    padding: 80px 0;
}

#contact .form-control {
    border-radius: 5px;
}

#contact .container {
    max-width: 900px;
}

#contact .row {
    gap: 50px;
}

.social-icons a {
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.social-icons a:hover {
    transform: scale(1.1);
    color: #198754;
}

/* =======================================
   13. CALL TO ACTION (CTA) SECTION
======================================= */
#cta {
    background-color: #198754;
    padding: 60px 0;
}

#cta .btn-outline-light {
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    border: 2px solid white;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

#cta .btn-outline-light:hover {
    background: white;
    color: #198754;
}