/* Xamu-Systems - Tech/Corporate Design */

/* CSS Variables */
:root {
    --primary-bg: #1e293b;
    --secondary-bg: #334155;
    --card-bg: #2d3748;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --text-light: #f1f5f9;
    --text-gray: #cbd5e1;
    --border-color: rgba(148, 163, 184, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--accent-blue);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Main Content */
main {
    margin-top: 100px;
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero p {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-hover);
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.project-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.project-subprojects {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.subproject-tag {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--accent-purple);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-purple);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--accent-purple);
    transform: translateX(5px);
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-blue);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--accent-purple);
}

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

footer p {
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Content Section */
.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.content-section p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}
