/* ===================================
   Value Express PC Service — Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* --- Scroll Reveal (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: always visible if JS disabled or prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Navbar --- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(46, 125, 50, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-link {
    position: relative;
}

.nav-link:hover {
    color: #2e7d32 !important;
}

/* --- Hero Section --- */
.hero-gradient {
    background: linear-gradient(135deg, 
        #1b5e20 0%, 
        #2e7d32 25%, 
        #388e3c 45%, 
        #43a047 60%, 
        #66bb6a 80%, 
        #81c784 100%
    );
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #a5d6a7;
    top: -100px;
    right: -80px;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: #c8e6c9;
    bottom: 10%;
    left: 5%;
    animation-delay: -2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: #e8f5e9;
    top: 30%;
    left: 10%;
    animation-delay: -4s;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: #81c784;
    bottom: -50px;
    right: 15%;
    animation-delay: -6s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: #a5d6a7;
    top: 20%;
    right: 25%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-20px) rotate(5deg) scale(1.02); }
    66% { transform: translateY(10px) rotate(-3deg) scale(0.98); }
}

.hero-headline {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
}

.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

.hero-headline {
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-ctas {
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.hero-trust {
    animation: fadeInUp 0.8s ease 0.7s forwards;
    opacity: 0;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero Buttons --- */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: white;
    color: #1b5e20;
    border-radius: 60px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 60px;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-primary:hover::before {
    opacity: 1;
}

.cta-primary span {
    position: relative;
    z-index: 1;
}

.cta-primary .cta-arrow {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.cta-primary:hover .cta-arrow {
    transform: translateX(4px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: white;
    border-radius: 60px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 60px;
}

.cta-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-secondary span {
    position: relative;
    z-index: 1;
}

.cta-secondary .cta-arrow {
    position: relative;
    z-index: 1;
    display: flex;
    transition: transform 0.3s ease;
}

.cta-secondary:hover .cta-arrow {
    transform: translateY(3px);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    animation: bounce 2s ease infinite;
}

.scroll-mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* --- Section Labels & Titles --- */
.section-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2e7d32;
    background: linear-gradient(135deg, #e8f5e9, #dcedce);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #c8e6c9;
}

.section-label-light {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a5d6a7;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #1b5e20;
    line-height: 1.1;
}

.section-title-light {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #4a7c59;
    line-height: 1.7;
}

.section-subtitle-light {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* --- Service Cards --- */
.service-card {
    will-change: transform;
}

.card-title {
    font-family: 'Outfit', sans-serif;
}

.card-desc {
    font-size: 0.95rem;
}

.card-tags {
    margin-top: auto;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: #f0f7f0;
    color: #4a7c59;
    border: 1px solid #dcedce;
    transition: all 0.2s ease;
}

.service-card:hover .tag {
    background: #e8f5e9;
    border-color: #c8e6c9;
}

/* --- About Section --- */
.about-desc {
    font-size: 1.05rem;
}

.about-image-wrapper {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.about-stat-card {
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.about-feature {
    font-size: 0.95rem;
}

/* --- Why Us Section --- */
.why-bg {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 40%, #388e3c 70%, #43a047 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.why-card {
    will-change: transform;
}

.why-title {
    font-family: 'Outfit', sans-serif;
}

.why-desc {
    font-size: 0.95rem;
}

/* --- Contact Form --- */
.form-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-input {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-submit {
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
}

.form-submit::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-submit:hover::after {
    opacity: 1;
}

/* --- Mobile Menu --- */
.mobile-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .about-stat-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        display: inline-block;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        gap: 6px;
    }
    
    .hero-trust > div {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    #navbar {
        background: rgba(254, 253, 248, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(46, 125, 50, 0.08);
    }
    
    .contact-form-wrapper {
        padding: 1.5rem !important;
    }
}

/* --- Utility --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-gradient {
        background-position: 50% 50%;
        animation: none;
    }
    
    .hero-shape {
        animation: none;
    }
    
    .hero-headline,
    .hero-subtitle,
    .hero-ctas,
    .hero-trust,
    .hero-badge {
        opacity: 1;
        animation: none;
    }
}
