/* Main Luxury Tech Styles */

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

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

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--accent-color);
}

.cyan { color: var(--accent-color); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: rgba(10, 14, 26, 0.5);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.profile-frame-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
}

.profile-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-color);
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-frame .initials {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    animation: rotateGlow 10s linear infinite;
    opacity: 0.6;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.typewriter-container {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    min-height: 2.5rem;
    position: relative;
}

#typewriter::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-left: 5px;
    font-weight: 300;
}

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

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.hero-btns .btn {
    margin: 0 10px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.about-info-list {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    margin-bottom: 15px;
    display: flex;
}

.info-item .label {
    width: 120px;
    font-weight: 600;
    color: var(--accent-color);
}

.about-counters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

.counter-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.skill-bar {
    height: 10px;
    background: var(--glass-bg);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    transition: width 1.5s ease-in-out;
}

/* Portfolio Section */
.portfolio-filter {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px 25px;
    margin: 0 5px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.filter-btn.active {
    background: var(--accent-color);
    color: var(--bg-color);
}

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

.portfolio-thumb {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.portfolio-thumb img {
    width: 100%;
    height: auto;
    transition: var(--transition-smooth);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover .portfolio-thumb img { transform: scale(1.1); }

.view-btn {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Stats Section */
.stats-section {
    background: var(--glass-bg);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Footer Section */
.site-footer {
    padding: 80px 0 30px;
    background: rgba(10, 14, 26, 0.8);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-center ul li {
    margin-bottom: 10px;
}

.footer-center ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-right p {
    margin-bottom: 10px;
}

.social-icons a {
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--text-secondary);
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details {
    margin: 40px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.detail-item i {
    font-size: 1.5rem;
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10000;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader .circle {
    width: 60px;
    height: 60px;
    border: 4px solid var(--glass-border);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader .text {
    margin-top: 20px;
    font-weight: 800;
    letter-spacing: 5px;
    color: var(--accent-color);
}

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

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #25d366;
}

.whatsapp-float span {
    position: absolute;
    left: 70px;
    background: #0A0E1A;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    border: 1px solid var(--accent-color);
}

.whatsapp-float:hover span {
    opacity: 1;
    visibility: visible;
}
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.progress-circle path {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 4;
    transition: stroke-dashoffset 10ms linear;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .navbar { padding: 10px 0; }
    .nav-links { display: none; }
    .hero-title { font-size: 2.2rem; margin-top: 20px; }
    .hero-section { 
        padding-top: 140px; 
        height: auto; 
        min-height: 100vh;
        overflow: visible; 
    }
    .profile-frame-wrapper {
        width: 240px;
        height: 240px;
        margin-bottom: 20px;
    }
    .skills-grid { grid-template-columns: 1fr; }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float span {
        display: none;
    }
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}
