/* Computex.DEV Futuristic Portfolio */

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

body {
    background-color: #0a0a0a;
    color: #f0f0f0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px;
}

/* Accent */
:root {
    --accent: #d60000;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: radial-gradient(circle at 30% 50%, #1a1a1a 0%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(214, 0, 0, 0.1) 0%, transparent 70%);
    animation: pulse 6s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.subtitle {
    font-size: 1.2rem;
    margin: 1rem 0 2rem;
    opacity: 0.8;
}

.cta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    color: white;
    border: 2px solid var(--accent);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta:hover {
    background: var(--accent);
}

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: auto;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.section p {
    text-align: center;
    max-width: 800px;
    margin: auto;
    opacity: 0.9;
}

/* Portfolio */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(214, 0, 0, 0.5);
}

.card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Contact */
.contact-info {
    text-align: center;
    margin-top: 1.5rem;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    margin: 2rem auto 0;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

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

.contact-form button {
    background: transparent;
    border: 2px solid var(--accent);
    color: #fff;
    padding: 0.8rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-form button:hover {
    background: var(--accent);
}
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  z-index: 2000;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: var(--accent);
  color: #fff;
}


/* Footer */
footer {
    background: #111;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    color: #d8b1b1;
}

