/* ==========================================================================
   FGM MAKİNA - MODERN KURUMSAL ENDÜSTRİYEL TASARIM SİSTEMİ
   ========================================================================== */

:root {
    --primary: #0084ff;
    --primary-dark: #0060ba;
    --primary-light: #e6f3ff;
    --accent: #ff8c00;
    --accent-hover: #e07b00;
    --dark: #0b1526;
    --dark-light: #16243b;
    --dark-surface: #1e314f;
    --gray-bg: #f8fafc;
    --gray-border: #e2e8f0;
    --text-main: #2d3748;
    --text-muted: #64748b;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(11, 21, 38, 0.06);
    --shadow-md: 0 8px 24px rgba(11, 21, 38, 0.08);
    --shadow-lg: 0 16px 36px rgba(11, 21, 38, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.card.bg-dark h5, .card.bg-dark h4, .card.bg-dark h3,
.text-white, .text-white * {
    color: inherit;
}

.bg-dark, .bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
    color: #ffffff !important;
}

.bg-dark p {
    color: #cbd5e1 !important;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
    background-color: var(--dark);
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar a:hover {
    color: #ffffff;
}

.top-bar-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.top-bar-right {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    align-items: center;
}

.top-bar-catalog-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none !important;
}

.top-bar-catalog-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff !important;
}

.top-bar-social {
    display: flex;
    gap: 8px;
    align-items: center;
}

.top-bar-social a.social-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}

.top-bar-social a.social-icon-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.main-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark) !important;
    padding: 24px 14px !important;
    position: relative;
    transition: var(--transition);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px 0;
    min-width: 240px;
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-item {
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    color: var(--dark);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 25px;
}

.btn-header-quote {
    background: linear-gradient(135deg, var(--primary) 0%, #0060ba 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.35);
    transition: var(--transition);
    border: none;
}

.btn-header-quote:hover {
    background: linear-gradient(135deg, #0070db 0%, #004e96 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.45);
}

/* ==========================================================================
   HERO BANNER & SLIDER
   ========================================================================== */
.hero-slider-item {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 21, 38, 0.88) 0%, rgba(11, 21, 38, 0.55) 60%, rgba(11, 21, 38, 0.25) 100%);
}

.hero-slider-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
    padding: 60px 0;
}

.hero-subtitle-badge {
    display: inline-block;
    background: rgba(0, 132, 255, 0.25);
    color: #70baff;
    border: 1px solid rgba(0, 132, 255, 0.4);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-desc {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 30px;
}

.btn-hero-primary {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.4);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: #0070db;
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-hero-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    margin-left: 15px;
}

.btn-hero-outline:hover {
    background: #ffffff;
    color: var(--dark);
    border-color: #ffffff;
}

/* ==========================================================================
   FEATURES RIBBON / HIGHLIGHTS
   ========================================================================== */
.features-ribbon {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    margin-top: -50px;
    position: relative;
    z-index: 20;
    padding: 30px 20px;
    border: 1px solid var(--gray-border);
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-title {
    font-size: 17px;
    margin-bottom: 3px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   SECTION STYLING
   ========================================================================== */
.section-py {
    padding: 80px 0;
}

.section-py-sm {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
}

/* ==========================================================================
   PRODUCT / MACHINERY CARDS
   ========================================================================== */
.product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 132, 255, 0.3);
}

.product-card-img-wrap {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    background: #f1f5f9;
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 21, 38, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.product-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-card-title a {
    color: var(--dark);
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--gray-border);
}

.btn-product-detail {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-product-detail:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.btn-product-quote {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-product-quote:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ==========================================================================
   STATS COUNTERS
   ========================================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: #cbd5e1;
    font-weight: 600;
}

/* ==========================================================================
   ABOUT & WHY CHOOSE US
   ========================================================================== */
.about-img-group {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-md);
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge {
    position: absolute;
    bottom: -25px;
    right: -20px;
    background: var(--primary);
    color: #ffffff;
    padding: 25px 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 132, 255, 0.4);
    text-align: center;
}

.about-exp-num {
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.about-exp-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 21, 38, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: #ffffff;
    font-size: 24px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    margin-bottom: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.testimonial-company {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.blog-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card-img-wrap {
    position: relative;
    padding-top: 55%;
    overflow: hidden;
}

.blog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-card-title a {
    color: var(--dark);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-summary {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #0c2040 100%);
    border-radius: var(--radius-md);
    padding: 50px 40px;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.2) 0%, rgba(0, 132, 255, 0) 70%);
}

.cta-title {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.cta-desc {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding-top: 70px;
    font-size: 14px;
}

.footer-widget-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    background-color: #060c17;
    padding: 20px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & QUICK ACCESS)
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none !important;
}

.floating-whatsapp:hover {
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.floating-quick-access {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
}

.btn-floating-quick {
    background: var(--dark);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(11, 21, 38, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.btn-floating-quick:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================================================
   BREADCRUMBS & PAGE HEADER
   ========================================================================== */
.page-header-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #152744 100%);
    padding: 60px 0;
    color: #ffffff;
    position: relative;
}

.page-header-title {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 10px;
}

.breadcrumb-nav {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #94a3b8;
}

.breadcrumb-nav a {
    color: #cbd5e1;
}

/* ==========================================================================
   ABOUT SECTION & BADGE
   ========================================================================== */
.about-img-group {
    position: relative;
    padding-bottom: 25px;
    padding-right: 25px;
    max-width: 540px;
    margin: 0 auto;
}

.about-img-main {
    border-radius: var(--radius-md);
    width: 100%;
    height: 420px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    display: block;
    border: 1px solid var(--gray-border);
}

.about-experience-badge {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background: linear-gradient(135deg, var(--primary) 0%, #0060ba 100%);
    color: #ffffff;
    padding: 20px 25px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 132, 255, 0.45);
    text-align: center;
    min-width: 175px;
    border: 3px solid #ffffff;
    z-index: 5;
}

.about-exp-num {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
}

.about-exp-text {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
    color: #e6f3ff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   IMAGE GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 240px;
    background: #e2e8f0;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 21, 38, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: #ffffff;
    font-size: 28px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.fgm-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fgm-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 21, 38, 0.94);
    backdrop-filter: blur(8px);
}

.fgm-lightbox-container {
    position: relative;
    z-index: 100000;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fgm-lightbox-content {
    text-align: center;
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fgm-lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.25s ease-out;
}

.fgm-lightbox-caption {
    margin-top: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.fgm-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.fgm-lightbox-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.fgm-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100001;
}

.fgm-lightbox-nav.prev {
    left: -70px;
}

.fgm-lightbox-nav.next {
    right: -70px;
}

.fgm-lightbox-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE SPECIFIC STYLES
   ========================================================================== */
.product-gallery-main-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.product-gallery-main-img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    transition: transform 0.35s ease;
    cursor: zoom-in;
}

.product-gallery-main-card:hover .product-gallery-main-img {
    transform: scale(1.03);
}

.product-thumb-item {
    width: 84px;
    height: 64px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.product-thumb-item.active,
.product-thumb-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.product-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-trust-badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-trust-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.product-trust-item i {
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.product-spec-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-spec-table th {
    background: #f1f5f9;
    color: var(--dark);
    font-weight: 700;
    padding: 14px 18px;
    width: 38%;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.product-spec-table td {
    background: #ffffff;
    color: #334155;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.product-spec-table tr:last-child th,
.product-spec-table tr:last-child td {
    border-bottom: none;
}

.product-spec-table tr:hover td {
    background: #f8fafc;
}

.product-nav-tabs .nav-link {
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 14px 20px;
    border-radius: 0;
    transition: var(--transition);
}

.product-nav-tabs .nav-link.active,
.product-nav-tabs .nav-link:hover {
    color: var(--primary);
    background: transparent;
    border-bottom-color: var(--primary);
}

.product-sticky-sidebar {
    position: sticky;
    top: 90px;
}

.product-quote-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-md);
    padding: 28px;
}

@media (max-width: 991px) {
    .nav-link { padding: 12px 0 !important; }
    .hero-title { font-size: 32px; }
    .features-ribbon { margin-top: 20px; }
    .about-img-group { padding: 0; }
    .about-img-main { height: 320px; }
    .about-experience-badge { position: static; margin-top: 15px; width: 100%; }
    .fgm-lightbox-nav.prev { left: 10px; }
    .fgm-lightbox-nav.next { right: 10px; }
    .fgm-lightbox-close { top: -45px; right: 10px; }
    .product-trust-badge-grid { grid-template-columns: 1fr; }
    .product-sticky-sidebar { position: static; }
}
