/* 
    BMXE - Modern Landing Page Styles
    Theme: Dark Mode, Orange Highlights, Teal Contrast
    Year: 2025
*/

:root {
    /* Colors */
    --bg-dark: #121212;
    --bg-surface: #1E1E1E;
    --bg-surface-hover: #252525;
    --text-primary: #E0E0E0;
    --text-secondary: #A0A0A0;
    --primary-accent: #FF6B00; /* Vibrant Orange */
    --primary-accent-hover: #E65100;
    --secondary-accent: #00897B; /* Teal */
    --border-color: #333333;
    
    /* Gradients */
    --gradient-text: linear-gradient(135deg, #FF6B00 0%, #FF9E40 100%);
    --gradient-bg: linear-gradient(135deg, #1E1E1E 0%, #121212 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    
    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--primary-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 50px 0 var(--section-padding);
}

.service-card.is-visible,
.project-card.is-visible,
.about-content.is-visible,
.contact-wrapper.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: #fff;
    border: 2px solid var(--primary-accent);
}

.btn-primary:hover {
    background-color: var(--primary-accent-hover);
    border-color: var(--primary-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.nav-link:not(.btn-primary):hover,
.nav-link.active:not(.btn-primary) {
    color: var(--primary-accent);
}

.nav-link.btn {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.stats {
    display: flex;
    gap: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0;
    color: #fff;
}

.stat-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary-accent);
    top: 0;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background-color: var(--secondary-accent);
    bottom: 0;
    left: 50px;
    animation: float 8s ease-in-out infinite reverse;
}

.code-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 30px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-md);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.code-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background-color: #FF5F56; }
.yellow { background-color: #FFBD2E; }
.green { background-color: #27C93F; }

.card-body code {
    font-family: 'Fira Code', monospace;
    color: #a9b7c6;
    font-size: 1rem;
    line-height: 1.8;
    display: block;
}

.keyword { color: #cc7832; }
.variable { color: #a9b7c6; }
.string { color: #6a8759; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Services */
.services {
    background-color: #151515;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-surface);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: var(--bg-surface-hover);
    border-color: var(--primary-accent);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.link-arrow:hover {
    gap: 12px;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.project-card:hover .placeholder-img {
    transform: scale(1.05);
}

.project-info {
    padding: 30px;
}

.category {
    font-size: 0.8rem;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.btn-link {
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid var(--primary-accent);
    padding-bottom: 2px;
}

.btn-link:hover {
    color: var(--primary-accent);
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background-color: var(--primary-accent);
    filter: blur(90px);
    opacity: 0.35;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.image-wrapper {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-wrapper .placeholder-img {
    border-radius: var(--radius-lg);
}

.profile-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background-color: var(--primary-accent);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 500;
}

.features-list {
    margin: 30px 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.features-list i {
    color: var(--secondary-accent);
}

/* Contact */
.contact {
    background-color: #151515;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-accent);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row .form-group {
    margin-bottom: 20px;
}

.cf-turnstile {
    margin-bottom: 20px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
    background-color: rgba(255, 107, 0, 0.05);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 0.5fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    font-size: 0.85rem;
}

.footer-links {
    display: contents;
}

.link-group h4 {
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-accent);
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.link-group a:hover {
    color: var(--primary-accent);
}

.footer-github {
    align-self: start;
}

.footer-github-chart {
    display: block;
    padding: 14px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
    overflow: hidden;
}

.footer-github-chart:hover {
    border-color: var(--primary-accent);
}

.footer-github-chart img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 0;
}

.footer-socials a:hover {
    background-color: var(--primary-accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand,
    .footer-github {
        max-width: none;
        grid-column: 1 / -1;
    }

    .hero-container,
    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero { padding-top: 120px; text-align: center; }
    .hero-btns { justify-content: center; }
    .stats { justify-content: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    
    .hero-visual { margin-top: 50px; }
    
    .experience-badge { right: 20px; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-surface);
        flex-direction: column;
        padding: 40px 20px;
        transition: 0.4s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    .contact-wrapper { padding: 30px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .hero-btns { flex-direction: column; }
    .btn { width: 100%; }
}

