/* ===================================================
   🚀 메가 업그레이드 v3.4.0 CSS
   - 히어로 섹션 황칠 사진 배경 교체
   - 12개 이미지 5배 확대 (500px → 1000px)
   - 글씨 3배 확대
   - 예약 안내 위치 조정
   - 푸터/장바구니 겹침 해결
   =================================================== */

/* ===================================================
   1️⃣ 히어로 섹션 - 황칠 사진 배경
   =================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    
    /* BTS 보라색 세련된 그라디언트 배경 */
    background: 
        linear-gradient(135deg, 
            rgba(88, 58, 197, 0.98) 0%,
            rgba(118, 77, 210, 0.95) 15%,
            rgba(148, 96, 223, 0.92) 30%,
            rgba(168, 115, 236, 0.90) 45%,
            rgba(148, 96, 223, 0.92) 60%,
            rgba(118, 77, 210, 0.95) 75%,
            rgba(88, 58, 197, 0.98) 100%
        );
    
    /* 애니메이션 */
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(186, 85, 211, 0.2) 0%, transparent 60%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    padding: 60px 40px;
}

/* ⚠️ v3.32.0: 히어로 텍스트 스타일 제거됨 (텍스트는 HTML에서 완전 삭제됨) */
/*
.hero-title {
    display: none !important;
}

.hero-title .hanja {
    display: none !important;
}

.hero-title .subtitle {
    display: none !important;
}

.hero-description {
    display: none !important;
}
*/

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 2s ease-out 0.6s both;
}

.hero-buttons .btn {
    font-size: 2rem !important; /* 3배 확대 */
    padding: 25px 60px !important;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-buttons .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================================
   2️⃣ 제품 이미지 3배 확대 (500px → 1500px)
   =================================================== */

.product-card {
    max-width: 1500px !important; /* 3배 확대 */
    margin: 0 auto;
}

.product-card img {
    width: 100% !important;
    height: 1500px !important; /* 3배 확대 (기존 500px × 3) */
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.3);
    cursor: pointer; /* 클릭 가능 표시 */
    transition: all 0.4s ease;
}

.product-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.product-grid {
    display: grid !important;
    grid-template-columns: 1fr !important; /* 1열로 변경 */
    gap: 150px !important; /* 간격 확대 */
    max-width: 1800px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* ===================================================
   3️⃣ 글씨 3배 확대
   =================================================== */

body {
    font-size: 24px !important; /* 3배 확대 */
    line-height: 1.8;
}

h1 {
    font-size: 6rem !important; /* 3배 확대 */
}

h2 {
    font-size: 4.5rem !important; /* 3배 확대 */
}

h3 {
    font-size: 3.6rem !important; /* 3배 확대 */
}

h4 {
    font-size: 3rem !important; /* 3배 확대 */
}

p {
    font-size: 2.4rem !important; /* 3배 확대 */
    line-height: 1.8;
}

.product-card-title {
    font-size: 4.5rem !important; /* 3배 확대 */
    font-weight: 900;
    margin: 30px 0;
}

.product-card-price {
    font-size: 5rem !important; /* 3배 확대 */
    font-weight: 900;
    color: #2d5016;
}

.product-card-description {
    font-size: 2.7rem !important; /* 3배 확대 */
    line-height: 1.8;
}

.product-card .badge {
    font-size: 2.1rem !important; /* 3배 확대 */
    padding: 15px 40px;
}

.btn {
    font-size: 2.8rem !important; /* 3배 확대 */
    padding: 30px 70px !important;
}

/* ===================================================
   4️⃣ 원산지/자생지 정보 3배 확대
   =================================================== */

.origin-info {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 60px;
    margin: 100px 0;
    border-radius: 40px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.15);
}

.origin-info h3 {
    font-size: 4.5rem !important; /* 3배 확대 */
    color: #2d5016;
    margin-bottom: 60px;
    text-align: center;
}

.origin-info p {
    font-size: 2.7rem !important; /* 3배 확대 */
    line-height: 2;
    color: #333;
    margin-bottom: 50px;
}

.origin-info ul {
    font-size: 2.4rem !important; /* 3배 확대 */
    line-height: 2.2;
}

.origin-info li {
    margin-bottom: 30px;
    padding-left: 40px;
}

/* ===================================================
   5️⃣ 예약 안내 위치 조정 (자연치유 섹션 바로 아래)
   =================================================== */

.reservation-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 60px;
    margin: 100px 0;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 20px 80px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 10; /* 장바구니보다 위 */
}

.reservation-notice h3 {
    font-size: 4.5rem !important; /* 3배 확대 */
    margin-bottom: 50px;
}

.reservation-notice p {
    font-size: 2.7rem !important; /* 3배 확대 */
    line-height: 2;
    margin-bottom: 60px;
}

.reservation-notice .contact-highlight {
    font-size: 3.6rem !important; /* 3배 확대 */
    font-weight: 900;
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    margin: 40px 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===================================================
   6️⃣ 푸터/장바구니 겹침 해결
   =================================================== */

footer {
    margin-bottom: 150px !important; /* 장바구니 공간 확보 */
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

/* 연락처 박스 */
.footer-contact-box {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.2) 0%, 
        rgba(118, 75, 162, 0.2) 100%);
    border: 3px solid rgba(255, 215, 0, 0.5);
    border-radius: 30px;
    padding: 40px 60px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.footer-contact-box p {
    margin: 0;
    padding: 0;
}

.footer-contact-box strong {
    color: #FFD700;
    font-weight: 900;
}

.floating-cart-button {
    display: none !important; /* 장바구니 기능 삭제 */
}

/* ===================================================
   7️⃣ 이미지 확대 모달 (Image Zoom Modal)
   =================================================== */

.image-zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
}

.image-zoom-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

/* 모달 컨텐츠 컨테이너 */
.image-zoom-content {
    display: flex;
    gap: 40px;
    max-width: 1600px;
    width: 100%;
    align-items: flex-start;
}

/* 왼쪽: 이미지 */
.image-zoom-left {
    flex: 0 0 47.5%; /* 절반 크기 */
}

.image-zoom-modal img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.4s ease;
}

/* 오른쪽: 제품 상세 정보 */
.image-zoom-right {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    color: white;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.product-detail-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.product-detail-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.product-detail-price {
    font-size: 3rem;
    font-weight: 900;
    color: #90EE90;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.product-detail-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.product-detail-section:last-child {
    border-bottom: none;
}

.product-detail-section h3 {
    font-size: 1.8rem !important;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD700;
}

.product-detail-section p {
    font-size: 1.6rem !important;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #F5F5F5;
}

.product-detail-list {
    list-style: none;
    padding: 0;
}

.product-detail-list li {
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #E8E8E8;
}

.product-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #90EE90;
    font-weight: 900;
    font-size: 1.6rem;
}

/* 스크롤바 스타일 */
.image-zoom-right::-webkit-scrollbar {
    width: 10px;
}

.image-zoom-right::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.image-zoom-right::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.6);
    border-radius: 10px;
}

.image-zoom-right::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.8);
}

.image-zoom-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-zoom-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.image-zoom-info {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 20px 50px;
    border-radius: 50px;
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================================
   8️⃣ 상담 분야 글씨 2배 확대
   =================================================== */

.consultation-card {
    font-size: 2rem !important; /* 2배 확대 */
}

.consultation-card .card-icon {
    font-size: 4rem !important; /* 2배 확대 */
}

.consultation-card .card-title {
    font-size: 4.8rem !important; /* 4배 확대 (기존 2.4rem의 2배) */
    font-weight: 800;
}

.consultation-card .card-description {
    font-size: 1.8rem !important; /* 2배 확대 */
    line-height: 1.8;
}

/* ===================================================
   9️⃣ 모바일 반응형
   =================================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem !important;
    }
    
    .hero-title .hanja {
        font-size: 5rem !important;
    }
    
    .hero-title .subtitle {
        font-size: 2rem !important;
    }
    
    .hero-description {
        font-size: 1.8rem !important;
    }
    
    .hero-buttons .btn {
        font-size: 1.5rem !important;
        padding: 18px 40px !important;
    }
    
    /* 모바일 제품 이미지 크기 조정 */
    .product-card {
        max-width: 100% !important;
    }
    
    .product-card img {
        height: 800px !important; /* 모바일: 800px */
    }
    
    .product-grid {
        gap: 80px !important;
        padding: 40px 20px;
    }
    
    .product-card-title {
        font-size: 3rem !important;
    }
    
    .product-card-price {
        font-size: 3.5rem !important;
    }
    
    h2 {
        font-size: 3rem !important;
    }
    
    h3 {
        font-size: 2.5rem !important;
    }
    
    p {
        font-size: 1.8rem !important;
    }
    
    .origin-info,
    .reservation-notice {
        padding: 60px 30px;
    }
    
    footer {
        margin-bottom: 120px !important;
    }
    
    .footer-contact-box {
        padding: 30px 30px;
    }
    
    /* 모바일 이미지 확대 모달 */
    .image-zoom-modal {
        padding: 20px;
    }
    
    .image-zoom-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-zoom-left {
        flex: 0 0 100%;
    }
    
    .image-zoom-modal img {
        max-height: 50vh;
    }
    
    .image-zoom-right {
        padding: 25px;
        max-height: 40vh;
    }
    
    .product-detail-title {
        font-size: 2rem !important;
    }
    
    .product-detail-price {
        font-size: 2.2rem !important;
    }
    
    .product-detail-section h3 {
        font-size: 1.5rem !important;
    }
    
    .product-detail-section p,
    .product-detail-list li {
        font-size: 1.3rem !important;
    }
    
    .image-zoom-close {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .image-zoom-info {
        bottom: 20px;
        font-size: 1.4rem;
        padding: 15px 30px;
    }
}
