﻿/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #1a1a1a;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
	font-family: Arial, sans-serif;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #00e676;
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: #2d2d2d;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    position: absolute;
    top: 0;
    left: 0;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu nav {
    padding: 60px 20px 20px;
}

.mobile-menu nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    transition: 0.3s;
}

.mobile-menu nav a:hover {
    background: #00e676;
    color: #000;
}

/* Desktop Menu */
.sidebar {
    background: #2d2d2d;
    width: 250px;
    padding: 20px;
    position: fixed;
    height: 100%;
}

.sidebar h2 {
    color: #00e676;
    margin-bottom: 30px;
}

.sidebar nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    transition: 0.3s;
}

.sidebar nav a:hover {
    background: #00e676;
    color: #000;
}

/* Główna zawartość */
.main-content {
    flex: 1;
    margin-left: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 40px);
    padding: 20px;
}

.countdown {
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
    transform: translateY(-5%);
}

.countdown h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #00e676;
}

.time {
    font-size: 4em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.days {
    color: #00e676;
    margin-right: 10px;
}

/* Responsywność */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
        min-height: 100vh;
        padding: 20px;
    }

    .mobile-menu {
        display: block;
    }

    .countdown {
        transform: none;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .time {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .time {
        font-size: 2em;
    }

    .countdown h1 {
        font-size: 1.8em;
    }

    .hamburger {
        top: 15px;
        left: 15px;
    }
}

.quote-section {
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
}

.quote-section h2 {
    color: #00e676;
    margin-bottom: 15px;
}

.quote-section a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    margin: 5px 10px;
    padding: 8px 15px;
    border: 1px solid #00e676;
    border-radius: 20px;
    transition: all 0.3s;
}

.quote-section a:hover,
.quote-section a.active {
    background: #00e676;
    color: #000;
}

@media (max-width: 768px) {
    .quote-section a {
        display: block;
        margin: 10px 0;
    }
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.countdown {
    width: 100%;
}

.quote-section {
    width: 100%;
    text-align: center;
}

.quote-section a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    margin: 8px;
    padding: 10px 20px;
    border: 1px solid #00e676;
    border-radius: 20px;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px;
        gap: 30px;
    }
    
    .quote-section a {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
}

.text-section {
    margin: 40px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    color: #fff;
    max-width: 800px;
    text-align: center;
}

.text-section h2 {
    color: #00e676;
    margin-bottom: 15px;
}

.text-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
}

.social-section {
    margin: 40px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    color: #fff;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
}

.social-section h2 {
    color: #00e676;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
}

.social-icon {
    display: inline-block;
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    position: relative;
}

.social-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
}

.social-icon img {
    width: 32px;
    height: 32px;
    display: block;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(0, 230, 118, 0.2);
}

/* Responsywność dla mobile */
@media (max-width: 768px) {
    .social-section {
        margin: 20px;
        padding: 15px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon img {
        width: 28px;
        height: 28px;
    }
}

.percentage-box {
    margin-top: 25px;
    padding: 15px;
    background: rgba(0, 230, 118, 0.1);
    border-radius: 10px;
    border: 2px solid #00e676;
}

.percentage-box p {
    font-size: 1.4em;
    color: #00e676;
    margin: 0;
}

@media (max-width: 768px) {
    .percentage-box {
        margin-top: 15px;
        padding: 10px;
    }
    .percentage-box p {
        font-size: 1.1em;
    }
}

.counter-container {
    background: rgba(0, 0, 0, 0.8); /* Ciemne tło */
    border-radius: 15px; /* Zaokrąglone rogi */
    text-align: center; /* Wyśrodkowanie tekstu */
    max-width: 90%; /* Dopasowanie do szerokości ekranu mobilnego */
    border: 1px solid #00ff9d; /* Zielona ramka */
    padding: 1.5rem; /* Odstępy wewnętrzne */
    font-size: 1.5rem; /* Rozmiar czcionki */
    line-height: 1.6; /* Wysokość linii */
    margin: 10px auto; /* Wyśrodkowanie kontenera */
    color: white; /* Kolor tekstu */	
}

.weeks, .days {
    color: #00ff9d;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 5px;
}

.news-section {
    transition: opacity 0.3s ease;
    margin: 40px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    color: #fff;
    max-width: 800px;
    width: 100%;
}

.news-section h2 {
    color: #00e676;
    margin-bottom: 25px;
    text-align: center;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    background: rgba(45, 45, 45, 0.9);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}

.news-item h3 {
    color: #00e676;
    font-size: 1.2em;
}

.news-date {
    color: #888;
    font-size: 0.9em;
}

.contact-section {
    margin: 40px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    color: #fff;
    max-width: 800px;
    width: 100%;
}

.contact-section h2 {
    color: #00e676;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #00e676;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #00e676;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

button[type="submit"] {
    background: #00e676;
    color: #000;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

button[type="submit"]:hover {
    background: #00ff88;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .news-section {
    padding: 15px;
}
    .contact-section {
        margin: 30px 20px;
        padding: 20px;
    }

    .news-header {
        flex-direction: column;
        gap: 10px;
    }

    .contact-form {
        gap: 15px;
    }
}

/* Dodaj do CSS */
.error-box {
    background: #ff4444;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.success-box {
    background: #00C851;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* style dla komunikatów w formularzu */
.hidden {
    display: none;
}

.success-message {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.error-message {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}
/* animacja do komunikatu, aby pojawiał się płynnie */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.why-count-section {
    margin: 40px auto;
    padding: 30px; /* Zwiększone odstępy wewnętrzne */
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.1), rgba(0, 0, 0, 0.8)); /* Subtelny gradient */
    border-radius: 15px;
    color: #fff;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.2); /* Dodano cień dla głębi */
}

.why-count-section h2 {
    color: #00e676; /* Zielony kolor nagłówka */
    margin-bottom: 15px;
}

.why-count-section h3 {
    color: #00e676; /* Zielony kolor nagłówka */
    font-size: 1.8rem; /* Większy rozmiar czcionki */
    text-transform: uppercase; /* Wersaliki dla wyróżnienia */
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(0, 230, 118, 0.5); /* Pasek pod nagłówkiem */
    padding-bottom: 5px;
}

.why-count-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.why-count-section p {
    font-size: 1rem; /* Ujednolicony rozmiar czcionki */
    line-height: 1.8; /* Lepsza czytelność tekstu */
    color: #ddd; /* Delikatny szary kolor tekstu */
    text-align: justify; /* Wyrównanie do obu stron */
    margin-bottom: 20px; /* Odstęp między akapitami */
}

.why-count-section ul,
.why-count-section ol {
    text-align: left;
    margin: 20px auto;
    padding-left: 40px;
}

.why-count-section li {
    margin-bottom: 10px;
}

.why-count-section blockquote {
    font-style: italic; /* Kursywa dla cytatów */
    color: rgba(255, 255, 255, 0.7); /* Półprzezroczysty biały tekst */
    border-left: 4px solid #00e676; /* Zielony pasek po lewej stronie */
    padding-left: 15px; /* Odstęp od paska */
    margin-left: 10px;
}


/* Lista Cytatów */
.quote-list {
  list-style-type: none;
  counter-reset: custom-counter;
  padding-left: 0;
}

.quote-list li {
  counter-increment: custom-counter;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.quote-list li::before {
  content: counter(custom-counter) ". ";
  font-weight: bold;
  color: #2c3e50;
}

.author {
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
  color: #7f8c8d;
}

/* Styl podstawowy dla desktopów i większych ekranów */
.counter-container {
    background: rgba(0, 0, 0, 0.8); /* Ciemne tło */
    border-radius: 15px; /* Zaokrąglone rogi */
    padding: 2rem; /* Odstępy wewnętrzne */
    text-align: center; /* Wyśrodkowanie tekstu */
    margin: 20px auto; /* Wyśrodkowanie kontenera */
    max-width: 600px; /* Maksymalna szerokość */
    border: 1px solid #00ff9d; /* Zielona ramka */
    color: white; /* Kolor tekstu */
    font-size: 1.5rem; /* Rozmiar czcionki */
    line-height: 1.6; /* Wysokość linii */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Efekty przejścia */
}

.counter-container a {
    color: #00e676; /* Zielony kolor linków */
    text-decoration: none; /* Usunięcie podkreślenia */
    font-weight: bold; /* Pogrubienie tekstu linku */
}

.counter-container a:hover {
    color: #fff; /* Zmiana koloru linku na biały przy najechaniu */
}

.counter-container:hover {
    transform: scale(1.05); /* Powiększenie kontenera przy najechaniu myszką */
    background-color: rgba(0, 230, 118, 0.1); /* Subtelna zmiana tła na zielonkawe przy najechaniu */
}

.facts-section {
    margin: 40px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    color: #fff;
    max-width: 800px;
    text-align: left;
    box-shadow: 0px 4px 15px rgba(0, 230, 118, 0.2);
}

.facts-section h3 {
    color: #00e676;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid rgba(0,230,118,0.5);
    padding-bottom: 10px;
}

.facts-section ul {
    list-style-type: disc;
    padding-left: 40px;
}

.facts-section li {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.8;
}

/* Styl dla linka */
.styled-link {
    color: #00e676; /* Zielony kolor linka */
    text-decoration: none; /* Usunięcie domyślnego podkreślenia */
    font-weight: bold; /* Pogrubienie tekstu */
    border-bottom: 2px solid rgba(0, 230, 118, 0.5); /* Subtelne podkreślenie */
    transition: all 0.3s ease; /* Płynne przejścia */
}

.styled-link:hover {
    color: #fff; /* Zmiana koloru na biały przy najechaniu */
    border-bottom-color: #fff; /* Zmiana koloru podkreślenia na biały */
    text-shadow: 0 0 8px rgba(0, 230, 118, 0.8); /* Efekt świecenia tekstu */
}

.styled-link:focus {
    outline: none;
    box-shadow: 0 0 5px #00e676; /* Subtelny efekt focus */
}
