@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- Base & Reusable Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 60px;
}

.btn {
    display: inline-block;
    margin-top: auto;
    padding: 12px 30px;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(110%);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    top: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 15px 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1F8D4F;
}

.nav-link .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 5px;
}

.social-media {
    display: flex;
    gap: 20px;
}

.social-media a {
    font-size: 1.2rem;
    color: #555;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #1F8D4F;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 15px;
    padding: 10px 0;
    list-style: none;
    width: 200px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    top: 120%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #555;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #f0f0f0;
    color: #1F8D4F;
}

/* === NOWE STYLE DLA MENU MOBILNEGO (ukryte na desktopie) === */
.hamburger {
    display: none;
    z-index: 1002;
}
.mobile-sidebar {
    display: none;
}
.mobile-overlay {
    display: none;
}

/* --- Contact Form Section --- */
.contact-form-section {
    padding: 150px 0 100px;
    background-color: #fff;
}

.contact-form-section .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
}

.form-wrapper h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.form-wrapper p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.form-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.form-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 15px;
    overflow: hidden;
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Location Section --- */
.location-section {
    padding: 100px 0;
    overflow: hidden;
}

.location-section .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.location-content .section-title {
    text-align: left;
}

.location-details {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.location-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.location-details p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.transport-details {
    padding-left: 53px;
}

.transport-details p {
    margin-bottom: 5px;
}

.location-visuals {
    position: relative;
    height: 450px;
}

.location-photo, .location-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: absolute;
}

.location-photo {
    width: 60%;
    height: 60%;
    top: 0;
    left: 0;
    z-index: 2;
}

.location-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-map {
    width: 70%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 1;
}

/* --- Contact/Footer Section --- */
.contact-section {
    padding: 100px 20px;
    color: #f9f9f9;
    background-color: #333;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.newsletter-side h3, .contact-info-side h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.newsletter-side p, .contact-info-side p {
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #555;
    background-color: #444;
    color: #fff;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: #ccc;
}

.newsletter-form .btn {
    align-self: flex-start;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #1F8D4F, #0C5D30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-social-media {
    display: flex;
    gap: 25px;
}

.footer-social-media a {
    font-size: 1.5rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-social-media a:hover {
    color: #1F8D4F;
}

/* --- Animation --- */
.anim-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.location-section.is-visible .anim-element {
    opacity: 1;
    transform: translateY(0);
}

.location-section.is-visible .location-photo {
    transition-delay: 0.2s;
}
.location-section.is-visible .location-map {
    transition-delay: 0.4s;
}

.form-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-image img {
  width: 100%;
  max-width: 500px;       /* szerokość */
  height: 750px;          /* wysokość */
  object-fit: cover;      /* ucinanie, zamiast rozciągania */
  object-position: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: block;
}

/* Kontener obrazka */
.contact-hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Samo zdjęcie */
.contact-hero__photo {
  width: 100%;
  max-width: 500px;   /* szerokość */
  height: 750px;      /* wysokość */
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =========================
   FOOTER - DESKTOP
   ========================= */
.footer-main {
    background-color: #2a2a2a;
    color: #e0e0e0;
    padding: 40px 50px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #444;
}

.footer-contact {
    text-align: left;
}

.footer-contact p {
    margin: 8px 0;
}

.footer-contact a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #1F8D4F;
}

.footer-social {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    justify-content: center;
}

.footer-social-link:hover {
    color: #1F8D4F;
}

.footer-social-link i {
    font-size: 1.1rem;
}

.footer-links {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1F8D4F;
}

.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding-top: 15px;
    margin-top: 30px;
    color: #999;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}