|
1 | 1 | /* Variables & base */ |
2 | | -:root{ |
3 | | - --bg:#0e1620; /* deep charcoal body background for sleek feel */ |
4 | | - --paper:#0f1720; /* darker cards */ |
5 | | - --primary:#1e90ff; /* sleek blue */ |
6 | | - --accent:#f6b75e; /* warm gold accent */ |
7 | | - --muted:#98a3b3; |
8 | | - --text:#e6eef6; |
9 | | - --card:#0b1116; |
10 | | - --container:1100px; |
11 | | - --radius:12px; |
12 | | -} |
13 | | -*{box-sizing:border-box} |
14 | | -html,body{height:100%} |
15 | | -body{ |
16 | | - margin:0; |
17 | | - font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial; |
18 | | - color:var(--text); |
19 | | - background:linear-gradient(180deg,#07101a, #0d1a26); |
20 | | - -webkit-font-smoothing:antialiased; |
21 | | - -moz-osx-font-smoothing:grayscale; |
22 | | -} |
23 | | - |
24 | | -/* Container */ |
25 | | -.container{max-width:var(--container);margin:0 auto;padding:0 20px} |
26 | | - |
27 | | -/* Header */ |
28 | | -.site-header{background:rgba(6,10,18,0.6);backdrop-filter:blur(6px);position:sticky;top:0;z-index:90;border-bottom:1px solid rgba(255,255,255,0.03)} |
29 | | -.header-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0} |
30 | | -.brand{display:flex;gap:12px;align-items:center} |
31 | | -.logo{width:48px;height:48px;border-radius:10px;background:linear-gradient(135deg,var(--primary),#156fe6);display:flex;align-items:center;justify-content:center;font-weight:800;color:#041027} |
32 | | -.org-name{font-size:1rem;margin:0} |
33 | | -.tagline{font-size:12px;color:var(--muted)} |
34 | | - |
35 | | -.nav{display:flex;gap:14px;align-items:center} |
36 | | -.nav a{color:var(--muted);text-decoration:none;font-weight:600} |
37 | | -.btn{padding:8px 12px;border-radius:10px;border:0;cursor:pointer;font-weight:700} |
38 | | -.small{padding:6px 10px;font-size:13px} |
39 | | -.primary{background:var(--primary);color:#041027} |
40 | | -.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--text)} |
41 | | -.nav-toggle{display:none;background:transparent;border:0;color:var(--text);font-size:18px} |
42 | | - |
43 | | -/* Hero */ |
44 | | -.hero{position:relative;height:55vh;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid rgba(255,255,255,0.02)} |
45 | | -.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.5) contrast(.95)} |
46 | | -.hero-overlay{position:relative;z-index:2;text-align:center;padding:36px} |
47 | | -.hero-overlay h2{font-size:2rem;margin:0 0 8px} |
48 | | -.hero-overlay p{color:var(--muted);margin-bottom:12px} |
49 | | -.hero-ctas{display:flex;gap:12px;justify-content:center} |
50 | | - |
51 | | -/* Sections */ |
52 | | -.section{padding:48px 0} |
53 | | -.pale{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent)} |
54 | | -.section h2, .section h3{color:var(--primary)} |
55 | | -.lead{color:var(--muted);max-width:760px} |
56 | | - |
57 | | -/* Grids */ |
58 | | -.section-grid{display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:start} |
59 | | -@media(max-width:900px){.section-grid{grid-template-columns:1fr}} |
60 | | -.grid.three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px} |
61 | | -@media(max-width:900px){.grid.three{grid-template-columns:1fr}} |
62 | | -.programs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px} |
63 | | -.card{background:rgba(255,255,255,0.02);padding:18px;border-radius:var(--radius);box-shadow:0 8px 30px rgba(2,6,12,0.6);border:1px solid rgba(255,255,255,0.02)} |
64 | | - |
65 | | -/* Stats */ |
66 | | -.stat-card{display:flex;flex-direction:column;align-items:center;padding:18px;border-radius:10px;background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent)} |
67 | | -.stat-card .num{font-size:2rem;color:var(--accent);font-weight:800} |
68 | | -.stat-card .label{color:var(--muted)} |
69 | | - |
70 | | -/* Profiles flight grid */ |
71 | | -.profiles-grid.flight{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;align-items:start} |
72 | | -.profile-card{display:flex;gap:12px;align-items:center;background:rgba(255,255,255,0.02);padding:12px;border-radius:10px;border:1px solid rgba(255,255,255,0.02)} |
73 | | -.profile-card img{width:72px;height:72px;border-radius:8px;object-fit:cover} |
74 | | -.profile-body strong{display:block} |
75 | | -.profile-body small{color:var(--muted)} |
76 | | - |
77 | | -/* Gallery */ |
78 | | -.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px} |
79 | | -.gallery-item{width:100%;height:160px;object-fit:cover;border-radius:10px;cursor:pointer;display:block} |
80 | | - |
81 | | -/* Partners */ |
82 | | -.partners-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px} |
83 | | -.partner-card img{border-radius:8px} |
84 | | - |
85 | | -/* Donate tabs */ |
86 | | -.donate-tabs{display:flex;gap:8px;margin-bottom:12px} |
87 | | -.tab-btn{padding:8px 12px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,0.03);color:var(--muted);cursor:pointer} |
88 | | -.tab-btn.active{background:var(--accent);color:#041027;border-color:transparent} |
89 | | -.hidden{display:none} |
90 | | - |
91 | | -/* Contact layout */ |
92 | | -.contact-grid{display:grid;grid-template-columns:1fr 360px;gap:24px} |
93 | | -@media(max-width:880px){.contact-grid{grid-template-columns:1fr}} |
94 | | - |
95 | | -/* Footer */ |
96 | | -.footer{background:linear-gradient(180deg,#041124,#051226);color:var(--muted);padding:20px 0} |
97 | | -.footer-grid{display:flex;justify-content:space-between;align-items:center;gap:12px} |
98 | | -.footer-nav a{color:var(--muted);margin-left:10px;text-decoration:none} |
99 | | - |
100 | | -/* Lightbox */ |
101 | | -.lightbox{position:fixed;inset:0;background:rgba(0,0,0,0.75);display:none;align-items:center;justify-content:center;z-index:999} |
102 | | -.lightbox.active{display:flex} |
103 | | -.lightbox-inner{max-width:90%;max-height:90%} |
104 | | -.lightbox img{max-width:100%;max-height:85vh;border-radius:8px} |
105 | | - |
106 | | -/* Back to top */ |
107 | | -#topBtn{position:fixed;right:18px;bottom:18px;width:50px;height:50px;border-radius:50%;background:var(--primary);color:#041027;border:0;font-size:20px;display:none;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 30px rgba(30,144,255,0.14)} |
108 | | - |
109 | | -/* Reveal animations */ |
110 | | -.reveal{opacity:0;transform:translateY(18px);transition:all .6s cubic-bezier(.2,.9,.3,1);will-change:opacity,transform} |
111 | | -.reveal.visible{opacity:1;transform:none} |
112 | | -.delay-1{transition-delay:.12s} |
113 | | -.delay-2{transition-delay:.22s} |
114 | | -.delay-3{transition-delay:.32s} |
115 | | - |
116 | | -/* Small screens */ |
117 | | -@media(max-width:700px){ |
118 | | - .nav{display:none} |
119 | | - .nav-toggle{display:block} |
120 | | - .hero{height:40vh} |
121 | | - .hero-overlay h2{font-size:1.25rem} |
122 | | - .footer-grid{flex-direction:column;align-items:flex-start} |
| 2 | +:root { |
| 3 | + --bg: #000000; /* Tesla black background */ |
| 4 | + --paper: #111111; /* slightly lighter cards */ |
| 5 | + --primary: #ffffff; /* main text/white */ |
| 6 | + --accent: #e82127; /* Tesla red accent */ |
| 7 | + --muted: #aaaaaa; /* secondary text */ |
| 8 | + --text: #ffffff; /* primary text color */ |
| 9 | + --card: #1a1a1a; /* card background */ |
| 10 | + --container: 1100px; |
| 11 | + --radius: 12px; |
123 | 12 | } |
0 commit comments