/* ============================================
   KINDER WAKSMAN — Custom Styles
   Bold editorial · Midnight blue + Mint
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #fff;
}

/* ---- Sticky Side Navigation ---- */
.side-nav {
    width: 96px;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 1.5rem;
}

.logo-mark {
    flex-shrink: 0;
}

.logo-text {
    overflow: hidden;
}

.nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.5rem;
    text-decoration: none;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-number {
    font-family: 'Playfair Display', serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
    min-width: 18px;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin-left: auto;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-link:hover .nav-number,
.nav-link.active .nav-number {
    color: rgba(52, 211, 153, 0.6);
}

.nav-link:hover .nav-label,
.nav-link.active .nav-label {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
    transform: translateX(0);
}

.nav-link:hover .nav-dot,
.nav-link.active .nav-dot {
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.nav-link.active .nav-label {
    color: #fff;
}

.nav-cta {
    margin-top: auto;
}

.cta-btn-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    color: #34d399;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
}

.cta-btn-inline:hover {
    background: #34d399;
    color: #0a1628;
}

.cta-btn-inline svg {
    flex-shrink: 0;
}

/* ---- Main Content ---- */
.main-content {
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Hero Section ---- */
.hero-section {
    position: relative;
}

.hero-bg-decoration {
    pointer-events: none;
}

.hero-circle {
    animation: float 8s ease-in-out infinite;
}

.hero-circle-2 {
    animation-delay: -4s;
    animation-duration: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

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

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

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

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

.hero-stats {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

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

.eyebrow-line {
    display: inline-block;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #34d399, transparent);
    border-radius: 2px;
}

.eyebrow-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #34d399;
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #34d399;
    color: #0a1628;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #34d399;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #2bc48a;
    border-color: #2bc48a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(52, 211, 153, 0.3);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #34d399;
    color: #34d399;
    transform: translateY(-2px);
}

/* ---- Section Styles ---- */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-eyebrow.justify-center {
    justify-content: center;
}

.eyebrow-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-title {
    color: #fff;
}

/* ---- About Section ---- */
.about-image-wrapper {
    position: relative;
}

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

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

.about-decor {
    animation: float 6s ease-in-out infinite;
}

/* ---- Values Grid ---- */
.values-grid {
    gap: 1.5rem;
}

.value-item {
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ---- Services Grid ---- */
.services-grid {
    gap: 1.5rem;
}

.service-card {
    text-decoration: none;
    color: inherit;
}

.service-card-inner {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #5eead4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-inner::before {
    transform: scaleX(1);
}

.service-card:hover .service-card-inner {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(52, 211, 153, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-features {
    margin-top: auto;
}

/* ---- Methodology Section ---- */
.process-step {
    cursor: default;
}

.process-step-number {
    transition: all 0.3s ease !important;
}

.process-step:hover .process-step-number {
    transform: scale(1.1);
}

.methodology-decor {
    animation: float 6s ease-in-out infinite;
}

/* ---- Gallery ---- */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Contact Form ---- */
.contact-form {
    backdrop-filter: blur(10px);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #34d399;
    background: rgba(52, 211, 153, 0.05);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select option {
    background: #111f36;
    color: #fff;
}

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

.form-success {
    animation: fadeInUp 0.5s ease;
}

/* ---- Footer ---- */
.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #34d399;
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social:hover {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    transform: translateY(-2px);
}

/* ---- Scroll Indicator ---- */
.scroll-indicator {
    opacity: 0.6;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(52, 211, 153, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Mobile Menu Button ---- */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem;
    cursor: pointer;
    z-index: 50;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
    border-color: rgba(52, 211, 153, 0.3);
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* ---- Mobile Menu ---- */
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ---- Scroll Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 1023px) {
    .side-nav {
        transform: translateX(-100%);
        z-index: 40;
        width: 280px;
        padding: 1.5rem;
    }
    
    .side-nav.open {
        transform: translateX(0);
    }
    
    .nav-number {
        display: none;
    }
    
    .nav-label {
        opacity: 1;
        transform: translateX(0);
        font-size: 0.85rem;
    }
    
    .nav-dot {
        display: none;
    }
    
    .nav-link {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .nav-link.active {
        background: rgba(52, 211, 153, 0.1);
    }
    
    .nav-cta {
        display: none;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .hero-headline {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .about-floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        max-width: 100%;
    }
    
    .about-decor {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item.col-span-2 {
        col-span: 2;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 479px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        justify-content: center;
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
        white-space: nowrap;
    }
    
    .stat-label {
        margin: 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.col-span-2 {
        col-span: 1;
    }
}
