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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #a0a0a0;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Fira Code', monospace;
    color: #ffffff;
}

/* Navbar */
.navbar.bg-dark {
    background-color: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #333;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    background: -webkit-linear-gradient(45deg, #00f0ff, #7000FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    background-color: #0a0a0a !important;
    background-image: radial-gradient(circle at top right, #1a1a2e 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #222;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 20px,
        rgba(0, 240, 255, 0.02) 20px,
        rgba(0, 240, 255, 0.02) 21px
    );
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

header .container {
    position: relative;
    z-index: 1;
}

.text-white { color: #f8f9fa !important; }
.text-white-50 { color: #adb5bd !important; }

/* Buttons */
.btn-primary {
    background-color: transparent;
    border: 1px solid #00f0ff;
    color: #00f0ff;
    text-transform: uppercase;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #00f0ff;
    color: #000;
    border-color: #00f0ff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.btn-outline-light {
    border-color: #444;
    color: #ccc;
    font-family: 'Fira Code', monospace;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.btn-outline-light:hover {
    background-color: #222;
    color: #fff;
    border-color: #666;
}

/* Sections */
section.py-5 {
    background-color: #0a0a0a;
}
section.bg-light {
    background-color: #0d0d0d !important;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

/* Feature Icons */
.feature.bg-primary {
    background: rgba(112, 0, 255, 0.1) !important;
    border: 1px solid #7000FF;
    color: #c488ff !important;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.2);
}

/* Tech Cards */
.tech-card {
    background-color: rgba(25, 25, 30, 0.4);
    border: 1px solid #222;
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}
.tech-card:hover {
    border-color: #00f0ff;
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.1);
    transform: translateY(-5px);
}
.tech-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}
.tech-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0a0a0;
}

/* Call to action */
aside.bg-primary.bg-gradient {
    background: linear-gradient(135deg, #0d121c 0%, #150f24 100%) !important;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}
aside.bg-primary.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.1), transparent 50%);
}

/* Contact form */
.form-control {
    background-color: #111;
    border: 1px solid #333;
    color: #eee;
}
.form-control:focus {
    background-color: #151515;
    border-color: #00f0ff;
    color: #eee;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}
.form-control::placeholder {
    color: #555;
}
.form-floating label {
    color: #777;
}
.form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label {
    color: #00f0ff;
}

/* Contact Wrapper */
.bg-light.rounded-3 {
    background-color: #0d0d0d !important;
    border: 1px solid #222;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Form Titles */
.bg-light h1, .bg-light h2 {color: #fff !important;}
.text-muted { color: #7a7a7a !important; }

/* Images */
img.rounded-3, img.rounded {
    border: 1px solid #333;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

/* Tables and lists Markdown styling overrides if needed */
.table { color: #a0a0a0; }
.table-dark { background-color: #111; }

/* Footer */
footer.bg-dark {
    background-color: #030303 !important;
    border-top: 1px solid #1a1a1a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tech-card {
        padding: 1.25rem;
    }
    header {
        padding: 3rem 0 !important;
    }
    .navbar-brand {
        font-size: 1.25rem;
    }
    h1.display-5 {
        font-size: 2.2rem;
    }
    .btn-lg {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .img-fluid.rounded-3 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}
