/* Bismillah - Albay Lift Custom CSS */

:root {
    --bg-primary: #09090b;
    --bg-secondary: #121214;
    --card-bg: rgba(22, 22, 26, 0.8);
    --accent-gold: #dc2626;
    --accent-gold-rgb: 220, 38, 38;
    --accent-gold-hover: #b91c1c;
    --accent-blue: #ffffff;
    --accent-blue-hover: #e4e4e7;
    --text-white: #ffffff;
    --text-muted: #a3a3a3;
    --border-color: rgba(255, 255, 255, 0.07);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

/* Custom Buttons */
.btn-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4), 0 0 0 3px rgba(220, 38, 38, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    transform: translateY(-2px);
}
.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: 2;
    animation: shimmerEffect 3s infinite linear;
}
.btn-premium:hover {
    color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.65), 0 0 0 5px rgba(220, 38, 38, 0.3);
    background: linear-gradient(135deg, #ff4d4d 0%, #a81c1c 100%);
}

@keyframes shimmerEffect {
    0% { left: -150%; }
    100% { left: 150%; }
}

@keyframes autoShimmer {
    0%, 75% { left: -150%; }
    85%, 100% { left: 150%; }
}

.btn-premium-outline {
    background: transparent;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: 2px solid var(--accent-gold);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-premium-outline:hover {
    background: var(--accent-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
}

/* Header & Navbar (2-Row Design - White Theme) */
.main-header-wrapper {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
    z-index: 1050;
    background: transparent;
}
.top-bar {
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.85rem;
}
.top-bar-contact a {
    color: #ffffff !important;
    transition: color 0.2s ease;
    font-weight: 500;
}
.top-bar-contact a:hover {
    color: var(--accent-gold) !important;
}
.top-bar-socials a {
    color: #ffffff !important;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.top-bar-socials a:hover {
    color: var(--accent-gold) !important;
    transform: translateY(-1px);
}

.top-bar-lang .dropdown-toggle {
    color: #ffffff !important;
    font-weight: 500;
    transition: color 0.2s ease;
}
.top-bar-lang .dropdown-toggle:hover {
    color: var(--accent-gold) !important;
}
.top-bar-lang .dropdown-menu {
    background: #121214 !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    padding: 6px;
    margin-top: 8px;
    box-shadow: var(--glass-shadow);
}
.top-bar-lang .dropdown-item {
    font-size: 0.85rem;
    color: #ffffff !important;
    border-radius: 6px;
    padding: 6px 12px;
    transition: all 0.2s ease;
}
.top-bar-lang .dropdown-item:hover {
    background: rgba(220, 38, 38, 0.15) !important;
    color: var(--accent-gold) !important;
}


.main-navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}

.main-navbar .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a !important;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}
.main-navbar .navbar-brand img,
.footer-brand img {
    border-radius: 12px;
}

.main-navbar .navbar-brand:hover {
    transform: scale(1.02);
}
.main-navbar .navbar-brand span {
    color: var(--accent-gold);
    transition: text-shadow 0.3s ease;
}
.main-navbar .navbar-brand:hover span {
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.25);
}

.main-navbar .nav-link {
    color: #475569 !important;
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 8px;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.main-navbar .nav-link:hover {
    background-color: var(--accent-gold) !important;
    color: #ffffff !important;
}
.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--accent-gold);
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: calc(100% - 32px);
}
.main-navbar .nav-link.active {
    color: #ffffff !important;
    background-color: var(--accent-gold) !important;
}

/* Header Scrolled state triggers */
.header-scrolled .top-bar {
    margin-top: -42px;
    opacity: 0;
    pointer-events: none;
}
.header-scrolled .main-navbar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(220, 38, 38, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 0 15px rgba(220, 38, 38, 0.04);
}

/* Content Spacing Wrapper */
.main-content-wrapper {
    margin-top: 86px;
    transition: margin-top 0.4s ease;
}
@media (min-width: 992px) {
    .main-content-wrapper {
        margin-top: 128px;
    }
}

/* Animated Hamburger Menu */
.navbar-toggler {
    padding: 10px;
    outline: none !important;
}
.hamburger-menu {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
}
.hamburger-menu .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0f172a;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.navbar-toggler:not(.collapsed) .hamburger-menu .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-gold);
}
.navbar-toggler:not(.collapsed) .hamburger-menu .line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}
.navbar-toggler:not(.collapsed) .hamburger-menu .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-gold);
}

/* Hero Slider */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 550px;
    overflow: hidden;
    background-color: #020617;
    transition: height 0.3s ease;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    background-size: cover;
    background-position: center;
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
}

.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

iframe.slide-video {
    aspect-ratio: 16 / 9;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 0.9) 100%);
}

.slide-content-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.slide-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.slide-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}

.slide-item.active .slide-title,
.slide-item.active .slide-subtitle,
.slide-item.active .slide-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    gap: 12px;
    z-index: 10;
}
.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.slider-arrow:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000000;
}

/* Feature Cards */
.features-section {
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
    z-index: 20;
    overflow: hidden;
}
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/elevator_parts_pattern.png');
    background-size: 250px 250px;
    background-repeat: repeat;
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
}

/* About Section Silhouette & Text Colors */
.about-section-with-pattern {
    position: relative;
    overflow: hidden;
}
.about-section-with-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/elevator_parts_pattern.png');
    background-size: 250px 250px;
    background-repeat: repeat;
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
}
.about-section-with-pattern p {
    color: #ffffff !important;
}
.about-section-with-pattern .glass-panel {
    border: 1px solid rgba(220, 38, 38, 0.25) !important;
}

/* Sector / Usage Areas Cards */
.sector-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.sector-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.35) !important;
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15), var(--glass-shadow);
}
.sector-icon {
    font-size: 2.5rem;
    color: var(--accent-gold) !important;
    transition: transform 0.3s ease;
    display: inline-block;
}
.sector-card:hover .sector-icon {
    transform: scale(1.15);
}

/* Megamenu Dropdown Styling */
.nav-item.dropdown.megamenu-item {
    position: static;
}
.megamenu-grid {
    width: 100%;
    margin: 0;
}
@media (min-width: 992px) {
    .nav-item.dropdown.megamenu-item:hover .megamenu-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
    .megamenu-menu {
        position: absolute;
        left: 50% !important;
        transform: translate(-50%, 15px);
        background: #ffffff !important;
        border: 1px solid rgba(220, 38, 38, 0.15) !important;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        padding: 24px !important;
        margin-top: 10px;
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        width: 800px;
    }
}
@media (max-width: 991.98px) {
    .megamenu-menu {
        background: #ffffff !important;
        border: none !important;
        box-shadow: none !important;
        padding: 10px !important;
        width: 100% !important;
    }
}
.megamenu-link {
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
.megamenu-link:hover {
    background-color: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.1);
}
.megamenu-icon {
    font-size: 1.75rem;
    color: var(--accent-gold) !important;
    transition: transform 0.25s ease;
}
.megamenu-link:hover .megamenu-icon {
    transform: scale(1.15);
}
.megamenu-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #475569;
    transition: color 0.25s ease;
}
.megamenu-link:hover .megamenu-text {
    color: #0f172a;
}

.feature-card {
    padding: 30px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card p {
    color: #ffffff !important;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.35);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15), var(--glass-shadow);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-title-wrap {
    margin-bottom: 50px;
    text-align: center;
}
.section-subtitle {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}
.section-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0 auto;
}

/* Category Grid & Cards */
.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    border: 1px solid var(--border-color);
    cursor: pointer;
}
.category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.category-card:hover .category-image {
    transform: scale(1.05);
}
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.3) 60%, rgba(11, 15, 25, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}
.category-title {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}
.category-card:hover .category-title {
    color: var(--accent-gold);
}
.category-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Product Card */
.product-card {
    height: 100%;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
}
.product-card-img {
    height: 220px;
    background-color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img {
    transform: scale(1.04);
}
.product-card-body {
    padding: 24px;
}
.product-card-cat {
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.product-card-title {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.product-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* News / Blog Card */
.blog-card {
    height: 100%;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
}
.blog-card-img {
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.04);
}
.blog-card-body {
    padding: 24px;
}
.blog-card-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: block;
}
.blog-card-title {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.blog-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.blog-card-desc p {
    margin-bottom: 0;
}
.blog-card-desc p:not(:last-child) {
    margin-bottom: 8px;
}

/* Homepage news slider */
.news-slider-controls {
    display: flex;
    direction: ltr;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 20px;
}
.news-slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #dc2626;
    border-radius: 50%;
    background: #ffffff;
    color: #dc2626;
    transition: background 0.2s, color 0.2s;
}
.news-slider-arrow:hover:not(:disabled) {
    background: #dc2626;
    color: #ffffff;
}
.news-slider-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}
.news-slider-arrow:focus-visible,
.news-slider-viewport:focus-visible,
.news-read-more:focus-visible {
    outline: 3px solid #dc2626;
    outline-offset: 3px;
}
.news-slider-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px 0 24px;
}
.news-slider-viewport::-webkit-scrollbar {
    display: none;
}
.news-slider-track {
    display: flex;
    gap: 24px;
}
.news-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}
.news-slide .blog-card,
.news-slide .blog-card-body {
    display: flex;
    flex-direction: column;
}
.news-slide .blog-card-img {
    flex-shrink: 0;
}
.news-slide .blog-card-body {
    flex: 1;
}
.news-slide .blog-card-title {
    overflow-wrap: anywhere;
}
.news-slide .blog-card-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    line-height: 1.65;
    margin-bottom: 20px;
}
.news-read-more {
    align-self: flex-start;
    margin-top: auto;
}
@media (max-width: 991.98px) {
    .news-slide {
        flex-basis: calc((100% - 24px) / 2);
    }
}
@media (max-width: 575.98px) {
    .news-slide {
        flex-basis: 100%;
    }
}

/* Clients / References Section */
.client-logo-wrapper {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}
.client-logo-wrapper:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-gold);
}
.client-logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(0.9);
    opacity: 0.6;
    transition: all 0.2s ease;
}
.client-logo-wrapper:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* Contact Info Box */
.contact-info-card {
    padding: 30px;
    height: 100%;
}
.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}
.contact-info-item:last-child {
    margin-bottom: 0;
}
.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.contact-info-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.contact-info-text {
    font-size: 1rem;
    color: #ffffff;
}

/* Footer Section */
.main-footer {
    background-color: #070a12;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
    padding-bottom: 30px;
}
.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}
.footer-brand span {
    color: var(--accent-gold);
}
.footer-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}
.footer-socials {
    display: flex;
    gap: 12px;
}
.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}
.footer-social-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000000;
    transform: translateY(-2px);
}

.footer-title {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--accent-gold) !important;
    padding-left: 4px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}
.footer-contact-info li {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.footer-contact-info i {
    color: var(--accent-gold);
    margin-top: 4px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Page Header (Subpages banner) */
.page-banner {
    position: relative;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 0.95) 100%), url('../images/banner.jpg') center/cover;
    background-color: #0b0f19;
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}
.page-banner-title {
    font-size: 2.75rem;
    color: #ffffff;
    margin-bottom: 10px;
}
.breadcrumb-custom {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}
.breadcrumb-custom a {
    color: var(--accent-gold);
    text-decoration: none;
}
.breadcrumb-custom span {
    color: var(--text-muted);
}
.breadcrumb-custom li + li::before {
    content: "/";
    color: var(--text-muted);
    margin-right: 10px;
}

/* Form Styles */
.form-label-premium {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.form-control-premium {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: #fff !important;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}
.form-control-premium:focus {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
    outline: none;
}

/* Sidebar filtering in products */
.filter-sidebar-title {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 20px;
    font-weight: 600;
}
.filter-list {
    list-style: none;
    padding: 0;
}
.filter-list li {
    margin-bottom: 8px;
}
.filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}
.filter-link:hover, .filter-link.active {
    background: rgba(220, 38, 38, 0.08);
    border-color: var(--accent-gold);
    color: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2.25rem;
    }
    .slide-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-slider-section {
        height: 45vh;
        min-height: 280px;
    }
}

/* Language Dropdown Styling */
.nav-item.dropdown .dropdown-menu {
    background: #ffffff !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 8px;
    margin-top: 10px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item.dropdown .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .nav-item.dropdown .dropdown-menu {
        display: block;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-item.dropdown.megamenu-item:hover .megamenu-menu,
    .nav-item.dropdown.megamenu-item .megamenu-menu.show {
        transform: translate(-50%, 0);
    }
}

.nav-item.dropdown .dropdown-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #475569 !important;
    border-radius: 8px;
    padding: 8px 16px;
    transition: padding 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    text-align: inherit;
}

.nav-item.dropdown .dropdown-item:hover {
    background: rgba(220, 38, 38, 0.08) !important;
    color: var(--accent-gold) !important;
    padding-inline-start: 20px;
}

/* Gallery & Lightbox Styles */
.gallery-filters {
    border-radius: 30px;
    background: rgba(22, 22, 26, 0.6);
    border: 1px solid var(--border-color);
}
.filter-btn {
    background: transparent;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 20px;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    outline: none;
}
.filter-btn:hover {
    color: #ffffff;
}
.filter-btn.active {
    background: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.gallery-grid .gallery-item {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid var(--border-color);
}
.gallery-card:hover {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.1), var(--glass-shadow);
    transform: translateY(-4px);
}

.gallery-img-wrap {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #020204;
}
.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.4) 60%, rgba(9, 9, 11, 0) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: opacity 0.35s ease;
    z-index: 2;
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.gallery-title {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0;
    transform: translateY(10px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover .gallery-title {
    transform: translateY(0);
}

.gallery-zoom-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}
.gallery-card:hover .gallery-zoom-btn {
    opacity: 1;
    transform: scale(1);
}
.gallery-zoom-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
    color: #ffffff;
}

/* Lightbox Styles */
.premium-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 9, 11, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}
.premium-lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lightbox-close:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #ffffff;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}
.lightbox-nav:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #ffffff;
}
.lightbox-nav.prev {
    left: 30px;
}
.lightbox-nav.next {
    right: 30px;
}

.lightbox-content-wrap {
    max-width: 85%;
    max-height: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-lightbox.show .lightbox-content-wrap {
    transform: scale(1);
}
.lightbox-content-wrap img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.lightbox-caption {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}
.lightbox-tag {
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.lightbox-title {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 5px;
}

/* RTL adjustment for mobile dropdown alignment and slide animations */
[dir="rtl"] .top-bar-lang .dropdown-menu,
[dir="rtl"] .nav-item.dropdown .dropdown-menu {
    text-align: right !important;
}
[dir="rtl"] .nav-item.dropdown .dropdown-item:hover {
    padding-inline-start: 16px !important;
    padding-inline-end: 20px !important;
}

/* Mobile responsive Lightbox & UI elements */
@media (max-width: 576px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .lightbox-nav.prev {
        left: 10px;
    }
    .lightbox-nav.next {
        right: 10px;
    }
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    .lightbox-content-wrap img {
        max-height: 60vh;
    }
}

/* Premium Light Sections styling */
.section-light {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

.section-light-bg {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

/* Titles and subtitle styling overrides for light sections */
.section-light .section-title,
.section-light-bg .section-title {
    color: #0f172a !important;
}

.section-light .text-muted,
.section-light-bg .text-muted {
    color: #64748b !important;
}

/* Premium outline button override for light background visibility */
.section-light .btn-premium-outline,
.section-light-bg .btn-premium-outline {
    color: #0f172a !important;
    border-color: var(--accent-gold) !important;
}

.section-light .btn-premium-outline:hover,
.section-light-bg .btn-premium-outline:hover {
    background: var(--accent-gold) !important;
    color: #ffffff !important;
}

/* Blog/news card overrides in light background section */
.section-light-bg .blog-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.section-light-bg .blog-card:hover {
    border-color: rgba(220, 38, 38, 0.25) !important;
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.08), 0 10px 30px rgba(0, 0, 0, 0.02) !important;
}

.section-light-bg .blog-card-title {
    color: #0f172a !important;
}

.section-light-bg .blog-card-desc {
    color: #475569 !important;
}

.section-light-bg .blog-card-date {
    color: #64748b !important;
}

.section-light-bg .blog-card-img {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Client reference logos overrides in light sections */
.section-light .client-logo-wrapper,
.section-light-bg .client-logo-wrapper {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01) !important;
}

.section-light .client-logo-wrapper:hover,
.section-light-bg .client-logo-wrapper:hover {
    background: #ffffff !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.06) !important;
}

.section-light .client-logo-wrapper img,
.section-light-bg .client-logo-wrapper img {
    filter: grayscale(1) brightness(0.3) !important;
    opacity: 0.65 !important;
}

.section-light .client-logo-wrapper:hover img,
.section-light-bg .client-logo-wrapper:hover img {
    filter: grayscale(0) brightness(1) !important;
    opacity: 1 !important;
}

/* Gallery Tabs Styling */
.gallery-type-tabs {
    border-radius: 30px;
    background: rgba(22, 22, 26, 0.6);
    border: 1px solid var(--border-color);
}
.gallery-tab-btn {
    background: transparent;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 28px;
    border-radius: 20px;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    outline: none;
}
.gallery-tab-btn:hover {
    color: #ffffff;
}
.gallery-tab-btn.active {
    background: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

/* Album Card Design */
.album-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
    cursor: pointer;
    background: rgba(22, 22, 26, 0.85);
}
.album-card:hover {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.15), var(--glass-shadow);
    transform: translateY(-5px);
}
.album-cover-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #020204;
}
.album-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.album-card:hover .album-cover-wrap img {
    transform: scale(1.06);
}
.album-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(9, 9, 11, 0.75);
    border: 1px solid rgba(220, 38, 38, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}
.album-info {
    background: var(--accent-gold) !important;
    transition: background-color 0.3s ease;
}
.album-card:hover .album-info {
    background: var(--accent-gold-hover) !important;
}
.album-title {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: #ffffff !important;
    transition: color 0.3s ease;
    line-height: 1.4;
}
.album-card:hover .album-title {
    color: #ffffff !important;
}

/* Video Card Styling */
.video-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
    cursor: pointer;
    background: rgba(22, 22, 26, 0.85);
}
.video-card:hover {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.15), var(--glass-shadow);
    transform: translateY(-5px);
}
.video-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #020204;
}
.video-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.video-card:hover .video-img-wrap img {
    transform: scale(1.05);
}
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 11, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.3s ease;
}
.video-card:hover .video-play-overlay {
    background: rgba(9, 9, 11, 0.2);
}
.play-btn-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}
.play-btn-circle i {
    margin-left: 3px; /* visual alignment */
}
.video-card:hover .play-btn-circle {
    transform: scale(1.15);
    background: #ff4d4d;
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.7);
}
.video-info {
    background: var(--accent-gold) !important;
    transition: background-color 0.3s ease;
}
.video-card:hover .video-info {
    background: var(--accent-gold-hover) !important;
}
.video-info .gallery-tag {
    color: rgba(255, 255, 255, 0.75) !important;
}
.video-title {
    color: #ffffff !important;
}

/* Lightbox Video styling */
#lightboxVideoWrap {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
#lightboxVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.back-to-albums-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px;
}

/* --- PREMIUM LIGHT THEME OVERRIDES --- */
body {
    background-color: #ffffff !important;
    color: #334155 !important;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6,
.section-title, .album-title, .product-card-title, .blog-card-title,
.contact-info-text, .footer-title, .footer-brand, .filter-sidebar-title,
.category-title {
    color: #0f172a !important;
}

/* Sections Backgrounds */
.section-padding:not(.section-light):not(.section-light-bg) {
    background-color: #ffffff !important;
}

.features-section {
    background-color: #f8fafc !important;
}
.features-section::before {
    opacity: 0.05 !important;
}

.about-section-with-pattern {
    background-color: #ffffff !important;
}
.about-section-with-pattern::before {
    opacity: 0.05 !important;
}
.about-section-with-pattern p {
    color: #334155 !important;
}

/* Cards & Glass Panels */
.glass-panel, .feature-card, .sector-card, .product-card, .blog-card, .album-card, .video-card {
    background: #ffffff !important;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 4px 15px rgba(220, 38, 38, 0.03) !important;
}

.glass-panel p, .feature-card p, .sector-card p, .product-card p, .blog-card p, .album-badge {
    color: #475569 !important;
}

.feature-card:hover, .sector-card:hover, .product-card:hover, .blog-card:hover, .album-card:hover, .video-card:hover {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.12) !important;
}

/* Product Category Sidebar Filters */
.filter-link {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #475569 !important;
}
.filter-link:hover, .filter-link.active {
    background: rgba(220, 38, 38, 0.08) !important;
    border-color: var(--accent-gold) !important;
    color: var(--accent-gold) !important;
}

/* Premium Buttons Text Color Fix */
.btn-premium, .btn-gold, .btn-premium i, .btn-gold i {
    color: #ffffff !important;
}
.btn-premium-outline {
    color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
}
.btn-premium-outline:hover {
    color: #ffffff !important;
    background-color: var(--accent-gold) !important;
}

/* Gallery & Video Specifics */
.gallery-type-tabs {
    background: #f1f5f9 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.gallery-tab-btn {
    color: #475569 !important;
}
.gallery-tab-btn:hover {
    color: #0f172a !important;
}
.gallery-tab-btn.active {
    color: #ffffff !important;
    background: var(--accent-gold) !important;
}

.album-badge {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.album-info, .video-info {
    background: #ffffff !important;
    border-top: 1px solid rgba(220, 38, 38, 0.12) !important;
}
.album-card:hover .album-info, .video-card:hover .video-info {
    background: rgba(220, 38, 38, 0.03) !important;
}
.album-title, .video-title {
    color: #0f172a !important;
}
.album-card:hover .album-title, .video-card:hover .video-title {
    color: var(--accent-gold) !important;
}

/* Light Footer Overrides */
.main-footer {
    background-color: #f8fafc !important;
    border-top: 1px solid rgba(220, 38, 38, 0.15) !important;
    color: #475569 !important;
}
.footer-brand {
    color: #0f172a !important;
}
.footer-desc {
    color: #475569 !important;
}
.footer-social-btn {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #475569 !important;
}
.footer-social-btn:hover {
    background: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
    color: #ffffff !important;
}
.footer-title {
    color: #0f172a !important;
}
.footer-links a {
    color: #475569 !important;
}
.footer-links a:hover {
    color: var(--accent-gold) !important;
}
.footer-contact-info li {
    color: #475569 !important;
}
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.footer-copy {
    color: #64748b !important;
}

/* Megamenu Fix */
.megamenu-menu {
    border: 1px solid rgba(220, 38, 38, 0.18) !important;
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.08) !important;
}
.megamenu-text {
    color: #475569 !important;
}
.megamenu-link:hover .megamenu-text {
    color: var(--accent-gold) !important;
}

/* Mobile navigation */
@media (max-width: 991.98px) {
    .main-navbar,
    .header-scrolled .main-navbar {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        background: #ffffff !important;
    }

    .main-navbar .navbar-brand img {
        height: 52px !important;
        max-width: 100%;
        object-fit: contain;
    }

    .main-navbar .navbar-brand {
        max-width: calc(100% - 60px);
    }

    .main-navbar #navbarNav {
        max-height: calc(100vh - 86px);
        max-height: calc(100dvh - 86px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        scrollbar-gutter: stable;
    }

    .main-navbar .navbar-nav {
        width: 100%;
        padding: 12px 0 20px;
    }

    .main-navbar .navbar-nav > .nav-item {
        width: 100%;
        min-width: 0;
    }

    .main-navbar .nav-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        margin: 0;
        padding: 12px 16px !important;
    }

    .main-navbar .nav-link::after {
        display: none;
    }

    .main-navbar .nav-link.dropdown-toggle::after {
        display: block;
        position: static;
        flex: 0 0 auto;
        width: 8px;
        height: 8px;
        margin-inline-start: auto;
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        background: none;
        box-shadow: none;
        transform: rotate(45deg);
    }

    .main-navbar .nav-link.dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(225deg);
    }

    .main-navbar .nav-item.dropdown .dropdown-menu {
        display: none;
        position: static !important;
        width: 100% !important;
        min-width: 0;
        margin: 4px 0 8px;
        padding: 8px !important;
        transform: none !important;
        box-shadow: none !important;
        opacity: 1;
        visibility: visible;
    }

    .main-navbar .nav-item.dropdown .dropdown-menu.show {
        display: block;
    }

    .main-navbar .megamenu-grid > div {
        width: 50%;
        min-width: 0;
    }

    .main-navbar .megamenu-link {
        height: 100%;
        padding: 12px 4px !important;
    }

    .main-navbar .megamenu-text,
    .main-navbar .dropdown-item {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .main-navbar .btn-premium {
        justify-content: center;
        min-height: 44px;
        margin-top: 8px;
    }

    body.mobile-menu-open,
    body:has(#navbarNav.show),
    body:has(#navbarNav.collapsing) {
        overflow: hidden;
    }

    body.mobile-menu-open .position-fixed.bottom-0.end-0,
    body.mobile-menu-open #scrollToTop,
    body:has(#navbarNav.show) .position-fixed.bottom-0.end-0,
    body:has(#navbarNav.show) #scrollToTop,
    body:has(#navbarNav.collapsing) .position-fixed.bottom-0.end-0,
    body:has(#navbarNav.collapsing) #scrollToTop {
        display: none !important;
    }
}

/* Forms & Input Fields */
.form-control-premium {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #0f172a !important;
}
.form-control-premium:focus {
    background-color: #ffffff !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}
.form-label-premium {
    color: #475569 !important;
}

/* Contact Info Box */
.contact-info-card {
    background: #ffffff !important;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
}
.contact-info-title {
    color: #64748b !important;
}
.contact-info-text {
    color: #0f172a !important;
}

/* --- ORTALANMIŞ VE PREMİUM ÖZELLİK KARTI TASARIMI (FEATURE CARDS) --- */
.feature-card {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 40px 30px !important;
    border-radius: 16px !important;
}

.feature-icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    background: rgba(220, 38, 38, 0.05) !important;
    border: 1px solid rgba(220, 38, 38, 0.1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 24px auto !important;
    font-size: 2.25rem !important;
    color: #dc2626 !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.feature-icon i {
    color: #dc2626 !important;
    transition: all 0.4s ease !important;
}

.feature-card:hover .feature-icon {
    background: rgba(220, 38, 38, 0.12) !important;
    border-color: rgba(220, 38, 38, 0.25) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.1) !important;
}

.feature-card:hover .feature-icon i {
    color: #b91c1c !important;
}

/* --- AÇIK TEMA ALTI GÖRÜNMEZLİK PROBLEMİ ÇÖZÜMÜ (TEXT-WHITE DÜZELTME) --- */
.features-section h1.text-white, .features-section h2.text-white, .features-section h3.text-white, .features-section h4.text-white, .features-section h5.text-white, .features-section h6.text-white, .features-section span.text-white,
.feature-card h1.text-white, .feature-card h2.text-white, .feature-card h3.text-white, .feature-card h4.text-white, .feature-card h5.text-white, .feature-card h6.text-white, .feature-card span.text-white, .feature-card p.text-white,
.sector-card h1.text-white, .sector-card h2.text-white, .sector-card h3.text-white, .sector-card h4.text-white, .sector-card h5.text-white, .sector-card h6.text-white, .sector-card span.text-white, .sector-card p.text-white,
.product-card h1.text-white, .product-card h2.text-white, .product-card h3.text-white, .product-card h4.text-white, .product-card h5.text-white, .product-card h6.text-white, .product-card span.text-white, .product-card p.text-white,
.blog-card h1.text-white, .blog-card h2.text-white, .blog-card h3.text-white, .blog-card h4.text-white, .blog-card h5.text-white, .blog-card h6.text-white, .blog-card span.text-white, .blog-card p.text-white,
.glass-panel h1.text-white, .glass-panel h2.text-white, .glass-panel h3.text-white, .glass-panel h4.text-white, .glass-panel h5.text-white, .glass-panel h6.text-white, .glass-panel span.text-white, .glass-panel p.text-white,
.about-section-with-pattern h1.text-white, .about-section-with-pattern h2.text-white, .about-section-with-pattern h3.text-white, .about-section-with-pattern h4.text-white, .about-section-with-pattern h5.text-white, .about-section-with-pattern h6.text-white, .about-section-with-pattern span.text-white, .about-section-with-pattern p.text-white,
.section-light h1.text-white, .section-light h2.text-white, .section-light h3.text-white, .section-light h4.text-white, .section-light h5.text-white, .section-light h6.text-white, .section-light span.text-white, .section-light p.text-white,
.section-light-bg h1.text-white, .section-light-bg h2.text-white, .section-light-bg h3.text-white, .section-light-bg h4.text-white, .section-light-bg h5.text-white, .section-light-bg h6.text-white, .section-light-bg span.text-white, .section-light-bg p.text-white,
.section-padding:not(.section-light):not(.section-light-bg) h1.text-white,
.section-padding:not(.section-light):not(.section-light-bg) h2.text-white,
.section-padding:not(.section-light):not(.section-light-bg) h3.text-white,
.section-padding:not(.section-light):not(.section-light-bg) h4.text-white,
.section-padding:not(.section-light):not(.section-light-bg) h5.text-white,
.section-padding:not(.section-light):not(.section-light-bg) h6.text-white,
.section-padding:not(.section-light):not(.section-light-bg) span.text-white,
.section-padding:not(.section-light):not(.section-light-bg) p.text-white {
    color: #0f172a !important;
}

/* Banners (Banner içindekiler koyu arka plan olduğu için beyaz kalmalı) */
.page-banner h1, .page-banner h2, .page-banner h3, .page-banner h4, .page-banner h5, .page-banner h6, .page-banner-title {
    color: #ffffff !important;
}

/* Slider (Slider içindekiler koyu arka plan olduğu için beyaz kalmalı) */
.hero-slider-section h1, .hero-slider-section h2, .hero-slider-section h3, .hero-slider-section h4, .hero-slider-section h5, .hero-slider-section h6, .hero-slider-section .slide-title, .hero-slider-section .slide-subtitle {
    color: #ffffff !important;
}

/* --- PREMİUM REFERANS LOGOLARI TASARIM DÜZENLEMESİ --- */
.client-logo-wrapper,
.section-light .client-logo-wrapper,
.section-light-bg .client-logo-wrapper {
    height: 120px !important;
    padding: 20px !important;
    background: #ffffff !important;
    border: 2px solid #dc2626 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.client-logo-wrapper:hover,
.section-light .client-logo-wrapper:hover,
.section-light-bg .client-logo-wrapper:hover {
    transform: translateY(-4px) !important;
    border-color: #000000 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    background: #ffffff !important;
}

.client-logo-wrapper img,
.section-light .client-logo-wrapper img,
.section-light-bg .client-logo-wrapper img {
    max-height: 80px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: multiply !important;
    transition: all 0.3s ease !important;
}

.client-logo-wrapper:hover img,
.section-light .client-logo-wrapper:hover img,
.section-light-bg .client-logo-wrapper:hover img {
    filter: none !important;
    opacity: 1 !important;
    transform: scale(1.05) !important;
}

.client-logo-wrapper span.text-white,
.section-light .client-logo-wrapper span.text-white,
.section-light-bg .client-logo-wrapper span.text-white {
    color: #dc2626 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.client-logo-wrapper:hover span.text-white,
.section-light .client-logo-wrapper:hover span.text-white,
.section-light-bg .client-logo-wrapper:hover span.text-white {
    color: #000000 !important;
}

/* --- PREMİUM HORIZONTAL REFERENCES CAROUSEL SLIDER --- */
.references-slider-container {
    padding: 0 50px;
}

.references-slider-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    display: block;
    width: 100%;
}

/* Hide Scrollbar for Chrome, Safari and Opera */
.references-slider-wrapper::-webkit-scrollbar {
    display: none;
}

/* Hide Scrollbar for IE, Edge and Firefox */
.references-slider-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.references-slider-track {
    display: flex;
    gap: 20px;
    padding: 15px 0;
}

.reference-slide-item {
    flex: 0 0 calc(16.666% - 17px);
    min-width: 170px;
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {
    .reference-slide-item {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 768px) {
    .reference-slide-item {
        flex: 0 0 calc(50% - 10px);
    }
}

.ref-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(220, 38, 38, 0.15);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ref-slider-arrow:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.2);
}

.ref-slider-arrow.prev-arrow {
    left: 0;
}

.ref-slider-arrow.next-arrow {
    right: 0;
}

/* --- PREMIUM CATEGORY SLIDER DESIGN --- */
.categories-slider-container {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.categories-slider-wrapper {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    width: 100%;
    padding: 10px 0 30px 0;
}

.categories-slider-wrapper::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.categories-slider-track {
    display: flex;
    gap: 24px;
}

.category-slide-item {
    flex: 0 0 calc(25% - 18px); /* Desktop: 4 Columns visible */
    min-width: 250px;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .category-slide-item {
        flex: 0 0 calc(33.333% - 16px); /* Tablet Landscape: 3 Columns */
    }
}

@media (max-width: 992px) {
    .category-slide-item {
        flex: 0 0 calc(50% - 12px); /* Tablet Portrait: 2 Columns */
    }
}

@media (max-width: 576px) {
    .category-slide-item {
        flex: 0 0 100%; /* Mobile: 1 Column */
    }
}

.category-slide-card {
    position: relative;
    height: 460px;
    border-radius: 20px;
    background-color: #f1f5f9; /* Light blue-grey background */
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1.2px, transparent 1.2px); /* Premium dot-grid pattern */
    background-size: 16px 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: visible !important; /* Allow the scissor lift below to be visible */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.category-slide-card:hover {
    transform: translateY(-30px) !important; /* Lift the ENTIRE card up by 30px */
    border-color: #dc2626;
    background-color: #ffffff;
    box-shadow: 0 20px 45px rgba(220, 38, 38, 0.1);
}

.category-slide-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.06);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s ease;
    user-select: none;
}

.category-slide-card:hover .category-slide-number {
    color: rgba(220, 38, 38, 0.1);
}

.category-slide-image-wrap {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 20px 0;
    position: relative;
}

.scissor-lift-mechanism {
    position: absolute;
    bottom: -40px; /* Sits below the outermost border of the card */
    left: 50%;
    transform: translateX(-50%) scaleY(0.1);
    transform-origin: top; /* Stretches downwards from the card bottom to the ground */
    width: 50px;
    height: 40px;
    opacity: 0; /* Invisible by default */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1 !important; /* Rendered behind/under the card bottom border */
}

.scissor-lift-mechanism line, 
.scissor-lift-mechanism circle {
    transition: stroke 0.5s ease, fill 0.5s ease;
}

.scissor-lift-mechanism line {
    stroke: #60a5fa;
}

.scissor-lift-mechanism line[stroke="#dc2626"] {
    stroke: #dc2626;
}

.category-slide-card:hover .scissor-lift-mechanism {
    transform: translateX(-50%) scaleY(0.95);
    opacity: 0.85 !important; /* Visible only on hover */
}

.category-slide-card:hover .scissor-lift-mechanism line {
    stroke: #3b82f6 !important; /* Highlight arms in rich blue on hover */
}

.category-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.category-slide-card:hover .category-slide-image {
    transform: scale(1.03); /* Subtle image scale zoom when card rises */
}

.category-slide-footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-slide-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    transition: color 0.3s ease;
}

.category-slide-card:hover .category-slide-title {
    color: #dc2626;
}

.category-slide-link {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.category-slide-card:hover .category-slide-link {
    color: #dc2626;
    transform: translateX(4px);
}

/* Slider navigation arrows */
.cat-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cat-slider-arrow:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.2);
}

.cat-slider-arrow.prev-arrow {
    left: -25px;
}

.cat-slider-arrow.next-arrow {
    right: -25px;
}

@media (max-width: 768px) {
    .cat-slider-arrow {
        display: none; /* Hide arrows on mobile for swipe gesture */
    }
}
