/* public_html/assets/css/style.css */

:root {
    /* Obsidian & Platinum Palette */
    --bg-base: #000000;         /* Pure Deep Black */
    --bg-surface: #0a0a0a;      /* Barely visible carbon grey for cards */
    --text-main: #ffffff;       /* Pure White */
    --text-muted: #888888;      /* Sleek Grey */
    
    /* Silver Glow Accents */
    --accent-primary: #ffffff;
    --accent-secondary: #555555;
    --gradient-glow: linear-gradient(135deg, #ffffff 0%, #737373 100%);
    --border-color: rgba(255, 255, 255, 0.12);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.theme-dark {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    /* Very subtle platinum ambient glow */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.02), transparent 25%);
}

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 120px 0; }

/* Platinum Gradient Text */
.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title { font-size: 3rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 40px; line-height: 1.2; }

/* =========================================
   FROSTED GLASS NAVIGATION
   ========================================= */
.glass-nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000; height: 80px; display: flex; align-items: center;
}

.nav-container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 5%; display: flex; justify-content: space-between; align-items: center; }
.brand-name { font-weight: 800; font-size: 1.4rem; text-decoration: none; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }

/* Monochrome Buttons */
.btn-primary {
    background: var(--text-main);
    color: var(--bg-base) !important; /* Black text on white button */
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    background: #e5e5e5;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2); 
}

.btn-secondary {
    background: transparent;
    color: var(--text-main) !important;
    padding: 14px 28px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-secondary:hover { 
    border-color: var(--text-main); 
    background: rgba(255, 255, 255, 0.05); 
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }

.hero-title { font-size: 4.5rem; font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-bottom: 16px; }
.hero-subtitle { font-size: 1.5rem; color: var(--text-muted); font-weight: 500; margin-bottom: 24px; }
.hero-text { font-size: 1.15rem; color: var(--text-muted); max-width: 500px; margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 20px; }

.hero-image-wrapper { 
    position: relative; 
    border-radius: 16px; 
    overflow: hidden; 
    padding: 1px; 
    background: var(--border-color); /* Subtle silver border around photo */
}
.hero-image { width: 100%; height: auto; display: block; border-radius: 15px; filter: grayscale(100%) contrast(110%); transition: filter 0.5s ease; }
.hero-image:hover { filter: grayscale(50%) contrast(100%); }

/* =========================================
   CARDS & GRIDS
   ========================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.about-text.lead { font-size: 1.5rem; color: var(--text-main); line-height: 1.6; }

.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.skill-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px; border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s;
}
.skill-card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(255, 255, 255, 0.4); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}
.skill-icon { 
    font-size: 2.5rem; 
    color: var(--text-main);
    margin-bottom: 24px; 
    display: inline-block; 
}
.skill-card h3 { font-size: 1.3rem; margin-bottom: 16px; font-weight: 700; }
.skill-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* =========================================
   CONTACT FORMS & INPUTS
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info-card { background: var(--bg-surface); padding: 40px; border-radius: 16px; border: 1px solid var(--border-color); }
.contact-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.contact-icon { 
    width: 48px; height: 48px; 
    border-radius: 12px; 
    background: rgba(255, 255, 255, 0.08); 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.2rem; color: var(--text-main); flex-shrink: 0; 
}
.contact-item h4 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

.form-group { margin-bottom: 24px; }
.form-label { display: block; color: var(--text-main); font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.form-control { 
    width: 100%; 
    background: #000000; 
    border: 1px solid var(--border-color); 
    color: var(--text-main); 
    padding: 16px; border-radius: 8px; 
    font-family: var(--font-sans); outline: none; transition: all 0.3s; 
}
.form-control:focus { 
    border-color: rgba(255, 255, 255, 0.5); 
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1); 
}
.form-control::placeholder { color: #555555; }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3.5rem; }
    .skills-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links a:not(.btn-primary) { display: none; }
    .hero-title { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    .skills-grid { grid-template-columns: 1fr; }
}