-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmobile-first.css
More file actions
195 lines (161 loc) · 3.67 KB
/
mobile-first.css
File metadata and controls
195 lines (161 loc) · 3.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
/* ========================================
MOBILE-FIRST REDESIGN
======================================== */
/* Mobile Base Styles (Default <640px) */
/* Navigation - Compact */
nav {
padding: 12px 0 !important;
}
/* Hero Section - Mobile Optimized */
.hero {
min-height: 100vh;
padding: 100px 20px 60px !important;
}
.hero-content {
max-width: 100%;
padding: 0 !important;
}
/* Mobile Typography */
.hero h1,
.glowing-text {
font-size: 28px !important;
line-height: 1.2 !important;
margin-bottom: 1rem !important;
}
.hero-description,
.hero-content p {
font-size: 15px !important;
line-height: 1.5 !important;
margin-bottom: 1.5rem !important;
max-width: 90% !important;
margin-left: auto !important;
margin-right: auto !important;
}
/* Button System - Mobile Stack */
.cta-container {
display: flex !important;
flex-direction: column !important;
gap: 12px !important;
align-items: stretch !important;
padding: 0 !important;
width: 100% !important;
}
.btn,
.primary-btn,
.secondary-btn {
width: 100% !important;
min-height: 48px !important;
padding: 14px 24px !important;
font-size: 15px !important;
font-weight: 600 !important;
border-radius: 12px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
gap: 8px !important;
}
.secondary-btn {
background: transparent !important;
border: 2px solid rgba(255, 111, 97, 0.5) !important;
}
/* Services - Mobile Stack */
.service-box {
grid-template-columns: 1fr !important;
gap: 16px !important;
}
.service {
padding: 24px 20px !important;
}
.service h3 {
font-size: 18px !important;
}
.service p {
font-size: 14px !important;
}
/* Reduce Effects on Mobile */
.service,
.step,
.member {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
.service:hover,
.step:hover,
.member:hover {
box-shadow: 0 4px 16px rgba(255, 111, 97, 0.2) !important;
transform: translateY(-2px) !important;
}
/* Section Typography */
h2 {
font-size: 26px !important;
}
h3 {
font-size: 18px !important;
}
/* Tablet Breakpoint (640px+) */
@media (min-width: 640px) {
.hero h1,
.glowing-text {
font-size: 36px !important;
}
.hero-description {
font-size: 17px !important;
}
.cta-container {
flex-direction: row !important;
justify-content: center !important;
gap: 16px !important;
}
.btn {
width: auto !important;
min-width: 180px !important;
}
.service-box {
grid-template-columns: repeat(2, 1fr) !important;
gap: 20px !important;
}
h2 {
font-size: 32px !important;
}
}
/* Desktop Breakpoint (1024px+) */
@media (min-width: 1024px) {
nav {
padding: 16px 0 !important;
}
.hero {
padding: 120px 20px 80px !important;
}
.hero h1,
.glowing-text {
font-size: 48px !important;
}
.hero-description {
font-size: 19px !important;
max-width: 700px !important;
}
.cta-container {
gap: 20px !important;
}
.service-box {
grid-template-columns: repeat(3, 1fr) !important;
gap: 24px !important;
}
.service {
padding: 32px 24px !important;
}
h2 {
font-size: 40px !important;
}
/* Restore full effects for desktop */
.service,
.step,
.member {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
.service:hover,
.step:hover,
.member:hover {
box-shadow: 0 8px 24px rgba(255, 111, 97, 0.3) !important;
transform: translateY(-5px) !important;
}
}