/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Color Variables */
:root {
    --orange-primary: #FF6B35;
    --orange-secondary: #F7931E;
    --orange-light: #FFE5CC;
    --dark-primary: #1F2937;
    --dark-secondary: #374151;
    --gray-bg: #F3F4F6;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

.text-center {
    text-align: center;
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray {
    background-color: var(--gray-bg);
}

.bg-orange-light {
    background: linear-gradient(to bottom right, #FFF5ED, var(--orange-light));
}

/* Typography */
.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--dark-primary);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: #6B7280;
    max-width: 48rem;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links > a {
    color: var(--dark-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links > a:hover {
    color: var(--orange-primary);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    color: var(--dark-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.lang-btn:hover {
    color: var(--orange-primary);
}

.lang-btn.active {
    color: var(--orange-primary);
    font-weight: 600;
}

.lang-divider {
    color: var(--dark-secondary);
    font-size: 0.875rem;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-primary);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #E5E7EB;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu > a {
    color: var(--dark-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu > a:hover {
    color: var(--orange-primary);
}

.mobile-language-switcher {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-top: 1px solid #E5E7EB;
    margin-top: 0.5rem;
}

.mobile-language-switcher .lang-btn {
    color: var(--dark-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-language-switcher .lang-btn:hover {
    color: var(--orange-primary);
}

.mobile-language-switcher .lang-btn.active {
    color: var(--orange-primary);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem;
}

.hero-text {
    max-width: 56rem;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.75rem;
    }
}

.hero-text h1 .highlight {
    color: #FFA366;
}

.hero-text h1 .white {
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.75;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Buttons */
.btn-primary, .btn-secondary {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

@media (min-width: 640px) {
    .btn-primary, .btn-secondary {
        width: auto;
    }
}

.btn-primary {
    background-color: var(--orange-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--orange-secondary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--orange-primary);
    border: 2px solid var(--orange-primary);
}

.btn-secondary:hover {
    background-color: var(--orange-primary);
    color: white;
}

/* About Section */
.section-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    margin-top: 2rem;
}

.about-description p {
    font-size: 1.125rem;
    color: #6B7280;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.vision-box {
    background-color: var(--orange-light);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-top: 2rem;
}

.vision-box p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--orange-primary);
    font-style: italic;
}

/* Features Grid */
.features-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(to bottom right, #FFF5ED, white);
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.feature-icon.bg-orange {
    background-color: var(--orange-primary);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6B7280;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.service-header {
    padding: 1.5rem;
}

.service-header.bg-blue {
    background: linear-gradient(to bottom right, #DBEAFE, #BFDBFE);
}

.service-header.bg-green {
    background: linear-gradient(to bottom right, #D1FAE5, #A7F3D0);
}

.service-header.bg-purple {
    background: linear-gradient(to bottom right, #E9D5FF, #D8B4FE);
}

.service-icon-large {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1rem;
}

.service-icon-large.bg-blue-gradient {
    background: linear-gradient(to bottom right, #3B82F6, #2563EB);
}

.service-icon-large.bg-green-gradient {
    background: linear-gradient(to bottom right, #10B981, #059669);
}

.service-icon-large.bg-purple-gradient {
    background: linear-gradient(to bottom right, #A855F7, #9333EA);
}

.service-icon-large svg {
    width: 3rem;
    height: 3rem;
}

.service-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-primary);
    text-align: center;
}

.service-body {
    padding: 1.5rem;
}

.service-description {
    color: #6B7280;
    margin-bottom: 1rem;
    line-height: 1.75;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--orange-primary);
    margin-top: 0.125rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.service-features span {
    font-size: 0.875rem;
    color: #6B7280;
}

.service-website {
    border-top: 1px solid #E5E7EB;
    padding-top: 1rem;
}

.service-website p {
    font-size: 0.875rem;
    color: var(--orange-primary);
    font-weight: 500;
}

.service-website a {
    color: var(--orange-primary);
    text-decoration: underline;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.team-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #F3F4F6;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--dark-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-info p {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.75;
    text-align: center;
}

.profile-link {
    margin-top: 1rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    color: var(--orange-primary);
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%;
    justify-content: center;
}

.arrow-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon.bg-orange-gradient {
    background: linear-gradient(to bottom right, var(--orange-primary), var(--orange-secondary));
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--dark-primary);
    margin: 0;
}

.contact-btn {
    display: inline-block;
    background-color: var(--orange-primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    background-color: var(--orange-secondary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.kakao-btn-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.kakao-btn-link:hover {
    transform: translateY(-2px);
}

.kakao-btn-img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--dark-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* SVG Icon Sizes */
.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}
