@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
    --primary-color: #0f172a; /* Midnight Blue */
    --accent-color: #b4941f;  /* Modern Bronze Gold */
    --text-color: #1e293b;
    --light-bg: #fdfdfd;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

body {
    font-family: 'Pretendard', sans-serif;
    margin: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Premium Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.2rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1px;
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
    margin-left: 2px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 3rem;
}

nav ul li a {
    text-decoration: none;
    color: #475569;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* Sophisticated Hero */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--accent-color);
    background: linear-gradient(to right, #d4af37, #f7e682);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.8;
}

/* Service Cards */
.services {
    padding: 10rem 10%;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 7rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--primary-color);
}

.section-title .divider {
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin: 1.5rem auto;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.service-item {
    background: #fff;
    padding: 5rem 4rem;
    border-radius: 40px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(to right, var(--accent-color), #f7e682);
    opacity: 0;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-20px);
    box-shadow: 0 60px 100px -30px rgba(0,0,0,0.12);
}

.service-item:hover::before {
    opacity: 1;
}

.service-header .icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    display: block;
}

.service-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-description {
    color: #64748b;
    margin-bottom: 2.5rem;
}

.sub-services {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.sub-services li {
    font-size: 1.1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f8fafc;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.sub-services li::before {
    content: "•";
    color: var(--accent-color);
    margin-right: 1rem;
    font-weight: bold;
}

/* High-End Buttons */
.btn-apply {
    margin-top: 3rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1.5rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.btn-apply:hover {
    background: var(--accent-color);
    transform: scale(1.02);
}

/* Board Styles */
.board-container {
    padding: 8rem 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-write {
    display: inline-block;
    float: right;
    margin-bottom: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-write:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(180, 148, 31, 0.2);
}

.board-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    margin-top: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.board-table th {
    background-color: #f8fafc;
    padding: 1.5rem;
    text-align: left;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #edf2f7;
}

.board-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-weight: 500;
}

.board-table tr:last-child td {
    border-bottom: none;
}

.board-table tbody tr {
    cursor: pointer;
    transition: var(--transition);
}

.board-table tbody tr:hover {
    background-color: #fcfcfc;
}

.post-title {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

/* Executive Document Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-content {
    background: #fff;
    margin: 3% auto;
    padding: 5rem 6rem;
    width: 90%;
    max-width: 700px;
    border-radius: 4px; /* Sharp document-like corners */
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    position: relative;
    border-top: 10px solid var(--primary-color);
    animation: documentSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes documentSlideUp {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    color: #cbd5e1;
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: left;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.modal-content .doc-subtitle {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 3rem;
    display: block;
    letter-spacing: 2px;
}

.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    border-radius: 0;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.btn-submit {
    margin-top: 2rem;
    width: 100%;
    padding: 1.5rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-submit:hover {
    background: var(--accent-color);
    letter-spacing: 4px;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 1rem;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }

    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services {
        padding: 6rem 1.5rem;
    }

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

    .section-title h2 {
        font-size: 2.2rem;
    }

    .service-items {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-item {
        padding: 3rem 2rem;
        border-radius: 30px;
    }

    .service-header .icon {
        font-size: 2.5rem;
    }

    .service-header h3 {
        font-size: 1.6rem;
    }

    .board-container {
        padding: 6rem 1.5rem;
    }

    .board-table th:nth-child(1), 
    .board-table td:nth-child(1) {
        display: none;
    }

    .board-table th:nth-child(3), 
    .board-table td:nth-child(3) {
        display: none;
    }

    .modal-content {
        padding: 3rem 2rem;
        margin: 10% auto;
        width: 95%;
        border-radius: 0;
    }

    .modal-content h2 {
        font-size: 1.6rem;
    }
}

footer {
    padding: 6rem 2rem;
    background: var(--primary-color);
    color: rgba(255,255,255,0.4);
    text-align: center;
    font-weight: 600;
}
