/*
 *  HOME.CSS
 *  Styles specific to the homepage
 * -------------------------------------------
 *  1. Hero Section
 *  2. Cards & Sliders
 * -------------------------------------------
*/

h1{
    color: var(--color-forest);
}

/* 1. HERO SECTION */
.hero-section {
    position: relative;
    min-height: 90vh;
    padding-bottom: 1rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(180deg, rgba(15, 45, 38, .6), rgba(15, 45, 38, .25) 30%, rgba(15, 45, 38, .8));*/
    z-index: -1;
}

/* 2. CARDS & SLIDERS */
#collections, #brewing, #journal {
    background: url('../Resource/Banner/section_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /*min-height: 480px;*/
}

.slide-item {
    padding: 0 15px;
}

.collection-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    display: block; 
    text-decoration: none;
    cursor: pointer;
}

.collection-card-img {
    height: 30rem;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-card:hover .collection-card-img {
    transform: scale(1.05);
}

.collection-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%);
}

.collection-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

.collection-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: white;
    margin-top: 0.5rem;
}

.custom-border{
    border: 1px solid var(--color-forest);
}

.story-image-wrapper {
    position: relative;
}

.terroir-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--color-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    z-index: 10;
}

.terroir-card-mobile {
    background-color: #fff;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--color-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.terroir-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-garden);
    margin-bottom: 0.25rem;
}

.terroir-heading {
    font-size: 1.25rem;
    color: var(--color-forest);
    margin-bottom: 0.25rem;
}

.terroir-notes {
    font-size: 0.9rem;
    color: var(--color-charcoal-75);
    margin-bottom: 0;
}

.info-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.info-card-subtitle {
    color: var(--color-charcoal-75);
    margin-bottom: 1rem;
}

.info-card-list {
    padding-left: 1.2rem;
    color: var(--color-charcoal-75);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

.highlight-card {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    color: var(--color-charcoal-75);
    height: 100%;
}

.highlight-card h5 {
    color: var(--color-charcoal);
}

.journal-card {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    /*height: 100%;*/
    height: 25rem;
}

.journal-card-img {
    height: 17rem;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.journal-card:hover .journal-card-img {
    transform: scale(1.05);
}

.journal-card-body {
    padding: 1.25rem;
}

.journal-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-garden);
    margin-bottom: 0.25rem;
}

.journal-card-title {
    font-size: 1.25rem;
    color: var(--color-forest);
    margin-bottom: 0.75rem;
}

@media screen and (max-width: 600px) {
  
  .fs-3 span{
    font-size: 90%;
  }
}