-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
173 lines (147 loc) · 3.68 KB
/
style.css
File metadata and controls
173 lines (147 loc) · 3.68 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
/* Reset et Bases */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body {
line-height: 1.6;
color: #333;
overflow-x: hidden;
}
/* Header & Nav */
header {
background: #4CAF50;
color: white;
padding: 1rem 5%;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
z-index: 1000;
}
.logo h1 { font-size: 1.8rem; }
.logo span { font-weight: 300; font-style: italic; font-size: 1.2rem; }
nav ul {
display: flex;
list-style: none;
}
nav ul li a {
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
transition: 0.3s;
}
/* Bannière */
.banner {
height: 60vh;
background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('imgacceuil.jpg');
background-size: cover;
background-position: center;
min-height:400px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: white;
}
.banner h2 { font-size: 2.5rem; margin-bottom: 1.5rem; padding: 0 10px; }
/* Boutons */
.btn, .btn-add {
background: #4CAF50;
color: white;
padding: 0.8rem 1.5rem;
text-decoration: none;
border-radius: 5px;
border: none;
cursor: pointer;
transition: 0.3s;
}
.btn:hover, .btn-add:hover { background: #45a049; }
/* Grilles (Produits et Services) */
.products, .services { padding: 4rem 5%; text-align: center; }
.product-grid, .service-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.product-card, .service-card {
background: white;
border: 1px solid #ddd;
border-radius: 10px;
padding: 1.5rem;
transition: 0.3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.product-card img {
width: 100%;
height: 200px;
object-fit: contain;
background-color:#f9f9f9 ;
border-radius: 5px;
}
.price { color: #4CAF50; font-weight: bold; font-size: 1.2rem; display: block; margin: 10px 0; }
/* Vidéo */
.video-container {
width :100% ;
max-width: 500px;
margin:20px auto;
display:block;
}
.video-container video {
width: 100%;
max-width: 100%;
border-radius: 10px;
height: auto;
}
/* Note Box */
.note-box {
margin: 2rem auto;
max-width: 500px;
padding: 20px;
background: #f1f8e9;
border-left: 6px solid #4CAF50;
border-radius: 10px;
}
/* WhatsApp Section */
.whatsapp-section { text-align: center; padding: 2rem; }
.whatsapp-btn {
background: #25D366;
color: white;
padding: 15px 30px;
text-decoration: none;
border-radius: 50px;
font-weight: bold;
display: inline-flex;
align-items: center;
gap: 10px;
}
/* Footer */
footer {
background: #333;
color: white;
text-align: center;
padding: 2rem;
margin-top: 2rem;
}
.social-links { display: flex; justify-content: center; gap: 20px; margin: 1rem 0; }
.social-links a { color: white; font-size: 1.5rem; transition: 0.3s; }
.social-links a:hover { color: #4CAF50; }
/* RESPONSIVE : Mobile */
@media screen and (max-width: 768px) {
header {
flex-direction: column;
padding: 1rem;
}
nav ul {
margin-top: 15px;
flex-wrap: wrap;
justify-content: center;
}
nav ul li a { padding: 0.5rem; font-size: 0.9rem; }
.banner h2 { font-size: 1.8rem; }
.product-grid { grid-template-columns: 1fr; } /* Un seul produit par ligne sur mobile */
}