/*
Theme Name: pjlaw
Theme URI: https://pyeongjeong.com
Description: Professional law firm landing page theme
Author: Design Team
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pjlaw
Domain Path: /languages
*/

:root {
    --primary-color: #5580FF;
    --primary-dark: #0A1A35;
    --bg-dark: #050505;
    --bg-card: #171717;
    --bg-light: #F5F5F7;
    --text-light: #FFFFFF;
    --text-muted: #B2B2BA;
    --text-dark: #1D1D1F;
    --font-main: 'Noto Sans KR', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --container-width: 1300px;
}

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

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

body {
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

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

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0052a3;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn:hover {
    background-color: #0052a3;
}

.btn-outline {
    background-color: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-outline:hover {
    background-color: #0066cc;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .container {
        width: 95%;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* --- Why PJLAW Page --- */
.why-pjlaw-page {
    background-color: #fff;
}

.why-hero {
    position: relative;
    width: 100%;
    min-height: 760px;
    background-color: #fff;
    overflow: hidden;
}

.why-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.why-hero__bg-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center top;
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center top;
}

.why-hero__bg-img {
    position: absolute;
    object-fit: cover;
    pointer-events: none;
}

.why-hero__bg-img--1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.why-hero__bg-img-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.why-hero__bg-img-wrap--2 {
    background-color: rgba(0,0,0,0.1);
}

.why-hero__bg-img-wrap--3 {
    background-color: rgba(0,0,0,0.3);
}

.why-hero__bg-img-wrap .why-hero__bg-img {
    width: 100%;
    height: 100%;
}

.why-hero__shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 345px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(217,217,217,0) 100%);
}

.why-hero__inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 176px;
    padding-bottom: 80px;
    min-height: 760px;
}

.why-hero__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1300px;
    gap: 28px;
}

.why-hero__eyebrow-wrap {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.why-hero__eyebrow {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.6px;
    color: #fff;
}

.why-hero__eyebrow-line {
    width: 118px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
}

.why-hero__title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 62px;
    line-height: 1.14;
    letter-spacing: -1.86px;
    color: #fff;
    margin: 0;
}

.why-hero__footer {
    display: flex;
    width: 100%;
    max-width: 1300px;
    justify-content: flex-end;
    margin-top: auto;
}

.why-features {
    padding-top: 184px;
    padding-bottom: 192px;
    background-color: #fff;
}

.why-features__inner {
    display: flex;
    flex-direction: column;
    gap: 178px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.why-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 46px;
}

.why-feature--right {
    flex-direction: row-reverse;
}

.why-feature__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 580px;
    gap: 32px;
}

.why-feature__title {
    font-family: 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: 58px;
    line-height: 1.18;
    letter-spacing: -1.74px;
    color: #181a1e;
    margin: 0;
}

.why-feature__line {
    width: 32px;
    height: 4px;
    background-color: #d0d3d9;
}

.why-feature__desc {
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-size: 21px;
    line-height: 1.6;
    letter-spacing: -0.63px;
    color: #181a1e;
    margin: 0;
}

.why-feature__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: min(792px, calc(100% - 626px));
    height: 500px;
    mask-image: url('assets/images/why-pjlaw/feature-mask.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url('assets/images/why-pjlaw/feature-mask.svg');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.why-feature__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .why-hero__header, .why-hero__footer, .why-features__inner {
        width: 100%;
        padding: 0 40px;
    }
    .why-hero__footer {
        margin-top: auto;
    }
    .why-feature {
        flex-direction: column;
        gap: 60px;
    }
    .why-feature--right {
        flex-direction: column;
    }
    .why-feature__content {
        width: 100%;
        flex: 0 0 auto;
    }
    .why-feature__image {
        width: 100%;
        max-width: 792px;
    }
    .why-features__inner {
        gap: 120px;
    }
}

@media (max-width: 768px) {
    .why-hero {
        min-height: 640px;
    }

    .why-hero__inner {
        padding-top: 140px;
        padding-bottom: 28px;
    }

    .why-hero__title {
        font-size: 34px;
        line-height: 1.25;
    }

    .why-features {
        padding-top: 100px;
        padding-bottom: 120px;
    }

    .why-feature__title {
        font-size: 34px;
    }

    .why-feature__desc {
        font-size: 18px;
    }

    .why-feature__image {
        height: auto;
        aspect-ratio: 792 / 500;
    }
}
