/* Global Styles */
body {
    line-height: 1.6;
    color: #1C1C1C;
    background-color: #F0F0F0;
}

a {
    color: #950740;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #C3073F;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1A1A1D;
}

p {
    margin-bottom: 1rem;
    color: #1C1C1C;
}

/* Navbar */
.navbar {
    background-color: #1A1A1D;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.navbar-dark .navbar-brand {
    font-size: 1.5rem;
    /* font-weight: bold; */
    font-weight: normal;
    color: #F4F4F9;
}

.navbar-dark .nav-link {
    color: #F4F4F9;
    transition: color 0.3s;
}

.navbar-dark .nav-link:hover {
    color: #C3073F;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* 전체 화면 높이 */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #F4F4F9;
}

.hero .swiper-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.hero .image-slide {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: relative;
}


.hero .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2; /* 이미지보다 앞에 나타나도록 설정 */
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    /* font-weight: bold; */
    font-weight: normal;
    color: white;
}

.hero h2 {
    color: white;
}

.hero p {
    font-size: 1.25rem;
}

.hero .btn {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: #C3073F;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
}

.hero .btn:hover {
    background-color: #950740;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadeIn {
    animation: fadeIn 1.5s ease-in-out;
}




/* About Us Section */
.about-us {
    background-color: #F4F4F9; /* 밝은 배경 색상 */
    padding: 3rem 0;
    color: #1C1C1C; /* 검정색 텍스트 */
    text-align: center;
}

.about-us h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1C1C1C; /* 검정색 텍스트 */
    /* font-weight: normal; */
}

.about-us h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1C1C1C; /* 검정색 텍스트 */
    font-weight: normal;
}

.about-us p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1C1C1C; /* 검정색 텍스트 */
}

.contact-box {
    background-color: #ffffff;
    color: #1C1C1C;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem auto;
    max-width: 300px;
}

.about-us .btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: #C3073F;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
}

.about-us .btn:hover {
    background-color: #950740;
}



/* Services Section */
.services {
    background: #ECF0F1;
    padding: 3rem 0;
    color: #1A1A1D;
    text-align: center;
}

.services-header {
    margin-bottom: 2rem;
}

.services-header h2 {
    font-size: 2.5rem;
    color: #6F2232;
}

.services-header p {
    font-size: 1.25rem;
    color: #343A40;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: #fff;
    color: #1A1A1D;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item i {
    font-size: 3rem;
    color: #2A1E5C;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #6F2232;
}

.service-item p {
    font-size: 1rem;
    color: #343A40;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.services-cta {
    margin-top: 2rem;
}

.services-cta .btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: #C3073F;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
}

.services-cta .btn:hover {
    background-color: #950740;
}

/* Portfolio Section */
.portfolio {
    background: #F4F4F9;
    padding: 3rem 0;
    text-align: center;
}

.portfolio-header {
    margin-bottom: 2rem;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    color: #6F2232;
}

.portfolio-header p {
    font-size: 1.25rem;
    color: #343A40;
}

.portfolio .swiper-container {
    padding: 2rem 0;
}

.portfolio .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio .swiper-slide img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio .swiper-slide img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Clients Section */
.clients {
    background: #1A1A1D;
    padding: 3rem 0;
    color: #F4F4F9;
    text-align: center;
}

.clients-header {
    margin-bottom: 2rem;
}

.clients-header h2 {
    font-size: 2.5rem;
    color: #C3073F;
}

.clients-header p {
    font-size: 1.25rem;
    color: #ECF0F1;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(144px, 1fr));
    gap: 1rem;
}

.client-item {
    background-color: #fff;
    color: #1C1C1C;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-logo {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 4px;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 이미지가 부모 요소의 크기를 벗어나지 않게 설정 */
    border-radius: 5px;
}

.client-item p {
    font-size: 1rem;
    color: #343A40;
    margin-top: 1rem;
    text-align: center;
}

.client-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Contact Section */
.contact {
    background: #950740;
    padding: 3rem 0;
    color: #F4F4F9;
    text-align: center;
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #F4F4F9;
    font-weight: normal;
}

.contact-header p {
    font-size: 1.25rem;
    color: #ECF0F1;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.contact-form,
.contact-info {
    flex: 1 1 300px;
    background-color: #fff;
    color: #1C1C1C;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #6F2232;
}

.contact-form .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #1C1C1C;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #1C1C1C;
}

.contact-form .btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: #C3073F;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
}

.contact-form .btn:hover {
    background-color: #950740;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #343A40;
}

.contact-info .map {
    margin-top: 1rem;
}

.contact-info a {
    color: #950740;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1A1A1D;
    color: #F4F4F9;
    padding: 2rem 0;
    text-align: left;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-logo,
.footer-company-info,
.footer-contact,
.footer-links {
    flex: 1 1 200px;
    margin: 1rem;
}

.footer-logo img {
    width: 50%;
    height: auto;
}

.footer-logo p {
    margin-top: 1rem;
    font-size: 1.5rem;
    /* font-weight: bold; */
    font-weight: normal;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #C3073F;
}

.footer p,
.footer a {
    font-size: 1rem;
    color: #F4F4F9;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: #C3073F;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #F4F4F9;
}

.footer ul li a:hover {
    color: #C3073F;
}

.footer .footer-copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #4b4b4b;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .btn {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .about-us h2 {
        font-size: 2rem;
    }

    .about-us h3 {
        font-size: 1.5rem;
    }

    .about-us p {
        font-size: 1rem;
    }

    .services-header h2,
    .clients-header h2,
    .contact-header h2 {
        font-size: 2rem;
    }

    .services-header p,
    .clients-header p,
    .contact-header p {
        font-size: 1rem;
    }

    .service-item h3,
    .client-item p,
    .contact-form h3,
    .contact-info h3 {
        font-size: 1.25rem;
    }

    .service-item p,
    .client-item p,
    .contact-info p {
        font-size: 1rem;
    }

    .services-grid,
    .clients-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer {
        text-align: center;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo,
    .footer-company-info,
    .footer-contact,
    .footer-links {
        flex: 1 1 100%;
        margin: 0.5rem 0;
        text-align: center;
    }
}


/* floatings */
.floating-buttons.left {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
    z-index: 1000;
}

.floating-buttons.right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
    z-index: 1000;
}

.floating-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    width: auto;
}

.floating-button.blue {
    background-color: #007bff;
}

.floating-button.blue:hover {
    background-color: #0056b3;
}

.floating-button.coral {
    background-color: #ff6f61;
}

.floating-button.coral:hover {
    background-color: #e55b50;
}

.floating-button.crimson {
    background-color: #dc3545;
}

.floating-button.crimson:hover {
    background-color: #b52a36;
}

.floating-button i {
    margin-left: 10px;
}

.floating-button:hover {
    color: #fff;
}

.kakao-button img {
    width: 48px;
    height: 48px;
}

.kakao-button {
    padding: 0;
    box-shadow: none;
    background: none;
    border: none;
}

@media (max-width: 768px) {
    .floating-buttons.left {
        bottom: 10px;
        left: 10px;
    }
    
    .floating-buttons.right {
        bottom: 10px;
        right: 10px;
    }

    .floating-button {
        font-size: 12px;
        padding: 8px 16px;
    }

    .kakao-button img {
        width: auto;
        height: 40px;
    }
}
