/* Main Styles */

/* Theme Variables - Dark Mode Only */
:root {
    /* Metallic gold theme colors */
    --primary-color: #D4AF37; /* Rich metallic gold */
    --primary-light: #FFD700; /* Bright gold for highlights */
    --primary-dark: #B8860B; /* Dark gold for depth */
    --accent-color: #CD853F; /* Peru/bronze accent */
    --bg-color: #000000;
    --bg-alt-color: #1a1a1a;
    --text-color: #ffffff;
    --text-light: #cbd5e1;
    --border-color: #333333;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.3);
    --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --scrollbar-track: rgba(255, 255, 255, 0.05);
    --scrollbar-thumb: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --space-xs: 0.4rem;
    --space-sm: 0.8rem;
    --space-md: 1.6rem;
    --space-lg: 2.4rem;
    --space-xl: 3.2rem;
    --space-xxl: 4.8rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
}

/* General Styles */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-alt-color);
    box-shadow: var(--header-shadow);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    border: none;
    outline: none;
    box-shadow: none;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.nav-link:focus,
.nav-link:focus-visible,
.nav-link:active {
    border: none;
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

.nav-buttons {
    display: flex;
    gap: var(--space-md);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xxl);
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.subtitle {
    font-size: 2.4rem;
    color: var(--text-color);
    margin-bottom: var(--space-sm);
}

.tagline {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: var(--space-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.hero-image-circle {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease;
}

.hero-image-circle:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 40px rgba(212, 175, 55, 0.3);
}

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

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 2;
        text-align: center;
    }

    .hero-image {
        order: 1;
        justify-content: center;
        margin-bottom: var(--space-xl);
    }

    .hero-image-circle {
        width: 300px;
        height: 300px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-links {
        gap: var(--space-xxl);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all 0.3s;
}

.btn i {
    font-size: 1.6rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: black;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.hero-cta-primary {
    padding: var(--space-md) var(--space-xl);
    font-weight: 700;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.5);
}

.hero-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
}

/* About Section */
.about {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-color);
}

.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--text-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--space-xxl);
    margin-top: var(--space-xl);
}

.about-text {
    flex: 1;
}

.about-header {
    margin-bottom: var(--space-lg);
}

.about-title {
    font-size: 2.8rem;
    color: var(--text-color);
    margin-bottom: var(--space-xs);
}

.about-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.about-description {
    margin-bottom: var(--space-xl);
}

.about-description p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
    color: var(--text-light);
}

.about-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background-color: var(--bg-alt-color);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.info-item span {
    font-size: 1.4rem;
    color: var(--text-color);
}

.about-buttons {
    display: flex;
    gap: var(--space-md);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.about-image-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 30px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease;
}

.about-image-circle:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 40px rgba(212, 175, 55, 0.3);
}

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

/* Skills Section */
.skills {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-alt-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.skill-card {
    background-color: var(--bg-color);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.skill-card i {
    font-size: 3.6rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.skill-card h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: var(--space-sm);
}

.skill-description {
    color: var(--text-light);
    font-size: 1.4rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.skill-card:hover .skill-description {
    opacity: 1;
    transform: translateY(0);
}

/* Projects Section */
.projects {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.project-card {
    background-color: var(--bg-alt-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.project-image {
    height: 200px;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.image-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.image-placeholder i {
    font-size: 3.2rem;
    color: black;
}

.project-content {
    padding: var(--space-lg);
}

.project-content h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: var(--space-sm);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.tag {
    padding: var(--space-xs) var(--space-sm);
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.project-links {
    display: flex;
    gap: var(--space-md);
}

.project-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s;
}

.project-link:hover {
    color: var(--primary-light);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Contact Section */
.contact {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-alt-color);
}

.contact-container {
    display: flex;
    gap: var(--space-xxl);
    margin-top: var(--space-xl);
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-item i {
    font-size: 2.4rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.contact-item h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: var(--space-xs);
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    flex: 2;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-color);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

#form-status {
    margin-top: var(--space-sm);
    min-height: 1.6em;
    font-size: 1.4rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.social-link {
    font-size: 2.4rem;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.5s;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-8px) scale(1.15);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.4),
        0 10px 30px rgba(212, 175, 55, 0.2),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.social-link:hover::before {
    left: 100%;
}

/* Footer */
footer {
    background-color: var(--bg-color);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-color);
}

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

.back-to-top {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 0.6s forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.6s forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cursor Animation */
.cursor {
    display: inline-block;
    width: 2px;
    animation: blink 1s infinite;
}

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