/* Software Engineering Course & Consulting Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #dc2626;
    --secondary-color: #b91c1c;
    --accent-color: #f87171;
    --dark-primary: #ffffff;
    --dark-secondary: #f9fafb;
    --dark-tertiary: #f3f4f6;
    --text-dark: #1f2937;
    --text-light: #374151;
    --bg-light: #ffffff;
    --bg-dark: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #dc2626;
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #dc2626 50%, #b91c1c 100%);
    --gradient-secondary: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #dc2626 100%);
    --gradient-accent: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
    --gradient-dark: linear-gradient(135deg, #ffffff 0%, #f3f4f6 50%, #dc2626 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-dark);
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-brand h1 {
    color: #1f2937;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.navbar-menu {
    display: flex;
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary-color), #f87171);
    transition: width 0.3s ease;
}

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

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        padding: 1.2rem 2rem;
    }
    
    .brand-logo {
        width: 45px;
        height: 45px;
    }
    
    .navbar-brand h1 {
        font-size: 1.7rem;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
    }
    
    .navbar-menu.active {
        transform: translateY(0);
    }
    
    .nav {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
}

/* Main Content */
main {
    margin-top: 90px;
    min-height: calc(100vh - 90px);
}

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

/* Hero Section */
.hero {
    background: #000000;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    border-bottom: 1px solid #333333;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: white;
    background-clip: initial;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Vector Illustration Styles */
.vector-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.code-illustration {
    position: relative;
    width: 400px;
    height: 300px;
    margin: 0 auto;
}

.laptop {
    width: 100%;
    height: 200px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 8px 8px 0 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.laptop::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 20px;
    background: #000;
    border-radius: 4px;
}

.laptop::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: -20px;
    height: 20px;
    background: linear-gradient(145deg, #4a5568, #2d3748);
    border-radius: 0 0 20px 20px;
}

.code-lines {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
}

.code-line {
    height: 12px;
    margin: 8px 0;
    border-radius: 6px;
    opacity: 0.8;
}

.code-line:nth-child(1) {
    background: var(--primary-color);
    width: 60%;
}

.code-line:nth-child(2) {
    background: var(--accent-color);
    width: 80%;
}

.code-line:nth-child(3) {
    background: var(--primary-color);
    width: 45%;
}

.code-line:nth-child(4) {
    background: var(--accent-color);
    width: 70%;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.circle-2 {
    width: 15px;
    height: 15px;
    background: var(--accent-color);
    bottom: 80px;
    left: 30px;
    animation-delay: 2s;
}

.circle-3 {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    top: 30px;
    left: 100px;
    animation-delay: 4s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

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

.btn-outline:hover {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

/* Courses Section */
.courses-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(220, 38, 38, 0.02) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(220, 38, 38, 0.03) 50%, transparent 51%);
    pointer-events: none;
}

.courses-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.2);
    border-color: var(--accent-color);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.course-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.course-level {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.course-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.course-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Consulting Section */
.consulting-section {
    padding: 5rem 0;
    background: #1a1a1a;
    color: #ffffff;
    position: relative;
    border-top: 1px solid #333333;
}

.consulting-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
}

.consulting-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.consulting-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.consulting-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

.consulting-text p {
    color: #b3b3b3;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.consulting-services {
    list-style: none;
    margin-bottom: 2rem;
}

.consulting-services li {
    padding: 0.5rem 0;
    color: #ffffff;
    font-weight: 500;
}

.placeholder-image {
    background: #333333;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    color: #ffffff;
    border: 2px solid #666666;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.contact-section > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.2);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Footer */
footer {
    background: var(--dark-tertiary);
    color: var(--text-dark);
    text-align: center;
    padding: 2rem 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .code-illustration {
        width: 300px;
        height: 200px;
    }
    
    .laptop {
        height: 150px;
    }
    
    .consulting-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-menu {
        display: none; /* 모바일 메뉴는 나중에 추가 가능 */
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* About Page Styles */
.about-hero {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 8rem 2rem 4rem;
    margin-top: 80px;
}

.about-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #ffffff;
    background-clip: initial;
    color: #ffffff;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

.mission-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.mission-text > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.point-icon {
    font-size: 2rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
}

.point h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.point p {
    color: var(--text-light);
    line-height: 1.5;
}

.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 300px;
}

.tech-item {
    background: var(--dark-tertiary);
    color: var(--text-dark);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.team-section {
    padding: 5rem 0;
    background: #1a1a1a;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #333333;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #555555;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.member-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.member-role {
    color: #cccccc;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #b3b3b3;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill {
    background: #666666;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.values-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--dark-tertiary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.5;
}

.about-cta {
    padding: 5rem 0;
    background: #000000;
    text-align: center;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about-cta p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Responsive */
@media (max-width: 768px) {
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-stack {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .mission-points {
        gap: 1.5rem;
    }
    
    .point {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
