/* 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 */
.transfer-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../Images/krk-airport.jpg') center/cover no-repeat;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.transfer-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.transfer-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.transfer-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.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.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Transfer Accordion Styles */
.transfer-accordion {
    max-width: 1000px;
    margin: 40px auto;
}

.accordion-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.accordion-header {
    background: var(--primary);
    color: white;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.accordion-header:hover {
    background: var(--secondary);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.transfer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 25px;
}

.transfer-option {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    transition: all 0.3s;
}

.transfer-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.transfer-option h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #ddd;
}

.price-item:last-child {
    border-bottom: none;
    margin-bottom: 15px;
}

.price-label {
    color: var(--text);
}

.price-value {
    font-weight: 600;
    color: var(--primary);
}

/* 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);
}

.request-btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.request-btn:hover {
    background: #2c3e7a;
}

/* Custom Transfer Form */
.custom-transfer {
    background: white;
    border-radius: 10px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.custom-transfer h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.custom-transfer p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* 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;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    .transfer-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .transfer-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .custom-transfer {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .transfer-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .transfer-hero h1 {
        font-size: 1.8rem;
    }
    
    .transfer-hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .accordion-header {
        padding: 15px;
    }
    
    .transfer-options {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}