/* 全局樣式 */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Microsoft JhengHei", sans-serif;
    background: #18120b;
    overflow-x: hidden;
    color: #e6c28b;
}

/* 金色背景動畫 */
.gold-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    z-index: -1;
}

.gold-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAzNGMwIDEtMSAyLTIgMnMtMi0xLTItMiAxLTIgMi0yIDIgMSAyIDJ6IiBmaWxsPSIjZTY5YzhiIiBmaWxsLW9wYWNpdHk9IjAuMSIvPjwvZz48L3N2Zz4=');
    opacity: 0.1;
    z-index: -1;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

.main-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #7a1818 url('img/bg-line.png') no-repeat left top;
    background-size: cover;
    z-index: 0;
}

.hero-fullscreen {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100vh;
    position: relative;
    justify-content: flex-start;
}

.hero-left-text {
    width: 340px;
    min-width: 200px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    color: #fff;
    padding-left: 60px;
    padding-right: 20px;
}

.vertical-title {
    writing-mode: vertical-rl;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-bottom: 0;
    line-height: 1.2;
}
.vertical-title .main-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3em;
}
.vertical-title .sub-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #e6c28b;
    font-family: 'Noto Serif TC', serif;
    letter-spacing: 0.2em;
}
.vertical-title .desc {
    font-size: 1.1rem;
    margin-top: 2rem;
    writing-mode: initial;
    text-align: left;
    margin-left: -30px;
    margin-bottom: 0;
    color: #f5e6d0;
    letter-spacing: 0.1em;
    line-height: 2;
}

.hero-circle-carousel {
    width: 800px;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.circle-carousel-wrap {
    width: 800px;
    height: 800px;
    border-radius: 50%;
    overflow: visible;
    background: none;
    box-shadow: 0 8px 60px 0 rgba(0,0,0,0.25), 0 0 0 8px #7a1818;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    border: 2px solid #e6c28b;
}
.circle-carousel-wrap .carousel-inner,
.circle-carousel-wrap .carousel-item {
    width: 800px;
    height: 800px;
    position: absolute;
    top: 0; left: 0;
}
.circle-carousel-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}
.circle-mask {
    position: absolute;
    width: 800px;
    height: 800px;
    left: 0; top: 0;
    border-radius: 50%;
    background: rgba(122,24,24,0.05);
    box-shadow: 0 8px 60px 0 rgba(0,0,0,0.15);
    z-index: 2;
    pointer-events: none;
    border: 2px solid #e6c28b;
}

/* 讓輪播控制、標題等都在遮罩上層 */
.carousel-caption-custom,
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
}

.carousel-caption-custom {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    text-align: center;
    color: #fff;
    z-index: 10;
    background: linear-gradient(180deg, rgba(122,24,24,0.0) 0%, rgba(122,24,24,0.85) 100%);
    border-radius: 0 0 400px 400px / 0 0 120px 120px;
    padding: 40px 0 30px 0;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.12);
}
.carousel-title {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.2em;
}
.carousel-time {
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 1.1rem;
    margin-top: 10px;
}
.carousel-prev, .carousel-next {
    cursor: pointer;
    text-decoration: underline;
    color: #e6c28b;
    font-weight: bold;
}
.carousel-prev:hover, .carousel-next:hover {
    color: #fff;
}

/* RWD */
@media (max-width: 1200px) {
    .hero-circle-carousel, .circle-carousel-wrap {
        width: 70vw;
        height: 70vw;
        min-width: 220px;
        min-height: 220px;
    }
    .hero-left-text {
        width: 18vw;
        min-width: 120px;
        padding-left: 10px;
    }
}
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        min-height: 100vh;
    }
    .hero-left-text {
        width: 100vw;
        height: auto;
        align-items: center;
        margin-top: 30px;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    .hero-circle-carousel, .circle-carousel-wrap {
        width: 90vw;
        height: 90vw;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        min-height: 100vh;
    }
    .hero-left-text {
        width: 100vw;
        height: auto;
        align-items: center;
        margin-top: 30px;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    .hero-circle-carousel, .circle-carousel-wrap {
        width: 95vw;
        height: 95vw;
        margin: 0 auto;
    }
    .vertical-title {
        font-size: 1.2rem;
    }
    .vertical-title .main-title {
        font-size: 1.5rem;
    }
    .carousel-title {
        font-size: 1.2rem;
    }
}

/* 導航欄樣式 */
.navbar {
    position: absolute;
    top: 0; left: 0; width: 100%;
    background: rgba(26, 26, 26, 0.95) !important;
    z-index: 10;
    box-shadow: none;
    border-bottom: 1px solid rgba(230, 194, 139, 0.2);
}

.navbar .navbar-brand, .navbar .nav-link {
    color: #e6c28b !important;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}
.navbar .nav-link:hover {
    color: #ffd700 !important;
}

/* 輪播圖樣式 */
.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 10px;
}

/* 產品卡片樣式 */
.card {
    background: rgba(30,24,16,0.92) !important;
    border: 1.5px solid #e6c28b !important;
    box-shadow: 0 4px 24px rgba(230,194,139,0.10) !important;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(230, 194, 139, 0.1);
    border-color: rgba(230, 194, 139, 0.4);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 預約表單樣式 */
#contact {
    background: linear-gradient(135deg, #fffbe6 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

#contact .contact-info {
    background: rgba(30,24,16,0.92) !important;
    border: 1.5px solid #e6c28b !important;
    box-shadow: 0 8px 32px 0 rgba(191,161,74,0.18), 0 1.5px 8px 0 rgba(122,24,24,0.08);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 18px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

#contact .contact-info:hover {
    box-shadow: 0 16px 48px 0 rgba(191,161,74,0.28), 0 3px 16px 0 rgba(122,24,24,0.12);
    transform: translateY(-4px) scale(1.01);
}

#contact .contact-info > div:first-child {
    border-bottom: 1px dashed #e6c28b;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

#contact .contact-info h4, #contact .contact-info h5 {
    color: #e6c28b !important;
    font-weight: bold;
    letter-spacing: 0.05em;
}

#contact .contact-info p, #contact .contact-info a {
    font-size: 1.08rem;
    letter-spacing: 0.01em;
}

#contact .contact-info a {
    color: #bfa14a;
    word-break: break-all;
    transition: color 0.2s;
    text-decoration: none;
}

#contact .contact-info a:hover {
    color: #7a1818;
    text-decoration: underline;
}

#contact .contact-info i {
    color: #e6c28b;
    font-size: 1.1em;
    vertical-align: middle;
}

#contact .social-btns .btn {
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 8px;
    margin-bottom: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(191,161,74,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    color: #bfa14a;
}

#contact .social-btns .btn:last-child { margin-right: 0; }

#contact .social-btns .btn:hover {
    background: #e6c28b;
    color: #7a1818;
    box-shadow: 0 4px 16px rgba(191,161,74,0.18);
    transform: scale(1.08);
}

#contact .btn-outline-warning, #contact .btn-outline-primary, #contact .btn-outline-danger, #contact .btn-outline-success {
    border: none !important;
    background: none !important;
    color: inherit !important;
    padding: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

#contact .btn-outline-warning i { color: #ffe066; }
#contact .btn-outline-primary i { color: #1877f2; }
#contact .btn-outline-danger i { color: #e1306c; }
#contact .btn-outline-success i { color: #25d366; }

#contact .btn-outline-warning:hover i,
#contact .btn-outline-primary:hover i,
#contact .btn-outline-danger:hover i,
#contact .btn-outline-success:hover i {
    color: #fff;
}

#contact .map-responsive {
    min-height: 350px;
    background: #fff;
    border: 1.5px solid #e6c28b;
}

@media (max-width: 992px) {
    #contact .contact-info, #contact .map-responsive {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    #contact .map-responsive {
        min-height: 200px;
    }
}

.form-control:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 0.2rem rgba(230,194,139,0.25);
}

/* 頁尾樣式 */
footer {
    margin-top: 0;
    background: #18120b !important;
    color: #e6c28b !important;
    border-top: 2px solid #e6c28b;
}

footer a {
    color: #ffe066 !important;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

.hero-bg-line {
    position: absolute;
    left: 0; top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* 关于我们区块样式 */
#about {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/bg-pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.about-intro {
    background: rgba(30,24,16,0.92) !important;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.about-intro:hover {
    transform: translateY(-5px);
}

.about-intro p {
    position: relative;
    z-index: 1;
    color: #fffbe6 !important;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content {
    padding: 30px;
    background: rgba(30,24,16,0.92) !important;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #7a1818, #e6c28b);
    opacity: 0.8;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-content h3 {
    color: #e6c28b !important;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #7a1818, #e6c28b);
}

.about-content p {
    color: #fffbe6 !important;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content ul li {
    color: #fffbe6 !important;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

.about-content ul li:hover {
    transform: translateX(10px);
    color: #7a1818;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(122, 24, 24, 0.2) 0%, rgba(230, 194, 139, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-intro, .about-content, .about-image {
    animation: fadeInUp 0.8s ease-out forwards;
}

.about-content {
    animation-delay: 0.2s;
}

.about-image {
    animation-delay: 0.4s;
}

@media (max-width: 768px) {
    .about-content {
        text-align: center;
        padding: 20px;
    }
    
    .about-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .about-intro {
        padding: 20px;
    }
    
    .about-intro p {
        font-size: 1.1rem;
    }
}

/* 商品展示区块样式 */
#products {
    background: linear-gradient(135deg, #f8e7b3 0%, #f5d77a 100%);
    position: relative;
    overflow: hidden;
}

#products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/bg-pattern.png') repeat;
    opacity: 0.08;
    z-index: 0;
}

.product-categories {
    margin-bottom: 40px;
}

.product-categories .nav-pills {
    gap: 10px;
}

.product-categories .nav-link {
    color: #bfa14a;
    background: transparent;
    border: 2px solid #bfa14a;
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.product-categories .nav-link:hover,
.product-categories .nav-link.active {
    background: #bfa14a;
    color: #fff;
}

.product-card {
    background: rgba(30,24,16,0.92) !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(191,161,74,0.08);
    border: 1.5px solid #e6c28b !important;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(191,161,74,0.18);
}

.product-card .card-img-top {
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 20px;
}

.product-card .card-title {
    color: #e6c28b !important;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-card .card-text {
    color: #fffbe6 !important;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.product-card .price {
    color: #d4b24a;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
}

.btn-primary, .btn-primary:focus, .btn-primary:active {
    background: linear-gradient(90deg, #e6c28b 0%, #bfa14a 100%) !important;
    border: none !important;
    color: #18120b !important;
    font-weight: bold;
}
.btn-primary:hover {
    background: #bfa14a !important;
    color: #fffbe6 !important;
}

@media (max-width: 768px) {
    .product-categories .nav-link {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .product-card .card-img-top {
        height: 250px;
    }
    
    .product-card .card-title {
        font-size: 1.1rem;
    }
    
    .product-card .card-text {
        font-size: 0.9rem;
    }
    
    .product-card .price {
        font-size: 1.1rem;
    }
}

/* 最新消息/優惠活動區塊樣式 */
#news {
    background: linear-gradient(135deg, #f8e7b3 0%, #f5d77a 100%);
    position: relative;
    overflow: hidden;
}

#news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/bg-pattern.png') repeat;
    opacity: 0.08;
    z-index: 0;
}

.news-card {
    background: rgba(30,24,16,0.92) !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(191,161,74,0.2);
    transition: all 0.3s ease;
    height: 100%;
    border: 1.5px solid #e6c28b !important;
    position: relative;
    backdrop-filter: blur(5px);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(191,161,74,0.3);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(230,194,139,0.1) 0%, rgba(255,251,230,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(245,215,122,0.1) 0%, rgba(245,215,122,0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.news-content h3 {
    color: #e6c28b !important;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-date {
    color: #bfa14a;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-text {
    color: #fffbe6 !important;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-outline-primary {
    color: #e6c28b !important;
    border-color: #e6c28b !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #e6c28b !important;
    color: #18120b !important;
    border-color: #e6c28b !important;
}

@media (max-width: 768px) {
    .news-image {
        height: 250px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 1.3rem;
    }
    
    .news-text {
        font-size: 0.95rem;
    }
}

/* 區塊樣式 */
.section {
    position: relative;
    padding: 80px 0;
    background: rgba(40,32,20,0.85);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(230,194,139,0.08);
    margin-bottom: 40px;
    border-top: 1px solid rgba(230, 194, 139, 0.1);
    border-bottom: 1px solid rgba(230, 194, 139, 0.1);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 194, 139, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    z-index: -1;
}

/* 讓動畫能透出來 */
.container, .row, .col-12, .col-lg-6, .col-md-4, .col-lg-5, .col-lg-7 {
    background: transparent !important;
}

/* 讓表單、按鈕也有暗金色風格 */
.form-control {
    background: rgba(30,24,16,0.92);
    color: #e6c28b;
    border: 1.5px solid #e6c28b;
}
.form-control:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 0.2rem rgba(230,194,139,0.25);
}
.btn, .btn-primary, .btn-outline-primary {
    background: linear-gradient(90deg, #e6c28b 0%, #bfa14a 100%) !important;
    color: #18120b !important;
    border: none !important;
    font-weight: bold;
}
.btn:hover, .btn-primary:hover, .btn-outline-primary:hover {
    background: #bfa14a !important;
    color: #fffbe6 !important;
} 