@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&display=swap');

:root {
    --bg-color: #1c1d21; 
    --box-bg: #2a2b30; 
    --accent-blue: #00d2ff; 
    --text-color: #f0f0f0; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; 
}

/* --- NAWIGACJA (HEADER) --- */
header {
    background-color: var(--box-bg);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-blue);
    position: sticky; 
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-blue);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-blue);
}

/* --- SEKCJA GŁÓWNA (HERO) --- */
.hero {
    background: linear-gradient(135deg, #1c1d21 0%, #2a2b30 100%);
    padding: 100px 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ccc;
}

.btn {
    background-color: var(--accent-blue);
    color: #111;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.btn:hover {
    background-color: #00b8e6;
    transform: translateY(-2px); 
}

/* --- SEKCJA NARZĘDZIA --- */
.tools {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title .line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-blue);
    margin: 0 auto;
}

.tools-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; 
}

.tool-box {
    background-color: var(--box-bg);
    padding: 40px 30px;
    border-radius: 8px;
    width: 350px;
    border-top: 4px solid var(--accent-blue);
    transition: transform 0.3s;
}

.tool-box:hover {
    transform: translateY(-10px); 
}

.tool-box h3 {
    font-size: 24px;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.tool-box p {
    color: #bbb;
    font-size: 15px;
}

/* --- SEKCJA GALERIA --- */
.gallery-section {
    padding: 80px 20px;
    background-color: var(--bg-color);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid var(--box-bg);
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    display: block;
    transition: transform 0.5s ease; 
}

.gallery-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- STOPKA --- */
footer {
    text-align: center;
    padding: 25px;
    background-color: #151619;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #888;
}

