/* Update body background to black */
body {
    background-color: #1c1c1c !important;
    background: linear-gradient(135deg, #1c1c1c 0%, #1c1c1c 50%, #1c1c1c 100%) !important;
    min-height: 100vh;
}

html {
    background-color: #1c1c1c !important;
}

/* Section-ök háttér felülírása */
section {
    background-color: transparent !important;
}

/* Hero section - megtartjuk a videó hátteret, de sötét overlay-jel */
#home {
    background-color: #1c1c1c !important;
}

/* Services section - már sötét volt */
#services {
    background-color: #1c1c1c !important;
}

/* Portfolio section */
#portfolio {
    background-color: #1c1c1c !important;
}

/* Contact section */
#contact {
    background-color: #1c1c1c !important;
    background: linear-gradient(135deg, #1c1c1c 0%, #1c1c1c 100%) !important;
}

/* Process section */
.process-section {
    background-color: #1c1c1c !important;
}

/* Testimonials section */
.testimonials-section {
    background: linear-gradient(135deg, #1c1c1c 0%, #1c1c1c 50%, #1c1c1c 100%) !important;
}

/* Logo styling for better visibility and hover effects */
.logo-image {
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1);
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

/* Responsive logo sizing */
@media (max-width: 640px) {
    .logo-image {
        height: 2rem;
        /* h-8 equivalent */
    }
}

@media (min-width: 641px) {
    .logo-image {
        height: 2.5rem;
        /* h-10 equivalent */
    }
}

/* Footer logo styling */
.footer-logo {
    height: 3rem;
    /* h-12 equivalent */
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes morph {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(90deg) scale(1.1);
    }

    50% {
        border-radius: 50% 60% 30% 60% / 60% 30% 60% 40%;
        transform: rotate(180deg) scale(0.9);
    }

    75% {
        border-radius: 60% 40% 60% 30% / 30% 70% 40% 60%;
        transform: rotate(270deg) scale(1.05);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(209, 156, 151, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(167, 147, 188, 0.4);
        transform: scale(1.02);
    }
}

.gradient-bg-elegant {
    background: linear-gradient(135deg, #d19c97, #a793bc);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.gradient-text-primary {
    background: linear-gradient(45deg, #d19c97, #a793bc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-primary-enhanced {
    background: linear-gradient(135deg, #f3e9dc 0%, #d19c97 25%, #a793bc 75%, #f3e9dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.3) contrast(1.2);
}

.gradient-text-secondary {
    background: linear-gradient(135deg, #a793bc, #d19c97);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.text-shadow-elegant {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.glass-effect {
    backdrop-filter: blur(15px);
    background: rgba(248, 249, 250, 0.7);
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-effect-dark {
    backdrop-filter: blur(15px);
    background: rgba(28, 28, 28, 0.9);
    border: 1px solid rgba(167, 147, 188, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.floating-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.content-layer {
    position: relative;
    z-index: 10;
}

.hover-elegant:hover {
    box-shadow: 0 10px 40px rgba(209, 156, 151, 0.2);
    transform: translateY(-5px);
}

.z-5 {
    z-index: 5;
}

video {
    filter: brightness(0.6) contrast(1.1);
}

/* Portfolio sötét téma kiegészítések */
.portfolio-item {
    background: linear-gradient(135deg, #1c1c1c 0%, #1c1c1c 100%);
}

.portfolio-item:hover {
    box-shadow: 0 20px 60px rgba(209, 156, 151, 0.2), 0 0 0 1px rgba(167, 147, 188, 0.1);
    transform: translateY(-8px) scale(1.02);
}

/* Galéria képek sötét téma */
.gallery-image {
    border: 2px solid #343a40;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); */
}

.gallery-image:hover {
    border-color: #d19c97;
    /* box-shadow: 0 12px 35px rgba(209, 156, 151, 0.3); */
}

/* Portfolio hover effektek finomítása */
.portfolio-item .portfolio-image {
    filter: brightness(0.8) contrast(1.1);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-image {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.08);
}

/* Sötét overlay finomítása */
.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(209, 156, 151, 0.05) 0%, rgba(167, 147, 188, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
}

/* Galéria container sötét háttér */
#portfolio-gallery {
    background: rgba(28, 28, 28, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid rgba(167, 147, 188, 0.1);
}

.portfolio-image {
    transition: all 0.3s ease;
}

.portfolio-image:hover {
    transform: scale(1.05);
}

/* Scrollbar elrejtése */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Galéria képek stílusa */

.gallery-image {
    min-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Smooth scroll a galériában */
#gallery-container {
    scroll-behavior: smooth;
}

/* Galéria animációk */
.gallery-show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#gallery-container::-webkit-scrollbar {
    display: none;
}

/* Testimonials animations */
.testimonial-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.testimonial-card.animate-slide-in {
    animation: slideIn 0.8s ease-out forwards;
}

/* Hover effects for testimonial cards */
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(209, 156, 151, 0.15);
}

/* Profile image hover effect */
.testimonial-card img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Word animation styles */
.word {
    display: inline-block;
    margin: 0 0.2em;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.word.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive text sizing for full width */
@media (max-width: 640px) {
    #animated-text {
        font-size: 2rem;
        line-height: 1.3;
        padding: 0 1rem;
    }

    .word {
        margin: 0 0.1em;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    #animated-text {
        font-size: 3.5rem;
        line-height: 1.2;
    }
}

@media (min-width: 1025px) {
    #animated-text {
        font-size: 4.5rem;
        line-height: 1.1;
    }
}

/* Why Us Section sötét téma kiegészítések */
.why-us-dark {
    background: linear-gradient(135deg, #1c1c1c 0%, #1c1c1c 50%, #1c1c1c 100%);
}

/* Animated background shapes finomítása */
.why-us-dark .floating-shape {
    filter: blur(1px);
}

/* Word animation sötét témához */
.word {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.word.gradient-text-primary {
    text-shadow: 0 2px 8px rgba(209, 156, 151, 0.3);
}

/* Új kártyák hover effektje */
.why-us-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(209, 156, 151, 0.2);
}

/* Responsive text sizing finomítása sötét témához */
@media (max-width: 640px) {
    #animated-text {
        font-size: 2.2rem;
        line-height: 1.3;
        padding: 0 1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    #animated-text {
        font-size: 3.8rem;
        line-height: 1.2;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    }
}

@media (min-width: 1025px) {
    #animated-text {
        font-size: 4.8rem;
        line-height: 1.1;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

/* Scroll indikátor animáció */
@keyframes gentleBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: gentleBounce 2s infinite;
}

/* Új animáció a kártyákhoz */
@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-slide-in {
    animation: cardSlideIn 0.8s ease-out forwards;
}