/* 
   JustMeron-IT Premium Style Guide 2026
   Focus: Trust, Tech, Sovereignty
*/

:root {
    --primary-color: #0f172a; /* Slate 900 */
    --accent-color: #2563eb;  /* Blue 600 */
    --accent-glow: rgba(37, 99, 235, 0.2);
    --text-main: #334155;    /* Slate 700 */
    --text-muted: #64748b;  /* Slate 500 */
    --bg-light: #f8fafc;    /* Slate 50 */
    --white: #ffffff;
    --border: #e2e8f0;      /* Slate 200 */
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header & Nav --- */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo span { color: var(--accent-color); }
.tech-dot { color: var(--accent-color); opacity: 0.8; }

nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover { color: var(--accent-color); }

.nav-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
}

.badge {
    background: var(--bg-light);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--border);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- Cloud Showcase --- */
.cloud-section { padding: 6rem 0; }

.cloud-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.cloud-item.reverse { direction: rtl; }
.cloud-item.reverse .cloud-text { direction: ltr; }

.app-icon { font-size: 3rem; margin-bottom: 1rem; }

.cloud-features {
    list-style: none;
    margin-top: 1.5rem;
}

.cloud-features li {
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.cloud-image-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
}

/* Terminal & Photo Box Visuals */
.terminal-box {
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 8px;
    width: 80%;
    color: #38bdf8;
    font-family: monospace;
    text-align: left;
}
.t-red, .t-yellow, .t-green { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.t-red { background: #ef4444; }
.t-yellow { background: #f59e0b; }
.t-green { background: #10b981; }

.photo-box {
    background: linear-gradient(45deg, #ddd, #eee);
    width: 70%;
    height: 80%;
    border-radius: 20px;
    border: 8px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* --- Tech Stack --- */
.solutions-section { background: var(--primary-color); color: white; padding: 6rem 0; }
.solutions-section h2 { color: white; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}

.tech-card h4 { color: var(--accent-color); margin-bottom: 0.5rem; }

/* --- Services Grid --- */
.services { padding: 6rem 0; background: var(--bg-light); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: white; padding: 2.5rem; border-radius: var(--radius); border: 1px solid var(--border); }
.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }

/* --- CV & Profile --- */
.cv-section { padding: 6rem 0; }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.skills-list { list-style: none; }
.skills-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }

/* --- Footer --- */
footer { background: var(--primary-color); color: white; padding: 4rem 0 2rem; text-align: center; }
footer .logo { color: white; }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; opacity: 0.6; }
footer a { color: white; margin: 0 10px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.25rem; }
    .cloud-item { grid-template-columns: 1fr; gap: 2rem; }
    .cloud-item.reverse { direction: ltr; }
    .cv-grid { grid-template-columns: 1fr; gap: 2rem; }
    nav { display: none; }
}
