:root {
    --bg-color: #ffffff;
    --surface-color: #f7f9fc;
    --surface-lighter: #ffffff;
    --primary: #008a4f;
    /* Everising Green */
    --primary-glow: rgba(0, 138, 79, 0.3);
    --secondary: #1a1a1a;
    --text-primary: #111111;
    --text-secondary: #555555;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-style: italic;
}

.brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.brand-logo-footer {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

header:not(.scrolled) .brand-logo {
    filter: brightness(0) invert(1);
}

header:not(.scrolled) .hamburger span {
    background: #fff;
}

header:not(.scrolled) nav a {
    color: rgba(255, 255, 255, 0.8);
}

header:not(.scrolled) nav a:hover,
header:not(.scrolled) nav a.active {
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}

.primary-btn:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.secondary-btn:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: #fff;
}

.hero .secondary-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero .secondary-btn:hover {
    background: #fff;
    color: #000;
}

.glow-btn {
    box-shadow: 0 4px 15px var(--primary-glow);
}

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Typography elements */
.section-title {
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-title .line {
    width: 60px;
    height: 5px;
    background: var(--primary);
}

h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

p {
    margin-bottom: 24px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    filter: grayscale(100%) brightness(0.5);
    transition: filter 0.6s ease;
}

.hero-video.color-reveal {
    filter: grayscale(0%) brightness(1);
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(circle 0px at 50% 50%, black 0%, transparent 0%);
    -webkit-mask-image: radial-gradient(circle 0px at 50% 50%, black 0%, transparent 0%);
}

.hero-image {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.5));
    z-index: 1;
}



.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero h1 {
    font-size: 80px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* O Nás Section */
.about {
    padding: 120px 0;
    position: relative;
}

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

.about-text p {
    color: var(--text-secondary);
    font-size: 17px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: var(--surface-lighter);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    padding: 32px;
    border-left: 5px solid transparent;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateX(10px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-card.highlight {
    background: var(--surface-lighter);
    border-left-color: var(--primary);
}

.stat-num {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-plus {
    font-size: 32px;
    color: var(--primary);
    vertical-align: super;
}

.stat-desc {
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* Offer Section */
.offer {
    padding: 120px 0;
    position: relative;
    background: #fff;
}

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

.text-center .line {
    margin: 0 auto;
}

.offer-main-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 60px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
    transition: var(--transition);
}

.offer-main-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.offer-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.circle-icon {
    width: 60px;
    height: 60px;
    border: 6px solid #ffcc00;
    border-top-color: transparent;
    border-radius: 50%;
    transform: rotate(45deg);
}

.offer-main-card h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.offer-main-card p {
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 15px;
}

.offer-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offer-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: var(--transition);
}

.offer-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
    border-color: #ffcc00;
}

.brand-logo-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.brand-logo-container img {
    max-height: 40px;
    max-width: 80%;
    object-fit: contain;
}

.offer-card h4 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.offer-card p {
    color: var(--text-secondary);
    font-size: 15px;
    flex-grow: 1;
    margin-bottom: 32px;
}

.offer-btn {
    background: #ebc400;
    /* Yellow */
    color: #fff;
    padding: 14px 24px;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    align-self: center;
    width: 100%;
    border: none;
}

.offer-btn:hover {
    background: #d4b200;
    box-shadow: 0 4px 15px rgba(235, 196, 0, 0.4);
    transform: translateY(-2px);
}

@media(max-width: 992px) {
    .offer-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Products Section */
.products {
    padding: 120px 0;
    background: var(--surface-color);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 60px;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-lighter);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 5px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.3, 1);
    padding: 20px;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 32px 40px 40px;
    flex: 1;
}



.card-content ul {
    list-style: none;
    margin-top: 20px;
}

.card-content ul li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.card-content ul li::before {
    content: '▹';
    color: var(--primary);
    margin-right: 12px;
}

.cta-center {
    text-align: center;
    margin-top: 60px;
}

/* News Section */
.news {
    padding: 120px 0;
    position: relative;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-item {
    display: flex;
    gap: 40px;
    background: var(--surface-lighter);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 40px;
    transition: var(--transition);
}

.news-item:hover {
    border-color: var(--primary);
    background: var(--surface-color);
    box-shadow: 0 10px 30px rgba(0, 138, 79, 0.08);
}

.news-item .date {
    flex-shrink: 0;
    width: 120px;
    font-weight: 800;
    color: var(--primary);
    font-size: 24px;
    line-height: 1.2;
}

.news-content h3 {
    margin-bottom: 12px;
}

.news-content p {
    color: var(--text-secondary);
}

.read-more {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary);
    gap: 8px;
}

/* Banner CTA */
.banner-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), #006037);
    text-align: center;
    color: #fff;
}

.banner-cta h2 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.banner-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--surface-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.line-left {
    margin: 0 0 32px 0;
}

.contact-info p {
    color: var(--text-secondary);
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 40px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    font-size: 24px;
    background: rgba(0, 138, 79, 0.1);
    color: var(--primary);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.info-item strong {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 32px;
}

.link-external {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.link-external::before {
    content: '🔗';
    margin-right: 12px;
    font-size: 12px;
}

.link-external:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Form */
form {
    background: var(--surface-lighter);
    padding: 48px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.input-group {
    position: relative;
    margin-bottom: 32px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition);
    font-size: 16px;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: transparent;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 16px;
    margin-top: 16px;
}

.submit-btn:hover {
    background: #00703f;
}

/* Footer */
footer {
    border-top: 1px solid #222;
    padding: 40px 0;
    background: var(--secondary);
    color: #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.scroll-top {
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.scroll-top:hover {
    color: var(--primary);
}

/* GSAP/ScrollReveal Initial States */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
}

.reveal-fade {
    opacity: 0;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
}

/* Utility Classes */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.animated {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.3, 1);
}

/* Responsive */
@media(max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .product-cards {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 60px;
    }
}

@media(max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links a {
        color: var(--text-primary) !important;
        font-size: 24px;
        font-weight: 700;
        margin: 15px 0;
        width: 100%;
        text-align: center;
        display: block;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary) !important;
    }

    .nav-links.active {
        right: 0;
    }

    header.menu-open .brand-logo {
        filter: none !important;
    }

    header.menu-open .hamburger span {
        background: var(--text-primary) !important;
    }

    /* Keep hamburger dark on white background in mobile even when not scrolled */
    .hamburger span {
        background: var(--text-primary) !important;
    }

    header:not(.scrolled) .hamburger span {
        background: var(--text-primary) !important;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger span {
        background: var(--text-primary) !important;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .hero h1 {
        font-size: 48px;
    }
}

/* Realizace Section */
.realizations {
    padding: 120px 0;
    background: #fff;
}

.realizations-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.realizations-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
}

.realizations-filters {
    display: flex;
    gap: 30px;
    list-style: none;
}

.realizations-filters li {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.realizations-filters li:hover,
.realizations-filters li.active {
    color: var(--primary);
}

.realizations-filters li.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 20px;
    height: 3px;
    background: var(--primary);
}

.realizations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    gap: 24px;
}

.realizations-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #eee;
}

.realizations-item.large {
    grid-row: span 2;
}

.realizations-item.wide {
    grid-column: span 2;
}

.realizations-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1);
}

.realizations-item:hover img {
    transform: scale(1.1);
}

.realizations-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 138, 79, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: all 0.4s ease;
    color: #fff;
    padding: 32px;
}

.realizations-item:hover .realizations-overlay {
    opacity: 1;
}

.realizations-overlay h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.realizations-overlay p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.realizations-item:hover .realizations-overlay h4,
.realizations-item:hover .realizations-overlay p {
    transform: translateY(0);
}

/* Social Links Footer */
.social-links {
    display: flex;
    gap: 16px;
    margin-left: 30px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 138, 79, 0.3);
}

/* Responsive Realizace */
@media(max-width: 1200px) {
    .realizations-grid {
        grid-auto-rows: 300px;
    }
}

@media(max-width: 992px) {
    .realizations-grid {
        grid-template-columns: 1fr 1fr;
    }

    .realizations-item.wide {
        grid-column: span 1;
    }

    .realizations-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

@media(max-width: 768px) {
    .realizations-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .realizations-item.large {
        grid-row: span 1;
    }

    .realizations-filters {
        flex-wrap: wrap;
        gap: 15px;
    }
}