/* CSS Reset & Variables */
:root {
    --bg-dark: #0f1115;      /* Main background - Very dark charcoal */
    --bg-panel: #161a21;     /* Cards background */
    --primary-cyan: #00e5ff; /* Neon Cyan */
    --primary-cyan-dim: #00add8;
    --accent-magenta: #ff007f; /* Neon Magenta */
    --text-main: #ffffff;
    --text-muted: #a0a5b0;
    --border-color: #2a2f3a;
    
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Heebo', sans-serif;
    
    --glow-cyan: 0 0 15px rgba(0, 229, 255, 0.4);
    --glow-magenta: 0 0 15px rgba(255, 0, 127, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-cyan);
}

.neon-text {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(15, 17, 21, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-cyan);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 10px 24px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 24px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-right: 15px; /* RTL margin */
    display: inline-block;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #1a202c 0%, var(--bg-dark) 70%);
    padding-top: 80px;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Using a simple shape for 'Laser' effect in bg */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-darker {
    background: #0a0c0f;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-magenta);
    margin: 10px auto 0;
    box-shadow: var(--glow-magenta);
}

.section-title.align-start {
    left: 0;
    transform: none;
    text-align: right;
}

.section-title.align-start::after {
    margin: 10px 0 0;
}


/* Grid & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.card:hover .card-icon {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

.card-icon {
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: 0.3s;
}

.card-icon svg {
    width: 48px;
    height: 48px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-item {
    height: 300px;
    background: #252525;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
    border: 1px solid var(--primary-cyan);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: var(--primary-cyan);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-details li svg {
    margin-left: 15px; /* RTL */
    color: var(--accent-magenta);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

input, textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 5px rgba(0, 229, 255, 0.2);
}

.w-full {
    width: 100%;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    margin-top: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none; /* Hide for now on mobile, simplistic approach */
    }
    
    .mobile-menu-toggle {
        display: block;
        color: #fff;
    }
    
    .section-title.align-start {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-title.align-start::after {
        margin: 10px auto 0;
    }
}
