/* STRUSIA.NET - Official Stylesheet 
   Version: 2.0 (Tech-Focus Update)
*/

:root {
    --primary: #ff6b6b;       /* Koralowy/Pomarańczowy - akcenty strusia */
    --secondary: #4ecdc4;     /* Turkusowy - nowoczesność */
    --dark: #050a19;          /* Głęboki granat technologiczny */
    --text-main: #2b2d42;     /* Ciemny dla tekstu na jasnym tle */
    --light: #ffffff;
    --gray: #f4f7f6;
    --tech-accent: #0096ff;   /* Błękit cyjanowy z separatora */
    --tech-glow: #64c8ff;     /* Jasny błękit punktowy */
}

/* 1. Reset i bazy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

/* 2. Nawigacja */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
    background: white;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 50px;
    width: 50px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: rotate(5deg) scale(1.1);
}

.brand-name {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary);
}

/* 3. Sekcja HERO (Technologiczna) */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
    /* Tło z wygenerowanego obrazu technologicznego */
    background: linear-gradient(rgba(5, 10, 25, 0.75), rgba(5, 10, 25, 0.9)), 
                url('hero-tech.png') no-repeat center/cover;
    color: var(--light);
}

/* Efekt separatora SVG nakładany na dół lub jako wzór */
.tech-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('separator.svg') repeat-x;
    opacity: 0.4;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.highlight {
    color: var(--secondary);
    text-shadow: 0 0 15px rgba(78, 205, 196, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Przyciski i linki */
.cta-button {
    padding: 1.2rem 2.8rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #3dbab1;
    box-shadow: 0 15px 25px rgba(78, 205, 196, 0.4);
}

.mail-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    opacity: 0.9;
}

.mail-link:hover {
    color: var(--primary);
    opacity: 1;
}

/* 4. Sekcje ogólne */
.section-padding {
    padding: 100px 10%;
}

.alt-bg {
    background: var(--gray);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto;
    border-radius: 2px;
}

/* 5. O Nas */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--secondary);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    display: block;
}

/* 6. Kontakt */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e1e1e1;
    border-radius: 15px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--secondary);
    background: white;
}

.contact-info {
    background: var(--dark);
    color: white;
    padding: 3rem;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.contact-info p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

/* 7. Stopka */
footer {
    text-align: center;
    padding: 3rem;
    background: #02050d;
    color: #555;
    border-top: 1px solid #1a1a1a;
}

/* 8. Responsywność */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 { font-size: 3rem; }
    .stats-grid { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 600px) {
    header { padding: 1rem 5%; flex-direction: column; gap: 1rem; }
    nav ul { gap: 1rem; }
    .hero h1 { font-size: 2.2rem; }
    .section-padding { padding: 60px 5%; }
}