akhaliq's picture
akhaliq HF Staff
Upload folder using huggingface_hub
61bec0b verified
Raw
History Blame Contribute Delete
9.05 kB
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #2d3748;
--secondary-color: #e2e8f0;
--accent-color: #3182ce;
--text-color: #2d3748;
--light-text: #718096;
--background: #ffffff;
--code-bg: #f7fafc;
--border-color: #e2e8f0;
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
}
body {
font-family: 'Source Sans Pro', sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background);
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-family: 'Source Code Pro', monospace;
font-weight: 600;
margin-bottom: 1rem;
line-height: 1.3;
}
h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
h3 {
font-size: 1.5rem;
}
p {
margin-bottom: 1rem;
}
a {
color: var(--accent-color);
text-decoration: none;
transition: var(--transition);
}
a:hover {
color: #2c5282;
}
/* Header and Navigation */
header {
background-color: var(--background);
box-shadow: var(--shadow);
position: sticky;
top: 0;
z-index: 100;
}
header .container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 20px;
}
.logo h1 {
font-size: 1.5rem;
margin: 0;
display: flex;
align-items: center;
}
.logo-code {
color: var(--accent-color);
margin-right: 0.5rem;
}
nav {
position: relative;
}
.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-menu a {
color: var(--text-color);
font-weight: 600;
padding: 0.5rem 0;
position: relative;
}
.nav-menu a.active {
color: var(--accent-color);
}
.nav-menu a.active::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background-color: var(--accent-color);
}
.nav-menu a:hover {
color: var(--accent-color);
}
.mobile-menu-toggle {
display: none;
flex-direction: column;
background: none;
border: none;
cursor: pointer;
padding: 0.5rem;
}
.mobile-menu-toggle span {
width: 25px;
height: 3px;
background-color: var(--text-color);
margin: 3px 0;
transition: var(--transition);
}
/* Buttons */
.btn, .btn-outline {
display: inline-block;
padding: 0.75rem 1.5rem;
border-radius: 4px;
font-weight: 600;
text-align: center;
transition: var(--transition);
cursor: pointer;
}
.btn {
background-color: var(--accent-color);
color: white;
border: none;
}
.btn:hover {
background-color: #2c5282;
transform: translateY(-2px);
}
.btn-outline {
background-color: transparent;
color: var(--accent-color);
border: 2px solid var(--accent-color);
}
.btn-outline:hover {
background-color: var(--accent-color);
color: white;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
color: white;
padding: 4rem 0;
text-align: center;
}
.hero-content h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0.9;
}
.page-hero {
background-color: var(--code-bg);
padding: 3rem 0;
text-align: center;
}
.page-hero h1 {
margin-bottom: 0.5rem;
}
.page-hero p {
color: var(--light-text);
font-size: 1.1rem;
}
/* Features Section */
.features {
padding: 4rem 0;
}
.features h2 {
text-align: center;
margin-bottom: 3rem;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.feature-card {
text-align: center;
padding: 2rem;
border-radius: 8px;
background-color: var(--background);
box-shadow: var(--shadow);
transition: var(--transition);
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
/* Hours & Location */
.hours-location {
background-color: var(--code-bg);
padding: 4rem 0;
}
.hours-location-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 3rem;
}
.hours ul, .location p {
list-style: none;
margin-top: 1rem;
}
.hours li {
margin-bottom: 0.5rem;
display: flex;
justify-content: space-between;
}
.hours span {
font-weight: 600;
}
/* About Page */
.about-content {
padding: 4rem 0;
}
.about-grid {
display: grid;
grid-template-columns: 1fr;
gap: 3rem;
margin-bottom: 4rem;
}
.about-image .image-placeholder {
height: 300px;
background-color: var(--secondary-color);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--light-text);
}
.values-section {
margin-top: 4rem;
}
.values-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.value-item {
padding: 2rem;
background-color: var(--code-bg);
border-radius: 8px;
text-align: center;
}
.value-item h3 {
color: var(--accent-color);
margin-bottom: 1rem;
}
/* Contact Page */
.contact-content {
padding: 4rem 0;
}
.contact-grid {
display: grid;
grid-template-columns: 1fr;
gap: 3rem;
}
.contact-info h2 {
margin-bottom: 2rem;
}
.info-item {
margin-bottom: 2rem;
}
.info-item h3 {
color: var(--accent-color);
margin-bottom: 0.5rem;
}
.contact-form-container {
background-color: var(--code-bg);
padding: 2rem;
border-radius: 8px;
}
.contact-form {
display: grid;
gap: 1.5rem;
}
.form-group {
display: flex;
flex-direction: column;
}
.form-group label {
margin-bottom: 0.5rem;
font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
padding: 0.75rem;
border: 1px solid var(--border-color);
border-radius: 4px;
font-family: inherit;
font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--accent-color);
box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}
.form-message {
margin-top: 1rem;
padding: 1rem;
border-radius: 4px;
display: none;
}
.form-message.success {
background-color: #c6f6d5;
color: #2d7848;
display: block;
}
.form-message.error {
background-color: #fed7d7;
color: #c53030;
display: block;
}
.map-section {
padding: 4rem 0;
background-color: var(--secondary-color);
}
.map-section h2 {
text-align: center;
margin-bottom: 2rem;
}
.map-placeholder {
height: 300px;
background-color: var(--border-color);
border-radius: 8px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: var(--light-text);
}
/* Footer */
footer {
background-color: var(--primary-color);
color: white;
padding: 3rem 0 1rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3,
.footer-section h4 {
color: white;
margin-bottom: 1rem;
}
.footer-section ul {
list-style: none;
}
.footer-section ul li {
margin-bottom: 0.5rem;
}
.footer-section a {
color: var(--secondary-color);
}
.footer-section a:hover {
color: white;
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 1rem;
text-align: center;
font-size: 0.9rem;
color: var(--secondary-color);
}
/* Responsive Design */
@media (min-width: 768px) {
.about-grid {
grid-template-columns: 1fr 1fr;
}
.contact-grid {
grid-template-columns: 1fr 1fr;
}
h1 {
font-size: 3rem;
}
.hero-content h2 {
font-size: 3.5rem;
}
}
@media (max-width: 768px) {
.mobile-menu-toggle {
display: flex;
}
.nav-menu {
position: absolute;
top: 100%;
right: 0;
background-color: var(--background);
flex-direction: column;
width: 200px;
padding: 1rem;
box-shadow: var(--shadow);
border-radius: 4px;
display: none;
gap: 0;
}
.nav-menu.active {
display: flex;
}
.nav-menu li {
margin: 0.5rem 0;
}
header .container {
padding: 1rem;
}
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
* {
transition: none;
}
}
button:focus,
input:focus,
select:focus,
textarea:focus {
outline: 2px solid var(--accent-color);
outline-offset: 2px;
}
.skip-to-content {
position: absolute;
top: -40px;
left: 0;
background: var(--accent-color);
color: white;
padding: 8px;
z-index: 1000;
transition: top 0.3s;
}
.skip-to-content:focus {
top: 0;
}