/* 
* Growdy - 비즈니스 소개 웹사이트
* 메인 스타일시트
*/

/* 기본 스타일 */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #475569;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --body-color: #64748b;
    --body-bg: #ffffff;
}

/* 로고 스타일 */
.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-transform: lowercase;
}

footer .logo-text {
    font-size: 24px;
    color: white;
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--body-color);
    background-color: var(--body-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.text-primary {
    color: var(--primary-color) !important;
}
#logo {
    width: 200px;
    height: 60px;
}
/* 헤더 스타일 */
header {
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    color: var(--dark-color) !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:before {
    width: 70%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* 섹션 공통 스타일 */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

section h2 {
    position: relative;
    margin-bottom: 2rem;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.bg-light {
    background-color: #f8fafc;
}

/* 히어로 섹션 */
.hero-section {
    padding: 180px 0 100px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.05);
    z-index: 0;
}

/* 서비스 아이콘 */
.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.service-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: white;
}

.service-card:hover .icon-box i {
    color: white !important;
}

/* 포트폴리오 아이템 */
.portfolio-item {
    transition: all 0.3s ease;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.portfolio-item img {
    transition: all 0.5s ease;
    height: 250px;
    object-fit: cover;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* 서비스 섹션 추가 스타일 */
#services {
    background: linear-gradient(to right, #f8fafc, #e0f2fe);
    min-height: 80vh;
    position: relative;
    z-index: 2;
    visibility: visible !important;
    display: block !important;
}

#services .container {
    position: relative;
    z-index: 3;
}

#services .service-card {
    background-color: white;
    z-index: 4;
}

/* 포트폴리오 섹션 추가 스타일 */
#portfolio {
    background-color: #ffffff;
    min-height: 80vh;
    position: relative;
    z-index: 2;
    visibility: visible !important;
    display: block !important;
}

#portfolio .container {
    position: relative;
    z-index: 3;
}

#portfolio .portfolio-item {
    background-color: white;
    z-index: 4;
}

/* 포트폴리오 필터 */
.portfolio-filter {
    margin-bottom: 30px;
}

.portfolio-filter button {
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-filter button.active,
.portfolio-filter button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* AOS 애니메이션 보조 스타일 */
[data-aos] {
    pointer-events: auto !important;
}

[data-aos].aos-animate {
    pointer-events: auto !important;
}

/* 고객 후기 슬라이더 */
.testimonials-slider {
    position: relative;
    padding: 20px 0;
    margin: 0 -15px;
}

/* 슬라이더 화살표 스타일 */
.slick-prev, 
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
    opacity: 1;
    background-color: var(--primary-dark);
}

.slick-prev {
    left: -5px;
}

.slick-next {
    right: -5px;
}

.slick-prev:before,
.slick-next:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
}

.slick-prev:before {
    content: '\f104';
}

.slick-next:before {
    content: '\f105';
}

/* 슬라이더 도트 스타일 */
.slick-dots {
    position: relative;
    bottom: -10px;
    display: flex !important;
    justify-content: center;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
    z-index: 15;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 5px;
    cursor: pointer;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e2e8f0;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button:before {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-slide {
    padding: 20px 10px;
}

.testimonial-item {
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-item img {
    height: 60px;
    width: 60px;
    object-fit: cover;
}

/* 문의 폼 */
.form-control, .form-select {
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    height: auto;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* 푸터 스타일 */
footer {
    position: relative;
    background-color: #1a1e25 !important;
}

footer a:hover {
    color: #fff !important;
    opacity: 0.8;
}

.hover-light:hover {
    color: #ffffff !important;
    opacity: 1 !important;
    text-decoration: underline !important;
}

.social-icons a {
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
    color: #ffffff !important;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white !important;
}

/* 애니메이션 효과 */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 5s ease-in-out infinite;
}

/* 스크롤 진행률 표시줄 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--primary-color);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .hero-section {
        padding: 150px 0 80px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 130px 0 60px;
        text-align: center;
    }
    
    .testimonial-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 120px 0 50px;
    }
    
    .testimonial-item {
        flex: 0 0 calc(100% - 20px);
    }
}

/* 서비스 섹션 */
#services {
    background: linear-gradient(to right, #f8fafc, #e0f2fe);
    min-height: 80vh;
}

/* 포트폴리오 섹션 */
#portfolio {
    background-color: #ffffff;
    min-height: 80vh;
}

/* 포트폴리오 필터 */
.portfolio-filter {
    margin-bottom: 30px;
}

.portfolio-filter button {
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-filter button.active,
.portfolio-filter button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 고객 후기 섹션 */
#testimonials {
    background: linear-gradient(to right, #f0f9ff, #e0f2fe);
    min-height: 80vh;
}

/* 문의 폼 섹션 */
#contact {
    background-color: #ffffff;
    min-height: 80vh;
} 