/* Hero Section Styles */
#app-hero {
    position: relative;
    min-height: 75vh;
}

/* Hero Swiper Styles */
.hero-swiper-container {
    z-index: 0 !important;
}

.hero-swiper {
    z-index: 0 !important;
}

.hero-swiper .swiper-wrapper {
    z-index: 0 !important;
}

.hero-swiper .swiper-slide {
    z-index: 0 !important;
}

.hero-slide-image {
    z-index: 0 !important;
}

#app-hero .container {
    position: relative;
    z-index: 3 !important;
}

.hero-scroll-indicator {
    z-index: 3 !important;
}

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

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    animation: patternFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes patternFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.75) 25%, rgba(26, 26, 26, 0.85) 50%, rgba(10, 10, 10, 0.9) 75%, rgba(26, 26, 26, 0.85) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0.6) 100%),
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    background-size: 400% 400%, 100% 100%, 100% 100%;
    background-position: 0% 50%, center center, center center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
    opacity: 0.5;
    z-index: 2;
}

#app-hero .hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

#app-hero .hero-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

#app-hero .hero-description {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll-indicator {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}

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

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.max-w-800 {
    max-width: 800px;
}

.letter-spacing-1 {
    letter-spacing: 0.1em;
}

.line-height-1-8 {
    line-height: 1.8;
}

.min-vh-50 {
    min-height: 50vh;
}

#app-footer {
    background: linear-gradient(135deg, rgb(26, 26, 26) 0%, rgb(0, 0, 0) 100%);
}

#app-footer::before {
    content: '\A0';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
}

/* Gallery Styles */
.gallery-wrapper {
    margin-bottom: 3rem;
}

.gallery-wrapper h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.gallery-swiper {
    padding: 1rem 0;
}

.gallery-swiper .swiper-slide {
    height: auto;
}

.gallery-swiper .swiper-slide img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-swiper .swiper-slide img:hover {
    transform: scale(1.05);
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: #fff;
}

/* Project Card Styles */
.project-card {
    cursor: pointer;
}

.app-project-image img {
    max-height: 250px;
}

/* Modal Styles */
#projectFeaturedImage {
    display: none;
}

#projectFeaturedImage img {
    max-height: 400px;
}

#projectStats {
    display: none;
}

#projectDescription {
    display: none;
}

.modal-gallery-image img {
    min-height: 300px;
	max-height: 300px;
}

.project-card {
    transform: scale(0.99);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: scale(1);
    transition: all 0.3s ease;
}

.project-card .project-card-border {
    border: 1px solid var(--bs-red-gray-light);
    transition: all 0.3s ease;
}

.project-card:hover .project-card-border {
    border: 1px solid var(--bs-white);
    transition: all 0.3s ease;
}

#projectGalleries .swiper-button-next,
#projectGalleries .swiper-button-prev {
    --swiper-navigation-size: 38px;
    --swiper-navigation-color: rgba(255, 2555, 255, 0.75);
    background: rgba(255, 2555, 255, 0.25);
    border: 1px solid var(--swiper-navigation-color);
    width: var(--swiper-navigation-size);
    height: var(--swiper-navigation-size);
    border-radius: 50%;
}

#projectGalleries .swiper-button-next:after,
#projectGalleries .swiper-button-prev:after {
    font-size: calc(var(--swiper-navigation-size) / 3);
}

.mfp-bg {
    z-index: 1060 !important;
}
.mfp-wrap {
    z-index: 1061 !important;
}
.mfp-zoom-in .mfp-with-anim {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(0.8);
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
    transform: scale(0.8);
    opacity: 0;
}