/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;600;700&display=swap');

/* LOGO ANIMATIONS */
.logo-rotating {
    animation: logoRotate 20s linear infinite;
    transform-origin: center;
}

@keyframes logoRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-container {
    display: inline-block;
    line-height: 0;
}

.logo-container:hover .logo-rotating {
    animation: logoRotateFast 2s linear infinite;
}

@keyframes logoRotateFast {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-pulse {
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

body {
    line-height: 1.7;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
}

:root {
    --orange-primary: #FF6B35;
    --orange-light: #f7931e;
    --emerald-primary: #10b981;
    --emerald-light: #34d399;
}

/* ============================================
   ELECTRICAL GRID BACKGROUND
   ============================================ */
.electrical-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.08) 2px, transparent 2px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.08) 2px, transparent 2px);
    background-size: 60px 60px;
    animation: gridPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ============================================
   PARTICLES
   ============================================ */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s infinite ease-in-out;
}

.particle:nth-child(odd) {
    background: var(--orange-primary);
    box-shadow: 0 0 15px var(--orange-primary), 0 0 30px var(--orange-primary), 0 0 45px rgba(255, 107, 53, 0.5);
}

.particle:nth-child(even) {
    background: var(--emerald-primary);
    box-shadow: 0 0 15px var(--emerald-primary), 0 0 30px var(--emerald-primary), 0 0 45px rgba(16, 185, 129, 0.5);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateX(0); 
        opacity: 0; 
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-120vh) translateX(80px); 
        opacity: 0; 
    }
}

/* ============================================
   CIRCUIT LINES
   ============================================ */
.circuit-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 53, 0.3) 10%,
        var(--orange-primary) 30%, 
        var(--emerald-primary) 50%, 
        var(--orange-primary) 70%,
        rgba(255, 107, 53, 0.3) 90%,
        transparent 100%);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.6), 0 0 20px rgba(16, 185, 129, 0.4);
    pointer-events: none;
    opacity: 0.8;
    animation: flowRight 4s infinite ease-in-out;
}

@keyframes flowRight {
    0% { 
        transform: translateX(-100%); 
        opacity: 0;
    }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { 
        transform: translateX(200%); 
        opacity: 0;
    }
}

/* ============================================
   LIGHTNING BOLTS
   ============================================ */
.lightning-bolt {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--emerald-primary), transparent);
    box-shadow: 0 0 10px var(--emerald-primary), 0 0 20px var(--emerald-primary);
    animation: lightning 5s infinite;
    opacity: 0;
    pointer-events: none;
}

@keyframes lightning {
    0%, 100% { 
        opacity: 0; 
        transform: translateY(0); 
    }
    10% { opacity: 1; }
    20% { 
        opacity: 0; 
        transform: translateY(150px); 
    }
}

/* ============================================
   ENERGY WAVES
   ============================================ */
.energy-wave {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
    box-shadow: 0 0 5px var(--orange-primary), 0 0 10px var(--orange-primary);
    animation: waveMove 6s infinite ease-in-out;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes waveMove {
    0%, 100% { 
        transform: translateX(-100%); 
        opacity: 0; 
    }
    50% { 
        transform: translateX(100%); 
        opacity: 0.6; 
    }
}

/* ============================================
   GRADIENT TEXT
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--emerald-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   PREMIUM CARDS - БЕЗ ПРОЗИРАНЕ
   ============================================ */
.premium-card {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    cursor: pointer;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1) translateZ(0px);
}

@media (prefers-color-scheme: dark) {
    .premium-card {
        background: rgb(31, 41, 55);
    }
}

/* ПРЕМАХНАТО ПРОЗИРАНЕТО - БЕЗ ::before */

/* САМО подсветка по краищата при hover */
.premium-card:hover {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.4),
                0 0 20px rgba(255, 107, 53, 0.3),
                0 10px 40px rgba(255, 107, 53, 0.2);
}

.premium-card > * {
    position: relative;
    z-index: 1;
}

@media (hover: none) {
    .premium-card:active {
        border-color: rgba(255, 107, 53, 0.6);
        box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.4),
                    0 0 20px rgba(255, 107, 53, 0.3);
        transform: scale(1.02);
    }
}

/* ============================================
   SERVICE ICON
   ============================================ */
.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    transform-style: preserve-3d;
    overflow: visible;
}

.premium-card:hover .service-icon {
    transform: rotateY(360deg);
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6),
                0 0 20px rgba(255, 107, 53, 0.4);
}

@media (hover: none) {
    .premium-card:active .service-icon {
        transform: rotateY(180deg);
        border-color: rgba(16, 185, 129, 0.8);
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
    }
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2.5;
}

/* ============================================
   STAT CARDS - БЕЗ ПРОЗИРАНЕ
   ============================================ */
.stat-card {
    background: rgb(255, 255, 255);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1) translateZ(0px);
}

@media (prefers-color-scheme: dark) {
    .stat-card {
        background: rgb(31, 41, 55);
    }
}

/* САМО подсветка по краищата */
.stat-card:hover {
    border-color: rgba(255, 107, 53, 0.8);
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.5),
                0 0 30px rgba(255, 107, 53, 0.4),
                0 10px 50px rgba(255, 107, 53, 0.3);
}

/* ПРЕМАХНАТО ::before градиента */

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-card:hover .counter {
    animation: counterPulse 0.5s ease;
}

@keyframes counterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.counter {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
}

/* ============================================
   PROJECT CARDS - БЕЗ ПРОЗИРАНЕ
   ============================================ */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

@media (prefers-color-scheme: dark) {
    .project-card {
        background: rgb(31, 41, 55);
    }
}

/* ПРЕМАХНАТО ::after прозирането */

/* САМО подсветка по краищата */
.project-card:hover {
    transform: scale(1.05);
    border-color: rgba(255, 107, 53, 0.8);
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.5),
                0 0 30px rgba(255, 107, 53, 0.4),
                0 20px 60px rgba(255, 107, 53, 0.3);
}

/* Продължава в част 2... */
/* Продължение от част 1 */

/* ============================================
   LIGHTNING DIVIDER
   ============================================ */
.lightning-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 53, 0.5) 10%,
        var(--orange-primary) 20%, 
        var(--emerald-primary) 50%, 
        var(--orange-primary) 80%,
        rgba(255, 107, 53, 0.5) 90%,
        transparent 100%);
    position: relative;
    margin: 4rem 0;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.4), 0 0 20px rgba(16, 185, 129, 0.3);
}

.lightning-divider::before,
.lightning-divider::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--orange-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px var(--orange-primary), 0 0 40px rgba(255, 107, 53, 0.5);
}

.lightning-divider::after {
    background: var(--emerald-primary);
    box-shadow: 0 0 20px var(--emerald-primary), 0 0 40px rgba(16, 185, 129, 0.5);
}

.lightning-divider::before {
    left: 20%;
    animation: pulse 2s infinite;
}

.lightning-divider::after {
    right: 20%;
    animation: pulse 2s infinite 1s;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: translateY(-50%) scale(1);
    }
    50% { 
        opacity: 0.5; 
        transform: translateY(-50%) scale(1.3);
    }
}

/* ============================================
   MAGNETIC EFFECT
   ============================================ */
.magnetic {
    transition: transform 0.2s ease-out;
}

/* ============================================
   BLUEPRINT GRID
   ============================================ */
.blueprint-grid {
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ============================================
   EXISTING ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromBottom {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromTop {
    from { 
        opacity: 0;
        transform: translateY(-30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from { 
        opacity: 0;
        transform: translateX(-30px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from { 
        opacity: 0;
        transform: translateX(30px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-in {
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.animate-slide-in-top {
    animation: slideInFromTop 0.8s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInFromRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* ============================================
   FADE-IN SECTIONS
   ============================================ */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   STAGGERED ANIMATIONS
   ============================================ */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ============================================
   MODAL STYLES
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
    backdrop-filter: blur(4px);
}

.modal-overlay.closing {
    animation: modalFadeOut 0.3s ease-out forwards;
}

.modal-content {
    background: white;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 1rem;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.modal-content.closing {
    animation: modalFadeOut 0.3s ease-out;
}

@media (prefers-color-scheme: dark) {
    .modal-content {
        background: #1f2937;
        border-color: rgba(16, 185, 129, 0.2);
    }
}

.modal-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* ============================================
   GALLERY STYLES
   ============================================ */
.gallery-thumbnail {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s, border-color 0.3s;
}

.gallery-thumbnail:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(16, 185, 129, 0.2),
                0 0 15px rgba(16, 185, 129, 0.3),
                0 0 30px rgba(16, 185, 129, 0.2);
}

.image-modal-content {
    background: transparent;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-size-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}

.gallery-image-fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

.gallery-image-fade-in {
    animation: fadeInScale 0.4s ease-out forwards;
}

/* ============================================
   DIVIDERS
   ============================================ */
.section-divider {
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    height: 1px;
    opacity: 0.1;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */
.success-message {
    animation: slideInFromBottom 0.5s ease-out;
}

/* ============================================
   ACCENT COLORS
   ============================================ */
.accent-gradient {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--emerald-primary) 100%);
}

.accent-gradient-subtle {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

/* ============================================
   GLOW EFFECTS
   ============================================ */
.hover-glow-orange {
    transition: all 0.3s ease;
}

.hover-glow-orange:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(255, 107, 53, 0.3),
                0 0 25px rgba(255, 107, 53, 0.5),
                0 0 50px rgba(255, 107, 53, 0.35);
}

.hover-glow-emerald {
    transition: all 0.3s ease;
}

.hover-glow-emerald:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(16, 185, 129, 0.4),
                0 0 25px rgba(16, 185, 129, 0.6),
                0 0 50px rgba(16, 185, 129, 0.5);
}

.hover-glow-viber {
    transition: all 0.3s ease;
}

.hover-glow-viber:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(124, 77, 255, 0.4),
                0 0 25px rgba(124, 77, 255, 0.6),
                0 0 50px rgba(124, 77, 255, 0.5);
}

.hover-glow-whatsapp {
    transition: all 0.3s ease;
}

.hover-glow-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(37, 211, 102, 0.4),
                0 0 25px rgba(37, 211, 102, 0.6),
                0 0 50px rgba(37, 211, 102, 0.5);
}

.accent-border {
    border-color: var(--orange-primary);
}

.accent-text {
    color: var(--orange-primary);
}

/* ============================================
   PARALLAX EFFECT
   ============================================ */
.parallax-bg {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   LAZY LOADING WITH BLUR-UP
   ============================================ */
img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@media (prefers-color-scheme: dark) {
    img[loading="lazy"] {
        background: linear-gradient(90deg, #2d2d2d 25%, #1f1f1f 50%, #2d2d2d 75%);
        background-size: 200% 100%;
    }
}

.img-loading {
    filter: blur(10px);
    transition: filter 0.3s ease-out;
}

.img-loaded {
    filter: blur(0);
}

/* ============================================
   SKELETON LOADERS
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}

@media (prefers-color-scheme: dark) {
    .skeleton {
        background: linear-gradient(90deg, #2d2d2d 25%, #1f1f1f 50%, #2d2d2d 75%);
    }
}

/* ============================================
   ENHANCED HOVER EFFECTS
   ============================================ */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* CARD HOVER GLOW - БЕЗ ПРОЗИРАНЕ */
.card-hover-glow {
    transition: all 0.3s ease;
    position: relative;
}

.card-hover-glow:hover {
    transform: scale(1.02);
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.3),
                0 0 20px rgba(255, 107, 53, 0.35),
                0 10px 40px rgba(255, 107, 53, 0.25);
}

/* Продължава в част 3... */
/* Продължение от част 2 */

/* ============================================
   PREMIUM BUTTONS
   ============================================ */
.premium-button {
    position: relative;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 50%, var(--orange-primary) 100%);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    color: white;
}

.premium-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.premium-button:hover::before {
    width: 300px;
    height: 300px;
}

.premium-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.6),
                0 0 30px rgba(255, 107, 53, 0.4);
}

/* ============================================
   VIBER & WHATSAPP BUTTONS
   ============================================ */
.viber-button {
    background: linear-gradient(135deg, #665CAC 0%, #7C4DFF 100%);
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.3);
    transition: all 0.3s ease;
}

.viber-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(124, 77, 255, 0.35);
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* ============================================
   LINE CLAMP UTILITIES
   ============================================ */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   BETTER FOCUS STATES
   ============================================ */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--emerald-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

/* ============================================
   FORM VALIDATION
   ============================================ */
.input-valid {
    border-color: var(--emerald-primary);
    background-color: rgba(16, 185, 129, 0.05);
}

.input-invalid {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.input-error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.input-success-message {
    color: var(--emerald-primary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ============================================
   CHARACTER COUNTER
   ============================================ */
.char-counter {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: right;
    margin-top: 0.25rem;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.danger {
    color: #ef4444;
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */
@media (max-width: 768px) {
    button, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .modal-overlay {
        touch-action: pan-y;
    }
    
    .modal-content {
        touch-action: pan-y;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
#back-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#back-to-top.show {
    opacity: 1;
    pointer-events: all;
}

#back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.4);
}

#back-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading-spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--orange-primary);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@media (prefers-color-scheme: dark) {
    .loading-spinner {
        border-color: rgba(255, 255, 255, 0.1);
        border-left-color: var(--emerald-primary);
    }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

/* ============================================
   MOBILE MENU STYLES
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 39;
    backdrop-filter: blur(4px);
}

.mobile-menu-container {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 40;
    -webkit-overflow-scrolling: touch;
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

nav {
    position: fixed;
    z-index: 50;
}

@keyframes slideInFromTopMenu {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-container {
    animation: slideInFromTopMenu 0.3s ease-out;
}

@media (prefers-color-scheme: dark) {
    .mobile-menu-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

/* ============================================
   HERO SKELETON BUTTONS
   ============================================ */
.hero-skeleton-buttons {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hero-skeleton-buttons.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-real-buttons {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-real-buttons.show {
    opacity: 1;
}

/* ============================================
   SERVICES GRID LAYOUT - 4 COLUMNS
   ============================================ */
#services-grid {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    #services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .premium-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }
    
    .service-icon svg {
        width: 32px;
        height: 32px;
    }
    
    #services .premium-card > div {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }
    
    #services .service-icon {
        margin-right: 0 !important;
    }
}

/* ============================================
   ORANGE DOMINANCE
   ============================================ */

/* Premium Cards - Оранжев glow */
.premium-card:hover {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.4),
                0 0 20px rgba(255, 107, 53, 0.3),
                0 10px 40px rgba(255, 107, 53, 0.2);
}

/* Service Icon - Оранжев border */
.premium-card:hover .service-icon {
    border-color: rgba(255, 107, 53, 0.8);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.6),
                0 0 20px rgba(255, 107, 53, 0.4);
}

/* Card Hover Glow - Оранжев */
.card-hover-glow:hover {
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.3),
                0 0 20px rgba(255, 107, 53, 0.35),
                0 10px 40px rgba(255, 107, 53, 0.25);
}

/* Stat Cards - Оранжев glow */
.stat-card:hover {
    border-color: rgba(255, 107, 53, 0.8);
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.5),
                0 0 30px rgba(255, 107, 53, 0.4),
                0 10px 50px rgba(255, 107, 53, 0.3);
}

/* Project Cards - Оранжев glow */
.project-card:hover {
    border-color: rgba(255, 107, 53, 0.8);
    box-shadow: 0 0 0 1px rgba(255, 107, 53, 0.5),
                0 0 30px rgba(255, 107, 53, 0.4),
                0 20px 60px rgba(255, 107, 53, 0.3);
}

/* Gallery Thumbnails - Оранжев ring */
.gallery-thumbnail:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 107, 53, 0.2),
                0 0 15px rgba(255, 107, 53, 0.3),
                0 0 30px rgba(255, 107, 53, 0.2);
}

/* Premium Button - Повече оранжево */
.premium-button {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 50%, var(--orange-primary) 100%);
}

.premium-button:hover {
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.6),
                0 0 30px rgba(255, 107, 53, 0.4);
}

/* Lightning Divider - Повече оранжево */
.lightning-divider {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 53, 0.5) 10%,
        var(--orange-primary) 30%, 
        var(--orange-light) 50%, 
        var(--orange-primary) 70%,
        rgba(255, 107, 53, 0.5) 90%,
        transparent 100%);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 107, 53, 0.3);
}

/* Accent Gradient - Повече оранжево */
.accent-gradient {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
}

/* Gradient Text - Повече оранжево */
.gradient-text {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Form Focus - Оранжев */
#contact input:focus,
#contact textarea:focus {
    ring-color: rgba(255, 107, 53, 0.5);
    border-color: rgba(255, 107, 53, 0.5);
}

/* Hover Glow Orange - Засилен */
.hover-glow-orange:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(255, 107, 53, 0.4),
                0 0 30px rgba(255, 107, 53, 0.6),
                0 0 60px rgba(255, 107, 53, 0.4);
}

/* HIDDEN ENGINEER CARD */
.engineer-card-hidden {
    display: none !important;
}

/* END OF FILE */