/*
    Ravi Market BR - Global Stylesheet
    Theme: Futuristic Tech (Black & Gold)
*/

:root {
    --gold: #e0b13c;
    --gold-glow: rgba(224, 177, 60, 0.6);
    --black: #0a0a0a;
    --dark-card: #141414;
    --text-primary: #f5f5f5;
    --text-secondary: #ccc;
    --text-muted: #888;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    background-image:
        linear-gradient(rgba(224, 177, 60, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(224, 177, 60, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--black) 100%);
    pointer-events: none;
    z-index: 1;
}

.scanline {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 2px;
    background: rgba(224, 177, 60, 0.15);
    z-index: 10000;
    pointer-events: none;
    animation: scan 8s linear infinite;
}

@keyframes scan {
    from { transform: translateY(0); }
    to { transform: translateY(100vh); }
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--gold);
    text-shadow: 0 0 15px var(--gold-glow);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Layout Components */
header, footer, section {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('bannerravi.png') center center no-repeat;
    background-size: cover;
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-bottom: 2px solid var(--gold);
    text-align: center;
}

header img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('papel-de-parede.png') center center no-repeat;
    background-size: cover;
    padding: 80px 20px;
}

.hero-content {
    background: rgba(10, 10, 10, 0.85);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--gold);
    max-width: 900px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px var(--gold);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

/* Cards & Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: var(--dark-card);
    border: 1px solid var(--gold);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(224, 177, 60, 0.2);
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Projects Section */
.projects-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px 0;
}

.project-logo {
    max-width: 140px;
    filter: grayscale(0.5);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.project-logo:hover {
    filter: grayscale(0);
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--gold);
}

/* Forms */
.form-container {
    max-width: 800px;
    margin: 60px auto;
    background: var(--dark-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--gold);
}

.form-group {
    margin-bottom: 20px;
}

input, textarea, select {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(224, 177, 60, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* Footer */
footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(224, 177, 60, 0.2);
    background: rgba(10, 10, 10, 0.95);
}

/* Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 12px rgba(224, 177, 60, 0.4); }
    50% { box-shadow: 0 0 25px rgba(224, 177, 60, 0.7); }
    100% { box-shadow: 0 0 12px rgba(224, 177, 60, 0.4); }
}

.glow { animation: pulseGlow 3s infinite ease-in-out; }

/* Responsive */
@media (max-width: 768px) {
    header h1 { font-size: 1.8rem; }
    .hero h2 { font-size: 1.8rem; }
    .hero-content { padding: 30px; }
}
