Files
fod/kr/assets/css/promotion.scss

497 lines
9.7 KiB
SCSS

@charset "UTF-8";
@import "utils.scss";
/*변수파일 import*/
// 부드러운 스크롤 애니메이션을 위한 기본 설정
// html {
// scroll-behavior: smooth;
// }
// jQuery easing 함수를 위한 CSS 애니메이션
@keyframes easeInOutQuart {
0% {
transform: translateY(0);
}
100% {
transform: translateY(0);
}
}
#promotion {
.contentWarp {
max-width: 100%;
margin-top: 0;
}
.promotionHeader {
width: 100%;
height: 108rem;
background: url("../images/kia/promotion/kv_promotion.jpg") no-repeat center center / auto 100%;
.promotionHeaderInner {
width: 100%;
max-width: 120rem;
margin: 0 auto;
padding-top: 71.4rem;
.pageTitle {
h1 {
font-size: 4.8rem;
font-weight: 600;
color: #fff;
}
p {
font-size: 1.6rem;
font-weight: 400;
color: #fff;
}
}
}
}
// 탭 네비게이션 스타일
.tabNavigation {
width: 100%;
background: #fff;
border-bottom: 1px solid #e5e5e5;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
.tabNavigationInner {
max-width: 120rem;
margin: 0 auto;
.tabList {
display: flex;
list-style: none;
margin: 0;
padding: 0;
.tabItem {
flex: 1;
.tabLink {
display: block;
padding: 2rem 1.5rem;
text-decoration: none;
color: #666;
font-size: 1.6rem;
font-weight: 400;
text-align: center;
border-bottom: 3px solid transparent;
transition: all 0.3s ease;
&:hover {
color: #333;
}
}
&.active {
.tabLink {
color: #333;
font-weight: 600;
border-bottom-color: #333;
}
}
}
}
}
}
// 탭 콘텐츠 영역 스타일
.tabContentArea {
width: 100%;
background: #fff;
min-height: 60rem;
position: relative;
.tabContentInner {
// max-width: 120rem;
margin: 0 auto;
position: relative;
.tabContent {
min-height: 60rem;
display: block;
opacity: 1;
visibility: visible;
transform: none;
position: relative;
margin-bottom: 4rem;
.contentSection {
h2 {
font-size: 3.2rem;
font-weight: 600;
color: #333;
margin-bottom: 2rem;
}
p {
font-size: 1.6rem;
color: #666;
line-height: 1.6;
margin-bottom: 3rem;
}
}
}
}
}
.contentSectionInner {
max-width: 120rem;
margin: 0 auto;
}
// Disney 스와이퍼 스타일
.disneySwiperContainer {
width: 100%;
overflow: hidden;
margin-top: 4rem;
padding: 2rem 0;
.disneySwiper {
width: 100%;
padding: 2rem 0 4rem;
.swiper-slide {
width: 58rem !important;
height: 36rem;
flex-shrink: 0;
.themeCard {
border-radius: 2rem;
padding: 3rem 2rem;
text-align: center;
color: #fff;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transition: all 0.3s ease;
h3 {
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 1rem;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
p {
font-size: 1.4rem;
opacity: 0.9;
line-height: 1.4;
margin: 0;
}
}
}
// 네비게이션 버튼 스타일
.swiper-button-next,
.swiper-button-prev {
display: none;
color: #333;
background: rgba(255, 255, 255, 0.9);
width: 5rem;
height: 5rem;
border-radius: 50%;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
&:after {
font-size: 1.8rem;
font-weight: bold;
}
&:hover {
background: #fff;
transform: scale(1.1);
}
}
// 페이지네이션 스타일
.swiper-pagination {
bottom: 0;
.swiper-pagination-bullet {
background: #ddd;
opacity: 1;
width: 1.2rem;
height: 1.2rem;
margin: 0 0.5rem;
&.swiper-pagination-bullet-active {
background: #333;
transform: scale(1.2);
}
}
}
}
}
// Notice 박스 스타일
.noticeBox {
background: #fff;
border-radius: 1rem;
padding: 2rem;
margin: 3rem 0;
border: 1px solid #e5e5e5;
h3 {
font-size: 1.8rem;
font-weight: 600;
color: #333;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid #e5e5e5;
}
ul {
list-style: none;
padding: 0;
margin: 0;
li {
position: relative;
padding-left: 2rem;
margin-bottom: 1rem;
font-size: 1.4rem;
color: #666;
line-height: 1.5;
&:before {
content: "";
position: absolute;
left: 0;
color: #333;
font-weight: bold;
}
&:last-child {
margin-bottom: 0;
}
}
}
}
// Available Cars 탭 스타일
.carList {
margin-top: 3rem;
}
// Select Guide 탭 스타일
.guideSteps {
margin-top: 3rem;
.stepItem {
display: flex;
align-items: flex-start;
margin-bottom: 3rem;
.stepNumber {
width: 4rem;
height: 4rem;
background: #333;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
font-weight: 600;
margin-right: 2rem;
flex-shrink: 0;
}
.stepContent {
flex: 1;
h3 {
font-size: 2rem;
font-weight: 600;
color: #333;
margin-bottom: 1rem;
}
p {
font-size: 1.4rem;
color: #666;
line-height: 1.5;
margin: 0;
}
}
}
}
// More Features 탭 스타일
.featuresList {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
gap: 2rem;
margin-top: 3rem;
.featureCard {
padding: 2rem;
background: #fff;
border: 1px solid #e5e5e5;
border-radius: 1rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
h3 {
font-size: 1.8rem;
font-weight: 600;
color: #333;
margin-bottom: 1rem;
}
p {
font-size: 1.4rem;
color: #666;
line-height: 1.5;
margin: 0;
}
}
}
// Information 탭 스타일
.infoGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
gap: 3rem;
margin-top: 3rem;
.infoSection {
h3 {
font-size: 2rem;
font-weight: 600;
color: #333;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 2px solid #e5e5e5;
}
ul {
list-style: none;
padding: 0;
margin: 0;
li {
padding: 0.8rem 0;
font-size: 1.4rem;
color: #666;
border-bottom: 1px solid #f0f0f0;
&:last-child {
border-bottom: none;
}
&:before {
content: "";
color: #333;
font-weight: bold;
margin-right: 1rem;
}
}
}
}
}
// 반응형 스타일
@media (max-width: 768px) {
.tabNavigation {
.tabNavigationInner {
.tabList {
.tabItem {
.tabLink {
padding: 1.5rem 1rem;
font-size: 1.4rem;
}
}
}
}
}
.tabContentArea {
width: 100%;
.tabContentInner {
.tabContent {
.contentSection {
h2 {
font-size: 2.4rem;
}
}
}
}
}
// Disney 스와이퍼 모바일 스타일
.disneySwiperContainer {
margin-top: 3rem;
padding: 1rem 0;
.disneySwiper {
padding: 1rem 0 3rem;
.swiper-slide {
.themeCard {
padding: 2rem 1.5rem;
h3 {
font-size: 1.8rem;
margin-bottom: 0.8rem;
}
p {
font-size: 1.2rem;
}
}
}
.swiper-button-next,
.swiper-button-prev {
width: 4rem;
height: 4rem;
&:after {
font-size: 1.4rem;
}
}
}
}
.featureGrid,
.carList,
.featuresList,
.infoGrid {
grid-template-columns: 1fr;
gap: 2rem;
}
// Notice 박스 모바일 스타일
.noticeBox {
padding: 1.5rem;
margin: 2rem 0;
h3 {
font-size: 1.6rem;
}
ul li {
font-size: 1.3rem;
padding-left: 1.5rem;
}
}
// 차량 목록 모바일 스타일
.carList {
.carItem {
flex-direction: column;
text-align: center;
padding: 1.5rem;
.carImage {
width: 6rem;
height: 6rem;
}
.carInfo {
h3 {
font-size: 1.6rem;
}
p {
font-size: 1.3rem;
}
}
}
}
.guideSteps {
.stepItem {
flex-direction: column;
text-align: center;
.stepNumber {
margin-right: 0;
margin-bottom: 1rem;
}
}
}
}
}