	* { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #0f1419; --secondary: #1a2332; --accent: #00d4aa; --accent-dark: #00a88a; --text-main: #1a1a1a; --text-light: #6b7280; --text-lighter: #9ca3af; --bg-light: #f9fafb; --bg-lighter: #ffffff; --white: #ffffff; --border: #e5e7eb; --shadow-sm: 0 1px 3px rgba(0,0,0,0.08); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1); --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1); --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1); --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25); --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%); --gradient-accent: linear-gradient(135deg, #00d4aa 0%, #00a88a 100%); } html { scroll-behavior: smooth; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: var(--text-main); background: var(--bg-lighter); overflow-x: hidden; transition: background 0.3s ease; } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: var(--bg-light); } ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; } ::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); } /* Loading Screen */ .loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-lighter); display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease; } .loading-screen.hidden { opacity: 0; visibility: hidden; } .loader { width: 60px; height: 60px; border: 4px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Typography */ h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; } h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.02em; } h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.01em; } p { font-size: 1.125rem; line-height: 1.8; color: var(--text-light); margin-bottom: 1.25rem; } /* Navigation */ nav { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: none; z-index: 1000; transition: var(--transition); } nav.scrolled { background: rgba(255,255,255,0.95); box-shadow: var(--shadow-md); } .nav-container { max-width: 1280px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; } .nav-logo { font-size: 1.5rem; font-weight: 800; background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; transition: var(--transition); letter-spacing: -0.02em; } .nav-menu { display: flex; list-style: none; gap: 2.5rem; align-items: center; } .nav-link { color: var(--text-main); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.5rem 0; position: relative; transition: var(--transition-fast); opacity: 0.8; } .nav-link:hover { opacity: 1; } .nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--gradient-accent); transition: width 0.3s; } .nav-link:hover::after, .nav-link.active::after { width: 100%; } .mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; } .mobile-menu-toggle span { display: block; width: 25px; height: 2px; background: var(--text-main); margin: 6px 0; transition: var(--transition); } /* Hero Section Enhanced */ .hero { min-height: 100vh; display: flex; align-items: center; padding: 8rem 2rem 4rem; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%); } .hero-background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; z-index: 0; } .hero-particle { position: absolute; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; opacity: 0.3; animation: float-particle 30s infinite linear; will-change: transform; } @keyframes float-particle { from { transform: translateY(100vh) rotate(0deg); } to { transform: translateY(-100vh) rotate(360deg); } } .hero-grid { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(0,212,170,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,170,0.03) 1px, transparent 1px); background-size: 50px 50px; animation: grid-move 20s linear infinite; will-change: transform; } @keyframes grid-move { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } } .hero-container { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; } .hero-content { animation: slideInLeft 1s ease-out; } @keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } } .hero-tag { display: inline-block; padding: 0.5rem 1rem; background: var(--accent); color: white; border-radius: 50px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem; animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } .hero h1 { background: linear-gradient(135deg, var(--text-main) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1.5rem; } .hero-subtitle { font-size: 1.25rem; color: var(--text-light); margin-bottom: 2rem; line-height: 1.6; } .hero-stats { display: flex; gap: 3rem; margin-bottom: 2rem; } .stat-item { animation: countUp 2s ease-out; } @keyframes countUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; } .stat-label { font-size: 0.875rem; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 0.05em; } .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; } .btn { padding: 1rem 2rem; border-radius: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: var(--transition); font-size: 1rem; cursor: pointer; border: none; position: relative; overflow: hidden; } .btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.3); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; } .btn:hover::before { width: 300px; height: 300px; } .btn-primary { background: var(--gradient-accent); color: white; box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 212, 170, 0.4); } .btn-secondary { background: transparent; color: var(--text-main); border: 2px solid var(--border); } .btn-secondary:hover { background: var(--bg-light); border-color: var(--accent); transform: translateY(-2px); } .hero-visual { position: relative; animation: slideInRight 1s ease-out; } @keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } } .hero-image-wrapper { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-2xl); transform: perspective(1000px) rotateY(-5deg); transition: transform 0.5s ease; max-width: 600px; width: 100%; } .hero-image-wrapper:hover { transform: perspective(1000px) rotateY(0deg); } .hero-image { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 3/2; } .floating-card { position: absolute; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 1rem; border-radius: 12px; box-shadow: var(--shadow-lg); animation: float 4s ease-in-out infinite; will-change: transform; } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } } .floating-card-1 { top: 20%; right: -50px; animation-delay: 0s; } .floating-card-2 { bottom: 20%; left: -50px; animation-delay: 1s; } .floating-card-icon { font-size: 2rem; margin-bottom: 0.5rem; } .floating-card-text { font-size: 0.875rem; color: var(--text-light); margin: 0; } /* Sections */ section { padding: 6rem 2rem; position: relative; } .container { max-width: 1280px; margin: 0 auto; } .section-header { text-align: center; margin-bottom: 4rem; } .section-tag { display: inline-block; padding: 0.5rem 1rem; background: var(--bg-light); color: var(--accent); border-radius: 50px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; } .section-title { color: var(--text-main); position: relative; display: inline-block; } /* Bio Section Enhanced */ .bio { background: var(--bg-light); position: relative; overflow: hidden; } .bio::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, var(--accent), transparent); opacity: 0.3; } .bio-container { max-width: 900px; margin: 0 auto; background: var(--bg-lighter); padding: 3rem; border-radius: 20px; box-shadow: var(--shadow-lg); position: relative; } .bio-text { font-size: 1.125rem; line-height: 1.8; color: var(--text-light); text-align: left; margin-bottom: 1.5rem; } .bio-text strong { color: var(--accent); font-weight: 600; } .bio-highlight { display: inline-block; padding: 2px 8px; background: rgba(0, 212, 170, 0.1); border-radius: 4px; color: var(--accent); font-weight: 600; } /* Goals Cards Enhanced */ .goals { position: relative; } .goals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; } .goal-card { background: var(--bg-lighter); padding: 2.5rem; border-radius: 20px; box-shadow: 0 1px 0 rgba(0,0,0,0.05); position: relative; overflow: hidden; transition: var(--transition); border: 1px solid var(--border); cursor: pointer; } .goal-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--gradient-accent); opacity: 0; transition: opacity 0.3s; z-index: 0; } .goal-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-xl); border-color: var(--accent); } .goal-card:hover::before { opacity: 0.05; } .goal-card-content { position: relative; z-index: 1; } .goal-icon { width: 70px; height: 70px; background: var(--gradient-accent); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 2rem; color: white; box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3); transition: var(--transition); } .goal-card:hover .goal-icon { transform: rotateY(180deg); } .goal-title { color: var(--text-main); margin-bottom: 1rem; font-size: 1.5rem; } .goal-description { color: var(--text-light); line-height: 1.6; } /* Projects Section Enhanced */ .projects { background: var(--bg-light); } .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; margin-top: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; } .project-card { background: var(--bg-lighter); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); transition: var(--transition); position: relative; cursor: pointer; } .project-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-2xl); } .project-image-wrapper { position: relative; height: 250px; overflow: hidden; } .project-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .project-card:hover .project-image { transform: scale(1.1); } .project-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7)); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 2rem; } .project-card:hover .project-overlay { opacity: 1; } .project-status { position: absolute; top: 1rem; right: 1rem; padding: 0.5rem 1rem; background: var(--accent); color: white; border-radius: 50px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; } .project-content { padding: 2rem; } .project-meta { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.875rem; color: var(--text-lighter); } .project-title { color: var(--text-main); margin-bottom: 1rem; font-size: 1.75rem; } .project-description { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.6; } .project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; } .project-tag { padding: 0.25rem 0.75rem; background: var(--bg-light); border-radius: 50px; font-size: 0.75rem; color: var(--text-light); } .project-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--accent); font-weight: 600; text-decoration: none; transition: gap 0.3s; } .project-link:hover { gap: 1rem; } /* Values Section Enhanced */ .values { position: relative; } .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; margin-top: 3rem; } .value-card { background: var(--bg-lighter); padding: 3rem; border-radius: 20px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; transition: var(--transition); } .value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); } .value-icon { font-size: 3rem; margin-bottom: 1.5rem; display: inline-block; animation: bounce 3s infinite; will-change: transform; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .value-title { color: var(--text-main); margin-bottom: 1.5rem; font-size: 1.75rem; } .value-content { color: var(--text-light); line-height: 1.8; } /* Faith Section */ .faith-section { background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), transparent); padding: 2rem; border-radius: 16px; margin-top: 2rem; } details { margin-top: 2rem; } summary { cursor: pointer; font-weight: 600; color: var(--text-main); padding: 1.5rem; background: var(--bg-light); border-radius: 12px; transition: var(--transition); list-style: none; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); } summary:hover { background: var(--bg-lighter); box-shadow: var(--shadow-md); transform: translateX(5px); } summary::after { content: '>'; font-size: 1.5rem; transition: transform 0.3s; color: var(--accent); } details[open] summary::after { transform: rotate(90deg); } .faith-content { padding: 2rem; margin-top: 1rem; background: var(--bg-lighter); border-radius: 12px; animation: slideDown 0.5s ease-out; box-shadow: var(--shadow-md); } @keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } /* Contact Section Enhanced */ .contact { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; text-align: center; position: relative; overflow: hidden; } .contact::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: 0.1; animation: rotate 30s linear infinite; } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .contact h2 { color: white; } .contact-content { position: relative; z-index: 1; } .contact-text { font-size: 1.25rem; margin-bottom: 3rem; color: rgba(255,255,255,0.9); } .social-links { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; } .email-display { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 2px solid rgba(255,255,255,0.2); border-radius: 16px; color: white; font-size: 1.1rem; } .email-icon { font-size: 1.5rem; } .email-text { font-weight: 500; letter-spacing: 0.02em; } .social-link { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 2px solid rgba(255,255,255,0.2); border-radius: 16px; color: white; text-decoration: none; transition: var(--transition); font-size: 2rem; position: relative; overflow: hidden; } .social-link::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: var(--accent); border-radius: 50%; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s; } .social-link:hover::before { width: 100%; height: 100%; } .social-link:hover { transform: translateY(-5px) rotate(5deg); border-color: var(--accent); } .social-link span { position: relative; z-index: 1; } /* Footer Enhanced */ footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 3rem 2rem; text-align: center; } .footer-content { max-width: 1280px; margin: 0 auto; } .footer-nav { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; } .footer-link { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); } .footer-link:hover { color: var(--accent); } .footer-divider { width: 100px; height: 2px; background: var(--accent); margin: 2rem auto; } .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; } .footer-copyright { color: rgba(255,255,255,0.5); font-size: 0.875rem; } /* Back to Top Button */ .back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 50px; height: 50px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: var(--shadow-lg); z-index: 100; } .back-to-top.visible { opacity: 1; visibility: visible; } .back-to-top:hover { background: var(--accent-dark); transform: translateY(-5px); } /* Small screens - better text wrapping */ @media (max-width: 480px) { .container { padding: 0 0.75rem; } .bio-container { padding: 1.5rem 1.25rem; border-radius: 12px; } .goal-card, .value-card { padding: 1.75rem 1.25rem; } .project-content { padding: 1.25rem; } .stat-item { flex: 1; min-width: 80px; } .stat-number { font-size: 1.5rem; } .stat-label { font-size: 0.7rem; } .hero-tag { font-size: 0.75rem; padding: 0.4rem 0.8rem; } .section-tag { font-size: 0.75rem; padding: 0.4rem 0.8rem; } .floating-card { display: none; } section { padding: 3rem 0.75rem; } .faith-content { padding: 1.25rem; } summary { padding: 1.25rem; font-size: 0.95rem; } } /* Mobile Responsive */ @media (max-width: 768px) { p, .bio-text, .goal-description, .project-description, .value-content p { font-size: 1rem; line-height: 1.7; word-wrap: break-word; overflow-wrap: break-word; } h1 { font-size: clamp(2rem, 8vw, 3rem); } h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); } h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); } .hero-subtitle { font-size: 1.1rem; } .nav-container { padding: 1rem; } .hero { padding: 6rem 1rem 3rem; } .bio-container { padding: 2rem 1.5rem; } .goal-card, .value-card { padding: 2rem 1.5rem; } .project-content { padding: 1.5rem; } .hero-buttons { flex-direction: column; gap: 0.75rem; } .btn { width: 100%; justify-content: center; padding: 0.875rem 1.5rem; font-size: 0.95rem; } .social-link { width: 60px; height: 60px; font-size: 1.5rem; } .email-display { padding: 0.875rem 1.5rem; font-size: 1rem; } .goals-grid, .values-grid { grid-template-columns: 1fr; gap: 1.5rem; } .projects-grid { grid-template-columns: 1fr; gap: 2rem; } .nav-menu { position: fixed; top: 70px; left: -100%; width: 100%; background: var(--bg-lighter); backdrop-filter: blur(20px); flex-direction: column; padding: 2rem; box-shadow: var(--shadow-xl); transition: left 0.3s; } .nav-menu.active { left: 0; } .mobile-menu-toggle { display: block; } .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; } .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); } .hero-container { grid-template-columns: 1fr; text-align: center; } .hero-visual { display: none; } .hero-stats { justify-content: center; } .hero-buttons { justify-content: center; } .footer-bottom { flex-direction: column; text-align: center; } section { padding: 4rem 1rem; } } /* Animations on scroll */ .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; } .fade-in.visible { opacity: 1; transform: translateY(0); } .slide-in-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; } .slide-in-left.visible { opacity: 1; transform: translateX(0); } .slide-in-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; } .slide-in-right.visible { opacity: 1; transform: translateX(0); } .scale-in { opacity: 0; transform: scale(0.8); transition: opacity 0.8s ease-out, transform 0.8s ease-out; } .scale-in.visible { opacity: 1; transform: scale(1); } /* Typing effect */ .typing-text { border-right: 3px solid var(--accent); animation: blink 1s step-end infinite; } @keyframes blink { 0%, 50% { border-color: var(--accent); } 51%, 100% { border-color: transparent; } }/* FORCE CENTER – wszystkie nagłówki sekcji */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;   /* wyśrodkuj w poziomie */
  text-align: center;    /* i tekstowo */
  margin-bottom: 3rem;
}

.section-header .section-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 212, 170, 0.1);
  color: #00d4aa;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-header .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition);
}