/* Variables CSS */
:root {
    --primary-color: #D4AF37; /* Dorado medio profesional */
    --secondary-color: #A67C00; /* Dorado oscuro/Bronce */
    --accent-color: #F9D976; /* Dorado brillante para highlights */
    --text-color: #ffffff; /* Texto blanco */
    --light-text: #d1d1d1; /* Gris claro para textos secundarios */
    --bg-color: #0a0a0a; /* Negro profundo */
    --card-bg: #141414; /* Negro para tarjetas */
    --border-color: #2a2a2a; /* Gris oscuro para bordes */
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(212, 175, 55, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.logo p {
    font-size: 0.875rem;
    color: var(--light-text);
    margin-top: 0.25rem;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #050505 0%, #0a0a0a 40%, #111111 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(166, 124, 0, 0.06) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(2%, -2%) rotate(3deg); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease, shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s both;
    color: var(--light-text);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.stat {
    text-align: center;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
}

.stat:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0.75rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

/* Projects Section */
.projects {
    background: linear-gradient(180deg, var(--bg-color) 0%, #080808 50%, var(--bg-color) 100%);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid var(--border-color);
}

/* Status Labels for Projects */
.project-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.project-status.completado {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.5);
}

.project-status.en-proceso {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 100%);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.project-overlay h3 {
    color: var(--primary-color);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.3;
}

.project-info p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.tech-tags span {
    background: rgba(212, 175, 55, 0.08);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-project {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #0a0a0a;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.btn-project:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(212, 175, 55, 0.4);
}

.btn-website {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-website:hover {
    background: var(--primary-color);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(212, 175, 55, 0.4);
}

.project-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* About Section */
.about {
    background-color: var(--bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--light-text);
}

.about-text h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-text li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-text li:last-child {
    border-bottom: none;
}

.about-text li i {
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skill-category {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.skill-category h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.skill-category p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 12px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--bg-color) 0%, #050505 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.contact-item:hover {
    transform: translateY(-4px);
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item:hover i {
    color: var(--accent-color);
    background: rgba(212, 175, 55, 0.2);
}

.contact-form {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--card-bg) 100%);
    margin: 0;
    padding: 0;
    border-radius: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    color: var(--light-text);
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.close-btn:hover,
.close-btn:focus {
    color: white;
    background: rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
    border-color: var(--primary-color);
    cursor: pointer;
}

/* Modal Layout - Side by Side */
.modal-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    height: 100vh;
}

/* Left side: Carousel */
.modal-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #060606;
    padding: 2rem;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 8rem);
    overflow: hidden;
    border-radius: 12px;
    background: #060606;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.85);
    color: #0a0a0a;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.slider-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 0.75rem;
}

.slider-btn.next {
    right: 0.75rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Right side: Info */
.modal-right {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    overflow: hidden;
    position: relative;
}

.modal-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
}

.modal-right h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    line-height: 1.2;
    padding-right: 2.5rem;
    position: relative;
}

.modal-right h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 0.75rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.modal-desc {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.modal-desc p {
    margin: 0;
}

/* Tech tags in modal */
.modal-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-tech-tags .tech-card {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: inline-flex;
    align-items: center;
    min-height: auto;
    cursor: default;
    position: relative;
    overflow: hidden;
    text-align: center;
    justify-content: center;
}

.modal-tech-tags .tech-card::before,
.modal-tech-tags .tech-card::after {
    display: none;
}

.modal-tech-tags .tech-card:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: none;
    box-shadow: none;
}

/* Objectives in modal */
.modal-objectives-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.modal-objectives-list .objective-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.modal-objectives-list .objective-item:hover {
    background: rgba(212, 175, 55, 0.05);
}

.modal-objectives-list .objective-item i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Modal responsive */
@media (max-width: 900px) {
    .modal-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 45vh 1fr;
        height: 100vh;
    }

    .modal-left {
        padding: 1rem;
    }

    .slider-container {
        height: 100%;
        border-radius: 0;
    }

    .modal-right {
        padding: 1.5rem;
        gap: 1rem;
        overflow-y: auto;
    }

    .modal-right h2 {
        font-size: 1.4rem;
    }

    .modal-right::before {
        display: none;
    }

    .close-btn {
        top: 0.5rem;
        right: 0.75rem;
        background: rgba(0, 0, 0, 0.7);
    }
}

@media (max-width: 480px) {
    .modal-layout {
        grid-template-rows: 35vh 1fr;
    }

    .modal-right {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .modal-right h2 {
        font-size: 1.2rem;
    }

    .modal-desc {
        font-size: 0.85rem;
    }

    .modal-objectives-list .objective-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: #050505;
    color: var(--light-text);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.3rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header mobile */
    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        height: 100vh;
        background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
        flex-direction: column;
        align-items: center;
        padding-top: 5rem;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
        transition: var(--transition);
        z-index: 1000;
        border-right: 1px solid rgba(212, 175, 55, 0.2);
    }

    .navbar.active {
        left: 0;
    }

    .navbar ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .navbar ul li a {
        font-size: 1.1rem;
        color: var(--light-text);
    }

    .menu-toggle {
        display: block;
    }

    .header .container {
        padding: 0.75rem 1rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .logo p {
        font-size: 0.75rem;
    }

    /* Hero mobile */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat {
        padding: 1rem 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .stat p {
        font-size: 0.8rem;
    }

    /* Sections mobile */
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    /* Projects mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-image {
        height: 180px;
    }

    .project-info {
        padding: 1.25rem;
    }

    .project-info h3 {
        font-size: 1rem;
    }

    .project-info p {
        font-size: 0.85rem;
    }

    .tech-tags span {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .btn-project,
    .btn-website {
        padding: 0.6rem 1.2rem;
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
    }

    .project-buttons {
        flex-direction: column;
        width: 100%;
    }

    .project-status {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    /* About mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-actions {
        flex-direction: column;
    }

    .btn-about-primary,
    .btn-about-secondary {
        width: 100%;
        text-align: center;
    }

    /* Contact mobile */
    .contact-content {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-item {
        padding: 1.25rem;
    }

    .contact-item i {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    /* Footer mobile */
    .footer {
        padding: 1.5rem 0;
    }

    .footer p {
        font-size: 0.8rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }

    .stat {
        padding: 0.75rem 1rem;
    }

    .stat h3 {
        font-size: 1.75rem;
    }

    .stat p {
        font-size: 0.75rem;
    }

    .project-image {
        height: 160px;
    }

    .contact-item h4 {
        font-size: 0.9rem;
    }

    .contact-item p {
        font-size: 0.8rem;
    }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* About Actions */
.about-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-about-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.btn-about-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.3);
}

.btn-about-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
}

.btn-about-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}