/* Nowoczesny arkusz stylów dla Galicyjskie Biuro Brokerskie */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* Ustawienia globalne i reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-gold: #c6a876;
    --dark-gold: #a8924a;
    --light-gold: #e6d7b8;
    --accent-gold: #d4b970;
    --dark-brown: #4a3728;
    --medium-brown: #8b7355;
    --light-cream: #faf8f3;
    --warm-white: #fefcf7;
    --navy-blue: #1e3a5f;
    --dark-navy: #152b47;
    --light-navy: #2c4a70;
    --navy-accent: #3d5a8a;
    --shadow-sm: 0 1px 2px 0 rgb(74 55 40 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(74 55 40 / 0.1), 0 2px 4px -2px rgb(74 55 40 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(74 55 40 / 0.1), 0 4px 6px -4px rgb(74 55 40 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(74 55 40 / 0.1), 0 8px 10px -6px rgb(74 55 40 / 0.1);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-brown);
    background: var(--warm-white);
    font-weight: 400;
    letter-spacing: -0.01em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Kontener responsywny */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Nagłówek z nowoczesnym gradientem */
header {
    background: linear-gradient(135deg,
        rgba(254, 252, 247, 0.98) 0%,
        rgba(250, 248, 243, 0.95) 50%,
        rgba(246, 242, 235, 0.98) 100%);
    color: var(--dark-brown);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 2px solid var(--light-gold);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(254, 252, 247, 0.95) 0%,
        rgba(250, 248, 243, 0.9) 100%);
    z-index: -1;
}

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

.menu-login-btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%) !important;
    color: var(--warm-white) !important;
    border: 2px solid var(--navy-blue) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow-md) !important;
    margin-left: 12px !important;
    padding: 12px 20px !important;
}

.menu-login-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-gold) 100%) !important;
    color: var(--warm-white) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--light-navy) !important;
}

.menu-login-btn::before {
    display: none !important;
}

.logo {
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.logo-image {
    height: 100px;
    width: auto;
    filter: none;
    transition: var(--transition);
    background: rgba(250, 248, 243, 0.95);
    mix-blend-mode: normal;
    border-radius: 8px;
    padding: 8px;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover .logo-image {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) brightness(1.1);
}

/* Toggle menu dla mobile */
#nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
    color: var(--dark-brown);
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-toggle-label:hover {
    background: rgba(198, 168, 118, 0.1);
}

/* Menu nawigacji */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu li {
    margin: 0;
}

.menu a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--dark-brown);
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.menu a:hover {
    background: rgba(198, 168, 118, 0.15);
    transform: translateY(-2px);
}

.menu a:hover::before {
    width: 80%;
}

/* Sekcja hero z nowoczesnym designem */

.hero {
    background: linear-gradient(135deg,
        rgba(30, 58, 95, 0.4) 0%,
        rgba(21, 43, 71, 0.5) 50%,
        rgba(44, 74, 112, 0.4) 100%),
        url('hero-banner.PNG') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--warm-white);
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 120px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(198, 168, 118, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 30% 70%, rgba(30, 58, 95, 0.15) 0%, transparent 40%),
                linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 24px;
    padding: 0 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero .btn {
    margin-top: 20px;
    font-size: 1.1rem;
    padding: 16px 40px;
    box-shadow: var(--shadow-xl);
}

/* Sekcje ogólne */
.section {
    padding: 60px 0;
    position: relative;
    scroll-margin-top: 120px;
    min-height: auto;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, var(--light-cream) 0%, #f5f2eb 100%);
}

.section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: var(--dark-brown);
    letter-spacing: -0.02em;
}

.section h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--navy-blue) 50%, var(--accent-gold) 100%);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Sekcja O nas z nowoczesnym układem */
#about .about-content,
#offer .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

#about .about-text,
#offer .about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

#about .about-text p,
#offer .about-text p {
    margin-bottom: 24px;
    color: var(--medium-brown);
}

#about .about-text p:first-child,
#offer .about-text p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-brown);
}

#about .about-image,
#offer .about-image {
    text-align: center;
    position: relative;
}

#about .about-image::before,
#offer .about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-blue));
    border-radius: var(--border-radius);
    z-index: -1;
}

#about .about-image img,
#offer .about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    width: 100%;
    min-height: 300px;
    max-height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

#about .about-image img:hover,
#offer .about-image img:hover {
    transform: translateY(-8px);
}

/* Sekcja Usługi z nowoczesnymi kartami */
#services {
    background: linear-gradient(135deg, var(--light-cream) 0%, #f5f2eb 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.service {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(198, 168, 118, 0.2);
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--navy-blue) 50%, var(--accent-gold) 100%);
}

.service:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(30, 58, 95, 0.2);
    border-color: var(--navy-blue);
    background: linear-gradient(135deg, var(--warm-white) 0%, rgba(230, 215, 184, 0.3) 100%);
}

.service-icon {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service:hover .service-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.service-icon svg {
    transition: var(--transition);
}

.service h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.3rem;
    color: var(--dark-brown);
}

.service p {
    font-size: 1rem;
    color: var(--medium-brown);
    line-height: 1.7;
}

/* Sekcja Kontakt z nowoczesnym formularzem */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-navy) 100%);
    color: var(--warm-white);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
    line-height: 1.8;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-gold);
}

.contact-info strong {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.contact-info a {
    color: var(--warm-white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.contact-details-form {
    display: flex;
    flex-direction: column;
}

.contact-map {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Formularz kontaktowy */
form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

form label {
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 8px;
    display: block;
}

form input, form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(198, 168, 118, 0.1);
    background: #fefcf7;
}

form input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    margin-bottom: 0;
    accent-color: var(--accent-gold);
    transform: scale(1.2);
}

form label[for="rodo"] {
    display: flex;
    align-items: flex-start;
    font-weight: 400;
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Przyciski CTA */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--warm-white);
    padding: 16px 32px;
    border: 2px solid var(--navy-blue);
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(30, 58, 95, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(30, 58, 95, 0.4);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-gold) 100%);
    border-color: var(--light-navy);
}

.btn:active {
    transform: translateY(0);
}

/* Stopka */
footer {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-navy) 50%, var(--dark-brown) 100%);
    color: var(--warm-white);
    text-align: center;
    padding: 40px 0;
    font-size: 0.95rem;
    border-top: 3px solid var(--primary-gold);
}

footer a {
    color: var(--warm-white);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-gold);
}

/* Responsywność - małe ekrany */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    .menu-login-btn {
        margin: 0 !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
        font-weight: 500 !important;
    }

    header .container {
        min-height: 80px;
        padding: 8px 10px;
    }

    .logo-image {
        height: 50px;
    }

    .header-left {
        gap: 8px;
    }

    .login-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .hero {
        background: linear-gradient(135deg,
            rgba(74, 55, 40, 0.9) 0%,
            rgba(198, 168, 118, 0.8) 25%,
            rgba(30, 58, 95, 0.9) 50%,
            rgba(21, 43, 71, 0.8) 75%,
            rgba(74, 55, 40, 0.9) 100%);
        color: var(--warm-white);
        text-align: center;
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        scroll-margin-top: 120px;
    }
    .hero h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    #about .about-content,
    #offer .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    #about .about-image,
    #offer .about-image {
        order: -1;
        margin-bottom: 15px;
    }

    #about .about-image img,
    #offer .about-image img {
        min-height: 200px;
        max-height: 250px;
    }

    #about .about-image::before,
    #offer .about-image::before {
        display: none;
    }

    .service {
        padding: 24px 20px;
    }

    form {
        padding: 20px;
    }

    form input, form textarea {
        padding: 12px;
    }
}

/* Responsywność - tablety i telefony */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: rgba(254, 252, 247, 0.98);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px 15px;
        border-radius: 0 0 12px 12px;
        box-shadow: var(--shadow-lg);
        overflow: visible;
        box-sizing: border-box;
    }

    #nav-toggle:checked ~ nav .menu {
        display: flex;
    }

    .menu li {
        margin: 8px 0;
        width: 100%;
        text-align: center;
    }

    .menu a {
        font-size: 1rem;
        padding: 12px 20px;
        width: 100%;
    }

    .menu-login-btn {
        margin: 0 !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
        font-weight: 500 !important;
    }

    .container {
        width: 92%;
        padding: 0 12px;
    }

    header .container {
        min-height: 100px;
        padding: 10px 12px;
    }

    .logo-image {
        height: 60px;
    }

    .hero {
        background: linear-gradient(135deg,
            rgba(74, 55, 40, 0.9) 0%,
            rgba(198, 168, 118, 0.8) 25%,
            rgba(30, 58, 95, 0.9) 50%,
            rgba(21, 43, 71, 0.8) 75%,
            rgba(74, 55, 40, 0.9) 100%);
        color: var(--warm-white);
        text-align: center;
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
        scroll-margin-top: 120px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 50px 0;
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    #about .about-content,
    #offer .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    #about .about-image,
    #offer .about-image {
        order: -1;
        margin-bottom: 20px;
    }

    #about .about-image img,
    #offer .about-image img {
        min-height: 250px;
        max-height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .service {
        padding: 30px 24px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-map iframe {
        height: 250px;
    }

    form {
        padding: 24px;
    }
}

/* Duże ekrany */
@media (min-width: 769px) {
    .nav-toggle-label {
        display: none;
    }
    
    .menu {
        display: flex;
        align-items: center;
        flex-direction: row;
    }
}

/* Dodatkowe animacje przy przewijaniu */
@media (prefers-reduced-motion: no-preference) {
    .section {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease forwards;
    }
    
    .section:nth-child(even) {
        animation-delay: 0.1s;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Lepsze focus states dla accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Smooth scrolling dla starszych przeglądarek */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Strona logowania */
.login-page {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-navy) 25%, var(--primary-gold) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}


.login-card {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 0, 0, 0.2);
    padding: 48px 40px;
    border: 1px solid rgba(198, 168, 118, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 20px;
}

.login-form {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

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

.form-group label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--dark-brown);
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: var(--warm-white);
    transition: var(--transition);
    margin-bottom: 0;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(198, 168, 118, 0.15);
    background: #fefcf7;
}

.form-options {
    margin-bottom: 32px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--medium-brown);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    margin-bottom: 0;
    accent-color: var(--primary-gold);
    transform: scale(1.1);
}

.login-btn-submit {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--warm-white);
    padding: 20px 40px;
    border: 2px solid var(--navy-blue);
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.login-btn-submit:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-gold) 100%);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(30, 58, 95, 0.4);
    border-color: var(--light-navy);
}

.login-btn-submit:active {
    transform: translateY(0);
}

.form-footer {
    text-align: center;
}

.forgot-password-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    background: linear-gradient(135deg, var(--light-navy) 0%, var(--navy-blue) 100%);
    color: var(--warm-white);
    padding: 12px 24px;
    border: 2px solid var(--medium-brown);
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.forgot-password-btn:hover {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--dark-navy) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--navy-blue);
}

/* Responsywność dla strony logowania */
@media (max-width: 768px) {
    .login-main {
        padding: 20px 15px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .login-header h1 {
        font-size: 1.8rem;
    }

}

@media (max-width: 480px) {
    .login-main {
        padding: 15px 10px;
    }

    .login-card {
        padding: 24px 20px;
    }

    .login-header h1 {
        font-size: 1.6rem;
    }

    .login-header p {
        font-size: 1rem;
    }

    .form-group input {
        padding: 14px 16px;
    }

    .login-btn-submit {
        padding: 18px 32px;
        font-size: 1.2rem;
    }

    .forgot-password-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

}
/* === FIX: układ i rozmiar przycisków po zalogowaniu === */
#menuSignedIn {
  display: flex;
  align-items: center;
  gap: 8px;               /* odstęp między przyciskami */
}

/* ujednolicenie wyglądu <a> i <button> */
#menuSignedIn .menu-login-btn {
  display: inline-flex;   /* dzięki temu oba zachowują się tak samo */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  height: 44px;           /* jednakowa wysokość */
  padding: 0 20px;        /* padding poziomy, pion = z wysokości */
  margin: 0 !important;   /* nadpisuje ewentualne style inline */
}

/* mobile – możesz chcieć ułożyć je pionowo i na pełną szerokość */
@media (max-width: 768px) {
  #menuSignedIn {
    flex-direction: column;
    align-items: stretch;
  }
  #menuSignedIn .menu-login-btn {
    width: 100%;
    height: auto;
    padding: 12px 20px;
  }
}

/* Aktualności - lista i artykuł */
.news-hero-title {
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.news-card {
  background: var(--warm-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(198, 168, 118, 0.2);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-blue);
}

.news-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  font-size: 0.9rem;
  color: var(--medium-brown);
  margin-bottom: 8px;
}

.news-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 4px 0 8px;
}

.news-title a {
  color: var(--dark-brown);
  text-decoration: none;
}

.news-title a:hover {
  color: var(--navy-blue);
}

.news-excerpt {
  color: var(--medium-brown);
  margin: 12px 0 16px;
}

.news-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Artykuł raportu */
.article-header {
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--medium-brown);
  font-size: 0.95rem;
  margin-top: 8px;
}

.featured-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  margin: 24px 0 8px;
}

.article-content {
  font-size: 1.05rem;
  color: var(--dark-brown);
}

.article-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  margin: 28px 0 12px;
}

.article-content p {
  margin: 12px 0;
  color: var(--medium-brown);
}

.back-to-news {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-thumb {
    height: 180px;
  }
}
