/* GLOBAL STYLES */
:root {
    --gold: #D4AF37;
    --dark-brown: #3B2F2F;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --cream: #F8F5F0;
    --accent-brown: #5D4037;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Open Sans', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Lora', serif;
    font-weight: 700;
    color: var(--dark-brown);
}

h1 {
    margin-top: 0;
}

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

.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--gold);
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn:hover {
    background-color: #c19d2e;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--dark-brown);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #2d2323;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    color: var(--dark-brown);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--gold), var(--dark-brown));
    margin: 20px auto 0;
}

/* HEADER */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px; /* Dodano padding boczny */
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--dark-brown);
    text-decoration: none;
    font-weight: bold;
}

.logo span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none; /* Usunięcie kropek z listy */
}

.nav-link {
    color: var(--dark-brown);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 15px;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-btn {
    padding: 8px 16px;
    font-size: 0.95rem;
    margin-left: 15px;
    text-decoration: none;
    color: var(--dark-brown);
    background-color: var(--gold);
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #c19d2e;
    transform: translateY(-2px);
}

/* --- NOWE STYLE DLA MOBILNEJ NAWIGACJI --- */
.mobile-nav-toggle {
    display: none; /* Ukryty na desktopie */
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-brown);
    position: relative;
    transition: background-color 0.3s ease-in-out;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--dark-brown);
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    bottom: -8px;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent; /* Środkowa kreska znika */
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}
/* ------------------------------------------- */


/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, rgba(248, 245, 240, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%), url('https://via.placeholder.com/1920x800') no-repeat center center/cover;
    padding: 0 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: -100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 750px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--dark-brown);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #444;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-image {
    height: 400px;
    background-color: var(--dark-brown);
    border-radius: 10px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* BENEFITS SECTION */
.benefits {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: var(--cream);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 25px;
    display: inline-block;
}

.benefit-icon img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    border-radius: 15px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-brown);
}

/* STORY SECTION */
.story {
    position: relative;
    padding: 100px 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
}

.story-text h2 {
    font-size: 2.6rem;
    margin-bottom: 30px;
    color: var(--dark-brown);
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* APPLICATIONS SECTION */
.applications {
    background-color: var(--white);
    text-align: center;
}

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

.application-card {
    background: var(--cream);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.application-image {
    height: 220px;
    background-color: #e8e0d5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-brown);
    font-weight: bold;
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-content {
    padding: 25px;
}

.application-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--dark-brown);
}

/* SOCIAL PROOF, FAQ, CTA, FOOTER - bez zmian... */
.social-proof {
    background-color: var(--cream);
}
.testimonial-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonials {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    width: 200%;
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.testimonial {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    border-left: 4px solid var(--gold);
    flex: 0 0 350px; /* Do not grow, do not shrink, base width of 350px */
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}
.testimonial-author {
    font-weight: 700;
    color: var(--dark-brown);
    font-size: 1.1rem;
}
.testimonial-position {
    color: var(--accent-brown);
    font-size: 0.95rem;
}
.faq {
    background-color: var(--white);
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}
.faq-question {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-brown);
    margin-bottom: 15px;
    padding: 10px 0;
    border-left: 3px solid var(--gold);
    padding-left: 15px;
}
.faq-answer {
    color: #555;
    line-height: 1.7;
}
.cta-section {
    background: linear-gradient(135deg, var(--dark-brown) 0%, #2a2121 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-section h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 25px;
}
.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.cta-btn {
    background-color: var(--gold);
    color: var(--black);
    padding: 20px 45px;
    font-size: 1.2rem;
    font-weight: 700;
}
.cta-btn:hover {
    background-color: #c19d2e;
    transform: translateY(-3px);
}
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 70px 0 40px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h3 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--gold);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--gold);
}
.footer-links .mail-link {
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.footer-socials a {
    color: #ccc;
    display: inline-block;
    transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.footer-socials svg {
    width: 28px;
    height: 28px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }
    .hero {
        padding: 40px 0 60px;
    }
    .hero-content {
    }
    .hero h1 {
        font-size: 2.3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* --- ZMIANY W NAWIGACJI MOBILNEJ --- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 30px;
        gap: 25px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .mobile-nav-toggle {
        display: block; /* Pokazanie przycisku hamburgera */
    }
    /* ------------------------------------ */
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* POZOSTAŁE STYLE (ANIMATIONS, COOKIE BANNER, ETC.) - bez zmian */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}
.gold-accent {
    position: absolute;
    background-color: var(--gold);
    z-index: 1;
}
.gold-corner {
    width: 150px;
    height: 150px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.1;
}
.top-right {
    top: 0;
    right: 0;
}
.bottom-left {
    bottom: 0;
    left: 0;
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--black);
    color: var(--white);
    padding: 20px 0;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner p {
    margin-bottom: 20px;
    font-size: 1rem;
    max-width: 800px;
    line-height: 1.6;
}
.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
.btn-cookie {
    padding: 12px 25px;
    font-size: 0.95rem;
    border-radius: 5px;
    background-color: var(--gold);
    color: var(--black);
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.btn-cookie:hover {
    background-color: #c19d2e;
}
.btn-cookie-secondary {
    background-color: #555;
    color: var(--white);
    padding: 12px 25px;
    font-size: 0.95rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.btn-cookie-secondary:hover {
    background-color: #666;
}
.cookie-preferences {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    width: 100%;
    max-width: 700px;
    text-align: left;
}
.cookie-preferences h4 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.cookie-preferences p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
}
.cookie-category {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}
.cookie-category span {
    color: var(--white);
    font-size: 0.95rem;
}
.cookie-category small {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 5px;
}
.cookie-contact {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #444;
}
.cookie-contact a {
    color: var(--gold);
    text-decoration: underline;
}
.cookie-contact a:hover {
    color: #c19d2e;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 28px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--gold);
}
input:focus + .slider {
  box-shadow: 0 0 1px var(--gold);
}
input:checked + .slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}
input:disabled + .slider {
  opacity: 0.6;
  cursor: not-allowed;
}
input:disabled + .slider:before {
  background-color: #eee;
}
@media (max-width: 600px) {
    .cookie-banner .container {
        padding: 15px;
    }
    .cookie-banner p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
    .btn-cookie, .btn-cookie-secondary {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .cookie-preferences {
        padding: 15px;
    }
    .cookie-preferences h4 {
        font-size: 1.2rem;
    }
    .cookie-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .cookie-category span {
        font-size: 0.9rem;
    }
}
/* CONTACT FORM SECTION */
.contact-section {
    background-color: var(--white);
    padding-top: 20px; /* Zmniejszona górna przerwa */
}

.contact-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 50px;
    font-size: 1.1rem;
    color: #555;
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--cream);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 5px solid var(--gold);
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .testimonials {
        animation-duration: 25s;
    }

    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-container {
        padding: 30px;
    }
}
