@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Fira+Code:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Preahvihear&display=swap');

:root {
  --text: #ffffff;
  --base: #141414;
  --accent: #AD262D;
  --primary: #0b0b0b;
}

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: none;
    border: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Preahvihear', monospace, sans-serif;
    background: var(--base);
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
}

body.menu-open {
    position: fixed;
    overflow: hidden;
    touch-action: none;
}

/* header */
header {
    position: sticky;
    top: 0;
    background: rgba(30, 30, 30, 1);;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.266);
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 1rem;
}

.logo {
    width: 48px;
    margin-top: 0.55rem;

    animation: fadeInScale 1s ease-out 0.3s backwards;
}

.navigation-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--base);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    border-top-left-radius: 10px;
}

.navigation-menu.active {
    right: 0;
}

.nav-links {
    list-style: none;
    padding: 5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Navigation links - stagger animation */
.nav-links li {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.5s; }
.nav-links li:nth-child(2) { animation-delay: 0.6s; }
.nav-links li:nth-child(3) { animation-delay: 0.7s; }
.nav-links li:nth-child(4) { animation-delay: 0.8s; }

.nav-links li a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    border-bottom: 1px solid var(--accent);
}

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

.menu-btn {
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1000;
    border-radius: 50%;

    animation: fadeInScale 0.8s ease-out 0.6s backwards;
    transition: transform 0.3s ease;
}

.menu-btn:active {
  transform: scale(0.92);
}

.menu-btn img {
    width: 18px;
    height: 18px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* main content - home section */
.home-section,
.projects-section,
.about-section {
    min-height: 100vh;
    padding: 3rem 2rem;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-intro {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.hero-intro .hero-arrow {
    display: none;

    animation: bounceInLeft 1s ease-out 0.3s backwards;
}

.hero-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;

    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-title .highlight {
    color: var(--accent);

    animation: fadeInUp 0.8s ease-out 0.7s backwards, 
               gradientShine 3s ease-in-out 2s infinite;
}

.verified-badge {
    animation: popInRotate 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.2s backwards;
}

/* hero profile */
.hero-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-wrapper {
    position: relative;
    width: 100%;
    height: 230px; 

    animation: scaleIn 1s ease-out 0.8s backwards;
}

.hero-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    opacity: 0.9;
}

.profile-img {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    border-radius: 50%; 
}

/* code editor  */
.code-editor {
    background: rgba(30, 30, 30, 0.8);;
    border-radius: 12px;
    padding: 1rem 0.65rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', Courier, monospace;

    animation: slideInRight 1s ease-out 1s backwards;
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;

    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.dot.red { animation-delay: 1.2s; }
.dot.yellow { animation-delay: 1.3s; }
.dot.green { animation-delay: 1.4s; }

.code-block {
    background: var(--base);
    padding: 1rem;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.8;
    overflow-x: auto;
}

.line-number {
    color: #858585;
    display: inline-block;
    width: 30px;
    user-select: none;
}

.keyword { color: #c586c0; }
.variable { color: #9cdcfe; }
.string { color: #ce9178; }
.property { color: #dcdcaa; }
.boolean { color: #569cd6; }
.number { color: #b5cea8; }
.function { color: #dcdcaa; }
.operator { color: #d4d4d4; }
.comment { color: #6a9955; }

.code-line {
    display: block;
    white-space: pre;

    opacity: 0;
    animation: typeLine 0.5s ease-out forwards;
}

.code-line:nth-child(1) { animation-delay: 1.5s; }
.code-line:nth-child(2) { animation-delay: 1.6s; }
.code-line:nth-child(3) { animation-delay: 1.7s; }
.code-line:nth-child(4) { animation-delay: 1.8s; }
.code-line:nth-child(5) { animation-delay: 1.9s; }
.code-line:nth-child(6) { animation-delay: 2s; }
.code-line:nth-child(7) { animation-delay: 2.1s; }
.code-line:nth-child(8) { animation-delay: 2.2s; }
.code-line:nth-child(9) { animation-delay: 2.3s; }
.code-line:nth-child(10) { animation-delay: 2.4s; }
.code-line:nth-child(11) { animation-delay: 2.5s; }
.code-line:nth-child(12) { animation-delay: 2.6s; }
.code-line:nth-child(13) { animation-delay: 2.7s; }
.code-line:nth-child(14) { animation-delay: 2.8s; }
.code-line:nth-child(15) { animation-delay: 2.9s; }
.code-line:nth-child(16) { animation-delay: 3s; }
.code-line:nth-child(17) { animation-delay: 3.1s; }

.indent-1 { padding-left: 20px; }
.indent-2 { padding-left: 40px; }
.indent-3 { padding-left: 60px; }

.hero-description {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    padding: 0.75rem;
    gap: 0.75rem;
}

.hero-description-wrapper {
    max-width: 420px;
}

.profile-description {
    line-height: 1.5;
    font-size: 1rem;
    font-weight: 500;

    animation: fadeInUp 0.8s ease-out 1.5s backwards;
}

.profile-description span:first-of-type {
    display: inline-block;
    border: 2px solid var(--accent);
    border-radius: 50% 45% 50% 45%;
    padding: 0.5rem 1rem;
    color: var(--accent);
    font-weight: 600;
    transform: rotate(-5deg);
}

.profile-description span:nth-of-type(2) {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

.hero-socials {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-socials a:hover {
    transform: translateY(-4px);
    background: rgba(173, 38, 45, 0.2);
}

/* projects */
.section-title {
    font-size: 1.4rem;         
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    margin: 0 0 2.5rem 0;
    letter-spacing: 1px;
    position: relative;           
    display: inline-block;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
}

.reveal-pop {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease-out;
}

.reveal-pop.active {
  opacity: 1;
  transform: scale(1);
}


.terminal-header {
    background: rgba(30, 30, 30, 0.8);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mac-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-prompt {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--color-blue);
}

.terminal-time {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: none;
}

.overlay-card {
    position: absolute;
    top: 49px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover .overlay-card {
    opacity: 1;
    pointer-events: auto;
}

.overlay-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.overlay-link {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.overlay-link:hover {
    color: var(--accent);
}

.overlay-link.no-hover:hover {
  color: inherit;
  background: none;
  text-decoration: none;
}

.project-content {
    padding: 20px;
}

.project-header {
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.project-description {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.project-tags {
    padding: 0 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(255, 0, 0, 0.12);
    color: var(--color-red);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 0, 0, 0.12);
    border-color: rgba(255, 0, 0, 0.4);
}

/* about section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

.id-wrapper {
    position: relative;
    width: 180px;
    height: 250px;
    margin-top: 15px;
    cursor: pointer;
    margin: auto;
    top: 10px;
}


.id-wrapper:hover .card-back {
    transform: rotate(-25deg) translateX(-40px);
    box-shadow: -10px 20px 40px rgba(0,0,0,0.3);
    z-index: 3; /* bring back card forward */
}

.id-wrapper:hover .card-front {
    transform: rotate(15deg) translateX(40px);
    box-shadow: 10px 20px 40px rgba(0,0,0,0.2);
    z-index: 2; 
}


.lanyard-strap {
    width: 20px;
    height: 70px;
    background-color: var(--base);
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg); 
    z-index: 10;
    border-radius: 5px;
}


.lanyard-clip {
    width: 26px;
    height: 26px;
    border: 4px solid #999;
    border-radius: 50%;
    position: absolute;
    bottom: 0; 
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    z-index: 11;
}


.lanyard-hook {
    width: 14px;
    height: 6px;
    background: #999;
    position: absolute;
    bottom: -6px; 
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 12;
}


.card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: top center; 
}


.card-back {
    background-color: var(--base);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg);
    padding: 20px;
}


.card-back::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    z-index: 2;
}

.akatsuki-text {
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 15px;
    text-align: center;
}

.card-front {
    background-color: var(--text);
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: rotate(0deg);
}


.card-front::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 6px;
    background: #eee;
    border-radius: 10px;
}

.photo-area {
    flex: 1;
    width: 100%;
    background: #ddd;
    border-bottom-right-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.profile-photo {
    width: 140px;      
    height: 140px;     
    object-fit: cover;
    border-radius: 12px;
}

.info-area {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
}

.footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.about-text {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(60, 60, 60, 0.5);
    border-radius: 20px;
    padding: 1rem;
}

.about-description {
    color: var(--color-white);
    opacity: 0.7;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.skills-section {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subsection-title {
    font-size: 1.2rem;
    color: rgba(245, 242, 242, 0.6);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 400;
    width: 100%;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 300px;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(60, 60, 60, 0.5);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.skill-icon-card {
    background: rgba(50, 50, 50, 0.7);
    border: 1px solid rgba(70, 70, 70, 0.5);
    border-radius: 16px;
    padding: 1rem;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-icon-card:nth-child(1) { transform: rotate(-8deg) translate(3px, -2px); }
.skill-icon-card:nth-child(2) { transform: rotate(12deg) translate(-5px, 4px); }
.skill-icon-card:nth-child(3) { transform: rotate(-2deg) translate(2px, 1px); }
.skill-icon-card:nth-child(4) { transform: rotate(-15deg) translate(4px, -3px); }
.skill-icon-card:nth-child(5) { transform: rotate(9deg) translate(-3px, 2px); }
.skill-icon-card:nth-child(6) { transform: rotate(-5deg) translate(5px, -1px); }
.skill-icon-card:nth-child(7) { transform: rotate(14deg) translate(-2px, 3px); }
.skill-icon-card:nth-child(8) { transform: rotate(-10deg) translate(3px, 2px); }
.skill-icon-card:nth-child(9) { transform: rotate(6deg) translate(-4px, -2px); }
.skill-icon-card:nth-child(10) { transform: rotate(-12deg) translate(2px, 4px); }
.skill-icon-card:nth-child(11) { transform: rotate(4deg) translate(-3px, -1px); }
.skill-icon-card:nth-child(12) { transform: rotate(-16deg) translate(4px, 3px); }
.skill-icon-card:nth-child(13) { transform: rotate(11deg) translate(-1px, -3px); }
.skill-icon-card:nth-child(14) { transform: rotate(-7deg) translate(3px, 2px); }

.skill-icon-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(90, 122, 205, 0.15), rgba(222, 169, 55, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.skill-icon-card:hover::before {
    opacity: 1;
}

.skill-icon-card:hover {
    transform: translateY(-12px) scale(1.12) rotate(0deg) translate(0, 0) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    background: rgba(60, 60, 60, 0.9);
    z-index: 10;
}

.skill-icon-card img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.skill-icon-card:hover img {
    transform: scale(1.2);
}

/* Contact section – terminal / code-editor vibe */
.contact-section {
    min-height: 100vh;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, rgba(10,10,10,0.4), transparent 50%);
}

.contact-section .section-title {
    margin-bottom: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-8px);
}

.contact-card .terminal-header {
    background: rgba(30, 30, 30, 0.8);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card .terminal-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-card .terminal-prompt {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.contact-card .terminal-time {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-card .contact-body {
    padding: 20px;
}

.contact-card h3 {
    margin: 0 0 8px 0;
    color: var(--accent);
    font-size: 1.1rem;
}

.contact-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-info .info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-info .info-row:first-of-type { border-top: none; }

.contact-info .info-row strong {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-info a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.9;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent);
}

.contact-info .social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-info .social-links a {
    margin-left: 0;
    color: var(--accent);
    text-decoration: none;
}

/* Form styled like code-editor */
.contact-form {
    background: var(--base);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contact-form:hover {
    transform: translateY(-8px);
}

.contact-form .terminal-header {
    background: rgba(30, 30, 30, 0.8);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .terminal-prompt {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.contact-form .form-body {
    padding: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.form-row label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    font-family: 'Fira Code', monospace;
}

.form-row input,
.form-row textarea {
    background: #2d2d2d;
    color: var(--text);
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(173, 38, 45, 0.2);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.contact-btn {
    background: var(--accent);
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-btn:hover {
    background: rgba(173, 38, 45, 0.9);
    box-shadow: 0 4px 20px rgba(173, 38, 45, 0.35);
}

.contact-btn:active { transform: translateY(1px); }

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-card .contact-body,
    .contact-form .form-body { padding: 24px; }
}

/* Footer */
.site-footer {
    background: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    display: block;
}

.footer-logo img {
    display: block;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-socials a:hover {
    background: rgba(173, 38, 45, 0.2);
    transform: translateY(-2px);
}

.footer-socials img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
}

.footer-prompt {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.skill-name {
    display: none;
}