/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo-img {
    margin-top: 10px;
    height: 125px;
    width: auto;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-link:hover {
    color: #8B6F47;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #8B6F47;
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

.lang-btn:hover {
    color: #8B6F47;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #374151;
    font-size: 1.5rem;
    cursor: pointer;
    /* iOS Safari fix: ensures tap is registered instantly */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    padding: 0.5rem;
}

.lang-btn,
.lang-btn-mobile {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 0.5rem 1rem 1rem;
}

.nav-mobile.active {
    display: block;
}

.nav-link-mobile {
    display: block;
    padding: 0.75rem;
    color: #374151;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.nav-link-mobile:hover {
    color: #8B6F47;
    background: #f9fafb;
}

.lang-btn-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.lang-btn-mobile:hover {
    color: #8B6F47;
    background: #f9fafb;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: url('images/fotonawebfunda/img-20250515-110235-scaled.jpg') center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(29, 78, 216, 0.88));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 6rem 1.5rem;
}

.hero-text {
    max-width: 54rem;
}

.hero-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #F5E6D3;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    justify-content: center;
}

.btn-primary {
    background: #8B6F47;
    color: #fff;
}

.btn-primary:hover {
    background: #6F5639;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 111, 71, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid #fff;
    border-radius: 1.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
}

.scroll-dot {
    width: 0.25rem;
    height: 0.75rem;
    background: #fff;
    border-radius: 0.125rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 1.5rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.image-decoration {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 18rem;
    height: 18rem;
    background: linear-gradient(135deg, #F5E6D3, #E8D4BF);
    border-radius: 50%;
    z-index: -1;
}

.brand-accent {
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: 12rem;
    height: 12rem;
    background: linear-gradient(135deg, #8B6F47, #A68B5B);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Expertise Section */
.expertise-section {
    padding: 5rem 0;
    background: #FAF8F5;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.expertise-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B6F47, #A68B5B);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card:hover {
    box-shadow: 0 20px 25px -5px rgba(139, 111, 71, 0.2);
    transform: translateY(-4px);
}

.expertise-icon {
    display: inline-flex;
    padding: 1rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.expertise-icon.brown {
    background: linear-gradient(135deg, #F5E6D3, #E8D4BF);
    color: #8B6F47;
}

.expertise-icon.green {
    background: #d1fae5;
    color: #059669;
}

.expertise-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.expertise-icon.orange {
    background: #fed7aa;
    color: #ea580c;
}

.expertise-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #8B6F47;
    margin-bottom: 0.5rem;
}

.expertise-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.expertise-desc {
    color: #6b7280;
}

@media (min-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 4px solid transparent;
}

.project-card:hover {
    box-shadow: 0 20px 25px -5px rgba(139, 111, 71, 0.15);
    border-top-color: #8B6F47;
    transform: translateY(-4px);
}

.project-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.brown-tag {
    background: linear-gradient(135deg, #8B6F47, #A68B5B);
    color: #fff;
}

.green-tag {
    background: #d1fae5;
    color: #065f46;
}

.blue-tag {
    background: #dbeafe;
    color: #1e40af;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.project-desc {
    color: #6b7280;
    margin-bottom: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8B6F47;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.project-link:hover {
    color: #6F5639;
}

.project-link i {
    transition: transform 0.3s;
}

.project-link:hover i {
    transform: translateX(0.25rem);
}

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

.btn-outline-dark {
    background: transparent;
    color: #8B6F47;
    border: 2px solid #8B6F47;
}

.btn-outline-dark:hover {
    background: #FAF8F5;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
    background: #FAF8F5;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.partner-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.partner-card:hover {
    box-shadow: 0 20px 25px -5px rgba(139, 111, 71, 0.15);
    transform: translateY(-4px);
}

.partner-logo {
    width: 100%;
    height: 8rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.partner-logo img,
.partner-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.partner-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.partner-card a:hover .partner-logo-img {
    transform: scale(1.05);
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.partner-desc {
    color: #6b7280;
}

.partners-footer {
    text-align: center;
    margin-top: 4rem;
}

.partners-footer p {
    font-size: 1.125rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* News Section */
.news-section {
    padding: 5rem 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 20px 25px -5px rgba(139, 111, 71, 0.15);
    transform: translateY(-4px);
}

.news-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: #8B6F47;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.news-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8B6F47;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.news-link:hover {
    color: #6F5639;
}

.news-link i {
    transition: transform 0.3s;
}

.news-link:hover i {
    transform: translateX(0.25rem);
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Footer */
.footer {
    background: #1F1F1F;
    color: #d1d5db;
}

.footer .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: #8B6F47;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item i {
    margin-top: 0.125rem;
    flex-shrink: 0;
    color: #8B6F47;
}

.contact-item a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #8B6F47;
}

.contact-ico {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #8B6F47;
}

.footer-partners {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.footer-partner {
    width: 100%;
    padding: 0;
    background: transparent;
}

.footer-partner a {
    width: 100%;
    height: 90px;            /* ← TU si môžeš doladiť */
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}



.footer-partner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* zachová pomer strán */
    display: block;
    filter: none;
}




.footer-partner-logo {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 0.375rem;
    overflow: hidden;
    background: linear-gradient(135deg, #8B6F47, #A68B5B);
    color: #fff;
}

.footer-partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-partner-name {
    font-size: 0.875rem;
    flex: 1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #8B6F47;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* FUNDA Project Banner */
.funda-banner {
    background: linear-gradient(135deg, #8B6F47 0%, #A68B5B 100%);
    padding: 4rem 0;
    margin: 4rem 0;
}

.funda-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.funda-text {
    flex: 1;
    min-width: 300px;
}

.funda-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.funda-desc {
    font-size: 1.125rem;
    color: #f9fafb;
    line-height: 1.6;
}

.funda-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.funda-logo-link {
    height: 6rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 150px;
}

.funda-logo-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.funda-logo-img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}


@media (max-width: 768px) {
    .funda-banner {
        padding: 3rem 0;
    }
    
    .funda-content {
        flex-direction: column;
        text-align: center;
    }
    
    .funda-logos {
        justify-content: center;
    }
    
    .funda-title {
        font-size: 1.75rem;
    }
    
    .funda-desc {
        font-size: 1rem;
    }
}
/* Text justify - block alignment for body text */
.about-content p,
.section-description,
.project-desc,
.news-excerpt,
.expertise-desc,
.footer-desc,
.project-detail p,
.news-detail p,
.funda-desc {
    text-align: justify;
}

/* ─── Organization Info Band (verifiable registration data) ─────────────── */
.org-info-section {
    background: #FFFFFF;
    border-top: 4px solid #8B6F47;
    border-bottom: 1px solid #e5e7eb;
    padding: 3rem 0;
}

.org-info-card {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.org-info-title {
    font-size: 1.75rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.org-info-lead {
    color: #6b7280;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.org-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
}

.org-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #FAF8F5;
    border: 1px solid #ece5da;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

.org-info-item i {
    color: #8B6F47;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.org-info-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8B6F47;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.org-info-value {
    display: block;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 600;
}

@media (min-width: 640px) {
    .org-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer registration line (verifiable org identity) */
.footer-registration {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.6;
    max-width: 640px;
    text-align: center;
}

.footer-registration strong {
    color: #d1d5db;
}

/* ─── Why Trust Us Section ──────────────────────────────────────────────── */
.trust-section {
    padding: 5rem 0;
    background: #FAF8F5;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #ece5da;
    border-radius: 0.75rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.trust-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B6F47, #A68B5B);
    color: #fff;
    font-size: 1.25rem;
}

.trust-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}