/* Global Styles */
:root {
    --primary: #070b20; /* Navy Black - główny kolor */
    --secondary: #0a1028; /* Deep Night - akcent */
    --accent: #3a4a8a; /* Lighter accent color */
    --light: #f8f9fa;
    --dark: #06081b; /* Starless - tło stopki */
    --text: #333;
    --text-light: #6c757d;
    --icon-color: #6c7fc5; /* Nowy kolor ikon */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    font-size: 16px; /* NOWE: Bazowy rozmiar czcionki */
}

/* NOWE: Optymalizacja czcionek dla mobile */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

/* NOWE: Responsywność logo */
@media (max-width: 992px) {
    .header-logo {
        height: 90px;
    }
}

@media (max-width: 768px) {
    .header-logo {
        height: 80px;
    }
}

@media (max-width: 400px) {
    .header-logo {
        height: 60px; /* NOWE: Mniejsze logo na bardzo małych ekranach */
    }
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    text-decoration: none;
}

nav ul li a:hover {
    color: var(--icon-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--icon-color);
}

nav ul li a.active::after {
    width: 100%;
}

/* Login Link */
.login-link {
    margin-left: 30px;
    padding: 8px 15px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all 0.3s;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

/* Mobile menu styles */
.menu-toggle {
display: none;
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
padding: 10px;
transition: all 0.3s;
}

nav {
transition: transform 0.3s ease;
}

@media (max-width: 768px) {
.menu-toggle {
display: block;
}

nav {
position: fixed;
top: 120px;
left: 0;
width: 100%;
background-color: var(--primary);
padding: 20px;
box-shadow: 0 5px 10px rgba(0,0,0,0.1);
transform: translateY(-150%);
z-index: 999;
}

nav.active {
transform: translateY(0);
}

nav ul {
flex-direction: column;
align-items: center;
}

nav ul li {
margin: 15px 0;
}

.login-link {
margin-left: 0;
margin-top: 15px;
}
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../Images/hero.png') center/cover no-repeat;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

/* NOWE: Lepsze przyciski na małych ekranach */
@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 5px auto;
    }
}

@media (max-width: 400px) {
    .btn {
        min-width: 90%; /* NOWE: Szersze przyciski na bardzo małych ekranach */
        padding: 12px 15px;
    }
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.about-section::before,
.about-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.about-section::before {
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(108, 127, 197, 0.1);
}

.about-section::after {
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(58, 74, 138, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto;
}

.section-title span {
    color: var(--accent);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.highlight-card {
    border-top: 4px solid var(--accent);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(108, 127, 197, 0.1) 0%, rgba(58, 74, 138, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s;
}

.about-card:hover .about-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    transform: rotateY(180deg);
}

.about-icon i {
    font-size: 2rem;
    color: var(--accent);
    transition: all 0.4s;
}

.about-card:hover .about-icon i {
    color: white;
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.about-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s;
}

.about-card:hover h3::after {
    width: 80px;
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
}

.about-card:hover .about-number {
    color: rgba(16, 22, 54, 0.1);
    transform: scale(1.2);
}

.about-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 60px;
    border-radius: 15px;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.about-cta h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* NOWE: Większe odstępy między kartami na mobile */
@media (max-width: 768px) {
    .services-grid {
        gap: 20px;
    }
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.service-features {
    margin: 20px 0;
}

.service-features p {
    margin: 10px 0;
    color: #333;
}

.service-features i {
    color: var(--accent);
    margin-right: 10px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background: white;
    border: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

/* NOWE: Większe paddingi dla FAQ na mobile */
@media (max-width: 576px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .faq-question {
        padding: 15px; /* NOWE: Większe paddingi na bardzo małych ekranach */
    }
}

.faq-question:hover {
    background: var(--dark);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"]::after {
    content: '-';
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 15px 0;
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
    background-color: var(--primary);
    color: white;
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.social-media-box {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

.social-icon i {
    font-size: 1.5rem;
    width: 30px;
    margin-right: 15px;
    color: var(--icon-color);
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-method i {
    font-size: 1.2rem;
    width: 30px;
    color: var(--icon-color);
}

.contact-method a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-method a:hover {
    color: var(--icon-color);
}

.simple-contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* NOWE: Lepsze dostosowanie formularza na mobile */
@media (max-width: 576px) {
    .simple-contact-form {
        padding: 20px;
    }
}

@media (max-width: 400px) {
    .simple-contact-form input,
    .simple-contact-form textarea,
    .simple-contact-form select {
        padding: 10px 12px; /* NOWE: Mniejsze paddingi na bardzo małych ekranach */
    }
}

.simple-contact-form h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.simple-contact-form input,
.simple-contact-form textarea,
.simple-contact-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.simple-contact-form input:focus,
.simple-contact-form textarea:focus,
.simple-contact-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.simple-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 20px;
}

.gdpr-consent {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}

.gdpr-consent input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.gdpr-consent label {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.4;
}

.gdpr-consent a {
    color: var(--accent);
    text-decoration: none;
}

.gdpr-consent a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: var(--icon-color);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s;
    filter: brightness(1.5);
}

.social-links a:hover {
    color: white;
    filter: brightness(1.8);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s;
}

/* NOWE: Lepsze pozycjonowanie WhatsApp na małych ekranach */
@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 400px) {
    .whatsapp-float {
        bottom: 70px; /* NOWE: Unikanie pokrywania z cookie bannerem */
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Book Now Float */
.booknow-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--accent);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    padding: 5px;
}

@media (max-width: 576px) {
    .booknow-float {
        bottom: 140px;
        right: 20px;
    }
}

@media (max-width: 400px) {
    .booknow-float {
        bottom: 120px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

.booknow-float:hover {
    transform: scale(1.1);
}

/* Cookies Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: white;
    padding: 15px;
    z-index: 999;
    text-align: center;
    display: none;
}

.cookie-banner p {
    margin-bottom: 10px;
}

.cookie-banner a {
    color: var(--icon-color);
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

/* NOWE: Lepsze przyciski cookie na mobile */
@media (max-width: 400px) {
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: 200px;
    }
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cookie-btn-accept {
    background: var(--accent);
    color: white;
    border: none;
}

.cookie-btn-decline {
    background: transparent;
    color: white;
    border: 1px solid white;
}

/* Privacy Policy Page Styles */
.privacy-container, .cookies-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.privacy-container h1, .cookies-container h1 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.2rem;
}

.privacy-container h2, .cookies-container h2 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.privacy-container h3, .cookies-container h3 {
    color: var(--primary);
    margin: 25px 0 10px;
    font-size: 1.2rem;
}

.privacy-container p, .cookies-container p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text);
}

.privacy-container ul, .cookies-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-container li, .cookies-container li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.privacy-container a, .cookies-container a {
    color: var(--accent);
    text-decoration: none;
}

.privacy-container a:hover, .cookies-container a:hover {
    text-decoration: underline;
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    text-align: right;
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-cta {
        padding: 40px 20px;
    }

    .privacy-container, .cookies-container {
        padding: 20px;
        margin: 30px auto;
    }

    .login-link {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .simple-contact-form {
        padding: 20px;
    }
    
    .about-cta h3 {
        font-size: 1.5rem;
    }

    .privacy-container h1, .cookies-container h1 {
        font-size: 1.8rem;
    }
}

/* Navigation anchors */
.nav-anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

/* Tab navigation */
.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.tab-nav button {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
}

.tab-nav button.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

.tab-nav button:hover:not(.active) {
    color: var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}