/* ================================================
   (주)제이스 - Premium Website Design System v4
   Gallery: 현장파쇄 / 입고파쇄 두 탭으로 분리
   주소: 전라남도 광양시 광양읍 인덕로 1193
   ================================================ */

:root {
    --navy: #001D4A;
    --blue: #0047B3;
    --sky: #1A6EFF;
    --gold: #F5A623;
    --gold2: #FFD166;
    --white: #FFFFFF;
    --bg: #F4F6FA;
    --text: #1C2437;
    --muted: #5A6478;
    --line: rgba(0, 0, 0, 0.08);
    --trans: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --r: 18px;
    --shadow: 0 20px 60px rgba(0, 29, 74, 0.10);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: 110px 0;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.shown {
    opacity: 1;
    transform: translateY(0);
}

/* ── SECTION HEADER ── */
.sec-head {
    text-align: center;
    margin-bottom: 60px;
}

.sec-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sky);
    background: rgba(26, 110, 255, 0.1);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.sec-tag.light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--gold2);
}

.sec-head h2 {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    margin-bottom: 14px;
}

.sec-head p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--trans);
    cursor: pointer;
    border: none;
}

.btn-gold {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}

.btn-gold:hover {
    background: #e0941a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--navy);
}

.btn-lg {
    padding: 18px 38px;
    font-size: 1.1rem;
}

/* ═══════════════ HEADER ═══════════════ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: var(--trans);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--navy);
    font-family: 'Outfit', sans-serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links li a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--trans);
}

.nav-links li a:hover {
    background: var(--bg);
    color: var(--sky);
}

.nav-cta a {
    background: var(--navy) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
}

.nav-cta a:hover {
    background: var(--blue) !important;
    transform: translateY(-2px);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--trans);
}

/* ═══════════════ HERO ═══════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease;
    animation: kenburns 14s ease-in-out infinite alternate;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

@keyframes kenburns {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(1.1) translate(-1%, -1%)
    }
}

.hero-dim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(110deg, rgba(0, 20, 60, 0.88) 45%, rgba(0, 20, 60, 0.35));
}

.hero-body {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 750px;
}

.hero-tag {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.hero-body h1 {
    font-size: 4.2rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    margin-bottom: 22px;
}

.hero-body h1 em {
    color: var(--gold2);
    font-style: normal;
}

.hero-sub {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.88;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--trans);
}

.hero-dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 5px;
}

.hero-scroll-hint {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 4;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(8px)
    }
}

/* ═══════════════ STATS ═══════════════ */
.stats-bar {
    background: var(--navy);
    padding: 50px 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.05);
}

.stat-icon {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.stat-info {
    color: #fff;
}

.stat-n {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}

.stat-unit {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold2);
}

.stat-info p {
    font-size: 0.88rem;
    opacity: 0.75;
    margin-top: 2px;
}

/* ═══════════════ SERVICES ═══════════════ */
.services-section {
    background: var(--bg);
}

.services-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.svc-card {
    background: #fff;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--trans);
}

.svc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 29, 74, 0.15);
}

.svc-featured {
    border: 2px solid var(--sky);
}

.svc-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.svc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.svc-card:hover .svc-thumb img {
    transform: scale(1.08);
}

.svc-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gold);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
}

.svc-body {
    padding: 30px;
}

.svc-icon {
    font-size: 2rem;
    color: var(--sky);
    margin-bottom: 14px;
}

.svc-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.svc-body>p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.svc-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.svc-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--muted);
}

.svc-list i {
    color: var(--sky);
    font-size: 0.9rem;
}

/* ═══════════════ WHY ═══════════════ */
.why-section {
    position: relative;
    padding: 140px 0;
}

.why-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.why-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 10, 40, 0.93), rgba(0, 50, 140, 0.82));
}

.why-inner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.why-content {
    max-width: 750px;
}

.why-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    margin: 14px 0 22px;
}

.why-content>p {
    opacity: 0.88;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.why-feat {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.07);
    padding: 22px;
    border-radius: 14px;
    backdrop-filter: blur(4px);
}

.why-feat i {
    color: var(--gold);
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.why-feat h4 {
    font-size: 1rem;
    margin-bottom: 7px;
}

.why-feat p {
    font-size: 0.88rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* ═══════════════ GALLERY TABS ═══════════════ */
.gallery-section {
    background: #fff;
}

.gal-tabs {
    display: flex;
    gap: 14px;
    margin-bottom: 44px;
    justify-content: center;
}

.gal-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    border: 2px solid var(--line);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    transition: var(--trans);
    font-family: 'Noto Sans KR', sans-serif;
}

.gal-tab:hover {
    border-color: var(--sky);
    color: var(--sky);
    transform: translateY(-2px);
}

.gal-tab.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    box-shadow: 0 8px 24px rgba(0, 29, 74, 0.25);
}

.gal-tab i {
    font-size: 1rem;
}

.gal-panel {
    display: none;
}

.gal-panel.active {
    display: block;
    animation: fadeInUp 0.45s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gal-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gal-item.gal-large {
    grid-column: 1/3;
    aspect-ratio: 16/9;
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gal-item:hover img {
    transform: scale(1.08);
}

.gal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 18px 18px;
    background: linear-gradient(transparent, rgba(0, 10, 40, 0.82));
    color: #fff;
    transform: translateY(100%);
    transition: var(--trans);
    font-size: 0.92rem;
    font-weight: 600;
}

.gal-item:hover .gal-info {
    transform: translateY(0);
}

/* ═══════════════ PROCESS ═══════════════ */
.process-section {
    background: var(--bg);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.proc-step {
    flex: 1;
    min-width: 180px;
    max-width: 230px;
    text-align: center;
    background: #fff;
    border-radius: var(--r);
    padding: 36px 22px;
    box-shadow: var(--shadow);
    position: relative;
}

.proc-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.proc-icon {
    font-size: 2.5rem;
    color: var(--sky);
    margin-bottom: 16px;
}

.proc-step h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.proc-step p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}

.proc-arrow {
    color: var(--muted);
    font-size: 1.2rem;
    opacity: 0.4;
}

/* ═══════════════ LOCATION ═══════════════ */
.location-section {
    background: #fff;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
}

.loc-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loc-card {
    background: var(--bg);
    border-radius: var(--r);
    padding: 28px;
}

.loc-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.loc-card h3 i {
    color: var(--sky);
}

.loc-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.loc-tel {
    margin-top: 8px;
    font-weight: 700;
    color: var(--navy);
}

.cta-card {
    background: var(--navy);
    color: #fff;
}

.cta-card h3 {
    color: var(--gold);
}

.tel-big {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    margin: 10px 0 6px;
    letter-spacing: 1px;
}

.tel-free {
    display: block;
    font-size: 0.95rem;
    color: var(--gold2);
    margin-bottom: 10px;
}

.tel-note {
    font-size: 0.82rem;
    opacity: 0.7;
    color: #fff;
}

.loc-map {
    border-radius: var(--r);
    overflow: hidden;
    min-height: 400px;
}

.map-wrap {
    height: 100%;
    background: var(--bg);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-fallback {
    text-align: center;
    padding: 40px;
    color: var(--muted);
}

.map-fallback i {
    font-size: 4rem;
    margin-bottom: 16px;
    color: var(--sky);
}

/* ═══════════════ CTA SECTION ═══════════════ */
.cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.cta-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 30, 90, 0.93), rgba(0, 80, 200, 0.85));
}

.cta-inner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.cta-inner h2 {
    font-size: 3.2rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 16px;
}

.cta-inner>p {
    font-size: 1.1rem;
    opacity: 0.88;
    margin-bottom: 40px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════ FOOTER ═══════════════ */
footer {
    background: #0A0F1E;
    color: rgba(255, 255, 255, 0.55);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
}

.footer-slogan {
    color: var(--gold2);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-addr {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    transition: var(--trans);
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--trans);
}

.footer-social a:hover {
    background: var(--gold);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
}

/* ═══════════════ FLOAT CALL ═══════════════ */
.float-call {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
    animation: pulse 2.5s infinite;
    transition: var(--trans);
}

.float-call:hover {
    background: #e0941a;
    transform: scale(1.1);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5)
    }

    50% {
        box-shadow: 0 8px 45px rgba(245, 166, 35, 0.8)
    }
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width:1024px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .why-features {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        grid-template-columns: 1fr 1fr;
    }

    .gal-item.gal-large {
        grid-column: 1/3;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .loc-map {
        min-height: 300px;
    }

    .process-steps {
        flex-wrap: wrap;
    }

    .proc-arrow {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:768px) {
    html {
        font-size: 15px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 12px 16px;
    }

    .burger {
        display: flex;
    }

    .hero-body h1 {
        font-size: 2.6rem;
    }

    .hero-scroll-hint {
        display: none;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-box {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .services-wrap {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        grid-template-columns: 1fr 1fr;
    }

    .gal-item.gal-large {
        grid-column: 1/3;
        aspect-ratio: 4/3;
    }

    .gal-tabs {
        gap: 10px;
    }

    .gal-tab {
        padding: 12px 22px;
        font-size: 0.92rem;
    }

    .why-content h2,
    .cta-inner h2,
    .sec-head h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .float-call {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .tel-big {
        font-size: 2rem;
    }
}