/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #00CED1;
    --primary-orange: #FF6B35;
    --primary-purple: #9B59B6;
    --dark-gray: #2C3E50;
    --light-gray: #ECF0F1;
    --white: #FFFFFF;
    --text-dark: #34495E;
    --text-light: #7F8C8D;
    --gradient-1: linear-gradient(135deg, #00CED1 0%, #FF6B35 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav-wrapper {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: transparent !important;
    background-color: transparent !important;
    mix-blend-mode: normal;
}

.logo-icon[src*=".png"],
.logo-icon[src*=".jpg"],
.logo-icon[src*=".jpeg"] {
    background: transparent !important;
    background-color: transparent !important;
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-exclamation {
    color: inherit;
    margin: 0 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-teal);
}

.nav-menu a:hover::after {
    width: 100%;
}

.language-selector {
    position: relative;
}

.language-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.language-toggle:hover {
    transform: scale(1.1);
}

.language-icon {
    display: block;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-selector:hover .language-menu,
.language-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu li {
    margin: 0;
}

.language-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.language-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-teal);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    z-index: -2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-teal);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-orange);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-purple);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: pulse 2s infinite;
    object-fit: contain;
    background: transparent !important;
    background-color: transparent !important;
    mix-blend-mode: normal;
}

.hero-logo-icon[src*=".png"],
.hero-logo-icon[src*=".jpg"],
.hero-logo-icon[src*=".jpeg"] {
    background: transparent !important;
    background-color: transparent !important;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    opacity: 0.95;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient-1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

/* About Section */
.about {
    background: var(--white);
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

/* Characteristics Section */
.characteristics {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.characteristic-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.characteristic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.characteristic-card:hover::before {
    transform: scaleX(1);
}

.characteristic-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.characteristic-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.characteristic-card p {
    color: var(--text-light);
    line-height: 1.8;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
    line-height: 1.4;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.service-client {
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 15px;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .title-underline {
    background: var(--white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.contact-item p {
    opacity: 0.9;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    orphans: 2;
    widows: 2;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    opacity: 1;
    text-decoration: underline;
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: right;
}

.footer-text {
    opacity: 0.8;
    margin: 0;
}

.business-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.business-info p {
    margin: 0;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-right {
        gap: 0.5rem;
    }

    .language-menu {
        right: 0;
        left: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .characteristics-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
        width: 100%;
    }

    .business-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-logo-icon {
        width: 80px;
        height: 80px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .characteristic-card,
    .service-card {
        padding: 1.5rem;
    }
}

/* Smooth Scroll Animation */
.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

