* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f8f9fa;
font-size: 16px;
} h1, h2, h3, h4, h5, h6 {
font-weight: 600;
line-height: 1.3;
margin-bottom: 1rem;
color: #2c3e50;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p {
margin-bottom: 1rem;
color: #555;
}
a {
color: #667eea;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #5a6fd8;
} .container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.site {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.site-content {
flex: 1;
padding: 2rem 0;
} .site-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
position: relative;
z-index: 1000;
width: 100%;
}
.site-header.sticky {
position: fixed;
top: 0;
left: 0;
right: 0;
animation: slideDown 0.3s ease;
}
@keyframes slideDown {
from { transform: translateY(-100%); }
to { transform: translateY(0); }
} .header-content {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
flex-wrap: wrap;
gap: 1rem;
}
.site-branding {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 1rem;
}
.site-title {
font-size: 2rem;
font-weight: 700;
margin: 0;
color: white;
}
.site-title a {
color: white;
text-decoration: none;
}
.site-description {
font-size: 1rem;
margin: 0;
opacity: 0.9;
color: white;
}
.main-navigation {
flex: 1;
display: flex;
justify-content: center;
background: rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
padding: 0.5rem 0;
border-radius: 25px;
margin: 0 1rem;
}
.main-navigation ul {
list-style: none;
display: flex;
gap: 2rem;
margin: 0;
padding: 0 2rem;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.main-navigation li {
position: relative;
margin: 0;
}
.main-navigation a {
color: white;
text-decoration: none;
font-weight: 500;
padding: 0.5rem 1rem;
border-radius: 20px;
transition: all 0.3s ease;
display: block;
white-space: nowrap;
}
.main-navigation a:hover {
background: rgba(255,255,255,0.2);
transform: translateY(-2px);
} .mobile-menu-toggle {
display: none;
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
border-radius: 5px;
transition: background 0.3s ease;
}
.mobile-menu-toggle:hover {
background: rgba(255,255,255,0.1);
}
.mobile-menu {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
padding: 2rem;
box-sizing: border-box;
}
.mobile-menu.active {
display: flex;
}
.mobile-menu-close {
position: absolute;
top: 20px;
right: 20px;
background: rgba(255,255,255,0.1);
border: none;
color: white;
font-size: 2rem;
cursor: pointer;
padding: 0.5rem;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.mobile-menu-close:hover {
background: rgba(255,255,255,0.2);
transform: scale(1.1);
}
.mobile-menu-list {
list-style: none;
padding: 0;
margin: 0;
text-align: center;
width: 100%;
max-width: 300px;
}
.mobile-menu-list li {
margin: 1rem 0;
opacity: 0;
transform: translateY(20px);
animation: slideInUp 0.5s ease forwards;
}
.mobile-menu-list li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-list li:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu-list li:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu-list li:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu-list li:nth-child(5) { animation-delay: 0.5s; }
@keyframes slideInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.mobile-menu-list a {
color: white;
font-size: 1.5rem;
text-decoration: none;
padding: 1rem 2rem;
display: block;
border-radius: 25px;
transition: all 0.3s ease;
font-weight: 500;
background: rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.2);
}
.mobile-menu-list a:hover {
background: rgba(255,255,255,0.2);
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
} @media (max-width: 768px) {
.header-content {
flex-direction: column;
text-align: center;
gap: 1rem;
}
.site-branding {
flex-direction: column;
gap: 0.5rem;
}
.main-navigation {
display: none;
}
.mobile-menu-toggle {
display: flex;
align-items: center;
justify-content: center;
width: 45px;
height: 45px;
border-radius: 50%;
background: rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.2);
transition: all 0.3s ease;
}
.mobile-menu-toggle:hover {
background: rgba(255,255,255,0.2);
transform: scale(1.1);
}
.site-title {
font-size: 1.8rem;
}
}
@media (min-width: 769px) {
.mobile-menu-toggle {
display: none;
}
.main-navigation {
display: flex;
}
} .hero-section {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 4rem 0;
text-align: center;
border-radius: 15px;
margin-bottom: 3rem;
position: relative;
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
opacity: 0.3;
}
.hero-content {
position: relative;
z-index: 2;
}
.hero-content h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
font-weight: 700;
color: white;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0.9;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.cta-button {
display: inline-block;
background: white;
color: #667eea;
padding: 1rem 2rem;
text-decoration: none;
border-radius: 30px;
font-weight: 600;
font-size: 1.1rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
color: #667eea;
} .posts-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.post-card {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.post-thumbnail {
position: relative;
overflow: hidden;
}
.post-thumbnail img {
width: 100%;
height: 200px;
object-fit: cover;
transition: transform 0.3s ease;
}
.post-card:hover .post-thumbnail img {
transform: scale(1.05);
}
.post-content {
padding: 1.5rem;
}
.post-title {
font-size: 1.3rem;
margin-bottom: 0.5rem;
}
.post-title a {
color: #2c3e50;
text-decoration: none;
transition: color 0.3s ease;
}
.post-title a:hover {
color: #667eea;
}
.post-meta {
color: #666;
font-size: 0.9rem;
margin-bottom: 1rem;
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.post-excerpt {
color: #555;
margin-bottom: 1rem;
line-height: 1.6;
}
.read-more {
display: inline-block;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 0.5rem 1.5rem;
text-decoration: none;
border-radius: 25px;
font-weight: 500;
transition: transform 0.3s ease;
font-size: 0.9rem;
}
.read-more:hover {
transform: translateY(-2px);
color: white;
} .widget-area {
background: white;
padding: 1.5rem;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.widget {
margin-bottom: 2rem;
}
.widget:last-child {
margin-bottom: 0;
}
.widget-title {
color: #2c3e50;
margin-bottom: 1rem;
font-size: 1.2rem;
border-bottom: 2px solid #667eea;
padding-bottom: 0.5rem;
}
.widget ul {
list-style: none;
padding: 0;
}
.widget ul li {
padding: 0.5rem 0;
border-bottom: 1px solid #eee;
}
.widget ul li:last-child {
border-bottom: none;
}
.widget ul li a {
color: #555;
text-decoration: none;
transition: color 0.3s ease;
}
.widget ul li a:hover {
color: #667eea;
} .site-footer {
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
color: white;
padding: 3rem 0 1rem;
margin-top: 3rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3 {
color: #3498db;
margin-bottom: 1rem;
font-size: 1.3rem;
border-bottom: 2px solid #3498db;
padding-bottom: 0.5rem;
}
.footer-section p {
color: #bdc3c7;
margin-bottom: 1rem;
line-height: 1.6;
}
.footer-menu {
list-style: none;
padding: 0;
}
.footer-menu li {
margin-bottom: 0.5rem;
}
.footer-menu a {
color: #bdc3c7;
text-decoration: none;
transition: color 0.3s ease;
display: block;
padding: 0.25rem 0;
}
.footer-menu a:hover {
color: #3498db;
transform: translateX(5px);
} .social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: #3498db;
color: white;
border-radius: 50%;
transition: all 0.3s ease;
font-size: 1.2rem;
}
.social-links a:hover {
background: #2980b9;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
} .contact-info p {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.contact-info i {
color: #3498db;
width: 20px;
} .newsletter-signup {
margin-top: 1.5rem;
}
.newsletter-signup h4 {
color: #3498db;
margin-bottom: 0.5rem;
font-size: 1.1rem;
}
.newsletter-form {
display: flex;
gap: 0.5rem;
margin-top: 1rem;
}
.newsletter-form input[type="email"] {
flex: 1;
padding: 0.5rem;
border: none;
border-radius: 5px;
font-size: 0.9rem;
}
.newsletter-form button {
background: #3498db;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s ease;
font-size: 0.9rem;
}
.newsletter-form button:hover {
background: #2980b9;
} .footer-bottom {
border-top: 1px solid #34495e;
padding-top: 2rem;
}
.footer-bottom-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.footer-bottom p {
color: #95a5a6;
margin: 0;
}
.footer-links {
display: flex;
gap: 1rem;
}
.footer-links a {
color: #95a5a6;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
}
.footer-links a:hover {
color: #3498db;
} .text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.primary-color { color: #667eea; }
.primary-bg { background-color: #667eea; }
.secondary-color { color: #764ba2; }
.secondary-bg { background-color: #764ba2; }
.btn {
display: inline-block;
padding: 0.5rem 1rem;
border-radius: 5px;
text-decoration: none;
transition: all 0.3s ease;
border: none;
cursor: pointer;
font-size: 0.9rem;
}
.btn-primary {
background: #667eea;
color: white;
}
.btn-primary:hover {
background: #5a6fd8;
color: white;
}
.btn-secondary {
background: #764ba2;
color: white;
}
.btn-secondary:hover {
background: #6a4190;
color: white;
} @keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in {
animation: fadeIn 0.6s ease;
}
@keyframes slideInLeft {
from { opacity: 0; transform: translateX(-30px); }
to { opacity: 1; transform: translateX(0); }
}
.slide-in-left {
animation: slideInLeft 0.6s ease;
} .back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
background: #667eea;
color: white;
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
display: none;
align-items: center;
justify-content: center;
font-size: 1.2rem;
transition: all 0.3s ease;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.back-to-top:hover {
background: #5a6fd8;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
} .loading {
opacity: 0.6;
pointer-events: none;
}
.spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid #f3f3f3;
border-top: 3px solid #667eea;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} .notification {
position: fixed;
top: 20px;
right: 20px;
padding: 1rem 1.5rem;
border-radius: 5px;
color: white;
font-weight: 500;
z-index: 10000;
display: none;
max-width: 300px;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.notification-success {
background: #27ae60;
}
.notification-error {
background: #e74c3c;
}
.notification-warning {
background: #f39c12;
}
.notification-info {
background: #3498db;
} .lightbox {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.9);
z-index: 10000;
display: none;
align-items: center;
justify-content: center;
}
.lightbox-content {
position: relative;
max-width: 90%;
max-height: 90%;
}
.lightbox-content img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.lightbox-close {
position: absolute;
top: -40px;
right: 0;
background: none;
border: none;
color: white;
font-size: 2rem;
cursor: pointer;
} .tooltip {
position: absolute;
background: #2c3e50;
color: white;
padding: 0.5rem;
border-radius: 5px;
font-size: 0.9rem;
z-index: 1000;
display: none;
max-width: 200px;
text-align: center;
}
.tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 5px solid transparent;
border-top-color: #2c3e50;
} @media (max-width: 768px) {
.footer-content {
grid-template-columns: 1fr;
text-align: center;
}
.footer-bottom-content {
flex-direction: column;
text-align: center;
}
.newsletter-form {
flex-direction: column;
}
.social-links {
justify-content: center;
}
} .mobile-menu-toggle svg,
.mobile-menu-close svg {
width: 24px;
height: 24px;
color: white;
display: block;
} .mobile-menu-toggle i,
.mobile-menu-close i {
display: none;
} body.menu-open {
overflow: hidden;
}