/* Global Base Styles (Complementing Bootstrap) */
:root {
    --dark-overlay: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    --bg-texture: url(../../assets/images/whisky/bg_texture.jpg) center;
    --bg-water: url(../../assets/images/whisky/bg_water.png) center;
    --bg-arrow-right: url(../../assets/images/whisky/arrow-right.png) center no-repeat;
    --bg-faq-title: url(../../assets/images/whisky/bg-faq.jpg) center 70% no-repeat;
    --bg-hero: url(../../assets/images/whisky/bg_hero.png) no-repeat center center/cover !important;
    --bg-barrels: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url(../../assets/images/whisky/bg_barrels.jpg) center center/cover !important;
    --bg-faq: url(../../assets/images/whisky/bg_faq.png) center center/cover !important;
    --dark-overlay-bg: var(--dark-overlay), var(--bg-texture);
    --default-font-family: 'Shippori Mincho B1', serif;
	--heading-font-family: 'Italiana', serif;
    --text-brown: #B1A28B;
    --text-accent: #D1C7B8;
}

body {
    font-family: var(--default-font-family);
    /* Updated to Shippori Mincho B1 */
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* Adjust if header height changes, due to fixed-top */
}

a {
    text-decoration: none;
}

.bl_bg {
    background-color: #0d0d0d;
    color: #fff;
}

.bg_water {
    background: var(--bg-water);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* Typography (Customizations on top of or instead of Bootstrap defaults) */
.eyebrow-text {
    font-family: var(--default-font-family);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}

.main-title {
    font-family: var(--heading-font-family);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    /* Responsive font size */
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.25em;
}

.section-title {
    font-family: var(--heading-font-family);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.subtitle {
    font-family: var(--default-font-family);
    font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    font-weight: 400;
    margin-bottom: 1.5em;
}

.body-text {
    font-family: var(--default-font-family);
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    margin-bottom: 1.5em;
}

.body-text li {
    list-style: outside !important;
}

/* Strikethrough styling for headings */
h1,
h2 {
    font-family: var(--heading-font-family);
    position: relative;
    display: inline-block;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: -0.18em;
    text-decoration-skip-ink: none;
}

.text-light {
    color: #e0dcd5 !important;
}

/* Off-white / light beige, !important to override BS if needed */
.text-dark {
    color: #4a4a4a !important;
}

/* Dark gray for text */
.text-accent {
    color: var(--text-accent) !important;
}

/* Golden accent */
.text-brown {
    color: var(--text-brown) !important;
}

/* Brownish accent */


/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    /* Adjust as needed */
    color: #fff;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-hero);
    /* Ensure the background image covers the entire hero section */
    z-index: 2;
    /* Behind content and overlay */
}

.hero-background-image::after {
    /* Gradient overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 30, 50, 0.3) 0%, rgba(50, 40, 30, 0.7) 70%, rgba(20, 20, 20, 0.9) 100%);
    z-index: 3;
    /* Between background image and content */
}

.hero-map-overlay {
    position: absolute;
    top: 50%;
    left: 15%;
    /* Adjust based on visual within Bootstrap grid */
    transform: translateY(-50%);
    width: auto;
    height: 50vh;
    max-height: 550px;
    opacity: 0.7;
    z-index: 4;
    /* Above background image, below text */
}

.hero-content-container {
    position: relative;
    /* To ensure z-index stacking for text over map */
    z-index: 5;
}

/* Legacy Section */
.legacy-section {
    background-color: #1e1e1e;
    padding-top: 80px;
    /* Increased padding-bottom to accommodate a deeper curve from the section above */
    padding-bottom: 360px;
    /* WAS 150px */
    position: relative;
}

@media (min-width: 992px) {
    .legacy-section .col-lg-6.col-md-12 {
        padding-left: 8rem;
        /* Adjust as needed for desktop */
    }
}

.legacy-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--dark-overlay-bg);
}

.legacy-content-text {
    position: relative;
    /* For stacking context if needed */
    z-index: 2;
}

.legacy-image-collage {
    position: relative;
    gap: 0 !important;
    z-index: 1;
    /* Below text, above main background */
    /* margin-top: -80px; (handled by Bootstrap's mt-md-n5) */
}

.collage-image {
    /* border: 4px solid #111; */
    /* box-shadow: 0 8px 15px rgba(0,0,0,0.25); */
    object-fit: cover;
    /* Ensures image covers the area, crops if aspect ratio mismatches */
    /* Height will be determined by content up to max-height, respecting aspect ratio via img-fluid */
    margin: 0 !important;
    padding: 0 !important;
}

/* Specific max-widths and NEW max-heights for each image in the collage */
.collage-image--barrels {
    max-width: 170px;
    /* Adjusted width */
    max-height: 600px;
    /* Specific height for side images */
}

.collage-image--pour {
    max-width: 170px;
    /* Narrower middle image */
    max-height: 900px;
    /* Taller middle image */
}

.collage-image--tasting {
    max-width: 170px;
    /* Adjusted width */
    max-height: 470px;
    /* Specific height for side images, same as barrels */
}

.collage-image--bamboo {
    max-width: 120px;
    /* Adjusted width */
    max-height: 320px;
    /* Specific height for side images, same as barrels */
}

.collage-image--small-barrels {
    max-width: 120px;
    /* Adjusted width */
    max-height: 320px;
    /* Specific height for side images, same as barrels */
    margin-top: 8rem !important;
}

/* Legacy foot image positioning */
.legacy-foot-image {
    position: absolute;
    right: 0;
    bottom: -25 rem !important;
    /* Adjust as needed to position relative to section */
    width: auto;
    z-index: 3;
    /* Above background but below main content */
    display: none;
    /* Hidden by default, shown on large screens */
}

/* Show legacy foot image only on large desktop screens */
@media (min-width: 1200px) {
    .legacy-foot-image {
        display: flex;
        ;
    }
}


/* Cask Info Section - With Curve */
@media screen and (min-width: 1024px) {
    .cask_info {
        --cask_info-circleLineDistance: 16px
    }
}

.cask_info {
    --cask_info-circleLineDistance: 8px;
    position: relative;
    /* margin-top: clamp(90px,13vw,180px); */
    color: #0d0d0d;
    background: var(--dark-overlay-bg);
}

.cask_info::before,
.cask_info::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    display: block;
    width: 120vw;
    height: 120vw;
    border-radius: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

.cask_info::before {
    background-color: #fff;
}

.cask_info::after {
    top: var(--cask_info-circleLineDistance);
    width: calc(120vw - var(--cask_info-circleLineDistance));
    height: calc((120vw - var(--cask_info-circleLineDistance))/2);
    border-top: 3px solid rgba(13, 13, 13, .2);
    border-radius: 50%/100% 100% 0 0
}

.cask_info_inn {
    position: relative;
    z-index: 2;
    padding-top: clamp(100px, 18.5vw, 500px);
    padding-bottom: clamp(50px, 9.5vw, 300px);
    background: #fff;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(30vw, rgba(255, 255, 255, 0)), color-stop(30vw, white), color-stop(24%, white), to(white));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30vw, white 30vw, white 24%, white 100%)
}

.hp_ofHidden {
    overflow: hidden;
    overflow: clip
}


.circular-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eaeaea;
}

.feature-list {
    list-style-type: disc;
    /* padding-left handled by Bootstrap .ps-4 */
}

.feature-list li {
    margin-bottom: 0.5em;
    font-size: 0.9rem;
}

/* Quality Link Section */
.quality-text {
    font-family: var(--default-font-family);
    font-size: 1.15rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #555;
    margin-right: 15px;
    letter-spacing: 1px;
    cursor: pointer;
}

.quality-indicator {
    cursor: pointer;
}

.quality-circle {
    width: 80px;
    height: 80px;
    background-color: #d4c3a4;
    border-radius: 50%;
    margin-right: -8px;
    z-index: 1;
}

.quality-arrow {
    line-height: 1;
    position: relative;
    z-index: 2;
    background: var(--bg-arrow-right);
    height: 30px;
    width: 100px;
    margin-left: -2em;
}

.image-pair {
    margin-bottom: 20px;
    position: relative;
    height: 500px;
    width: 400px;
    margin: 0 auto;
}

.image-pair img {
    position: absolute;
    left: 50%;
    top: 50%;
}

.our-collection .image-section {
    background: var(--bg-barrels);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

.our-collection .text-container {
    background: var(--dark-overlay-bg);
}

.maturation-section {
    padding: 10rem 0;
    /* background: linear-gradient(135deg, #f8f6f3 0%, #ede8e0 100%); */
}

.maturation-section .circular-image {
    width: clamp(300px, 40vw, 550px);
    height: clamp(300px, 40vw, 550px);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.maturation-title {
    font-family: var(--heading-font-family);
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    color: #333;
}

.content-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    color: #666;
    text-decoration: none;
}

.contact-btn::after {
    content: "→";
    margin-left: 15px;
    font-size: 1.2rem;
    transition: margin-left 0.3s ease;
}

.contact-btn:hover::after {
    margin-left: 20px;
}

.vision-section {
    padding: 4rem 0 6rem 0;
    text-align: center;
}

.vision-title {
    font-family: var(--heading-font-family);
    font-size: 3rem;
    font-weight: 300;
    color: #333;
    text-decoration: line-through;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-decoration-thickness: 1px;
}

.interview-section {
    padding: 3rem 0;
}

.interview-card {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 3rem;
}

.interview-image {
    width: 100%;
    object-fit: cover;
}

.interview-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    margin-top: 2rem;
    background: rgba(230, 220, 210, 0.8);
    padding: 12px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.interview-btn:hover {
    color: #333;
    text-decoration: none;
    background: rgba(220, 210, 200, 0.9);
    transform: translateY(-2px);
}

.interview-btn::after {
    content: "→";
    margin-left: 15px;
    font-size: 1rem;
    transition: margin-left 0.3s ease;
}

.interview-btn:hover::after {
    margin-left: 20px;
}

.mt-100 {
    margin-top: clamp(100px, 15vw, 200px);
}

.faq-title {
    text-align: center;
    margin-bottom: 0;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-faq-title);
    background-size: cover;
    /* Custom background position options for cropping:
     * 
     * Option 1: Use keywords
     * background-position: center center;  (default)
     * background-position: top left;
     * background-position: bottom right;
     * background-position: center bottom;
     * 
     * Option 2: Use percentages (0% = left/top, 100% = right/bottom)
     * background-position: 75% 25%;  (75% from left, 25% from top)
     * background-position: 50% 80%;  (center horizontally, 80% from top)
     * 
     * Option 3: Use pixel values
     * background-position: -50px 100px;  (move left 50px, down 100px)
     * background-position: 200px -30px;  (move right 200px, up 30px)
     * 
     * Option 4: Mix units
     * background-position: center 25%;    (center horizontally, 25% from top)
     * background-position: 30% bottom;    (30% from left, aligned to bottom)
     * 
     * Example to crop more from the top and focus on center-bottom:
     * background-position: center 75%;
     */
}

.faq-title h2 {
    font-family: var(--heading-font-family);
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.3;
    color: #333;
}

.faq-section {
    background: linear-gradient(135deg, #000000 50%, #2c2c2c 100%);
    min-height: 100vh;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-faq);
    opacity: 0.6;
    z-index: 1;
}

.faq-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.accordion {
    --bs-accordion-border-width: 0;
    --bs-accordion-border-radius: 0;
}

.accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
}

.accordion-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-button {
    background: transparent;
    border: none;
    color: #ababab;
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    padding: 2.5rem 3rem 2.5rem 0;
    box-shadow: none;
    text-align: left;
    position: relative;
}

.accordion-button:not(.collapsed) {
    color: var(--text-brown) !important;
    background: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-button::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #e0e0e0;
    background: none;
    border: none;
    width: auto;
    height: auto;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: '−';
    transform: none;
}

.accordion-body {
    padding: 0 0 3rem 0;
    color: #c0c0c0;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
}

.accordion-collapse {
    border: none;
}

.accordion-button:hover {
    color: #f5f5f5;
}

.accordion-button:hover::after {
    color: #f5f5f5;
}

.td-none {
    text-decoration: none !important;
}


/* Responsive Adjustments beyond Bootstrap grid */
@media (min-width: 1024px) {
    .legacy-image-collage {
        margin-top: -200px;
        /* Adjust value as needed */
    }

    .image-pair img:nth-child(1) {
        transform: translate(-50%, -50%) translate(80px, -150px);
    }

    .image-pair img:nth-child(2) {
        transform: translate(-50%, -50%) translate(-200px, 30px);
    }

    .image-pair img:nth-child(3) {
        transform: translate(-50%, -50%) translate(-200px, 400px);
    }

    .image-pair img:nth-child(4) {
        transform: translate(-50%, -50%) translate(80px, 580px);
    }
}

@media (min-width: 992px) {
    .circular-image {
        width: 250px;
        height: 250px;
    }

    .cask_info .text-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .our-collection .text-container {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (max-width: 991.98px) {

    /* Medium devices and down */
    .hero {
        min-height: 100vh;
        text-align: center;
        flex-direction: column;
        /* Stack items vertically */
        padding-top: 5rem;
        padding-bottom: 10rem;
    }

    .hero-content {
        padding-top: 30px;
    }

    .hero-map-overlay {
        position: relative;
        /* Change from absolute to relative */
        left: auto;
        /* Reset left positioning */
        top: auto;
        /* Reset top positioning */
        transform: none;
        /* Reset transform */
        width: 60%;
        /* Adjust width as needed */
        height: auto;
        /* Adjust height as needed */
        max-height: 300px;
        /* Adjust max-height as needed */
        margin-top: 20px;
        /* Add some space above the image */
        opacity: 1;
        /* Make it fully visible */
    }

    .legacy-section {
        padding-bottom: 120px;
        /* Adjusted for smaller screens */
    }

    .image-pair {
        margin-bottom: 200px;
    }

    .image-pair img:nth-child(1) {
        transform: translate(-50%, -50%) translate(50px, -150px);
    }

    .image-pair img:nth-child(2) {
        transform: translate(-50%, -50%) translate(-100px, -20px);
    }

    .image-pair img:nth-child(3) {
        transform: translate(-50%, -50%) translate(-100px, 150px);
    }

    .image-pair img:nth-child(4) {
        transform: translate(-50%, -50%) translate(50px, 250px);
    }

    .our-collection .text-container {
        padding-left: 3rem;
        padding-right: 3rem;
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
}

@media (max-width: 767.98px) {

    .logo-img {
        height: 30px;
    }

    .hero {
        min-height: 60vh;
        padding-top: 3rem;
        padding-bottom: 8.5rem;
    }

    .main-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .legacy-section {
        padding-bottom: 90px;
        /* Adjusted for smaller screens */
    }

    .collage-image--barrels,
    .collage-image--tasting {
        max-width: 35%;
        /* Allow side images to take more relative width */
        max-height: 280px;
        /* Reduce height on smaller screens */
    }

    .collage-image--pour {
        max-width: 28%;
        /* Allow middle image to also adjust */
        max-height: 380px;
        /* Reduce height on smaller screens, but still taller relatively */
    }

    .circular-image {
        width: 120px;
        height: 120px;
    }

    .quality-link-container {
        justify-content: center !important;
    }

    .image-pair {
        margin-bottom: 150px;
    }

    .image-pair img:nth-child(1) {
        transform: translate(-50%, -50%) translate(50px, -150px);
    }

    .image-pair img:nth-child(2) {
        transform: translate(-50%, -50%) translate(-100px, -20px);
    }

    .image-pair img:nth-child(3) {
        transform: translate(-50%, -50%) translate(-100px, 150px);
    }

    .image-pair img:nth-child(4) {
        transform: translate(-50%, -50%) translate(50px, 250px);
    }

    .maturation-section.circular-image {
        width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .vision-title {
        font-size: 2.5rem;
    }

    .faq-section {
        padding: 4rem 0;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 2rem 2rem 2rem 0;
    }

    .accordion-body {
        padding: 0 0 2rem 0;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {

    /* Extra Small devices */
    .collage-image--barrels,
    .collage-image--pour,
    .collage-image--tasting {
        max-width: 70%;
        /* Example: make them stack more prominently */
        margin-bottom: 0.5rem;
        /* Add space when stacked */
    }

    .collage-image--pour {
        max-height: 350px;
        /* Further adjust height */
    }

    .collage-image--barrels,
    .collage-image--tasting {
        max-height: 250px;
        /* Further adjust height */
    }

    .accordion-button {
        padding: 1.5rem 1.5rem 1.5rem 0;
    }
}