/*
Theme Name: GPLOT Official Theme
Theme URI: https://gplot.co.kr
Description: GPLOT 공식 홈페이지 - Global Creative & Commerce Platform. 블랙/골드 프리미엄 디자인.
Version: 1.0.0
Author: GPLOT
Author URI: https://gplot.co.kr
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gplot
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

:root {
    --color-black: #000000;
    --color-gold: #D4AF37;
    --color-gold-light: #E5C158;
    --color-gold-dark: #C9A961;
    --color-dark-gray: #1A1A1A;
    --color-medium-gray: #333333;
    --color-light-gray: #666666;
    --color-white: #FFFFFF;
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-korean: 'Noto Sans KR', sans-serif;
}

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

body {
    font-family: var(--font-primary), var(--font-korean);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-light-gray);
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-gold-light);
}

/* ==========================================
   NAVIGATION
   ========================================== */

.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    transition: all 0.3s ease;
}

.main-navigation.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.main-navigation.scrolled .site-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-gold);
    transition: all 0.3s ease;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.6) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%231a1a1a" width="1920" height="1080"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    max-width: 1200px;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease;
}

.hero-title {
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--color-gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* ==========================================
   SECTION COMMON STYLES
   ========================================== */

.section {
    padding: 8rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--color-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-light-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-section {
    background: var(--color-dark-gray);
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.vision-box,
.mission-box {
    background: var(--color-black);
    padding: 3rem;
    border: 1px solid var(--color-gold);
    transition: all 0.3s ease;
}

.vision-box:hover,
.mission-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.vision-box h3,
.mission-box h3 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.value-chain {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, transparent 100%);
    border-radius: 10px;
}

.chain-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
}

.chain-step::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    font-size: 2rem;
}

.chain-step:last-child::after {
    display: none;
}

.chain-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.chain-step h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--color-black);
    border-left: 3px solid var(--color-gold);
}

.stat-number {
    font-size: 3rem;
    color: var(--color-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   BUSINESS SECTION
   ========================================== */

.business-section {
    background: var(--color-black);
}

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

.business-card {
    background: var(--color-dark-gray);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.business-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.business-icon {
    font-size: 4rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.business-card h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.business-card p {
    color: var(--color-light-gray);
    line-height: 1.8;
}

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */

.portfolio-section {
    background: var(--color-dark-gray);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-black);
    cursor: pointer;
}

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

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-info h3 {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--color-white);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-section {
    background: var(--color-black);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    color: var(--color-gold);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.info-content h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p {
    color: var(--color-light-gray);
}

.contact-form {
    background: var(--color-dark-gray);
    padding: 3rem;
    border: 1px solid var(--color-gold);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-black);
    border: 1px solid var(--color-medium-gray);
    color: var(--color-white);
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    background: var(--color-dark-gray);
    padding: 3rem 5%;
    border-top: 1px solid var(--color-medium-gray);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--color-light-gray);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-medium-gray);
}

.copyright {
    color: var(--color-light-gray);
    font-size: 0.9rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .value-chain {
        flex-direction: column;
    }
    
    .chain-step::after {
        content: '↓';
        right: auto;
        bottom: -30px;
        top: auto;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4rem 5%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}