/* ==========================================================================
   대전 하늘채 스카이앤 3차 - 프리미엄 디자인 스타일
   관리자는 워드프레스 블록 편집기에서 문구/이미지/버튼만 수정하면 됩니다.
   ========================================================================== */

:root {
	--premium-navy: #0b1420;
	--premium-navy-2: #121c2b;
	--premium-gold: #c9a24b;
	--premium-gold-light: #e2c887;
	--premium-cream: #f7f5f0;
	--premium-text: #2b2b2b;
}

/* 상단 메뉴 고정 (스크롤과 관계없이 항상 상단에 노출) */
.site-header,
#header-grid {
	position: sticky;
	top: 0;
	z-index: 900;
}

/* --------------------------------------------------------------------------
   premium-hero : 메인 히어로 섹션 (core/cover 블록에 적용)
   -------------------------------------------------------------------------- */
.premium-hero.wp-block-cover {
	min-height: 640px;
}

.premium-hero .wp-block-cover__background {
	background-color: rgba(11, 20, 32, 0.45);
}

.premium-hero .wp-block-cover__inner-container {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 24px;
}

.premium-hero h1,
.premium-hero h2 {
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.premium-hero p {
	color: #f1ede4;
	font-size: 19px;
	line-height: 1.7;
}

.premium-hero .wp-block-button__link {
	border-radius: 2px;
	padding: 16px 36px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 14px;
}

.premium-hero .wp-block-button.is-style-primary .wp-block-button__link {
	background: var(--premium-gold);
	color: #17140b;
}

.premium-hero .wp-block-button.is-style-primary .wp-block-button__link:hover {
	background: var(--premium-gold-light);
}

.premium-hero .wp-block-button:not(.is-style-primary) .wp-block-button__link {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.7);
}

.premium-hero .wp-block-button:not(.is-style-primary) .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   premium-section : 일반 콘텐츠 섹션 (core/group 블록에 적용)
   -------------------------------------------------------------------------- */
.premium-section {
	max-width: 1180px;
	margin: 0 auto;
	padding: 100px 24px;
	background: var(--premium-cream);
}

.premium-section.is-style-white {
	background: #ffffff;
}

.premium-section h2 {
	position: relative;
	font-size: 34px;
	font-weight: 700;
	color: var(--premium-navy);
	padding-bottom: 18px;
	margin-bottom: 30px;
}

.premium-section h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 3px;
	background: var(--premium-gold);
}

.premium-section.has-text-align-center h2::after,
.premium-section .has-text-align-center h2::after {
	left: 50%;
	transform: translateX(-50%);
}

.premium-section p {
	color: var(--premium-text);
	line-height: 1.85;
	font-size: 16px;
}

.premium-section .premium-eyebrow {
	display: inline-block;
	color: var(--premium-gold);
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-size: 13px;
	margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   premium-dark : 다크 배경 섹션 (CTA, 문의, 하이라이트 등)
   -------------------------------------------------------------------------- */
.premium-dark {
	max-width: 1000px;
	margin: 48px auto;
	text-align: center;
	background: linear-gradient(135deg, var(--premium-navy) 0%, var(--premium-navy-2) 100%);
	color: #f2eee3;
	padding: 90px 24px;
	border-radius: 14px;
}

.premium-dark h2,
.premium-dark h3 {
	color: #ffffff;
	font-weight: 700;
}

.premium-dark p {
	color: #d8d3c6;
	font-size: 17px;
	line-height: 1.8;
}

.premium-dark .wp-block-button__link {
	background: var(--premium-gold);
	color: #17140b;
	border-radius: 2px;
	padding: 14px 32px;
	font-weight: 600;
}

.premium-dark .wp-block-button__link:hover {
	background: var(--premium-gold-light);
}

/* --------------------------------------------------------------------------
   premium-cards : 카드형 콘텐츠 (core/columns 블록에 적용)
   -------------------------------------------------------------------------- */
.premium-cards {
	gap: 28px !important;
}

.premium-cards > .wp-block-column {
	background: #ffffff;
	border-radius: 6px;
	padding: 36px 28px !important;
	box-shadow: 0 8px 30px rgba(11, 20, 32, 0.08);
	border-top: 3px solid var(--premium-gold);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.premium-cards > .wp-block-column:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(11, 20, 32, 0.14);
}

.premium-cards h3,
.premium-cards h4 {
	color: var(--premium-navy);
	font-weight: 700;
	margin-top: 16px;
}

.premium-cards p {
	color: #555;
	font-size: 15px;
	line-height: 1.75;
}

.premium-cards img {
	border-radius: 4px;
}

/* --------------------------------------------------------------------------
   premium-gallery : 이미지 갤러리 (유닛/평면, 보도자료 썸네일 등)
   -------------------------------------------------------------------------- */
.premium-gallery.wp-block-gallery {
	gap: 20px;
}

.premium-gallery .wp-block-image {
	overflow: hidden;
	border-radius: 6px;
}

.premium-gallery .wp-block-image img {
	transition: transform 0.4s ease;
}

.premium-gallery .wp-block-image:hover img {
	transform: scale(1.06);
}

.premium-gallery figcaption {
	font-size: 14px;
	color: var(--premium-navy);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   fixed-call-button : 하단 고정 전화 버튼 (스크롤과 무관하게 항상 노출)
   -------------------------------------------------------------------------- */
.fixed-call-button {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 9999;
	width: calc(100% - 32px);
	max-width: 420px;
	pointer-events: none;
}

.fixed-call-button p {
	margin: 0;
	pointer-events: auto;
}

.fixed-call-button a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	background: var(--premium-navy);
	color: #ffffff !important;
	border: 1px solid var(--premium-gold);
	border-radius: 50px;
	padding: 16px 20px;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(11, 20, 32, 0.35);
	pointer-events: auto;
}

.fixed-call-button a:hover {
	background: var(--premium-navy-2);
}

.fixed-call-button a::before {
	content: "\260E";
	color: var(--premium-gold);
	font-size: 18px;
}

body.has-fixed-call-button {
	padding-bottom: 78px;
}

/* --------------------------------------------------------------------------
   반응형 (모바일 / 태블릿)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.premium-section {
		padding: 70px 20px;
	}

	.premium-dark {
		padding: 70px 20px;
	}

	.premium-hero.wp-block-cover {
		min-height: 520px;
	}
}

@media (max-width: 767px) {
	.premium-section {
		padding: 48px 16px;
	}

	.premium-section h2 {
		font-size: 26px;
	}

	.premium-dark {
		padding: 48px 16px;
	}

	.premium-hero.wp-block-cover {
		min-height: 440px;
	}

	.premium-hero h1,
	.premium-hero h2 {
		font-size: 30px !important;
	}

	.premium-hero p {
		font-size: 16px;
	}

	.premium-cards {
		gap: 16px !important;
	}

	.premium-cards > .wp-block-column {
		padding: 24px 20px !important;
	}

	.fixed-call-button {
		bottom: 14px;
		width: calc(100% - 24px);
	}

	.fixed-call-button a {
		padding: 14px 16px;
		font-size: 15px;
	}

	body.has-fixed-call-button {
		padding-bottom: 68px;
	}
}
