/* product-adra.css - LIC 페이지 CSS를 기반으로 재사용 및 약간 수정 */

/* 🎨 [이전 요청] 제품 제목 및 소개 섹션 배경 스타일 */
.adra-hero-content {
    background-image: url('../images/bg/adra_b1.jpg'); /* 경로 수정: adra_b1.jpg -> adra_bg1.jpg */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    margin-bottom: 50px;
    border-radius: 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    position: relative; 
    overflow: hidden; 
}

/* 가독성을 높이기 위한 오버레이 */
.adra-hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* 라이트 모드 오버레이 (30% Opacity) */
    z-index: 1;
    transition: background-color 0.3s ease;
}

/* 다크 모드일 때 오버레이를 더 어둡게 (65% Opacity) */
.dark-mode .adra-hero-content::before {
    background-color: rgba(0, 0, 0, 0.65); 
}

/* h1과 p의 텍스트가 오버레이 위로 오도록 설정 */
.adra-hero-content h1, .adra-hero-content p {
    position: relative;
    z-index: 2;
    color: #fff !important; /* 텍스트 색상을 흰색으로 강제 */
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.adra-hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

/* 🎨 [신규 요청] 각 feature-card에 대한 공통 스타일 (배경 이미지 및 오버레이) */
.feature-card {
	/* background-color: var(--header-bg); <-- 배경 이미지 적용을 위해 제거 */
	background-size: cover;
	background-position: center;
	position: relative; 
	overflow: hidden; 
	
    /* 텍스트 색상 및 그림자 (이미지 위 가독성 확보) */
    color: #fff; 
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    
    /* 기존 스타일 유지 */
	border-radius: 8px;
	padding: 25px;
	text-align: left;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* 가독성을 높이기 위한 오버레이 */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Light Mode Opacity (40%) */
    z-index: 1;
    transition: background-color 0.3s ease;
}

/* 다크 모드일 때 오버레이를 더 어둡게 (70% Opacity) */
.dark-mode .feature-card::before {
    background-color: rgba(0, 0, 0, 0.7); 
}

/* 🎨 [신규 요청] 각 feature-card에 고유한 배경 이미지 적용 */
.feature-card-1 {
    background-image: url('../images/bg/adra_banner_1.jpg');
}
.feature-card-2 {
    background-image: url('../images/bg/adra_banner_2.jpg');
}
.feature-card-3 {
    background-image: url('../images/bg/adra_banner_3.jpg');
}
.feature-card-4 {
    background-image: url('../images/bg/adra_banner_4.jpg');
}

/* 텍스트가 오버레이 위로 오도록 설정 및 색상 강제 지정 */
.feature-card h4, .feature-card p {
    position: relative;
    z-index: 2;
    color: #fff !important; 
}


/* 기존 스타일 */
.product-detail-section {
	padding: 100px 0;
}
.product-detail-section h1 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}
.product-detail-section h3 {
	border-bottom: 2px solid var(--primary-color);
	padding-bottom: 10px;
	margin-bottom: 20px;
	font-size: 1.5em;
}
.product-detail-section p, .product-detail-section ul, .product-detail-section li {
	font-size: 1.1em;
	line-height: 1.8;
	color: var(--text-color);
	margin-bottom: 1rem;
}
.product-detail-section ul {
	list-style-type: none;
	padding-left: 0;
}
.product-detail-section li {
	margin-bottom: 10px;
}

/* 제품 상세 정보를 2열로 나누는 그리드 레이아웃 */
.product-details-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 50px;
}
@media (max-width: 768px) {
	.product-details-grid {
		grid-template-columns: 1fr;
	}
}

/* 주요 특징 카드형 레이아웃 */
.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 30px;
	margin-bottom: 50px;
}

/* 텍스트 색상을 흰색으로 강제 변경 */
.feature-card h4 {
	font-size: 1.25em;
	color: #fff !important; 
	margin-bottom: 15px;
	font-weight: bold;
}
.feature-card p {
	font-size: 0.95em;
	color: #fff !important; 
	line-height: 1.6;
	flex-grow: 1;
}
@media (max-width: 1024px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767px) {
	.features-grid {
		grid-template-columns: 1fr;
	}
}

/* 비디오 섹션 */
.video-section {
    padding: 50px 0;
    margin-top: 50px;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.video-item {
    text-align: center;
}
.video-item h4 {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.video-item iframe {
    width: 100%;
    height: 315px;
}
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* 브로슈어 섹션 */
.brochure-section {
    padding: 50px 0;
    margin-top: 50px;
}
.brochure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.brochure-item {
    text-align: center;
    background-color: var(--header-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.brochure-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}
.brochure-item h4 {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}
.download-btn:hover {
    background-color: #003b8e; /* 어두운 primary color */
}
@media (max-width: 1024px) {
    .brochure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .brochure-grid {
        grid-template-columns: 1fr;
    }
}

/* 이미지 자료 섹션 (LIC와 동일) */
.image-gallery-section {
	padding: 50px 0;
	margin-top: 50px;
}
.gallery-title h3 {
	border-bottom: 2px solid var(--primary-color);
	padding-bottom: 10px;
	margin-bottom: 20px;
	font-size: 1.5em;
}
.category-filter {
	display: flex;
	gap: 15px;
	margin-bottom: 30px;
	justify-content: center;
}
.category-button {
	background: none;
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	padding: 8px 15px;
	border-radius: 20px;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
	font-weight: bold;
}
.category-button.active {
	background-color: var(--primary-color);
	color: #fff;
}
.gallery-container {
	position: relative;
	max-width: 92%;
	margin: 0 auto;
}
.gallery-wrapper {
	display: flex;
	overflow-x: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 10px 0;
}
.gallery-item {
	flex: 0 0 auto;
	width: 300px; /* 카드 너비 */
	margin-right: 20px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	cursor: pointer;
}
.gallery-item img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}
.nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	padding: 10px;
	cursor: pointer;
	z-index: 10;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nav-arrow.left { left: -50px; }
.nav-arrow.right { right: -50px; }

/* 라이트박스 (팝업) 스타일 */
.lightbox {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	justify-content: center;
	align-items: center;
}
.lightbox-content {
	max-width: 90%;
	max-height: 90%;
	animation-name: zoom;
	animation-duration: 0.6s;
}
.lightbox-content img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	display: block;
	margin: auto;
}
.lightbox .close {
	position: absolute;
	top: 20px;
	right: 35px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
	cursor: pointer;
}
@keyframes zoom {
	from {transform:scale(0)} 
	to {transform:scale(1)}
}
@media (max-width: 768px) {
	.gallery-item {
		width: 250px; /* 모바일에서 카드 너비 줄임 */
	}
	.nav-arrow {
		display: none; /* 모바일에서 화살표 숨기기 */
	}
}