/* Base Styles & Variables */
:root {
    --primary-color: #00d2ff;
    --primary-color-dark: #00a4cc;
    --accent-color: #3a7bd5;
    --text-main: #333333;
    --text-light: #666666;
    --text-inverse: #ffffff;
    --bg-main: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #111111;
    --border-color: #e5e5e5;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

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

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-inverse);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

.btn-text {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

.btn-text:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background: rgba(255, 255, 255, 0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.header.scrolled .logo-text {
    color: var(--text-main);
}

.header.scrolled .nav-link {
    color: var(--text-main);
}

.header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-inverse);
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-inverse);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-inverse);
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background-color: var(--text-main);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--text-inverse);
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Business Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.business-card {
    background: var(--bg-main);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Solutions Section */
.solutions-section {
    background-color: var(--bg-alt);
}

.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.solution-item {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 280px;
    background: var(--bg-main);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.icon-box svg {
    width: 40px;
    height: 40px;
}

.solution-item:hover .icon-box {
    background: var(--primary-color);
    color: var(--text-inverse);
    transform: rotateY(180deg);
}

.solution-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.solution-item p {
    color: var(--text-light);
}

/* Gallery Section */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    flex: 0 1 calc(33.333% - 14px);
    min-width: 300px;
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 164, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-bg {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 600;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.info-list strong {
    color: var(--text-main);
    display: inline-block;
    width: 80px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-inverse);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand p {
    color: #aaa;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: #777;
}

/* Animations */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

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

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .location-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile menu for now */
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
}
