/*
Theme Name: Special One KEY+
Theme URI: https://specialone.kr
Author: Suyuvision
Author URI: https://suyuvision.com
Description: Special One KEY+ Contactless Vehicle Sharing Service WordPress Theme
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: specialone
Tags: corporate, one-column, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary: #003366;
    --primary-light: #004d99;
    --primary-dark: #002244;
    --accent: #00A3E0;
    --accent-light: #33b5e5;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --dark: #1a1a2e;
    --success: #00c853;
    --gold: #FFD700;
    --gradient-blue: linear-gradient(135deg, #003366 0%, #00A3E0 100%);
    --gradient-dark: linear-gradient(180deg, #001a33 0%, #003366 100%);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 18px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

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

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu .current-menu-item a {
    color: var(--primary);
}

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

.nav-cta {
    background: var(--gradient-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    padding: 160px 0 100px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300A3E0' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 163, 224, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.page-header-content {
    text-align: center;
    color: white;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
    color: white;
}

.page-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 20px;
}

.page-title span {
    color: var(--accent);
}

.page-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Sub Navigation
   ========================================================================== */
.sub-nav {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.sub-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 40px;
}

.sub-nav a {
    display: block;
    padding: 20px 0;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.sub-nav a:hover,
.sub-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 163, 224, 0.1);
    color: var(--accent);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--accent);
}

.section-desc {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-blue);
    color: white;
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid var(--gray-300);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--gray-100);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.cta-text h3 span {
    color: var(--accent);
}

.cta-text p {
    color: var(--gray-600);
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--primary-dark);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 14px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 4px;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--accent);
}

/* ==========================================================================
   Partners Track (Marquee)
   ========================================================================== */
.partners-track {
    display: flex;
    gap: 40px;
    overflow: hidden;
    padding: 40px 0;
    animation: scroll 30s linear infinite;
}

.partner-logo {
    flex-shrink: 0;
    padding: 20px 40px;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    color: var(--gray-600);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-800);
}

.form-group .required {
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.1);
}

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

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    z-index: 1001;
}

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

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

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

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

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 0;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--accent);
}

.mobile-cta {
    display: block;
    text-align: center;
    margin-top: 20px;
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons a {
        justify-content: center;
    }
}
