/* ============================================
   BACKGROUND IMAGE IMPLEMENTATION
   ============================================ */
/* Background image moved to global.css */

/* ============================================
   CONTENT WRAPPER
   ============================================ */
.content-wrapper {
    background-color: transparent;
    position: relative;
    z-index: 1;
    padding: 10px 0 10px;
}

/* No top margin for content-wrapper on homepage */
.content-wrapper:has(.hero-slider-section) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Fallback for browsers without :has() */
.content-wrapper > .hero-slider-section:first-child {
    margin-top: 0 !important;
}

/* ============================================
   HERO SLIDER SECTION
   ============================================ */
.hero-slider-section {
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 40px;
    background-color: transparent;
    width: 100%;
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    overflow: hidden;
}

/* Wood background - no image */
.slide-wood-bg {
    background-image: none;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: top left;
    background-size: auto;
    position: relative;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 400px;
}

.slide {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.slide-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    max-height: 400px;
    padding: 40px 60px;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}

/* Left vine decoration */
.slide-vine-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 120px;
    background-image: none;
    background-color: transparent;
    background-size: none;
    background-position: none;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

.slide-content-left {
    flex: 1;
    padding: 20px 40px 20px 120px;
    color: #ffffff;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide-content-left .script-text {
    font-family: 'Berkshire Swash Fallback', 'Berkshire Swash', cursive !important;
    font-size: 65px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    text-align: center !important;
    margin-bottom: 15px;
    display: block;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-feature-settings: normal !important;
    font-variant: normal !important;
    font-kerning: normal !important;
    text-rendering: optimizeLegibility !important;
    font-stretch: normal !important;
    font-variant-ligatures: normal !important;
    font-variant-caps: normal !important;
    font-variant-numeric: normal !important;
}

.slide-content-left h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    font-family: 'Arial Black', 'Impact', sans-serif;
}

.slide-main-title {
    font-family: 'Luckiest Guy Fallback', 'Luckiest Guy', cursive !important;
    font-size: 85px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    text-align: center !important;
    margin-bottom: 25px;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-feature-settings: normal !important;
    font-variant: normal !important;
    font-kerning: normal !important;
    text-rendering: optimizeLegibility !important;
    font-stretch: normal !important;
    font-variant-ligatures: normal !important;
    font-variant-caps: normal !important;
    font-variant-numeric: normal !important;
}

.slide-content-right {
    flex: 1;
    text-align: center;
    padding: 20px 40px;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide-content-right .script-title {
    font-family: 'Dancing Script', 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-2-title {
    font-family: 'Berkshire Swash Fallback', 'Berkshire Swash', cursive !important;
    font-size: 100px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-align: center !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-feature-settings: normal !important;
    font-variant: normal !important;
    margin-bottom: 30px;
}

/* Slide 2 button */
.slide-content-left .btn-slide-buy {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.slide-content-right .dotted-line {
    border-top: 2px dashed rgba(255, 255, 255, 0.6);
    margin: 15px auto;
    width: 200px;
}

.slide-image-circle {
    width: 465px;
    height: 465px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: rgba(49, 51, 55, 0.7); /* #313337 70% opacity */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Pseudo-element for circle effect */
.slide-image-circle::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background-color: transparent;
    z-index: 1;
    pointer-events: none;
}

.slide-image-circle img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    padding: 20px;
    cursor: pointer;
    transition: opacity 0.3s;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-controls:hover {
    opacity: 0.7;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

/* Slider buttons */
.slide-content-left .btn-primary,
.slide-content-right .btn-success {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.slide-content-left .btn-primary:hover,
.slide-content-right .btn-success:hover {
    background-color: #138496;
    border-color: #138496;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Slide 1 button (teal) - 深色背景提升白色文字对比度 */
.btn-slide-menu {
    background-color: #2a7a82 !important;
    border-color: #2a7a82 !important;
    color: #ffffff !important;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-slide-menu:hover {
    background-color: #247078 !important;
    border-color: #247078 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Slide 2 button (cyan) */
.btn-slide-buy {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
    color: white !important;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-slide-buy:hover {
    background-color: #138496 !important;
    border-color: #138496 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    body {
        background-attachment: scroll;
    }
    
    .slide-container {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
    }
    
    .slide-content-left {
        padding: 20px;
        text-align: center;
        padding-left: 20px;
    }
    
    .slide-content-left h2,
    .slide-main-title {
        font-size: 2rem;
    }
    
    .slide-content-right .script-title {
        font-size: 2.5rem;
    }
    
    .slide-image-circle {
        width: 280px;
        height: 277px;
    }
    
    .hero-slider-section {
        height: 400px;
        min-height: 400px;
    }
    
    .slide-vine-left {
        width: 80px;
    }
}

@media (max-width: 575.98px) {
    .slide-container {
        padding: 20px 15px;
        height: 100%;
    }
    
    .slide-content-left {
        padding: 15px;
        padding-left: 15px;
    }
    
    .slide-content-left h2,
    .slide-main-title {
        font-size: 1.5rem;
    }
    
    .slide-content-left .script-text {
        font-size: 65px !important;
    }
    
    .slide-content-right .script-title {
        font-size: 2rem;
    }
    
    .slide-image-circle {
        width: 240px;
        height: 237px;
    }
    
    .hero-slider-section {
        height: 400px;
        min-height: 400px;
    }
    
    .slider-controls {
        padding: 15px;
        font-size: 2rem;
    }
    
    .slide-vine-left {
        width: 60px;
    }
}

