/* Import czcionek - Zakładamy, że projekt używa bezszeryfowej czcionki, np. Inter */
/* DLA POPRAWNOŚCI WŁAŚCIWY LINK DO IMPORTU CZCIONKI MUSI BYĆ DODANY W GŁÓWNYM PROJEKCIE */

/* ----------------------------------------------------------------
   ZMIENNE KOLORÓW (NA PODSTAWIE GLOBALS.CSS I TAILWIND.CONFIG.TS)
   ---------------------------------------------------------------- */

:root {
    /* Kolory KoalaWeb (Light Mode) */
    --primary: #9370DB; /* Fioletowy */
    --primary-foreground: #ffffff;
    --secondary: #FFC857; /* Żółto-pomarańczowy */
    --secondary-foreground: #1a1a1a;
    --accent: #FFB5D8; /* Różowy */
    --accent-foreground: #1a1a1a;

    /* Kolory Bazowe (Shadcn/UI & Tło) */
    --background: #ffffff;
    --foreground: #1a1a1a;
    --muted: #f5f3ff; /* Bardzo jasny fiolet */
    --muted-foreground: #6b7280;
    --border: rgba(147, 112, 219, 0.15); /* Półprzezroczysta granica */
    --input-background: #f9f7ff; /* Jasne tło dla inputów */
    --ring: #9370DB; /* Ring używa primary */

    /* Typografia */
    --font-size: 16px;
    --text-2xl: 2rem; /* h1 */
    --text-xl: 1.75rem; /* h2 */
    --text-lg: 1.25rem; /* h3 */
    --text-base: 1rem;  /* h4, p, button */
    --font-weight-medium: 500;
    --font-weight-normal: 400;

    --radius: 0.75rem; /* Zaokrąglenie */
	
	/* W pliku styles.css, w sekcji ZMIENNE KOLORÓW */

    /* ... pozostałe zmienne kolorów ... */

    /* TYPOGRAFIA (wg. image_dc1c2d.png) */
    --text-2xl: 1.5rem;   /* Standardowy rozmiar 2xl (h1 w twoim projekcie) */
    --text-xl: 1.25rem;    /* Standardowy rozmiar xl (h2 w twoim projekcie) */
    --text-lg: 1.125rem;   /* Standardowy rozmiar lg */
    --text-base: 1rem;     /* Standardowy rozmiar base (p) */
    
    --font-weight-medium: 500;
    --font-weight-normal: 400;

    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /* Ustawiamy globalną domyślną rodzinę czcionek */
    --default-font-family: var(--font-sans); 



}

/* ----------------------------------------------------------------
   RESET I GLOBALNE STYLES
   ---------------------------------------------------------------- */
/* W pliku styles.css, w sekcji RESET I GLOBALNE STYLES */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* Użycie czystego stosu czcionek systemowych */
    font-family: var(--default-font-family); 
}

html {
    font-size: 16px; /* Zapewnienie bazowego rozmiaru */
    scroll-behavior: smooth;
}

body {
    /* Zastosowanie globalnego line-height z image_dc1166.png */
    line-height: 1.5; 
    background-color: var(--background);
    color: var(--foreground);
}




/* ----------------------------------------------------------------
   DOMYŚLNA TYPOGRAFIA (NA PODSTAWIE @layer base)
   ---------------------------------------------------------------- */

h1 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.2; /* Lepszy dla nagłówków */
    margin-bottom: 0.5em;
}

h2 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
    margin-bottom: 0.5em;
}

h4 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    margin-bottom: 0.5em;
}

p {
    font-size: var(--text-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    margin-bottom: 1em;
    color: var(--muted-foreground);
}

/* ----------------------------------------------------------------
   WSPÓLNE KLASY DLA UKŁADU (Zastąpienie klas Tailwind)
   ---------------------------------------------------------------- */

.container {
    max-width: 1280px; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem; /* px-4 sm:px-6 lg:px-8 */
}

.section {
    padding: 6rem 0; /* py-24 */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem; /* mb-16 */
}

.section-header p {
    max-width: 48rem; /* max-w-2xl */
    margin: 0.5rem auto 0;
}
/* ----------------------------------------------------------------
   NAWIGACJA
   ---------------------------------------------------------------- */

#navigation-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background-color: var(--background);
    padding: 1rem 0; /* py-4 */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

#navigation-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* W pliku styles.css, w sekcji NAWIGACJA */

/* Ustawiamy logo na flex, jeśli potrzebujesz je wyśrodkować */
.logo {
    display: flex;
    align-items: center;
    /* Usuwamy stare style tekstowe, jeśli istniały */
    text-decoration: none; 
}

.header-logo {
    height: 30px; /* Ustawienie konkretnej wysokości, np. 24px */
    width: auto;
    display: block;
}

/* ... kontynuacja stylów nawigacji ... */

.desktop-menu a {
    margin-left: 1.5rem; /* gap-6 */
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
    font-size: var(--text-base);
}

.desktop-menu a:hover {
    color: var(--primary);
}

.mobile-menu-button {
    display: none; /* Ukryty na desktopie */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--foreground);
}

/* ----------------------------------------------------------------
   PRZYCISKI (Button.tsx)
   ---------------------------------------------------------------- */

.btn {
    padding: 0.5rem 1.5rem; /* px-4 py-2 */
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none; /* Ważne, jeśli używamy tagu <a> */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--primary) 90%, black);
    border-color: color-mix(in srgb, var(--primary) 90%, black);
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--muted);
    border-color: var(--border);
}

/* Duży rozmiar przycisku z sekcji Hero (size="lg") */
.actions .btn {
    padding: 0.75rem 2rem; /* size="lg" */
}

/* ----------------------------------------------------------------
   SEKCJA HERO
   ---------------------------------------------------------------- */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem; /* Dopasowanie pod fixed header */
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Efekt tła gradientowego z App.tsx */
    background: linear-gradient(to bottom, rgba(147, 112, 219, 0.05) 0%, transparent 50%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; /* gap-12 */
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.text-content {
    /* Zastępuje animacje Framer Motion (initial/animate) */
}

.badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px; /* rounded-full */
    background-color: rgba(147, 112, 219, 0.1); /* primary/10 */
    color: var(--primary);
    font-weight: var(--font-weight-medium);
}

.hero-section h1 {
    font-size: 3rem; /* Większy nagłówek dla hero */
    line-height: 1.1;
}

.hero-section .highlight {
    /* Stylizacja gradientu tekstu */
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-section p {
    font-size: 1.125rem; /* Większy tekst paragrafu */
    max-width: 30rem;
  
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* gap-4 */
}

/* W pliku styles.css, w sekcji HERO */

.koala-video {
    width: 100%;
    height: auto;
    max-width: 32rem; /* Maksymalny rozmiar jak poprzednio */
    display: block;
    margin: 0 auto;
    object-fit: contain; /* Upewnij się, że wideo jest skalowane poprawnie bez przycinania */
    /* Jeśli chcesz, możesz dodać animację CSS dla video, aby symulować Framer Motion */
    /* Przykład prostej animacji "falowania" */
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Możesz usunąć .koala-image jeśli już go nie używasz, albo zachować dla backupu */
.koala-image { /* Stare style, jeśli zdecydujesz się na powrót do obrazka */
    display: none; /* Ukryj stary obrazek, jeśli używasz wideo */
}

/* ... pozostałe style sekcji HERO ... */in: 0 auto;
}

/* ----------------------------------------------------------------
   Wskaźnik Przewijania (Scroll Indicator)
   ---------------------------------------------------------------- */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    /* Tu musiałby być czysty CSS lub animacja JS, aby odtworzyć efekt pulsowania */
    width: 1.5rem; /* w-6 */
    height: 2.5rem; /* h-10 */
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding: 4px;
}

.scroll-indicator::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 9999px;
    animation: scroll-dot 2s infinite ease-in-out;
}

@keyframes scroll-dot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.5; }
}

/* ----------------------------------------------------------------
   MEDIA QUERIES (Dostosowanie do urządzeń mobilnych)
   ---------------------------------------------------------------- */

@media (max-width: 1024px) { /* lg breakpoint */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .illustration-content {
        order: -1; /* Koala nad tekstem na małych ekranach */
    }

    .actions {
        justify-content: center;
    }
}
/* ----------------------------------------------------------------
   WSPÓLNE STYLE DLA KART
   ---------------------------------------------------------------- */
.card {
    background-color: var(--card, #ffffff);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05); /* shadow-md */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
}

/* ----------------------------------------------------------------
   SEKCJA USŁUG (SERVICE CARD)
   ---------------------------------------------------------------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; /* gap-8 */
    text-align: center;
}

.service-card {
    padding: 2rem; /* p-8 */
    align-items: center;
}

.service-card .icon-wrapper {
    width: 3.5rem; /* size-14 */
    height: 3.5rem;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem; /* mb-6 */
    color: var(--primary-foreground);
    font-size: 1.5rem; /* Ikony */
}

/* Domyślnie używamy koloru primary, ale karty mogą mieć inne kolory akcentów */
.service-card:nth-child(1) .icon-wrapper {
    background-color: var(--primary); /* np. Fioletowy */
}

.service-card:nth-child(2) .icon-wrapper {
    background-color: var(--secondary); /* np. Żółty */
}

.service-card:nth-child(3) .icon-wrapper {
    background-color: var(--accent); /* np. Różowy */
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: var(--foreground); /* Upewniamy się, że nagłówki są ciemne */
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

/* ----------------------------------------------------------------
   SEKCJA PORTFOLIO (PORTFOLIO CARD)
   ---------------------------------------------------------------- */

.portfolio-section {
    background-color: var(--muted); /* Lekkie tło, aby sekcja się wyróżniała */
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem; /* gap-10 */
}

.portfolio-card {
    padding: 1.5rem; /* p-6 */
    overflow: hidden;
}

.portfolio-card .image-container {
    margin-bottom: 1rem; /* mb-4 */
    border-radius: calc(var(--radius) - 2px); /* Lekko mniejsze zaokrąglenie niż na karcie */
    overflow: hidden;
}

.portfolio-card .image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05); /* Lekkie powiększenie po najechaniu */
}

.portfolio-card h3 {
    font-size: var(--text-lg);
    margin-bottom: 0.25rem;
}

.portfolio-card .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* gap-2 */
    margin-top: 0.5rem;
}

.portfolio-card .tag {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px; /* rounded-full */
    background-color: var(--secondary); /* Żółty */
    color: var(--secondary-foreground);
    font-weight: var(--font-weight-normal);
}

/* ----------------------------------------------------------------
   MEDIA QUERIES
   ---------------------------------------------------------------- */

@media (max-width: 768px) { /* md breakpoint */
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
/* ----------------------------------------------------------------
   SEKCJA KONTAKTOWA (CONTACT SECTION)
   ---------------------------------------------------------------- */

.contact-section {
    background-color: var(--background); /* Może być białe lub jasne, jeśli poprzednia sekcja miała tło muted */
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; /* gap-8 */
    text-align: center;
}

.contact-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--card, #ffffff);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}

.contact-card .icon-wrapper {
    width: 3rem; /* size-12 */
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background-color: var(--primary); /* np. Fioletowy */
    color: var(--primary-foreground);
    font-size: 1.25rem;
}

.contact-card h4 {
    margin-bottom: 0.5rem;
    color: var(--foreground);
    font-size: 1.125rem;
}

.contact-card a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--primary);
}

/* ----------------------------------------------------------------
   STOPKA (FOOTER)
   ---------------------------------------------------------------- */

.footer {
    padding: 3rem 0; /* py-12 */
    background-color: color-mix(in srgb, var(--background) 95%, var(--primary)); /* Bardzo delikatny, jasny kolor */
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer .logo {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
}

.footer-links a {
    margin-left: 1.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer .copyright {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    text-align: center;
    width: 100%; /* Ustawienie na całą szerokość na małych ekranach */
    order: 3; /* Przesuwa copyright na dół na mniejszych ekranach */
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links a {
        margin-left: 0;
    }
}
/* Wewnątrz pliku style.css, po sekcji dla desktop-menu */

@media (max-width: 768px) { /* Punkt przełomowy dla mobilnego menu */
    .desktop-menu {
        display: none; /* Ukryj na małych ekranach domyślnie */
        position: absolute;
        top: 100%; /* Pod nagłówkiem */
        left: 0;
        width: 100%;
        background-color: var(--card, #ffffff);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 40;
    }

    .desktop-menu a {
        margin: 0;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border);
    }

    /* Klasa dodawana przez JavaScript */
    .desktop-menu.is-open {
        display: flex;
    }
    
    .mobile-menu-button {
        display: block; /* Pokaż przycisk hamburgera */
    }
}
/* W pliku styles.css, w sekcji HERO */

.hero-section h1 {
    /* Zwiększony rozmiar czcionki dla większego efektu jak na zrzucie */
    font-size: 3.5rem; 
    line-height: 1.1;
    /* Domyślnie używaliśmy: font-size: 3rem; */
}

/* ... reszta twojego CSS ... */