/* Modern Tech Theme Variables */
/* fqfzubjpynddakvh */

:root {
    --bg-color: #0b0e14;
    --card-bg: #161b22;
    --primary-color: #00d4ff;
    --text-color: #e6edf3;
    --accent-glow: rgba(0, 212, 255, 0.3);
    --border-color: #30363d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(11, 14, 20, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
header {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a2332 0%, #0b0e14 100%);
    padding: 0 10%;
}

.badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--accent-glow);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #8b949e;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn, .btn-outline {
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    display: inline-block;
}

.btn {
    background: var(--primary-color);
    color: #000;
}

.btn:hover {
    box-shadow: 0 0 25px var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

/* --- Projects Grid --- */
#projects {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: 0.4s;
    position: relative;
}

.project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.status {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
}

.status.live { background: rgba(46, 213, 115, 0.1); color: #2ed573; border: 1px solid #2ed573; }
.status.dev { background: rgba(255, 165, 0, 0.1); color: #ffa500; border: 1px solid #ffa500; }

.project-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.features li {
    font-size: 0.9rem;
    color: #8b949e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

.tag {
    font-size: 0.75rem;
    background: #21262d;
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 5px;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

/* --- Core Expertise Section --- */
#tech-stack {
    padding: 80px 10%;
    text-align: center;
    background: #0b0e14;
}

.tech-grid {
    display: flex; /* Makes items sit side-by-side */
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically */
    flex-wrap: wrap; /* Allows items to wrap on mobile */
    gap: 50px; /* Space between icons */
    margin-top: 40px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tech-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.tech-item span {
    font-weight: 500;
    color: #8b949e;
}

.tech-item:hover {
    transform: scale(1.1);
}

/* --- Contact Form --- */
#contact {
    padding: 100px 10%;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-form input, .contact-form select, .contact-form textarea {
    padding: 15px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
    font-size: 1rem;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* --- Footer --- */
footer {
    padding: 60px 10%;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8b949e;
}

.socials i {
    font-size: 1.5rem;
    margin-left: 20px;
    color: #8b949e;
    transition: 0.3s;
}

.socials i:hover {
    color: var(--primary-color);
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    footer { flex-direction: column; gap: 20px; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(8px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Modal Box */
.modal-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 0 30px var(--accent-glow);
    animation: modalSlideUp 0.4s ease;
}

.modal-icon {
    font-size: 4rem;
    color: #2ed573; /* Success Green */
    margin-bottom: 20px;
}

.modal-content h2 {
    margin-bottom: 15px;
    color: #fff;
}

.modal-content p {
    color: #8b949e;
    margin-bottom: 25px;
}

/* Animation */
@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Clickable Card Wrapper */
.project-card-link {
    text-decoration: none;
    color: inherit; /* Keeps the text color from turning blue */
    display: block;
}

.project-card-link:hover .project-card {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}


/* --- DAGUPAN ONE ID PROJECT PAGE STYLES --- */

/* --- Clean Informative Layout --- */

.project-info-section {
    padding: 80px 10%;
    background: #0b0e14;
}

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

.info-block {
    margin-bottom: 60px;
    text-align: center;
}

.info-block h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.info-block h2 i {
    margin-right: 15px;
}

.info-block p {
    color: #8b949e;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Feature Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.info-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: 0.3s;
}

.info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: #fff;
}

.info-card p {
    color: #8b949e;
    font-size: 0.95rem;
}

/* Technical Deep Dive */
.technical-deep-dive {
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.technical-deep-dive h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* Sidebar Box Refinement */
.tech-box {
    background: #161b22;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.tech-box h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.tech-box ul {
    list-style: none;
}

.tech-box li {
    margin-bottom: 12px;
    color: #8b949e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-box li i {
    color: var(--primary-color);
}


/* --- Birts Informative Project Section Styling --- */
.project-info-section {
    padding: 80px 10%;
    background: #0b0e14;
}

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

.info-block {
    margin-bottom: 60px;
    text-align: center;
}

.info-block h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.info-block p {
    color: #8b949e;
    font-size: 1.2rem;
    line-height: 1.8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.info-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: 0.3s;
}

.info-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}




/* --- CONTACT METHOD CARDS --- */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.method-card {
    background: #1a1f2b;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.method-card:hover {
    border-color: #ffffff;
    transform: translateY(-5px);
    background: rgba(0, 212, 255, 0.05);
}

.method-card i {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.method-card span {
    color: #a0a0a0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.method-card strong {
    color: #fff;
    font-size: 1.1rem;
    word-break: break-all;
}

.social-cta {
    margin-top: 50px;
    padding: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-cta p {
    margin-bottom: 20px;
    color: #a0a0a0;
}