:root {
    --red: #e02b20;
    --black: #222222;
    --dark-gray: #444444;
    --light-gray: #f2f2f2;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
}

.logo-text {
    margin-left: 10px;
}

.logo-text span:first-child {
    color: var(--black);
    font-weight: bold;
    font-size: 24px;
}

.logo-text span:last-child {
    color: var(--red);
    font-weight: bold;
    font-size: 24px;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--red);
}

nav ul li a.active {
    color: var(--red);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--red);
    bottom: -5px;
    left: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1200/600') center/cover no-repeat;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 span {
    color: #FF9800;
 
}
.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #d5261d;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 2px solid var(--red);
}

.btn:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
}

/* Features */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--black);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--red);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: var(--red);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 15px;
}

/* Products */
.products {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--black);
}

.product-desc {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.product-link {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.product-link::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.product-link:hover::after {
    margin-left: 10px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1200/300') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
}

.page-header h1 {
    font-size: 40px;
    text-transform: uppercase;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/api/placeholder/1200/400') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--red);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--red);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444444;
}

/* Products Categories */
.category-section {
    padding: 80px 0;
}

.category-section:nth-child(odd) {
    background-color: var(--light-gray);
}

.category-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.product-row:nth-child(even) {
    direction: rtl;
}

.product-row:nth-child(even) .product-info {
    direction: ltr;
}

.product-row .product-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-row:hover .product-img {
    transform: scale(1.02);
}

.product-info h3 {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 15px;
}

.product-info p {
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-bottom: 25px;
}

.features-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.features-list li::before {
    content: '✓';
    color: var(--red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--black);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--red);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 24px;
    color: var(--red);
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.info-text h3 {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 5px;
}

.business-hours {
    margin-top: 40px;
}

.business-hours h3 {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.business-hours h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--red);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #dddddd;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 10px 0;
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
}

.contact-form h2 {
    font-size: 32px;
    color: var(--black);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--red);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--red);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Privacy Policy */
.policy-content h2 {
    color: var(--black);
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    color: var(--dark-gray);
    font-size: 22px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-content ul, .policy-content ol {
    margin-bottom: 15px;
    margin-left: 25px;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-content a {
    color: var(--red);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

.policy-content .last-update {
    margin-top: 40px;
    font-style: italic;
    color: var(--dark-gray);
}

.policy-toc {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.policy-toc h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.policy-toc ul {
    list-style: none;
    margin-left: 0;
}

.policy-toc a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s;
}

.policy-toc a:hover {
    color: var(--red);
    padding-left: 5px;
}

.policy-toc li:last-child a {
    border-bottom: none;
}
/* Thank You Section */
.thank-you-section {
    min-height: 60vh;
    padding: 120px 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; /* Dodane dla lepszego pozycjonowania w Chrome */
    overflow-y: auto; /* Zapobiega ucinaniu w Chrome */
    overflow-x: hidden;
}

.thank-you-content {
    max-width: 800px;
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    transform: translateZ(0); /* Włącza sprzętowe przyspieszenie w Chrome */
    -webkit-transform: translateZ(0); /* Wersja dla Chrome */
    backface-visibility: hidden; /* Poprawia renderowanie w Chrome */
    -webkit-backface-visibility: hidden;
}

.thank-you-icon {
    font-size: 60px;
    color: var(--red);
    margin-bottom: 20px;
    display: block;
}
/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 15px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    display: none; /* Początkowo ukryty, pokaże się przez JS */
}

.cookie-banner.show {
    display: block;
}

.cookie-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #e02b20;
    text-align: center;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: center;
}

.cookie-text a {
    color: #e02b20;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.cookie-btn {
    padding: 15px 20px; /* Większe przyciski */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px; /* Większa czcionka */
    transition: all 0.3s;
    width: 100%;
    touch-action: manipulation;
}

.cookie-accept {
    background-color: #e02b20;
    color: white;
}

.cookie-settings {
    background-color: #333;
    color: white;
    border: 1px solid #555;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    padding: 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 50%;
}

.modal-title {
    font-size: 20px;
    color: #e02b20;
    margin-bottom: 20px;
    padding-right: 40px;
}

.cookie-option {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.cookie-option label {
    font-weight: 600;
    color: #222;
    font-size: 16px;
}

.cookie-description {
    margin-left: 30px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.modal-btn {
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    min-width: 150px;
    touch-action: manipulation;
    font-size: 16px;
    background-color: #e02b20;
    color: white;
}

.modal-btn:hover, .modal-btn:active {
    background-color: #c01a10;
}

/* Media Queries */
@media (min-width: 768px) {
    .cookie-banner {
        padding: 20px;
    }
  
    .cookie-buttons {
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }
  
    .cookie-btn {
        width: auto;
        min-width: 200px;
    }
}

/* Modyfikacje dla sekcji hero na komputerach - z wyższym priorytetem */
@media (min-width: 769px) {
    .hero {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        height: 550px !important; /* Zmieniona wysokość belki na 550px */
    }
    
    .hero-content {
        max-width: 800px !important;
        margin: 0 auto !important;
        width: 70% !important; /* Zwężona szerokość treści */
        margin-top: 0 !important; /* Nadpisanie marginesu z góry */
        text-align: center !important;
    }
    
    .hero h1 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .hero p {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-buttons {
        text-align: center !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
  
    .logo img {
        height: 60px;
    }
  
    nav ul {
        margin-top: 20px;
    }
  
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
  
    .hero {
        height: 500px;
    }
  
    .hero h1 {
        font-size: 36px;
    }
  
    .features-grid, .products-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
  
    .product-row {
        grid-template-columns: 1fr;
    }
  
    .product-row:nth-child(even) {
        direction: ltr;
    }
  
    .product-img {
        height: 300px;
    }
  
    .contact-grid {
        grid-template-columns: 1fr;
    }
  
    .contact-form {
        margin-top: 40px;
    }
  
    .page-header h1 {
        font-size: 36px;
    }
}

/* Custom styles for Home Page - tylko dla mobilnych */
@media (max-width: 768px) {
    .hero {
        height: 600px;
        padding-top: 0;
        align-items: flex-start;
        padding-bottom: 40px;
    }

    .hero-content {
        margin-top: 150px;
    }
}