/* style.css - Piltover & Hextech Theme */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-dark: #0f172a;
    /* Deep night blue */
    --bg-darker: #0b1120;
    --bg-card: rgba(15, 23, 42, 0.85);

    --brass: #c59b51;
    --brass-light: #e0b976;
    --brass-dark: #8c6b32;

    --copper: #b87333;
    --copper-dark: #8c4c1a;

    --hextech: #00ffff;
    --hextech-glow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);

    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
        url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="%23c59b51" fill-opacity="0.1"/></svg>');
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
    font-family: 'Cinzel', serif;
    color: var(--brass);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 2px #000;
}

section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-darker);
    border-bottom: 2px solid var(--brass-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

nav strong {
    font-size: 1.5rem;
    color: var(--hextech);
    text-shadow: var(--hextech-glow);
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--brass);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--hextech);
    transition: width 0.3s ease;
    box-shadow: var(--hextech-glow);
}

nav a:hover {
    color: var(--hextech);
}

nav a:hover::after {
    width: 100%;
}

.spacer {
    height: 72px;
}

/* Section Styling */
section h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::before,
section h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: var(--brass-dark);
}

section h2::before {
    right: 100%;
    margin-right: 15px;
}

section h2::after {
    left: 100%;
    margin-left: 15px;
}

/* Hero Section */
#hero {
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.05) 0%, transparent 60%);
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

#hero h1 strong {
    color: var(--hextech);
    text-shadow: var(--hextech-glow);
}

#hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* About Me */
#about {
    text-align: center;
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Skills Section */
#skills ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

#skills li {
    background: var(--bg-card);
    padding: 20px;
    border: 1px solid var(--brass-dark);
    border-radius: 4px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#skills li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brass);
    transition: background 0.3s;
}

#skills li:hover {
    border-color: var(--brass);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(197, 155, 81, 0.1);
}

#skills li:hover::before {
    background: var(--hextech);
    box-shadow: var(--hextech-glow);
}

#skills strong {
    color: var(--brass-light);
    font-family: 'Cinzel', serif;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* Projects Section (Bootstrap Overrides) */
.card {
    background: var(--bg-card);
    border: 1px solid var(--copper-dark);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card:hover {
    border-color: var(--hextech);
    box-shadow: var(--hextech-glow);
    transform: translateY(-10px);
}

.card-title {
    color: var(--brass-light);
}

.card-text {
    color: var(--text-muted);
}

.card-img-top {
    border-bottom: 2px solid var(--brass-dark);
    height: 200px;
    object-fit: cover;
    background-color: #1e293b;
    /* Placeholder color */
}

.btn-outline-primary {
    color: var(--hextech);
    border-color: var(--hextech);
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: var(--hextech);
    color: var(--bg-darker);
    box-shadow: var(--hextech-glow);
    border-color: var(--hextech);
}

/* Contact Section */
#contact {
    text-align: center;
}

#contact a {
    display: inline-block;
    margin: 15px;
    padding: 10px 25px;
    border: 1px solid var(--brass);
    color: var(--brass);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#contact a:hover {
    background: rgba(197, 155, 81, 0.1);
    border-color: var(--hextech);
    color: var(--hextech);
    box-shadow: var(--hextech-glow);
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--copper-dark);
    padding: 20px 0;
    text-align: center;
}

footer p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Scrollbar styling for that extra touch */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--brass-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brass);
}