/* ========================================
   COMPONENTS - Zenoteks
   Page-specific & advanced component styles
   ======================================== */

/* ---- FLAGS PAGE (PRIMARY FOCUS) ---- */
.flags-hero { position: relative; min-height: 50vh; display: flex; align-items: center; background-size: cover; background-position: center; background-attachment: fixed; }
.flags-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(227,10,23,0.85) 0%, rgba(79,80,82,0.9) 100%); }
.flags-hero .container { position: relative; z-index: 2; }

.flag-category-tabs .nav-link { border-radius: var(--radius-full); padding: 10px 24px; font-weight: 600; font-size: var(--fs-small); transition: var(--transition-base); }
.flag-category-tabs .nav-link.active { background: var(--gradient-primary); color: var(--dark); border-color: var(--primary); box-shadow: var(--shadow-primary); }

.flag-item { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition-base); height: 100%; }
.flag-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.flag-item-image { position: relative; height: 200px; overflow: hidden; }
.flag-item-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.flag-item:hover .flag-item-image img { transform: scale(1.08); }
.flag-item-body { padding: 20px; }
.flag-item-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.flag-item-desc { color: var(--text-muted); font-size: var(--fs-small); }

/* Turkish Flag Showcase */
.turkish-flag-showcase { background: linear-gradient(135deg, #e30a17 0%, #c4080f 100%); border-radius: var(--radius-lg); overflow: hidden; }
.turkish-flag-showcase .flag-image-wrapper { position: relative; padding: 40px; display: flex; align-items: center; justify-content: center; }
.turkish-flag-showcase img { max-width: 100%; border-radius: var(--radius-md); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

.flag-size-table { width: 100%; }
.flag-size-table th { background: rgba(227,10,23,0.1); color: var(--accent-red); font-weight: 700; padding: 12px 16px; font-size: var(--fs-small); }
.flag-size-table td { padding: 10px 16px; border-bottom: 1px solid var(--light-gray); font-size: var(--fs-small); }
.flag-size-table tr:hover td { background: var(--off-white); }

/* Election Flags */
.election-flag-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: var(--shadow-md); transition: var(--transition-base); height: 100%; }
.election-flag-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.election-flag-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; }

/* Printing Types */
.printing-type-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition-base); height: 100%; }
.printing-type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.printing-type-image { height: 180px; overflow: hidden; }
.printing-type-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.printing-type-card:hover .printing-type-image img { transform: scale(1.05); }
.printing-type-body { padding: 25px; }
.printing-type-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.printing-type-desc { color: var(--text-muted); font-size: var(--fs-small); }

/* ---- ABOUT PAGE ---- */
.about-image-wrapper { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image-wrapper img { width: 100%; height: auto; }
.experience-badge { position: absolute; bottom: 20px; right: 20px; background: var(--gradient-primary); color: var(--dark); padding: 15px 25px; border-radius: var(--radius-md); text-align: center; box-shadow: var(--shadow-lg); }
.experience-badge .number { font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.experience-badge .text { font-size: var(--fs-small); font-weight: 500; }

/* ---- CHAIRMAN MESSAGE ---- */
.chairman-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.chairman-photo img { width: 100%; height: auto; }
.chairman-quote { position: relative; padding: 30px; background: var(--off-white); border-radius: var(--radius-lg); border-left: 4px solid var(--primary); }
.chairman-quote::before { content: '\201C'; font-size: 4rem; color: var(--primary); opacity: 0.3; position: absolute; top: 10px; left: 20px; font-family: Georgia, serif; line-height: 1; }
.chairman-signature { font-family: var(--font-heading); font-weight: 700; color: var(--secondary); }

/* ---- FACILITY PAGE ---- */
.facility-stat { text-align: center; padding: 30px 20px; }
.facility-stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); }
.facility-stat-label { color: var(--text-muted); font-size: var(--fs-small); margin-top: 5px; }

.facility-feature { display: flex; gap: 15px; padding: 20px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: var(--transition-base); }
.facility-feature:hover { box-shadow: var(--shadow-md); transform: translateX(5px); }
.facility-feature-icon { width: 50px; height: 50px; min-width: 50px; background: var(--gradient-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--dark); font-size: 1.25rem; }

/* ---- POLICY PAGES ---- */
.policy-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); height: 100%; transition: var(--transition-base); }
.policy-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.policy-icon { width: 60px; height: 60px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.policy-icon i { font-size: 1.5rem; color: var(--dark); }

/* ---- CORPORATE IDENTITY ---- */
.identity-color-swatch { width: 100%; height: 120px; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.identity-color-info { padding: 15px; background: var(--white); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-sm); }

/* ---- MANIFATURA ---- */
.brand-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: var(--shadow-md); transition: var(--transition-base); height: 100%; }
.brand-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.brand-card-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; }

/* ---- HOME TEXTILE & PROMOTION ---- */
.textile-feature { display: flex; gap: 15px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--light-gray); }
.textile-feature:last-child { border-bottom: none; }
.textile-feature-icon { width: 45px; height: 45px; min-width: 45px; background: var(--off-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; }

/* ---- HR / JOB APPLICATION ---- */
.work-policy-section { margin-bottom: 30px; }
.work-policy-icon { width: 50px; height: 50px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dark); font-size: 1.25rem; margin-bottom: 15px; }

.application-form .form-label { font-weight: 600; font-size: var(--fs-small); color: var(--secondary); }
.application-form .form-control, .application-form .form-select { border: 1px solid var(--light-gray); border-radius: var(--radius-md); padding: 10px 15px; transition: var(--transition-base); }
.application-form .form-control:focus, .application-form .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(244, 207, 0, 0.15); }
.application-form .form-text { font-size: 0.8rem; }

.cv-upload-area { border: 2px dashed var(--light-gray); border-radius: var(--radius-lg); padding: 30px; text-align: center; transition: var(--transition-base); cursor: pointer; }
.cv-upload-area:hover, .cv-upload-area.dragover { border-color: var(--primary); background: rgba(244, 207, 0, 0.05); }
.cv-upload-area i { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; }

/* ---- CONTACT PAGE ---- */
.contact-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); height: 100%; transition: var(--transition-base); }
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.contact-info-icon { width: 60px; height: 60px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.contact-info-icon i { font-size: 1.5rem; color: var(--dark); }

.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrapper iframe { width: 100%; height: 450px; border: none; }

/* ---- 404 PAGE ---- */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-code { font-size: 8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.error-message { font-size: 1.5rem; color: var(--text-muted); margin: 20px 0 30px; }

/* ---- SWIPER OVERRIDES ---- */
.swiper-pagination-bullet { background: var(--primary); }
.swiper-pagination-bullet-active { background: var(--primary-dark); }
.references-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; }

/* ---- ALERT / FLASH MESSAGES ---- */
.alert-flash { border: none; border-radius: var(--radius-md); padding: 15px 20px; font-size: var(--fs-small); }
.alert-flash.alert-success { background: rgba(244, 207, 0, 0.15); color: var(--primary-dark); border-left: 4px solid var(--primary); }
.alert-flash.alert-danger { background: rgba(227, 10, 23, 0.1); color: var(--accent-red-dark); border-left: 4px solid var(--accent-red); }

/* ---- CUSTOM PRINTING ---- */
.printing-process-step { text-align: center; padding: 20px; position: relative; }
.printing-process-step .step-number { width: 50px; height: 50px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dark); font-weight: 800; font-size: 1.25rem; margin: 0 auto 15px; }

/* ---- PROMOTION TEXTILE ---- */
.promo-gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.promo-gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: var(--transition-slow); }
.promo-gallery-item:hover img { transform: scale(1.05); }
.promo-gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 20px; }
.promo-gallery-overlay span { color: var(--white); font-weight: 600; }

/* ---- SECTION TAG (Corporate label) ---- */
.section-tag { display: inline-block; background: rgba(244, 207, 0, 0.12); color: var(--primary-dark); font-family: var(--font-heading); font-weight: 600; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-full); margin-bottom: 15px; }
.section-tag-light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }

/* ---- HERO TAG ---- */
.hero-tag { display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; padding: 8px 20px; border-radius: var(--radius-full); margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.2); }

/* ---- ABOUT BRIEF ---- */
.about-brief-image { position: relative; }
.about-brief-image img { border-radius: 16px; }
.experience-floating-badge { position: absolute; bottom: -20px; right: -10px; z-index: 2; }
.experience-floating-badge .badge-inner { background: var(--gradient-primary); color: var(--dark); padding: 20px 25px; border-radius: 16px; text-align: center; box-shadow: var(--shadow-lg); }
.experience-floating-badge .badge-number { display: block; font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; line-height: 1; }
.experience-floating-badge .badge-text { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.about-feature-item { display: flex; align-items: center; gap: 10px; padding: 10px 15px; background: var(--off-white); border-radius: var(--radius-md); font-weight: 600; font-size: 0.9rem; color: var(--secondary); }
.about-feature-item i { font-size: 1.2rem; }

/* ---- PRODUCT SHOWCASE ---- */
.product-showcase-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition-base); }
.product-showcase-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.product-showcase-img { height: 250px; overflow: hidden; }
.product-showcase-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.product-showcase-card:hover .product-showcase-img img { transform: scale(1.08); }
.product-showcase-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%); padding: 30px 20px 20px; }
.product-showcase-info h4 { color: var(--white); font-size: 1.1rem; font-weight: 700; margin: 0; }

/* ---- STAT ICON WRAP ---- */
.stat-icon-wrap { width: 50px; height: 50px; background: rgba(244, 207, 0, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.stat-icon-wrap i { font-size: 1.3rem; color: var(--primary); }

/* ---- NAVBAR TOGGLER CUSTOM ---- */
.navbar-toggler { border: 2px solid rgba(255,255,255,0.3); border-radius: var(--radius-md); padding: 6px 10px; }
.navbar.scrolled .navbar-toggler { border-color: var(--light-gray); }
.navbar-toggler:focus { box-shadow: none; }

/* ---- CTA SECTION ---- */
.cta-section { padding: 0; }
.cta-section .btn-success { background: #25D366; border-color: #25D366; }
.cta-section .btn-success:hover { background: #1da851; border-color: #1da851; transform: translateY(-2px); }

/* ---- ABOUT PAGE STAT CARDS ---- */
.stat-card { background: var(--white); border: 1px solid var(--light-gray); transition: all 0.3s ease; }
.stat-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important; }
.production-info h3 { color: var(--secondary); font-weight: 700; position: relative; padding-bottom: 12px; }
.production-info h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary); border-radius: 2px; }
