/* ================================================
   PROFESSOR PORCINO - SITE ULTRA MODERNO
   CSS Futurista com Glassmorphism e Animações 3D
   ================================================ */

/* ===== VARIÁVEIS CSS ===== */
:root {
    /* Cores Principais */
    --primary: #ff6600;
    --primary-light: #ff8533;
    --primary-dark: #cc5200;
    --secondary: #00ccff;
    
    /* Cores Dark Theme */
    --dark: #0a0a0a;
    --dark-lighter: #121212;
    --dark-medium: #1a1a1a;
    --dark-card: rgba(26, 26, 26, 0.7);
    --dark-light: #2a2a2a;
    
    /* Cores de Texto */
    --light: #f0f0f0;
    --light-dark: #cccccc;
    --text-muted: #999999;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    --gradient-secondary: linear-gradient(135deg, #00ccff 0%, #0099cc 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 102, 0, 0.5);
    --shadow-glow-strong: 0 0 40px rgba(255, 102, 0, 0.8);
    
    /* Transições */
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
    --transition-slow: all 0.8s ease;
    
    /* Z-Index */
    --z-particles: 0;
    --z-content: 1;
    --z-navbar: 1000;
    --z-loading: 9999;
}

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

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

ul {
    list-style: none;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ===== UTILITÁRIOS ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

/* ===== GLASS MORPHISM CARD ===== */
.glass-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.glass-card:hover {
    background: rgba(26, 26, 26, 0.7);
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::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: var(--transition-medium);
    z-index: -1;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.6);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loading);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 102, 0, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: 3px;
}

.dots::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: var(--z-particles);
    background: var(--dark);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: var(--z-navbar);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: var(--transition-fast);
}

.nav-logo:hover img {
    transform: rotate(10deg) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 102, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 102, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-avatar {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    animation: float 3s ease-in-out infinite;
}

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

.hero-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 2;
}

.avatar-ring,
.avatar-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.avatar-ring {
    width: 220px;
    height: 220px;
    opacity: 0.6;
}

.avatar-ring-2 {
    width: 250px;
    height: 250px;
    opacity: 0.3;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.2;
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light);
    font-family: 'Orbitron', sans-serif;
}

.typing-text {
    color: var(--primary);
}

.cursor {
    color: var(--primary);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-dark);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

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

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    position: relative;
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--light-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
    position: relative;
    z-index: var(--z-content);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-dark);
    margin-top: 20px;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--dark-lighter);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-text h3,
.about-skills h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-text {
    padding: 30px;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

.about-info {
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.info-item:hover {
    background: rgba(255, 102, 0, 0.2);
    transform: translateX(10px);
}

.info-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-skills {
    padding: 30px;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-item {
    position: relative;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: 600;
    color: var(--light);
}

.skill-percentage {
    font-weight: 600;
    color: var(--primary);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* ===== EXPERIENCE SECTION ===== */
.experience {
    background: var(--dark);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), transparent);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid var(--dark);
    border-radius: 50%;
    z-index: 2;
    box-shadow: var(--shadow-glow);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 102, 0, 0);
    }
}

.timeline-card {
    width: calc(50% - 40px);
    padding: 30px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-card {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: auto;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.timeline-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.timeline-card:hover .timeline-icon {
    background: var(--primary);
    transform: rotate(360deg);
}

.timeline-card:hover .timeline-icon i {
    color: #fff;
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding: 8px 15px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 20px;
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-content h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.timeline-content ul {
    margin-top: 15px;
}

.timeline-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--light-dark);
}

.timeline-content li i {
    color: var(--primary);
    margin-top: 5px;
    flex-shrink: 0;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--dark-lighter);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(255, 102, 0, 0.1), transparent);
    transition: var(--transition-fast);
    z-index: 0;
}

.service-card:hover::before {
    height: 100%;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: rotateY(360deg);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--light-dark);
    margin-bottom: 20px;
}

.service-features {
    text-align: left;
    margin-top: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--light-dark);
}

.service-features li i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* ===== BLOG SECTION ===== */
.blog {
    background: var(--dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    overflow: hidden;
    transition: var(--transition-fast);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-play {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: var(--transition-fast);
}

.blog-play:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-glow);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--primary);
}

.blog-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: var(--transition-fast);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary-light);
}

.blog-content p {
    color: var(--light-dark);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-cta {
    text-align: center;
    margin-top: 60px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--dark-lighter);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info,
.contact-form-wrapper {
    padding: 30px;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 102, 0, 0.05);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.contact-item:hover {
    background: rgba(255, 102, 0, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(360deg);
}

.contact-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p,
.contact-details a {
    color: var(--light-dark);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

/* ===== FORM STYLES ===== */
.contact-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 45px 15px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    color: var(--primary);
    background: var(--dark-lighter);
    padding: 0 5px;
}

.form-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-medium);
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.footer-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-col p {
    color: var(--light-dark);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-dark);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-links i {
    color: var(--primary);
    font-size: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-bottom i {
    color: var(--primary);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ===== BLOG PAGE STYLES ===== */
.blog-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 150px 0 80px;
}

.blog-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.blog-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.blog-hero-content p {
    font-size: 1.2rem;
    color: var(--light-dark);
    margin-bottom: 40px;
}

.blog-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 25px;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.blog-posts {
    padding: 80px 0;
    background: var(--dark-lighter);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--light-dark);
}

.tag i {
    color: var(--primary);
    font-size: 0.7rem;
}

.newsletter-section {
    padding: 40px;
    margin-top: 60px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.newsletter-text {
    flex: 1;
    min-width: 250px;
}

.newsletter-text h3 {
    margin-bottom: 10px;
}

.newsletter-text p {
    color: var(--light-dark);
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 300px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ===== POST PAGE STYLES ===== */
.post-page {
    padding: 120px 0 80px;
    background: var(--dark-lighter);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 15px;
    background: rgba(255, 102, 0, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.breadcrumb a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--light-dark);
}

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

.separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--primary);
}

.post-content {
    max-width: 900px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
}

.post-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.post-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--primary);
}

.post-video {
    margin-bottom: 40px;
    padding: 0;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.post-description {
    padding: 40px;
    margin-bottom: 40px;
}

.post-description h2,
.post-description h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 20px;
}

.post-description p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.post-list {
    margin: 20px 0;
    padding-left: 20px;
}

.post-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--light-dark);
    line-height: 1.6;
}

.post-list li i {
    color: var(--primary);
    margin-top: 5px;
    flex-shrink: 0;
}

.post-highlight {
    background: rgba(255, 102, 0, 0.1);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    display: flex;
    gap: 15px;
}

.post-highlight i {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.post-highlight p {
    margin: 0;
}

.post-share {
    padding: 30px;
    margin-bottom: 40px;
}

.post-share h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.linkedin {
    background: #0077b5;
    color: #fff;
}

.share-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.share-btn.email {
    background: rgba(255, 102, 0, 0.2);
    color: var(--primary);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.related-posts {
    margin-bottom: 40px;
}

.related-posts h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    overflow: hidden;
    transition: var(--transition-fast);
}

.related-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.related-card:hover .related-overlay {
    opacity: 1;
}

.play-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.related-content p {
    font-size: 0.9rem;
    color: var(--light-dark);
    margin: 0;
}

.post-cta {
    padding: 40px;
    margin-bottom: 40px;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.cta-text {
    flex: 1;
    min-width: 250px;
}

.cta-text h3 {
    margin-bottom: 10px;
}

.cta-text p {
    color: var(--light-dark);
    margin: 0;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-btn {
    flex: 1;
    min-width: 200px;
    padding: 20px 25px;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-btn.next {
    justify-content: flex-end;
    text-align: right;
}

.nav-btn:hover {
    background: rgba(255, 102, 0, 0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.5rem; }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start !important;
        padding-left: 80px;
    }
    
    .timeline-dot {
        left: 30px;
        transform: translateX(0);
    }
    
    .timeline-card {
        width: 100%;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        transition: var(--transition-fast);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .hero-description { font-size: 1rem; }
    
    .hero-avatar {
        width: 150px;
        height: 150px;
    }
    
    .avatar-ring { width: 170px; height: 170px; }
    .avatar-ring-2 { width: 200px; height: 200px; }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number { font-size: 2.5rem; }
    
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .post-title { font-size: 2rem; }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    .blog-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== SCROLLBAR CUSTOMIZATION ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ===== SELECTION ===== */
::selection {
    background: var(--primary);
    color: #fff;
}

::-moz-selection {
    background: var(--primary);
    color: #fff;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .scroll-indicator,
    .back-to-top,
    #particles-js {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
}
