/* ============================================================
   Brebit.pl - Global Styles
   ============================================================ */

:root {
    --navy: #1a2744;
    --navy-dark: #0f1829;
    --navy-light: #2a3d5f;
    --cyan: #00b8c9;
    --cyan-light: #00d4e5;
    --cyan-dark: #009ba8;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--white); color: var(--gray-800); overflow-x: hidden; }

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    animation: flashSlide 0.4s ease, flashFade 0.4s ease 4s forwards;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

@keyframes flashSlide { from { top: 40px; opacity: 0; } to { top: 80px; opacity: 1; } }
@keyframes flashFade { to { opacity: 0; pointer-events: none; } }

/* Navigation */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}
nav.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { height: 55px; transition: transform 0.3s; }
.logo:hover { transform: scale(1.05); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--gray-700); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: all 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--cyan); transition: width 0.3s; }
.nav-links a:hover { color: var(--cyan-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark)) !important;
    color: var(--navy-dark) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,212,229,0.3); }

/* Mobile Menu */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.mobile-menu-btn span { width: 25px; height: 2px; background: var(--navy); transition: all 0.3s; }
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    flex-direction: column;
    gap: 2rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: var(--navy); text-decoration: none; font-size: 1.5rem; font-weight: 600; padding: 1rem 0; border-bottom: 1px solid var(--gray-200); }

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: var(--navy-dark);
    box-shadow: 0 4px 20px rgba(0,212,229,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,212,229,0.4); }
.btn-secondary { background: transparent; color: var(--navy); border: 2px solid var(--gray-300); }
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan-dark); background: rgba(0,184,201,0.05); }

/* Section Common */
section { padding: 6rem 2rem; position: relative; }
.section-container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label { display: inline-block; background: rgba(0,184,201,0.1); border: 1px solid rgba(0,184,201,0.3); color: var(--cyan-dark); padding: 0.5rem 1.5rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }
.section-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; color: var(--navy); }
.section-header h2 span { background: linear-gradient(135deg, var(--cyan-dark), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header p { font-size: 1.1rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* Footer */
footer { background: var(--navy); border-top: 1px solid var(--navy-light); padding: 4rem 2rem 2rem; }
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo { height: 40px; margin-bottom: 1.5rem; background: white; padding: 1px 3px; border-radius: 8px; }
.footer-brand p { color: var(--gray-300); line-height: 1.7; max-width: 300px; }
.footer-column h4 { font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--white); }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 0.75rem; }
.footer-column ul a { color: var(--gray-300); text-decoration: none; transition: color 0.3s; }
.footer-column ul a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: var(--gray-600); font-size: 0.9rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--gray-600); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--cyan); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    nav { padding: 1rem; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    section { padding: 4rem 1.5rem; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
