/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.logo-text p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: #2563eb;
    background-color: #f3f4f6;
}

.nav-link.active {
    color: #1d4ed8;
    background-color: #dbeafe;
}

.nav-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: 0.3s;
}

/* Page Management */
.page {
    display: none;
    padding-top: 70px;
    min-height: 100vh;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    color: #1f2937;
}

.text-primary {
    color: #2563eb;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.badge {
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    color: #374151;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.badge i {
    color: #2563eb;
}

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

.section-header h1,
.section-header h2,
.section-header h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Developers Section */
.developers {
    padding: 80px 0;
    background: white;
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.developer-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.developer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.availability-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #10b981;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.availability-badge i {
    font-size: 8px;
}

.card-content {
    padding: 24px;
}

.card-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.developer-title {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 1rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.skill {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.skill-blue { background: #dbeafe; color: #1e40af; }
.skill-purple { background: #e9d5ff; color: #7c3aed; }
.skill-green { background: #d1fae5; color: #059669; }
.skill-orange { background: #fed7aa; color: #ea580c; }
.skill-red { background: #fecaca; color: #dc2626; }
.skill-gray { background: #f3f4f6; color: #374151; }
.skill-yellow { background: #fef3c7; color: #d97706; }

/* Social Section */
.social-section {
    margin-bottom: 24px;
}

.social-section h5 {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.social-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.social-btn:hover {
    transform: scale(1.05);
}

.social-btn.instagram { background: #fdf2f8; color: #ec4899; }
.social-btn.instagram:hover { background: #fce7f3; }

.social-btn.facebook { background: #dbeafe; color: #2563eb; }
.social-btn.facebook:hover { background: #bfdbfe; }

.social-btn.linkedin { background: #dbeafe; color: #1d4ed8; }
.social-btn.linkedin:hover { background: #bfdbfe; }

.social-btn.github { background: #f3f4f6; color: #374151; }
.social-btn.github:hover { background: #e5e7eb; }

.social-btn.email { background: #fef2f2; color: #dc2626; }
.social-btn.email:hover { background: #fee2e2; }

.social-btn.whatsapp { background: #dcfce7; color: #16a34a; }
.social-btn.whatsapp:hover { background: #bbf7d0; }

.social-btn.telegram { background: #dbeafe; color: #3b82f6; }
.social-btn.telegram:hover { background: #bfdbfe; }

.social-btn.phone { background: #f3e8ff; color: #8b5cf6; }
.social-btn.phone:hover { background: #e9d5ff; }

/* Hire Button */
.hire-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hire-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.feature-icon.rocket { background: #dbeafe; color: #2563eb; }
.feature-icon.shield { background: #dcfce7; color: #16a34a; }
.feature-icon.cog { background: #f3e8ff; color: #8b5cf6; }
.feature-icon.support { background: #fed7aa; color: #ea580c; }

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Skills Page Styles */
.skills-hero,
.contact-hero {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    padding: 60px 0;
    text-align: center;
}

.skills-content,
.contact-content {
    padding: 80px 0;
    background: white;
}

.team-skills {
    margin-bottom: 80px;
}

.member-skills {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
    overflow: hidden;
}

.member-header {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.member-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1f2937;
}

.member-header p {
    color: #6b7280;
    margin: 0;
}

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

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

.skill-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.skill-icon {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.skill-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
}

.skill-category {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.skill-category.frontend { background: #dbeafe; color: #1e40af; }
.skill-category.backend { background: #dcfce7; color: #059669; }
.skill-category.gaming { background: #fecaca; color: #dc2626; }
.skill-category.security { background: #fed7aa; color: #ea580c; }
.skill-category.hardware { background: #e9d5ff; color: #7c3aed; }

.skill-percentage {
    font-weight: 600;
    color: #374151;
    margin-left: auto;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.skill-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Technologies Section */
.technologies {
    margin-top: 80px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.tech-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
}

.tech-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tech-icon {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #6b7280;
    font-size: 24px;
}

.tech-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.tech-category {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

/* Contact Page Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 80px;
}

.info-card,
.form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.info-card {
    padding: 32px;
}

.info-card h3,
.form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-icon.email { background: #dbeafe; color: #2563eb; }
.info-icon.phone { background: #dcfce7; color: #16a34a; }
.info-icon.location { background: #f3e8ff; color: #8b5cf6; }
.info-icon.clock { background: #fed7aa; color: #ea580c; }

.info-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
}

.info-details p {
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Contact Form */
.form-card {
    padding: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.submit-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

/* Quick Contact Cards */
.quick-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.quick-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    border: 2px solid;
}

.email-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
}

.phone-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}

.chat-card {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-color: #e9d5ff;
}

.quick-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.email-card .quick-icon { background: #2563eb; color: white; }
.phone-card .quick-icon { background: #16a34a; color: white; }
.chat-card .quick-icon { background: #8b5cf6; color: white; }

.quick-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.quick-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.quick-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.phone-card .quick-btn { background: #16a34a; }
.chat-card .quick-btn { background: #8b5cf6; }

.quick-btn:hover {
    transform: translateY(-2px);
    filter: brightness(110%);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 48px 0 24px;
}

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

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

.footer-logo .logo-icon {
    background: #2563eb;
}

.footer-section h5,
.footer-section h6 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: #9ca3af;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li i {
    color: #2563eb;
    width: 16px;
}

.footer-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-header {
    text-align: center;
    padding: 32px 24px 24px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.modal-icon.whatsapp {
    background: #dcfce7;
    color: #16a34a;
}

.modal-icon.telegram {
    background: #dbeafe;
    color: #3b82f6;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.modal-header p {
    color: #6b7280;
    margin: 0;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 24px;
}

.phone-display {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.phone-display span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    font-family: 'Courier New', monospace;
}

.modal-body p {
    color: #6b7280;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

.modal-footer {
    padding: 24px;
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.copy-btn:hover {
    background: #e5e7eb;
}

.copy-btn.copied {
    background: #dcfce7;
    color: #16a34a;
    border-color: #bbf7d0;
}

.contact-btn {
    background: #16a34a;
    color: white;
    border: none;
}

.contact-btn:hover {
    background: #15803d;
}

.contact-btn.telegram {
    background: #3b82f6;
}

.contact-btn.telegram:hover {
    background: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .developers-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .quick-contact {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .section-header h1,
    .section-header h2,
    .section-header h3 {
        font-size: 2rem;
    }
    
    .developers,
    .features,
    .skills-content,
    .contact-content {
        padding: 60px 0;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .social-grid {
        gap: 8px;
    }
    
    .social-btn {
        height: 40px;
        font-size: 14px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
}