/* ===== BASE & RESET ===== */
:root {
    --orange-dark: #aa8a68;
    --orange-medium: #BFA88F;
    --orange-light: #efdeb6;
    --orange-low: #fbf5e5;
    --green-black: #1c261d;
    --green-dark: #2D3A2E;
    --green-medium: #426044;
    --green-light: #91a58a;
    --green-low: #b3beaf;
    --blue-low: #e0f0f9;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--green-dark);
    background-color: var(--orange-low);
    scroll-behavior: smooth;
}
.container {
    width: min(1100px, calc(100% - 40px));
    max-width: 1100px;
    margin: 0 auto 1%;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--orange-light);
    border-bottom: 0 solid var(--green-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 1);
    width: 100%;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1900px;
    margin: 0 auto;
    padding: 10px;
    position: relative;    
}
.logo-icon {
    max-width: 50px;
    height: auto;
    flex-shrink: 0;
}
.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 2rem;
    text-decoration: none;
    color: var(--green-dark);
}
.brand-link:hover {
    text-decoration: underline;
}
.brand-name {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--green-dark);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.menu-toggle span {
    top: 50%;
    transform: translateY(-50%);
}
.menu-toggle span::before {
    content: '';
    top: -8px;
}
.menu-toggle span::after {
    content: '';
    top: 8px;
}
.menu-toggle.open span {
    background-color: transparent;
}
.menu-toggle.open span::before {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span::after {
    transform: translateY(-8px) rotate(-45deg);
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 25px;
}
.nav-links a {
    text-decoration: none;
    color: var(--green-dark);
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 2px solid transparent;
}

.hero-content {
    opacity: 0;
    transform: translateY(18px);
    animation: heroAppear 0.8s ease-out 0.2s forwards;
}

@keyframes heroAppear {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 400px) {
    .brand-link {
        gap: 6px;
        font-size: 1.4rem;
    }

    .brand-name {
        display: inline;
        white-space: nowrap;
        font-size: 1.2rem;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 3%;
        left: auto;
        width: auto;
        max-width: 250px;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.35s ease, background-color 0.35s ease, border 0.35s ease;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-links.active {
        max-height: 360px;
        opacity: 1;
        padding: 15px 20px 20px;
        background-color: var(--green-low);
        border: 1px solid var(--green-medium);
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }

    .nav-links li {
        width: 100%;
        margin: 0 0 15px;
    }

    .nav-links li:last-child {
        margin-bottom: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        font-size: 1.1rem;
        color: var(--green-dark);
        padding: 10px 0;
        text-align: center;
    }
}
.nav-links a:hover {
    color: var(--green-dark);
    border-bottom: 2px solid #000000;
}

.nav-links a.active {
    color: var(--green-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--green-dark) !important;
}
/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--green-low) 10%, var(--blue-low) 100%);
    color: var(--green-black);
    padding: 50px 5% 40px;
    text-align: center;
}
.hero-content h3 {
    font-weight: 500;
    color: var(--green-black);
    margin-bottom: 25px;
    font-size: 2.5rem;
    font-family: "Great Vibes", cursive;
}
/* ===== PAGE SECTIONS & TYPOGRAPHY ===== */
a, a:visited {
  color: var(--green-dark);
}
.section {
    padding: 20px;
}
.bg-light {
    background-color: var(--orange-low);
    border-top: 1px solid var(--orange-medium);
    border-bottom: 1px solid var(--orange-medium);
}
h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lead-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    color: var(--green-medium);
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.grid-kontakt {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(220px, 1fr);
    align-items: center;
    gap: 40px;
}
.kontakt-image {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--green-dark);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    justify-self: end;
}

@media (max-width: 700px) {
    .grid-kontakt {
        grid-template-columns: 1fr;
    }

    .kontakt-image {
        justify-self: center;
        max-width: 100%;
    }
}
.grid-galery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 30px;
}
.galery-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--green-dark);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    justify-self: center;
}

@media (max-width: 900px) {
    .grid-galery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .grid-galery {
        grid-template-columns: 1fr;
    }

    .galery-image {
        justify-self: center;
    }
}
.card {
    background: var(--orange-light);
    padding: 32px;
    border: 0px solid var(--orange-medium);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.team-card {
    text-align: center;
    padding: 24px;
    border: 0px solid var(--orange-medium);
    background: var(--orange-light);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.team-link {
    text-decoration: none;
}
.team-link:hover {
    text-decoration: underline;
}
.avatar {
    max-width: 150px;
    height: auto;
    background-color: var(--green-light);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-light);
    border-radius: 50%;
}
.team-card .role {
    font-style: italic;
    color: var(--green-medium);
    margin-bottom: 10px;
    font-size: 0.9rem;
}
/* ===== CONTENT COMPONENTS ===== */
.accordion-item {
  background-color: var(--orange-light);
  overflow: hidden;
  transition: all 0.3s ease;
}
.accordion-header {
  padding: 16px;
  cursor: pointer;
  display: flex;
  font-style: italic;
  color: var(--green-light);
  justify-content: space-between;
  align-items: center;
}
.accordion-content {
  padding: 0 16px 16px 16px;
  color: var(--green-dark);
  line-height: 1.6;
}
.offer-detail {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}
.offer-detail-last {
    padding-bottom: 20px;
}
.price-table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--orange-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.price-table th, .price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--orange-low);
}
.price-table tbody tr:last-child td,
.price-table tbody tr:last-child th {
    border-bottom: none;
}
.price-table th {
    background-color: var(--green-dark);
    color: var(--orange-low);
}
/* ===== BUTTONS & FORMS ===== */
.button {
    display: inline-block;
    background-color: var(--green-dark);
    color:var(--orange-light) !important;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.button:hover {
    background-color: var(--green-medium);
    transform: translateY(-1px);
}
/* ===== SPECIALIST PAGES ===== */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}
.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.page-header p {
    color: var(--green-medium);
    font-size: 1.05rem;
}
.specialist-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: left;
    margin-bottom: 30px;
}
.specialist-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-weight: 600;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .specialist-header {
        flex-direction: column;
        text-align: center;
    }

    .page-header h1 {
        font-size: 1.9rem;
        white-space: nowrap;
    }
}
/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--green-dark);
    color: var(--green-low);
    padding: 10px;
    margin-top: auto;
    border-top: 0 solid #000000;
    width: 100%;
}
.footer-grid {
    display: grid;
    grid-template-columns: 250px minmax(250px, 1fr) 300px;
    gap: 10px;
    margin-left: 60px;
    font-size: 0.7rem;
}

@media (max-width: 950px) {
    .main-footer {
        padding: 20px 16px 18px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-left: 0;
        gap: 6px;
    }
}
/* On small screens stack into a single column */
@media (max-width: 950px) {
    .main-footer {
        padding: 20px 16px 18px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        margin-left: 0px;
        gap: 6px;
    }
}
.footer-grid h4 {
    font-size: 0.8rem;
}