/*
Theme Name: WebSwitch Theme - Renewal Complete
Author: WEB SWITCH
Description: Complete redesign with dark mode hero, orange accents, and works grid.
*/

/* =========================================
   [1] Fonts Import
   ========================================= */
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2'); font-weight: 100; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2'); font-weight: 200; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Paperozi'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }


/* =========================================
   [2] Variables (:root)
   ========================================= */
:root {
    /* Colors */
    --main-dark: #0a0a0a;
    --sub-dark: #141414;
    --point-color: #2b90d9;
    --point-color-hover: #1f78b8;
    --text-white: #ffffff;
    --text-grey: #a0a0a0;
    --bg-light: #f8f9fa;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Dimensions */
    --header-height: 80px;
}


/* =========================================
   [3] Global Reset
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Paperozi', sans-serif;
    background-color: var(--main-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: keep-all;
}

a, button {
    text-decoration: none;
    color: inherit;
    outline: none;
    border: none;
    background: none;
}

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

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    margin: 0 auto;
    position: relative;
}

/* =========================================
   [5] Header Navigation
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.site-header .gnb-menu a {
    color: var(--main-dark);
}

.site-header .gnb-menu a:hover {
    color: var(--point-color);
}

.site-header .cta-btn {
    color: var(--main-dark);
    border-color: var(--main-dark);
}

.site-header .cta-btn:hover {
    background-color: var(--main-dark);
    color: var(--text-white);
}

/* Logo styling */
.site-header .logo img {
    /* Kept original color without invert filter */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.gnb-menu {
    display: flex;
    gap: 50px;
    margin-left: auto;
    margin-right: 50px;
}

.gnb-menu a {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s;
}

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

.gnb-menu a:hover {
    color: var(--point-color);
}

.gnb-menu a:hover::after {
    width: 100%;
}

.cta-btn {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--text-white);
    color: var(--main-dark);
}


/* =========================================
   [6] Hero Section
   ========================================= */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 80px;
    max-width: 1000px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--point-color);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-desc {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-white);
    max-width: 600px;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Primary Button with Orange */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--point-color);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(43, 144, 217, 0.3);
}

.btn-primary:hover {
    background-color: var(--point-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(43, 144, 217, 0.4);
}

.btn-primary .iconify {
    font-size: 1.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--point-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

.scroll-indicator p {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
}


/* =========================================
   [7] Works Section
   ========================================= */
#works {
    background-color: var(--bg-light);
    color: var(--main-dark);
    padding: 150px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.section-header h2 strong {
    font-weight: 900;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.work-item {
    display: flex;
    flex-direction: column;
}

.work-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.work-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.4s ease;
}

.work-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.work-hover .iconify {
    color: #fff;
    font-size: 4rem;
    font-weight: 300;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-item:hover .work-hover {
    opacity: 1;
}

.work-item:hover .work-hover .iconify {
    transform: scale(1);
}

.work-item:hover .work-img {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.work-info {
    padding: 20px 10px 0;
    text-align: center;
}

.work-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-dark);
    letter-spacing: -0.5px;
}


/* =========================================
   [8] Consulting CTA Section
   ========================================= */
#consulting {
    background-color: var(--main-dark);
    padding: 150px 0;
    position: relative;
}

.consulting-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 80px;
}

.consulting-text h2 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 30px;
}

.consulting-text h2 strong {
    font-weight: 900;
}

.consulting-text p {
    font-size: 1.2rem;
    color: var(--text-grey);
}

.consulting-action {
    padding-bottom: 20px;
}

.consulting-link {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: color 0.3s ease;
}

.consulting-link .iconify {
    color: var(--point-color);
    font-size: 4rem;
    transition: transform 0.3s ease;
}

.consulting-link:hover {
    color: var(--point-color);
}

/* =========================================
   [8.5] Switch Breathing Effect
   ========================================= */
.switch-pulse-icon {
    display: block;
    margin: 30px auto;
    width: 120px;
    height: auto;
    animation: floatSwitch 4s ease-in-out infinite;
}

@keyframes floatSwitch {
    0% { transform: translateY(0); filter: drop-shadow(0 10px 15px rgba(43, 144, 217, 0.2)); }
    50% { transform: translateY(-10px); filter: drop-shadow(0 20px 25px rgba(43, 144, 217, 0.5)); }
    100% { transform: translateY(0); filter: drop-shadow(0 10px 15px rgba(43, 144, 217, 0.2)); }
}


/* =========================================
   [9] Footer
   ========================================= */
.site-footer {
    background-color: #121212; /* Different from main-dark (#0a0a0a) */
    color: var(--text-grey);
    padding: 80px 0 60px 0;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-company-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.footer-info {
    margin-bottom: 40px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 25px;
    margin-bottom: 10px;
}

.footer-list li {
    font-size: 0.95rem;
    color: var(--text-grey);
    display: flex;
    align-items: center;
}

.footer-list li strong {
    color: var(--text-white);
    font-weight: 600;
    margin-right: 8px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}


/* =========================================
   [10] Animation Classes
   ========================================= */
.js-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.js-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}




/* =========================================
   [12] Inquiry Modal
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--sub-dark);
    padding: 50px;
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-grey);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
}

.modal-close:hover {
    color: var(--text-white);
    background-color: var(--point-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-white);
}

.modal-content p {
    color: var(--text-grey);
    margin-bottom: 35px;
    font-size: 1.1rem;
}

.modal-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.contact-item:hover {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.contact-item .iconify {
    font-size: 2.2rem;
    color: var(--point-color);
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.contact-text strong {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text span, .contact-text a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.contact-text a:hover {
    color: var(--point-color);
}

/* =========================================
   [13] Responsive Design
   ========================================= */
@media screen and (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title { font-size: 5rem; }
    
    .consulting-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }
}

@media screen and (max-width: 768px) {
    .site-header {
        height: 60px;
    }

    .logo img {
        height: 35px;
    }

    .container {
        padding: 0 20px;
    }
    
    .gnb-menu { display: none; } /* Simplified for mobile */
    
    .cta-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
    
    .hero-title { font-size: 3rem; }
    .hero-desc { font-size: 1.05rem; }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .work-title { font-size: 1.25rem; }
    
    .switch-pulse-icon { width: 90px; }
    
    .section-header h2 { font-size: 2rem; }
    .section-header p { font-size: 1rem; }
    
    .consulting-text h2 { font-size: 2rem; }
    .consulting-link { font-size: 2rem; }
    .consulting-link .iconify { font-size: 2rem; }
    
    #works, #consulting, #about { padding: 80px 0; }
    
    .modal-content { padding: 25px; width: 95%; }
    .modal-content h2 { font-size: 1.6rem; }
    .modal-content p { font-size: 0.95rem; }
    .contact-item { padding: 15px; gap: 12px; }
    .contact-item .iconify { font-size: 1.5rem; }
    .contact-text span, .contact-text a { 
        font-size: 0.95rem; 
        white-space: normal; 
        word-break: break-all; 
    }
}