Files
paraguay/css/styles.css
T

1032 lines
22 KiB
CSS

/* ========================================
Paraguay LLC & SRL — Community Site
Vibrant, fun, modern design
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--black: #0f172a;
--white: #ffffff;
--blue: #2563eb;
--blue-light: #3b82f6;
--blue-dark: #1d4ed8;
--teal: #0d9488;
--green: #16a34a;
--orange: #ea580c;
--purple: #7c3aed;
--pink: #db2777;
--yellow: #eab308;
--gray-50: #f8fafc;
--gray-100: #f1f5f9;
--gray-200: #e2e8f0;
--gray-300: #cbd5e1;
--gray-400: #94a3b8;
--gray-500: #64748b;
--gray-600: #475569;
--gray-700: #334155;
--gray-800: #1e293b;
--shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
--shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
--shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
--shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
--shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
--radius: 12px;
--radius-lg: 16px;
--radius-xl: 24px;
}
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', system-ui, sans-serif;
background: var(--gray-50);
color: var(--black);
line-height: 1.6;
overflow-x: hidden;
}
/* ========================================
NAVIGATION
======================================== */
.nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(255,255,255,0.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--gray-200);
transition: all 0.3s ease;
}
.nav.scrolled {
background: rgba(255,255,255,0.95);
box-shadow: var(--shadow);
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
display: flex;
align-items: center;
justify-content: space-between;
height: 64px;
}
.nav-brand {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: var(--black);
}
.nav-logo { font-size: 1.5rem; }
.nav-title {
font-weight: 800;
font-size: 1.1rem;
background: linear-gradient(135deg, var(--blue), var(--teal));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.nav-menu {
display: flex;
align-items: center;
gap: 8px;
}
.nav-link {
text-decoration: none;
color: var(--gray-600);
font-weight: 500;
font-size: 0.9rem;
padding: 8px 14px;
border-radius: 8px;
transition: all 0.2s ease;
}
.nav-link:hover {
color: var(--blue);
background: rgba(37,99,235,0.08);
}
.nav-actions {
display: flex;
align-items: center;
gap: 8px;
margin-left: 16px;
padding-left: 16px;
border-left: 1px solid var(--gray-200);
}
.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 4px;
}
.nav-toggle span {
display: block;
width: 22px;
height: 2px;
background: var(--gray-700);
border-radius: 2px;
transition: all 0.3s ease;
}
.lang-select {
display: flex;
gap: 4px;
background: var(--gray-100);
padding: 3px;
border-radius: 8px;
}
.lang-btn {
padding: 6px 12px;
font-size: 0.8rem;
font-weight: 600;
border: none;
border-radius: 6px;
background: transparent;
cursor: pointer;
color: var(--gray-500);
transition: all 0.2s;
}
.lang-btn.active {
background: var(--white);
color: var(--blue);
box-shadow: var(--shadow-sm);
}
/* ========================================
BUTTONS
======================================== */
.btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 10px 20px;
border: none;
border-radius: 8px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
font-family: inherit;
}
.btn-primary {
background: linear-gradient(135deg, var(--blue), var(--blue-dark));
color: var(--white);
box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}
.btn-outline {
background: transparent;
color: var(--gray-700);
border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
border-color: var(--blue);
color: var(--blue);
}
.btn-telegram {
background: linear-gradient(135deg, #0088cc, #0077b5);
color: var(--white);
box-shadow: 0 2px 8px rgba(0,136,204,0.3);
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
}
.btn-telegram:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0,136,204,0.4);
}
.btn-block { width: 100%; justify-content: center; }
/* ========================================
HERO SECTION
======================================== */
.hero {
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #0d9488 100%);
position: relative;
overflow: hidden;
padding: 80px 24px 40px;
}
.hero-particles {
position: absolute;
inset: 0;
overflow: hidden;
pointer-events: none;
}
.particle {
position: absolute;
border-radius: 50%;
background: rgba(255,255,255,0.08);
animation: float-particle linear infinite;
}
@keyframes float-particle {
0% { transform: translateY(100vh) scale(0); opacity: 0; }
10% { opacity: 1; }
90% { opacity: 1; }
100% { transform: translateY(-100px) scale(1); opacity: 0; }
}
.hero-content {
position: relative;
z-index: 1;
max-width: 700px;
}
.hero-title {
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 900;
color: var(--white);
line-height: 1.1;
margin-bottom: 16px;
text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
font-size: clamp(1rem, 2.5vw, 1.3rem);
color: rgba(255,255,255,0.8);
margin-bottom: 40px;
font-weight: 400;
}
.hero-stats {
display: flex;
justify-content: center;
gap: 48px;
margin-top: 24px;
}
.stat {
text-align: center;
color: var(--white);
}
.stat-number {
display: block;
font-size: 2.5rem;
font-weight: 800;
line-height: 1;
background: linear-gradient(135deg, #ffffff, #94a3b8);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stat:not(:last-child) {
border-right: 1px solid rgba(255,255,255,0.2);
}
.stat span:last-child {
font-size: 0.85rem;
color: rgba(255,255,255,0.6);
display: block;
margin-top: 4px;
}
.hero-scroll-indicator {
position: absolute;
bottom: 32px;
left: 50%;
transform: translateX(-50%);
z-index: 1;
}
.scroll-arrow {
width: 24px;
height: 40px;
border: 2px solid rgba(255,255,255,0.4);
border-radius: 12px;
position: relative;
animation: scroll-bounce 2s ease-in-out infinite;
}
.scroll-arrow::before {
content: '';
position: absolute;
top: 6px;
left: 50%;
transform: translateX(-50%);
width: 4px;
height: 8px;
background: rgba(255,255,255,0.6);
border-radius: 2px;
animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(8px); }
}
@keyframes scroll-dot {
0%, 100% { opacity: 1; top: 6px; }
50% { opacity: 0.3; top: 16px; }
}
/* ========================================
TELEGRAM BANNER
======================================== */
.telegram-banner {
background: linear-gradient(135deg, #0088cc, #00a8e8);
padding: 20px 24px;
}
.banner-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
color: var(--white);
}
.banner-icon { font-size: 1.5rem; }
.banner-text { font-size: 0.95rem; }
/* ========================================
MAIN CONTENT
======================================== */
.main-content {
min-height: 50vh;
}
/* ========================================
SECTIONS
======================================== */
.section {
padding: 80px 24px;
}
.section-alt {
background: var(--gray-100);
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.section-title {
font-size: 2rem;
font-weight: 800;
text-align: center;
margin-bottom: 48px;
background: linear-gradient(135deg, var(--black), var(--gray-600));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ========================================
ABOUT CARDS
======================================== */
.about-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 24px;
}
.about-card {
background: var(--white);
padding: 32px;
border-radius: var(--radius-lg);
box-shadow: var(--shadow);
transition: all 0.3s ease;
border: 1px solid var(--gray-200);
cursor: default;
}
.about-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
border-color: var(--blue-light);
}
.about-icon {
font-size: 2.5rem;
margin-bottom: 16px;
display: block;
}
.about-card h3 {
font-size: 1.15rem;
font-weight: 700;
margin-bottom: 10px;
color: var(--black);
}
.about-card p {
font-size: 0.9rem;
color: var(--gray-500);
line-height: 1.6;
}
/* ========================================
SEARCH BAR
======================================== */
.search-bar {
position: relative;
margin-bottom: 32px;
max-width: 400px;
}
.search-icon {
position: absolute;
left: 14px;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 20px;
color: var(--gray-400);
pointer-events: none;
}
.search-input {
width: 100%;
padding: 12px 16px 12px 44px;
border: 2px solid var(--gray-200);
border-radius: var(--radius);
font-size: 0.95rem;
font-family: inherit;
outline: none;
transition: all 0.2s ease;
background: var(--white);
}
.search-input:focus {
border-color: var(--blue);
box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.search-input::placeholder {
color: var(--gray-400);
}
/* ========================================
MEMBERS GRID
======================================== */
.members-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}
.member-card {
background: var(--white);
border-radius: var(--radius-lg);
padding: 24px;
display: flex;
align-items: flex-start;
gap: 16px;
box-shadow: var(--shadow-sm);
border: 1px solid var(--gray-200);
cursor: pointer;
transition: all 0.3s ease;
}
.member-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
border-color: var(--blue-light);
}
.member-card .user-avatar {
width: 52px;
height: 52px;
border-radius: 50%;
background: linear-gradient(135deg, var(--blue), var(--teal));
color: var(--white);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.3rem;
flex-shrink: 0;
overflow: hidden;
}
.member-card .user-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.member-info h4 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 4px;
color: var(--black);
}
.member-info .member-company {
font-size: 0.85rem;
color: var(--gray-500);
margin-bottom: 4px;
}
.member-info .member-location {
font-size: 0.8rem;
color: var(--gray-400);
margin-bottom: 6px;
}
.member-info .member-posts {
font-size: 0.75rem;
color: var(--gray-400);
}
.rank-badge {
font-size: 0.65rem;
font-weight: 700;
padding: 3px 8px;
border-radius: 6px;
position: absolute;
top: 12px;
right: 12px;
white-space: nowrap;
}
.rank-rookie { background: var(--gray-100); color: var(--gray-600); }
.rank-beginner { background: #d1fae5; color: #065f46; }
.rank-member { background: #dbeafe; color: #1e40af; }
.rank-contributor { background: #fef3c7; color: #92400e; }
.rank-veteran { background: #ede9fe; color: #5b21b6; }
.rank-expert { background: #fce7f3; color: #9d174d; }
.rank-legend { background: #fef08a; color: #854d0e; }
/* ========================================
WIKI GRID
======================================== */
.wiki-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.wiki-card {
background: var(--white);
border-radius: var(--radius-lg);
padding: 24px;
box-shadow: var(--shadow-sm);
border: 1px solid var(--gray-200);
cursor: pointer;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
height: 100%;
min-height: 160px;
position: relative;
overflow: hidden;
}
.wiki-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
}
.wiki-card[data-color="blue"]::before { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.wiki-card[data-color="teal"]::before { background: linear-gradient(90deg, var(--teal), #14b8a6); }
.wiki-card[data-color="green"]::before { background: linear-gradient(90deg, var(--green), #22c55e); }
.wiki-card[data-color="orange"]::before { background: linear-gradient(90deg, var(--orange), #fb923c); }
.wiki-card[data-color="purple"]::before { background: linear-gradient(90deg, var(--purple), #a78bfa); }
.wiki-card[data-color="pink"]::before { background: linear-gradient(90deg, var(--pink), #f472b6); }
.wiki-card[data-color="yellow"]::before { background: linear-gradient(90deg, var(--yellow), #fbbf24); }
.wiki-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
border-color: var(--blue-light);
}
.wiki-card-title {
font-size: 1.05rem;
font-weight: 700;
color: var(--black);
margin-bottom: 8px;
}
.wiki-card-excerpt {
font-size: 0.85rem;
color: var(--gray-500);
line-height: 1.6;
flex-grow: 1;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
.wiki-card-footer {
margin-top: 16px;
padding-top: 12px;
border-top: 1px solid var(--gray-200);
font-size: 0.8rem;
color: var(--gray-400);
display: flex;
justify-content: space-between;
}
.wiki-card-subtopic {
font-size: 0.75rem;
color: var(--blue);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* ========================================
MODAL
======================================== */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.5);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
.modal-overlay.active {
opacity: 1;
pointer-events: auto;
}
.modal {
background: var(--white);
border-radius: var(--radius-xl);
padding: 40px;
width: 100%;
max-width: 560px;
position: relative;
box-shadow: var(--shadow-xl);
max-height: 90vh;
overflow-y: auto;
transform: translateY(20px) scale(0.97);
transition: transform 0.3s ease;
}
.modal-overlay.active .modal {
transform: translateY(0) scale(1);
}
.modal-close {
position: absolute;
top: 16px;
right: 16px;
width: 36px;
height: 36px;
border-radius: 50%;
border: none;
background: var(--gray-100);
cursor: pointer;
font-size: 1.2rem;
display: flex;
align-items: center;
justify-content: center;
color: var(--gray-500);
transition: all 0.2s;
}
.modal-close:hover {
background: var(--gray-200);
color: var(--black);
}
/* ========================================
LOGIN MODAL
======================================== */
.login-steps {
text-align: center;
}
.login-icon {
font-size: 3rem;
margin-bottom: 16px;
}
.login-step {
display: none;
}
.login-step.active {
display: block;
}
.login-hint {
font-size: 0.9rem;
color: var(--gray-500);
margin-bottom: 24px;
}
/* ========================================
PROFILE MODAL
======================================== */
.profile-username {
font-size: 1.2rem;
font-weight: 700;
margin-bottom: 8px;
}
.profile-rank {
margin-bottom: 24px;
}
.profile-edit-fields {
text-align: left;
}
.checkbox-group {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}
.checkbox-group .checkbox {
width: 18px;
height: 18px;
cursor: pointer;
}
.checkbox-group label {
font-size: 0.9rem;
font-weight: 600;
color: var(--gray-700);
}
/* ========================================
USER DETAIL MODAL
======================================== */
.user-detail-modal {
max-width: 560px;
}
.user-detail-content {
text-align: center;
}
.user-detail-avatar {
width: 80px;
height: 80px;
border-radius: 50%;
margin: 0 auto 16px;
background: linear-gradient(135deg, var(--blue), var(--teal));
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.user-detail-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.user-detail-header {
margin-bottom: 24px;
}
.user-detail-name-rank {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.user-detail-name-rank h2 {
font-size: 1.3rem;
font-weight: 700;
margin: 0;
}
.user-detail-company {
font-size: 0.9rem;
color: var(--gray-500);
}
.user-detail-fields {
text-align: left;
border-top: 1px solid var(--gray-200);
padding-top: 20px;
}
.detail-field {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 10px 0;
border-bottom: 1px solid var(--gray-100);
}
.detail-field:last-child {
border-bottom: none;
}
.detail-label {
font-size: 0.85rem;
font-weight: 600;
color: var(--gray-500);
}
.detail-value {
font-size: 0.85rem;
color: var(--gray-800);
max-width: 60%;
text-align: right;
word-break: break-word;
}
.user-desc-value {
text-align: left;
max-width: 100%;
line-height: 1.6;
}
/* ========================================
FORM ELEMENTS
======================================== */
.form-group {
margin-bottom: 16px;
text-align: left;
}
.form-group label {
display: block;
font-size: 0.85rem;
font-weight: 600;
color: var(--gray-700);
margin-bottom: 6px;
}
.form-input {
width: 100%;
padding: 12px 16px;
border: 2px solid var(--gray-200);
border-radius: var(--radius);
font-size: 0.95rem;
font-family: inherit;
outline: none;
transition: all 0.2s ease;
background: var(--white);
}
.form-input:focus {
border-color: var(--blue);
box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
/* ========================================
NEWSLETTER SECTION
======================================== */
.newsletter-card {
background: var(--white);
padding: 48px;
border-radius: var(--radius-xl);
text-align: center;
box-shadow: var(--shadow);
max-width: 500px;
margin: 0 auto;
}
.newsletter-icon {
font-size: 3rem;
margin-bottom: 16px;
}
.newsletter-card h2 {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 8px;
}
.newsletter-hint {
font-size: 0.9rem;
color: var(--gray-500);
margin-bottom: 24px;
}
.success-message {
padding: 16px;
background: #d1fae5;
border-radius: var(--radius);
color: #065f46;
font-weight: 600;
margin-top: 16px;
}
.hidden { display: none !important; }
/* ========================================
WIKI MODAL
======================================== */
.wiki-modal {
max-width: 720px;
}
.wiki-modal-content {
text-align: left;
}
.wiki-modal-title {
font-size: 1.4rem;
font-weight: 800;
margin-bottom: 8px;
line-height: 1.3;
}
.wiki-modal-subtitle {
font-size: 0.85rem;
color: var(--blue);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 20px;
padding-bottom: 16px;
border-bottom: 1px solid var(--gray-200);
}
.wiki-modal-text {
font-size: 0.95rem;
color: var(--gray-700);
line-height: 1.8;
white-space: pre-wrap;
}
/* ========================================
FOOTER
======================================== */
.footer {
background: var(--black);
color: rgba(255,255,255,0.6);
padding: 48px 24px 32px;
}
.footer-brand {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 24px;
}
.footer-logo { font-size: 1.5rem; }
.footer-title {
font-weight: 700;
color: var(--white);
font-size: 1.1rem;
}
.footer-links {
display: flex;
justify-content: center;
gap: 24px;
margin-bottom: 32px;
flex-wrap: wrap;
}
.footer-links a {
color: rgba(255,255,255,0.5);
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
transition: color 0.2s;
}
.footer-links a:hover {
color: var(--white);
}
.footer-bottom {
text-align: center;
border-top: 1px solid rgba(255,255,255,0.1);
padding-top: 24px;
}
.footer-bottom a {
color: var(--white);
text-decoration: none;
font-weight: 600;
}
.footer-copy {
margin-top: 8px;
font-size: 0.8rem;
}
/* ========================================
LOADING / EMPTY STATES
======================================== */
.loading-text {
text-align: center;
color: var(--gray-400);
font-size: 0.9rem;
padding: 40px;
grid-column: 1 / -1;
}
.no-results {
text-align: center;
color: var(--gray-400);
font-size: 0.9rem;
padding: 40px;
grid-column: 1 / -1;
}
/* ========================================
RESPONSIVE
======================================== */
@media (max-width: 768px) {
.nav-toggle { display: flex; }
.nav-menu {
position: fixed;
top: 64px;
left: 0;
right: 0;
background: var(--white);
flex-direction: column;
padding: 16px;
border-bottom: 1px solid var(--gray-200);
box-shadow: var(--shadow-md);
transform: translateY(-110%);
transition: transform 0.3s ease;
gap: 4px;
}
.nav-menu.open { transform: translateY(0); }
.nav-actions {
margin-left: 0;
padding-left: 0;
border-left: none;
width: 100%;
justify-content: center;
padding: 12px 0;
border-top: 1px solid var(--gray-200);
}
.nav-link { width: 100%; text-align: center; }
.hero-stats { gap: 24px; }
.stat-number { font-size: 1.8rem; }
.section { padding: 48px 16px; }
.section-title { font-size: 1.5rem; margin-bottom: 32px; }
.modal { padding: 24px; max-width: 100%; }
.about-grid,
.members-grid,
.wiki-grid {
grid-template-columns: 1fr;
}
.banner-content {
flex-direction: column;
text-align: center;
gap: 12px;
}
.newsletter-card { padding: 32px 24px; }
.footer-links { gap: 16px; }
}
/* ========================================
LANGUAGE TOGGLE
======================================== */
.hide-de { display: none; }
.hide-en { display: none; }
[data-lang="de"] .hide-de { display: block; }
[data-lang="en"] .hide-en { display: block; }
[data-lang="de"] .hide-en { display: none; }
[data-lang="en"] .hide-de { display: none; }
[data-lang="de"] .nav-link .hide-de,
[data-lang="en"] .nav-link .hide-en { display: inline; }