Help
RSS
API
Feed
Maltego
Contact
Domain > tugragumruk.com
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2022-10-05
194.31.64.84
(
ClassC
)
2026-02-01
72.60.93.130
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyConnection: Keep-AliveKeep-Alive: timeout5, max100Content-Type: text/htmlContent-Length: 795Date: Sun, 01 Feb 2026 14:41:51 GMTServer: LiteSpeedLocation: https://tugragumruk.com/platform: hostingerpanel: hpanelContent-Security-Policy: upgrade-insecure-requests !DOCTYPE html>html styleheight:100%>head>meta nameviewport contentwidthdevice-width, initial-scale1, shrink-to-fitno />title> 301 Moved Permanently/title>style>@media (prefers-color-scheme:dark){body{background-color:#000!important}}/style>/head>body stylecolor: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;>div styleheight:auto; min-height:100%; > div styletext-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;> h1 stylemargin:0; font-size:150px; line-height:150px; font-weight:bold;>301/h1>h2 stylemargin-top:20px;font-size: 30px;>Moved Permanently/h2>p>The document has been permanently moved./p>/div>/div>/body>/html>
Port 443
HTTP/1.1 200 OKConnection: Keep-AliveKeep-Alive: timeout5, max100X-Powered-By: PHP/8.2.29set-cookie: PHPSESSIDvlrjh8p8loojcm5mvbl2j1rob7; path/; secureExpires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidatePragma: no-cacheContent-Type: text/html; charsetUTF-8Transfer-Encoding: chunkedDate: Sun, 01 Feb 2026 14:41:52 GMTServer: LiteSpeedplatform: hostingerpanel: hpanelRetry-After: 60Content-Security-Policy: upgrade-insecure-requests !DOCTYPE html>html langtr>head> meta charsetUTF-8> meta nameviewport contentwidthdevice-width, initial-scale1.0> meta namedescription contentTuğra Gümrük - Profesyonel gümrük hizmetleri, transit işlemleri, ithalat ve ihracat danışmanlığı. Hızlı ve güvenilir gümrük çözümleri.> meta namekeywords contentgümrük, gümrük müşaviri, transit işlemleri, ithalat, ihracat, gümrük danışmanlığı, Tuğra Gümrük> meta nameauthor contentTuğra Gümrük> meta namerobots contentindex, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1> meta propertyog:title contentTuğra Gümrük - Profesyonel Gümrük Hizmetleri> meta propertyog:description contentTuğra Gümrük - Profesyonel gümrük hizmetleri, transit işlemleri, ithalat ve ihracat danışmanlığı. Hızlı ve güvenilir gümrük çözümleri.> meta propertyog:type contentwebsite> meta propertyog:url contenthttps://www.tugragumruk.com/index.php> meta propertyog:image contenthttps://www.tugragumruk.com/logo.png> meta propertyog:image:width content1200> meta propertyog:image:height content630> meta propertyog:locale contenttr_TR> meta propertyog:site_name contentTuğra Gümrük> meta nametwitter:card contentsummary_large_image> meta nametwitter:title contentTuğra Gümrük - Profesyonel Gümrük Hizmetleri> meta nametwitter:description contentTuğra Gümrük - Profesyonel gümrük hizmetleri, transit işlemleri, ithalat ve ihracat danışmanlığı. Hızlı ve güvenilir gümrük çözümleri.> meta nametwitter:image contenthttps://www.tugragumruk.com/logo.png> title>Tuğra Gümrük - Profesyonel Gümrük Hizmetleri/title> link relstylesheet hrefassets/css/style.css> link relcanonical hrefhttps://www.tugragumruk.com/index.php> link relicon typeimage/png hreffavicon.png> script typeapplication/ld+json> { @context: https://schema.org, @type: Organization, name: Tuğra Gümrük, url: https://www.tugragumruk.com, logo: https://www.tugragumruk.com/logo.png, description: Profesyonel gümrük hizmetleri, transit işlemleri, ithalat ve ihracat danışmanlığı, address: { @type: PostalAddress, streetAddress: Güzelyalı Mah. Yaban Sk. Gulender Apt. Blok No 5 İç Kapı No 1, addressLocality: Pendik, addressRegion: İstanbul, addressCountry: TR }, contactPoint: { @type: ContactPoint, telephone: +90-539-261-72-83, contactType: customer service, email: info@tugragumruk.com }, sameAs: } /script> style> /* Public Header Styles */ .public-header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(26, 26, 46, 0.08); padding: 1.25rem 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .public-header.scrolled { padding: 0.875rem 0; background: rgba(255, 255, 255, 0.99); box-shadow: 0 4px 30px rgba(26, 26, 46, 0.12); border-bottom: 1px solid rgba(26, 26, 46, 0.1); } .header-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; } .header-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: #1a1a2e; transition: all 0.3s ease; position: relative; } .header-logo::before { content: ; position: absolute; left: -0.5rem; width: 4px; height: 0; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border-radius: 2px; transition: height 0.3s ease; } .header-logo:hover { transform: translateX(5px); } .header-logo:hover::before { height: 100%; } .header-logo-icon { font-size: 2.5rem; filter: drop-shadow(0 2px 8px rgba(26, 26, 46, 0.15)); transition: transform 0.3s ease; } .header-logo:hover .header-logo-icon { transform: scale(1.1) rotate(5deg); } .header-logo img { height: 52px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(26, 26, 46, 0.15)); transition: all 0.3s ease; } .header-logo:hover img { transform: scale(1.05); filter: drop-shadow(0 4px 12px rgba(26, 26, 46, 0.2)); } .header-logo-text { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.5px; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; transition: all 0.3s ease; } .header-logo:hover .header-logo-text { background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .public-nav { display: flex; align-items: center; gap: 0.5rem; } .public-nav a { color: #1a1a2e; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.625rem 1.25rem; border-radius: 10px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .public-nav a::before { content: ; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: linear-gradient(135deg, rgba(26, 26, 46, 0.08) 0%, rgba(22, 33, 62, 0.12) 100%); transition: width 0.3s ease; z-index: 0; } .public-nav a:hover::before { width: 100%; } .public-nav a:hover { color: #1a1a2e; transform: translateY(-2px); } .public-nav a span { position: relative; z-index: 1; } .public-nav a.active { color: #1a1a2e; background: linear-gradient(135deg, rgba(26, 26, 46, 0.1) 0%, rgba(22, 33, 62, 0.15) 100%); } .public-nav a.active::after { content: ; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 3px; background: linear-gradient(90deg, transparent, #1a1a2e, transparent); border-radius: 2px; animation: slideIn 0.3s ease; } @keyframes slideIn { from { width: 0; } to { width: 60%; } } .header-actions { display: flex; align-items: center; gap: 1rem; } .header-login-btn { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white !important; padding: 0.625rem 1.5rem !important; border-radius: 10px; font-weight: 700; box-shadow: 0 4px 12px rgba(26, 26, 46, 0.2); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .header-login-btn::before { content: ; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%); transition: left 0.3s ease; z-index: 0; } .header-login-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3); } .header-login-btn:hover::before { left: 0; } .header-login-btn span { position: relative; z-index: 1; } .header-login-btn.active { background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%); } .mobile-menu-toggle-public { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 0.5rem; border-radius: 6px; transition: all 0.3s ease; } .mobile-menu-toggle-public:hover { background: rgba(26, 26, 46, 0.05); } .mobile-menu-toggle-public span { width: 26px; height: 3px; background: #1a1a2e; border-radius: 3px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .mobile-menu-toggle-public.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); } .mobile-menu-toggle-public.active span:nth-child(2) { opacity: 0; } .mobile-menu-toggle-public.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); } /* Desktop View - Masaüstü Görünüm */ @media (min-width: 1025px) { .public-nav { display: flex; position: static; width: auto; height: auto; background: transparent; box-shadow: none; padding: 0; } .mobile-menu-toggle-public { display: none; } } /* Tablet View - Tablet Görünüm */ @media (min-width: 769px) and (max-width: 1024px) { .public-nav { display: flex; position: static; width: auto; height: auto; background: transparent; box-shadow: none; padding: 0; } .public-nav a { padding: 0.5rem 1rem; font-size: 0.9rem; } .mobile-menu-toggle-public { display: none; } } /* Mobile View - Mobil Görünüm */ @media (max-width: 768px) { .public-header { padding: 0.75rem 0; } .header-container { padding: 0 1rem; } .header-logo img { height: 40px; } .header-logo-text { font-size: 1.5rem; } .public-nav { position: fixed; top: 70px; left: -100%; width: 280px; height: calc(100vh - 70px); background: white; flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; gap: 0.5rem; box-shadow: 2px 0 30px rgba(26, 26, 46, 0.15); transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 999; overflow-y: auto; } .public-nav.active { left: 0; } .public-nav a { width: 100%; padding: 0.875rem 1rem; font-size: 0.95rem; border-radius: 10px; } .header-login-btn { width: 100%; text-align: center; margin-top: 0.5rem; } .mobile-menu-toggle-public { display: flex; } .mobile-menu-toggle-public span { width: 22px; height: 2.5px; } } /* Small Mobile View - Küçük Mobil Görünüm */ @media (max-width: 480px) { .public-header { padding: 0.625rem 0; } .header-container { padding: 0 0.75rem; } .header-logo img { height: 35px; } .header-logo-text { font-size: 1.25rem; } .public-nav { width: 100%; top: 60px; height: calc(100vh - 60px); padding: 1.5rem 1rem; } .public-nav a { padding: 0.75rem; font-size: 0.9rem; } .mobile-menu-toggle-public span { width: 20px; height: 2px; } } /style>/head>body> header classpublic-header idpublicHeader> div classheader-container> a hrefindex.php classheader-logo> img srclogo.png altTuğra Gümrük styleheight: 50px; width: auto; object-fit: contain;> /a> nav classpublic-nav idpublicNav> a hrefindex.php classactive> span>Ana Sayfa/span> /a> a hrefhizmetler.php class> span>Hizmetlerimiz/span> /a> a hrefhizmet-bolgeleri.php class> span>Hizmet Bölgeleri/span> /a> a hrefhakkimizda.php class> span>Hakkımızda/span> /a> a hrefiletisim.php class> span>İletişim/span> /a> a hreflogin.php classheader-login-btn> span>Giriş Yap/span> /a> /nav> div classheader-actions> button classmobile-menu-toggle-public idmobileMenuTogglePublic aria-labelMenü> span>/span> span>/span> span>/span> /button> /div> /div> /header> script> document.addEventListener(DOMContentLoaded, function() { // Mobile menu toggle const mobileToggle document.getElementById(mobileMenuTogglePublic); const publicNav document.getElementById(publicNav); if (mobileToggle && publicNav) { mobileToggle.addEventListener(click, function() { publicNav.classList.toggle(active); mobileToggle.classList.toggle(active); }); // Dışarı tıklanınca kapat document.addEventListener(click, function(e) { if (!e.target.closest(.public-nav) && !e.target.closest(.mobile-menu-toggle-public)) { publicNav.classList.remove(active); mobileToggle.classList.remove(active); } }); } // Header scroll effect const header document.getElementById(publicHeader); if (header) { window.addEventListener(scroll, function() { if (window.scrollY > 50) { header.classList.add(scrolled); } else { header.classList.remove(scrolled); } }); } }); /script> main stylemargin-top: 80px;>style> /* Hero Slider - Sade Siyah Beyaz Tasarım */ .hero-slider { position: relative; height: 100vh; min-height: 700px; overflow: hidden; margin-top: -80px; padding-top: 80px; background: #000000; } .slider-container { position: relative; width: 100%; height: 100%; } .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 2s ease-in-out; background-size: cover; background-position: center; background-repeat: no-repeat; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; display: flex; align-items: center; justify-content: center; } .slide.active { opacity: 1; z-index: 2; } .slide::before { content: ; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%); z-index: 1; } .slide-content { position: relative; z-index: 3; text-align: center; color: white; max-width: 1200px; padding: 0 2rem; opacity: 0; transform: translateY(30px); transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out; } .slide.active .slide-content { opacity: 1; transform: translateY(0); } /* İlk slideın içeriği başlangıçta görünür olmalı */ .slide.active:first-child .slide-content, .slide:first-child.active .slide-content { opacity: 1; transform: translateY(0); } .slide-content h1 { font-size: 4rem; font-weight: 700; margin: 0 0 1.5rem 0; text-shadow: 0 2px 20px rgba(0,0,0,0.3); letter-spacing: -1px; line-height: 1.2; } .slide-content p { font-size: 1.3rem; margin: 0 0 2.5rem 0; opacity: 0.95; font-weight: 300; text-shadow: 0 1px 10px rgba(0,0,0,0.2); } .slide-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; } .btn-hero { padding: 1rem 2.5rem; font-size: 1rem; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; display: inline-block; border: 2px solid white; } .btn-hero-primary { background: white; color: #000000; } .btn-hero-primary:hover { background: #f5f5f5; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); } .btn-hero-outline { background: transparent; color: white; } .btn-hero-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); } .slider-nav { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 12px; } .slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all 0.3s ease; border: 2px solid white; } .slider-dot.active { background: white; width: 32px; border-radius: 6px; } .slider-arrows { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; font-size: 1.5rem; color: white; } .slider-arrows:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-50%) scale(1.1); } .slider-prev { left: 30px; } .slider-next { right: 30px; } /* Search Section - Sade Siyah Beyaz Tasarım */ .search-section { position: relative; z-index: 5; padding: 4rem 2rem; background: #ffffff; } .search-container { max-width: 900px; margin: 0 auto; background: white; border-radius: 16px; padding: 3rem; box-shadow: 0 10px 40px rgba(0,0,0,0.1); border: 1px solid #e9ecef; position: relative; z-index: 1; } .search-title { font-size: 1.75rem; font-weight: 700; margin: 0 0 0.5rem 0; color: #000000; text-align: center; } .search-description { text-align: center; color: #6c757d; margin: 0 0 2rem 0; font-size: 1rem; } .search-form { display: flex; gap: 1rem; margin-bottom: 1.5rem; } .search-input-wrapper { flex: 1; position: relative; } .search-input { width: 100%; padding: 1rem 1.5rem; padding-left: 3rem; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 1rem; transition: all 0.3s; background: #f5f5f5; color: #000000; } .search-input:focus { outline: none; border-color: #000000; background: white; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1); } .search-icon { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: #6c757d; } .search-btn { padding: 1rem 2.5rem; background: #000000; color: white; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; } .search-btn:hover { background: #333333; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); } /* Online Users in Search Box */ .online-users-in-search { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e9ecef; } .online-users-title { font-size: 0.875rem; font-weight: 600; color: #6c757d; margin: 0 0 1rem 0; text-transform: uppercase; letter-spacing: 0.5px; } .online-users-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; } .online-user-card { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; padding: 0.75rem; display: flex; align-items: center; gap: 0.75rem; transition: all 0.2s ease; } .online-user-card:hover { background: #e9ecef; border-color: #dee2e6; } .online-indicator { width: 8px; height: 8px; border-radius: 50%; background: #28a745; flex-shrink: 0; box-shadow: 0 0 0 2px white, 0 0 0 4px rgba(40, 167, 69, 0.2); } .online-user-info { flex: 1; min-width: 0; } .online-user-name { font-weight: 600; font-size: 0.875rem; color: #1a1a2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0.15rem; } .online-user-role { font-size: 0.75rem; color: #6c757d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Results */ .results-container { margin-top: 2rem; animation: fadeIn 0.5s ease; } .error-message { background: #f5f5f5; border: 1px solid #d0d0d0; color: #000000; padding: 1rem; border-radius: 8px; text-align: center; font-weight: 500; } .result-card { background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; transition: all 0.3s ease; } .result-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-color: #000000; } .result-card h3 { margin: 0 0 1rem 0; color: #000000; font-size: 1.25rem; } /* Services Section - Sade Tasarım */ .services-section { padding: 6rem 0; background: white; } .section-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; } .section-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin: 0 0 1rem 0; color: #000000; letter-spacing: -1px; } .section-subtitle { text-align: center; color: #6c757d; margin: 0 0 4rem 0; font-size: 1.1rem; max-width: 700px; margin-left: auto; margin-right: auto; } .services-carousel-wrapper { position: relative; overflow: hidden; margin: 2rem 0; } .services-carousel { display: flex; gap: 2rem; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; } .service-card { flex: 0 0 calc(33.333% - 1.33rem); min-width: 0; } .services-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; } .services-nav-btn { width: 50px; height: 50px; border-radius: 50%; background: #000000; color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.2); } .services-nav-btn:hover { background: #333333; transform: scale(1.1); box-shadow: 0 4px 12px rgba(0,0,0,0.25); } .services-nav-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .services-dots { display: flex; gap: 0.75rem; align-items: center; } .services-dot { width: 12px; height: 12px; border-radius: 50%; background: #e9ecef; border: 2px solid #dee2e6; cursor: pointer; transition: all 0.3s ease; } .services-dot.active { background: #000000; border-color: #000000; width: 32px; border-radius: 6px; } .service-card { background: white; border-radius: 12px; padding: 2.5rem; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border: 1px solid #e0e0e0; } .service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); border-color: #000000; } .service-icon { font-size: 3rem; margin-bottom: 1.5rem; display: inline-block; filter: grayscale(100%) brightness(0); } .service-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem 0; color: #000000; } .service-description { color: #6c757d; line-height: 1.7; font-size: 0.95rem; } /* Regions Section - Sade Siyah Beyaz Tasarım */ .regions-section { padding: 6rem 0; background: #f5f5f5; position: relative; overflow: hidden; } .regions-section::before { content: ; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 50%); pointer-events: none; } .regions-modern-container { position: relative; z-index: 1; } .regions-masonry { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 3rem; } .region-modern-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; position: relative; animation: fadeInUp 0.6s ease backwards; } .region-modern-card:nth-child(1) { animation-delay: 0.1s; } .region-modern-card:nth-child(2) { animation-delay: 0.2s; } .region-modern-card:nth-child(3) { animation-delay: 0.3s; } .region-modern-card:nth-child(4) { animation-delay: 0.4s; } .region-modern-card:nth-child(n+5) { animation-delay: 0.5s; } .region-modern-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.15); } .region-modern-card.active { transform: translateY(-10px) scale(1.02); box-shadow: 0 12px 40px rgba(26, 26, 46, 0.2); } .region-modern-card.active::before { content: ; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #000000; z-index: 2; } .region-card-header { position: relative; height: 200px; overflow: hidden; } .region-card-map { width: 100%; height: 100%; border: none; display: block; transition: transform 0.5s ease; } .region-modern-card:hover .region-card-map { transform: scale(1.1); } .region-card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%); display: flex; align-items: flex-end; padding: 1.5rem; } .region-card-title-overlay { color: white; font-size: 1.5rem; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.3); margin: 0; } .region-card-body { padding: 2rem; } .region-card-info { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; } .region-card-info-item { display: flex; align-items: flex-start; gap: 1rem; padding: 0.75rem; background: #f8f9fa; border-radius: 10px; transition: all 0.3s ease; } .region-card-info-item:hover { background: #e9ecef; transform: translateX(5px); } .region-card-info-icon { font-size: 1.5rem; flex-shrink: 0; filter: grayscale(100%) brightness(0); } .region-card-info-text { flex: 1; color: #6c757d; font-size: 0.95rem; line-height: 1.6; } .region-card-info-text strong { color: #000000; display: block; margin-bottom: 0.25rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.5px; } .region-card-actions { display: flex; gap: 1rem; margin-top: 1.5rem; } .region-card-btn { flex: 1; padding: 0.875rem 1.5rem; border: none; border-radius: 10px; font-weight: 600; font-size: 0.9rem; cursor: pointer; text-decoration: none; text-align: center; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; } .region-card-btn-primary { background: #000000; color: white; } .region-card-btn-primary:hover { background: #333333; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); } .region-card-btn-secondary { background: #f5f5f5; color: #000000; border: 2px solid #e0e0e0; } .region-card-btn-secondary:hover { background: #e8e8e8; border-color: #000000; transform: translateY(-2px); } .region-card-placeholder { width: 100%; height: 200px; background: #e8e8e8; display: flex; align-items: center; justify-content: center; color: #666666; font-size: 1.1rem; flex-direction: column; gap: 0.5rem; } .region-card-placeholder-icon { font-size: 3rem; opacity: 0.5; filter: grayscale(100%) brightness(0); } /* Animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* Desktop View - Masaüstü Görünüm */ @media (min-width: 1025px) { .hero-slider { height: 100vh; min-height: 700px; } .slide-content h1 { font-size: 4rem; } .slide-content p { font-size: 1.3rem; } .search-container { padding: 3rem; } .services-carousel { gap: 2rem; } .service-card { flex: 0 0 calc(33.333% - 1.33rem); } .regions-masonry { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); } .slider-arrows { width: 50px; height: 50px; font-size: 1.5rem; } .slider-prev { left: 30px; } .slider-next { right: 30px; } } /* Tablet View - Tablet Görünüm */ @media (min-width: 769px) and (max-width: 1024px) { .hero-slider { height: 80vh; min-height: 550px; } .slide-content h1 { font-size: 2.5rem; } .slide-content p { font-size: 1.1rem; } .search-container { padding: 2rem; } .services-carousel { gap: 1.5rem; } .service-card { flex: 0 0 calc(50% - 0.75rem); } .regions-masonry { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .slider-arrows { width: 44px; height: 44px; font-size: 1.25rem; } .slider-prev { left: 20px; } .slider-next { right: 20px; } } /* Mobile View - Mobil Görünüm */ @media (max-width: 768px) { .hero-slider { height: 70vh; min-height: 450px; margin-top: 0; padding-top: 0; } .slide-content { padding: 2rem 1.5rem; } .slide-content img { max-width: 200px !important; margin-bottom: 1rem !important; } .slide-content h1 { font-size: 1.8rem; margin-bottom: 1rem; } .slide-content p { font-size: 1rem; margin-bottom: 1.5rem; } .slide-buttons { flex-direction: column; gap: 0.75rem; } .btn-hero { width: 100%; padding: 0.875rem 1.5rem; } .search-section { padding: 3rem 1rem !important; margin-top: 0 !important; } .search-container { padding: 1.5rem 1rem; border-radius: 12px; } .search-title { font-size: 1.5rem; } .search-description { font-size: 0.9rem; } .search-form { flex-direction: column; gap: 1rem; } .search-input { font-size: 1rem; padding: 1rem; padding-left: 2.5rem; } .search-icon { left: 1rem; } .search-btn { width: 100%; padding: 1rem; font-size: 1rem; } .online-users-in-search { margin-top: 1.5rem; padding-top: 1.5rem; } .online-users-title { font-size: 0.85rem; margin-bottom: 0.75rem; } .online-users-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; } .online-user-card { padding: 0.625rem; } .online-user-name { font-size: 0.8rem; } .online-user-role { font-size: 0.7rem; } .section-title { font-size: 1.75rem; margin-bottom: 1.5rem; } .section-subtitle { font-size: 1rem; } .services-section { padding: 3rem 1rem; } .services-carousel { gap: 1rem; padding: 0 0.5rem; } .service-card { flex: 0 0 calc(100% - 1rem); padding: 1.5rem; } .service-icon { font-size: 2.5rem; } .service-title { font-size: 1.25rem; } .service-description { font-size: 0.9rem; } .services-nav-btn { width: 36px; height: 36px; font-size: 1rem; } .regions-section { padding: 3rem 1rem; } .regions-masonry { grid-template-columns: 1fr; gap: 1.5rem; } .region-modern-card { border-radius: 12px; } .region-card-header { height: 200px; } .region-card-body { padding: 1.25rem; } .region-card-title-overlay { font-size: 1.25rem; } .region-card-info-text { font-size: 0.9rem; } .region-card-actions { flex-direction: column; gap: 0.75rem; margin-top: 1rem; } .region-card-btn { width: 100%; padding: 0.75rem; font-size: 0.9rem; } .slider-arrows { width: 36px; height: 36px; font-size: 1rem; } .slider-prev { left: 10px; } .slider-next { right: 10px; } .slider-nav { bottom: 15px; } .slider-dot { width: 8px; height: 8px; } .section-container { padding: 0 1rem; } .result-card { padding: 1rem; } .result-card h3 { font-size: 1.1rem; } .result-card > divstyle*grid { grid-template-columns: 1fr !important; gap: 0.75rem !important; } } /* Small Mobile View - Küçük Mobil Görünüm */ @media (max-width: 480px) { .hero-slider { height: 60vh; min-height: 400px; } .slide-content { padding: 1.5rem 1rem; } .slide-content img { max-width: 150px !important; } .slide-content h1 { font-size: 1.5rem; } .slide-content p { font-size: 0.9rem; } .search-container { padding: 1.25rem 0.75rem; } .search-title { font-size: 1.25rem; } .search-description { font-size: 0.85rem; } .section-title { font-size: 1.5rem; } .section-subtitle { font-size: 0.9rem; } .service-card { padding: 1.25rem; } .service-icon { font-size: 2rem; } .service-title { font-size: 1.1rem; } .service-description { font-size: 0.85rem; } .region-card-header { height: 180px; } .region-card-body { padding: 1rem; } .region-card-info-item { padding: 0.625rem; } .region-card-info-icon { font-size: 1.25rem; } .slider-arrows { width: 32px; height: 32px; font-size: 0.9rem; } .slider-prev { left: 5px; } .slider-next { right: 5px; } } /* Statistics Section - İstatistikler Bölümü */ .stats-section { padding: 5rem 0; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white; position: relative; overflow: hidden; } .stats-section::before { content: ; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%); pointer-events: none; } .stats-grid-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; position: relative; z-index: 1; } .stat-card-modern { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 2rem; text-align: center; transition: all 0.3s ease; animation: fadeInUp 0.6s ease backwards; } .stat-card-modern:nth-child(1) { animation-delay: 0.1s; } .stat-card-modern:nth-child(2) { animation-delay: 0.2s; } .stat-card-modern:nth-child(3) { animation-delay: 0.3s; } .stat-card-modern:nth-child(4) { animation-delay: 0.4s; } .stat-card-modern:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.15); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } .stat-icon-modern { font-size: 3.5rem; margin-bottom: 1rem; display: block; } .stat-number-modern { font-size: 3rem; font-weight: 700; margin: 0.5rem 0; background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .stat-label-modern { font-size: 1.1rem; opacity: 0.9; font-weight: 500; } /* Features Section - Sade Siyah Beyaz Özellikler Bölümü (Carousel) */ .features-section { padding: 6rem 0; background: #ffffff; } .features-carousel-wrapper { position: relative; overflow: hidden; margin: 2rem 0; } .features-carousel { display: flex; gap: 2rem; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; } .feature-card { flex: 0 0 calc(33.333% - 1.33rem); min-width: 0; } .features-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; } .features-nav-btn { width: 50px; height: 50px; border-radius: 50%; background: #000000; color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.2); } .features-nav-btn:hover { background: #333333; transform: scale(1.1); box-shadow: 0 4px 12px rgba(0,0,0,0.25); } .features-nav-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .features-dots { display: flex; gap: 0.75rem; align-items: center; } .features-dot { width: 12px; height: 12px; border-radius: 50%; background: #e0e0e0; border: 2px solid #d0d0d0; cursor: pointer; transition: all 0.3s ease; } .features-dot.active { background: #000000; border-color: #000000; width: 32px; border-radius: 6px; } .feature-card { background: white; border-radius: 16px; padding: 2.5rem; border: 1px solid #e0e0e0; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); border-color: #000000; } .feature-icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; filter: grayscale(100%) brightness(0); } .feature-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem 0; color: #000000; } .feature-description { color: #6c757d; line-height: 1.7; font-size: 0.95rem; } /* Testimonials Section - Referanslar Bölümü */ .testimonials-section { padding: 6rem 0; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); } .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; } .testimonial-card { background: white; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid #e9ecef; transition: all 0.3s ease; } .testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); } .testimonial-quote { font-size: 1.1rem; color: #1a1a2e; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; } .testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid #e9ecef; } .testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.25rem; } .testimonial-info h4 { margin: 0 0 0.25rem 0; color: #1a1a2e; font-size: 1rem; } .testimonial-info p { margin: 0; color: #6c757d; font-size: 0.875rem; } /* CTA Section - Sade Siyah Beyaz İletişim Çağrısı */ .cta-section { padding: 6rem 0; background: #000000; color: white; text-align: center; position: relative; overflow: hidden; } .cta-section::before { content: ; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%); pointer-events: none; } .cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 2rem; } .cta-title { font-size: 2.5rem; font-weight: 700; margin: 0 0 1rem 0; } .cta-description { font-size: 1.2rem; margin: 0 0 2.5rem 0; opacity: 0.9; } .cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; } .btn-cta { padding: 1rem 2.5rem; font-size: 1rem; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.3s ease; display: inline-block; } .btn-cta-primary { background: white; color: #000000; } .btn-cta-primary:hover { background: #f5f5f5; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); } .btn-cta-outline { background: transparent; color: white; border: 2px solid white; } .btn-cta-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); } /* Mobile Responsive - İstatistikler */ @media (max-width: 768px) { .stats-section { padding: 3rem 0; } .stats-grid-modern { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; } .stat-card-modern { padding: 1.5rem; } .stat-icon-modern { font-size: 2.5rem; } .stat-number-modern { font-size: 2rem; } .stat-label-modern { font-size: 0.95rem; } .features-section { padding: 3rem 0; } .features-carousel { gap: 1rem; padding: 0 0.5rem; } .feature-card { flex: 0 0 calc(100% - 1rem); padding: 1.5rem; } .features-nav-btn { width: 36px; height: 36px; font-size: 1rem; } .feature-icon { font-size: 2.5rem; } .feature-title { font-size: 1.25rem; } .testimonials-section { padding: 3rem 0; } .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; } .testimonial-card { padding: 1.5rem; } .testimonial-quote { font-size: 1rem; } .cta-section { padding: 3rem 0; } .cta-title { font-size: 1.75rem; } .cta-description { font-size: 1rem; } .cta-buttons { flex-direction: column; gap: 1rem; } .btn-cta { width: 100%; } } @media (max-width: 480px) { .stat-card-modern { padding: 1.25rem; } .stat-icon-modern { font-size: 2rem; } .stat-number-modern { font-size: 1.75rem; } .stat-label-modern { font-size: 0.875rem; } .feature-card { padding: 1.25rem; } .feature-icon { font-size: 2rem; } .feature-title { font-size: 1.1rem; } .features-carousel { gap: 1rem; padding: 0 0.5rem; } .feature-card { flex: 0 0 calc(100% - 1rem); padding: 1.25rem; } .features-nav-btn { width: 36px; height: 36px; font-size: 1rem; } .cta-title { font-size: 1.5rem; } .cta-description { font-size: 0.9rem; } }/style>!-- Hero Slider -->section classhero-slider> div classslider-container> !-- Slide 1 --> div classslide active stylebackground-image: url(silder1.webp);> div classslide-content> img srclogo.png altTuğra Gümrük stylemax-width: 400px; height: auto; margin-bottom: 2rem; filter: invert(1) drop-shadow(0 4px 20px rgba(0,0,0,0.3));> h1>Profesyonel Gümrük Hizmetleri/h1> p>Yılların deneyimi ile yanınızdayız/p> div classslide-buttons> a hrefhizmetler.php classbtn-hero btn-hero-primary>Hizmetlerimiz/a> a hrefiletisim.php classbtn-hero btn-hero-outline>İletişime Geçin/a> /div> /div> /div> !-- Slide 2 --> div classslide stylebackground-image: url(slider2.webp);> div classslide-content> img srclogo.png altTuğra Gümrük stylemax-width: 400px; height: auto; margin-bottom: 2rem; filter: invert(1) drop-shadow(0 4px 20px rgba(0,0,0,0.3));> h1>Hızlı ve Güvenilir Çözümler/h1> p>Gümrük işlemlerinizde profesyonel destek/p> div classslide-buttons> a href#arama classbtn-hero btn-hero-primary>İşlem Sorgula/a> a hrefhizmetler.php classbtn-hero btn-hero-outline>Detaylı Bilgi/a> /div> /div> /div> !-- Slide 3 --> div classslide stylebackground-image: url(slider3.webp);> div classslide-content> img srclogo.png altTuğra Gümrük stylemax-width: 400px; height: auto; margin-bottom: 2rem; filter: invert(1) drop-shadow(0 4px 20px rgba(0,0,0,0.3));> h1>Türkiye Genelinde Hizmet/h1> p>Geniş hizmet ağımız ile her zaman yanınızdayız/p> div classslide-buttons> a hrefhizmet-bolgeleri.php classbtn-hero btn-hero-primary>Hizmet Bölgeleri/a> a hrefiletisim.php classbtn-hero btn-hero-outline>Bize Ulaşın/a> /div> /div> /div> /div> !-- Slider Navigation --> div classslider-nav> div classslider-dot active data-slide0>/div> div classslider-dot data-slide1>/div> div classslider-dot data-slide2>/div> /div> !-- Slider Arrows --> div classslider-arrows slider-prev idsliderPrev>‹/div> div classslider-arrows slider-next idsliderNext>›/div>/section>!-- Search Section -->section classsearch-section idarama> div classsearch-container> h2 classsearch-title>🔍 İşlem Durumu Sorgula/h2> p classsearch-description>Plaka, çekici plakası veya konteyner numarası ile işlem durumunuzu sorgulayabilirsiniz/p> form methodGET action classsearch-form> div classsearch-input-wrapper> span classsearch-icon>🔍/span> input typetext nameplaka classsearch-input placeholderPlaka, Çekici Plakası veya Konteyner No girin... value required> /div> button typesubmit classsearch-btn>Sorgula/button> /form> !-- Online Users in Search Box --> div classonline-users-in-search> h3 classonline-users-title>🟢 Online Personel/h3> div classonline-users-grid> div classonline-user-card> div classonline-indicator titleOnline>/div> div classonline-user-info> div classonline-user-name>BARAN ÖZDEMİR/div> div classonline-user-role> Kullanıcı - PENDİK /div> /div> /div> div classonline-user-card> div classonline-indicator titleOnline>/div> div classonline-user-info> div classonline-user-name>Cevdet KILIÇ/div> div classonline-user-role> Yönetici - GEMLİK /div> /div> /div> div classonline-user-card> div classonline-indicator titleOnline>/div> div classonline-user-info> div classonline-user-name>Emre USLU/div> div classonline-user-role> Kullanıcı - PENDİK /div> /div> /div> div classonline-user-card> div classonline-indicator titleOnline>/div> div classonline-user-info> div classonline-user-name>Gündüz ANTAĞ/div> div classonline-user-role> Kullanıcı - YALOVA /div> /div> /div> div classonline-user-card> div classonline-indicator titleOnline>/div> div classonline-user-info> div classonline-user-name>Koray KILIÇ/div> div classonline-user-role> Yönetici - YALOVA /div> /div> /div> div classonline-user-card> div classonline-indicator titleOnline>/div> div classonline-user-info> div classonline-user-name>Mehmet GÜCER/div> div classonline-user-role> Kullanıcı - GEMLİK /div> /div> /div> div classonline-user-card> div classonline-indicator titleOnline>/div> div classonline-user-info> div classonline-user-name>Sinan ŞAHİN/div> div classonline-user-role> Kullanıcı - PENDİK /div> /div> /div> /div> /div> /div>/section>!-- Services Section -->section classservices-section idhizmetler> div classsection-container> h2 classsection-title>Hizmetlerimiz/h2> p classsection-subtitle>Profesyonel gümrük hizmetleri ile ticaretinize değer katıyoruz/p> div classservices-carousel-wrapper> div classservices-carousel idservicesCarousel> div classservice-card> div classservice-icon>🚚/div> h3 classservice-title>Transit İşlemleri/h3> p classservice-description>İthalat vergileri ve ticaret politikası önlemlerine tabi tutulmayan serbest dolaşıma girmemiş eşyanın gümrük gözetimi altında Türkiye Gümrük Bölgesi içindeki bir noktadan diğerine taşınmasıdır./p> /div> div classservice-card> div classservice-icon>📄/div> h3 classservice-title>Özet Beyan/h3> p classservice-description>Eşyayı Türkiye Gümrük Bölgesine getiren veya eşyanın Gümrük Bölgesine taşıma sorumluluğunu üstlenen kişi ve kurumlar tarafından verilen beyandır türüdür./p> /div> div classservice-card> div classservice-icon>📦/div> h3 classservice-title>Teslim Alma İşlemleri/h3> p classservice-description>Transit Beyanname ile Gümrük Bölgesine gelen eşyanın Özet Beyan türüdür. Saha personeli performansı ön planda olan bir işlemdir. Bu işlemler de ihtiyaç duyulan sürat ve performansı Tuğra olarak sağlamaktayız./p> /div> div classservice-card> div classservice-icon>🚛/div> h3 classservice-title>Tır Tescil İşlemleri/h3> p classservice-description>Tır ve Kamyonların Türkiye Gümrük Bölgesinde İthalat, İhracat ve Transit işlemlerinin yapılarak gerekli Gümrük prosedürlerinin tamamlanmasıdır./p> /div> /div> div classservices-nav> button classservices-nav-btn idservicesPrev>‹/button> div classservices-dots idservicesDots>/div> button classservices-nav-btn idservicesNext>›/button> /div> /div> div styletext-align: center; margin-top: 3rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;> a hrefhizmetler.php classbtn-hero btn-hero-primary stylecolor: #000000; border-color: #000000;>Tüm Hizmetlerimizi Görüntüle/a> a hrefhizmet-bolgeleri.php classbtn-hero btn-hero-outline stylecolor: #000000; border-color: #000000;>Hizmet Bölgelerimiz/a> /div> /div>/section>!-- Features Section - Özellikler (Carousel) -->section classfeatures-section idozellikler> div classsection-container> h2 classsection-title>Neden Tuğra Gümrük?/h2> p classsection-subtitle>Profesyonel ekibimiz ve modern teknolojimiz ile size en iyi hizmeti sunuyoruz/p> div classfeatures-carousel-wrapper> div classfeatures-carousel idfeaturesCarousel> div classfeature-card> span classfeature-icon>⚡/span> h3 classfeature-title>Hızlı İşlem/h3> p classfeature-description>Gümrük işlemleriniz en kısa sürede tamamlanır. Zaman kaybı yaşamadan işlerinize devam edin./p> /div> div classfeature-card> span classfeature-icon>🔒/span> h3 classfeature-title>Güvenilir Hizmet/h3> p classfeature-description>Yılların deneyimi ile güvenilir ve profesyonel hizmet garantisi. Belgeleriniz güvende./p> /div> div classfeature-card> span classfeature-icon>💼/span> h3 classfeature-title>Uzman Ekip/h3> p classfeature-description>Alanında uzman personelimiz ile her zaman yanınızdayız. Sorularınıza anında çözüm buluyoruz./p> /div> div classfeature-card> span classfeature-icon>📱/span> h3 classfeature-title>Online Takip/h3> p classfeature-description>İşlemlerinizi online olarak takip edin. Plaka veya takip numarası ile anında sorgulama yapın./p> /div> div classfeature-card> span classfeature-icon>🌍/span> h3 classfeature-title>Geniş Hizmet Ağı/h3> p classfeature-description>Türkiye genelinde geniş hizmet ağımız ile her zaman yanınızdayız. Tüm limanlarda hizmet veriyoruz./p> /div> div classfeature-card> span classfeature-icon>💰/span> h3 classfeature-title>Uygun Fiyatlar/h3> p classfeature-description>Kaliteli hizmeti uygun fiyatlarla sunuyoruz. Şeffaf fiyatlandırma politikamız ile güvenle çalışın./p> /div> /div> div classfeatures-nav> button classfeatures-nav-btn idfeaturesPrev>‹/button> div classfeatures-dots idfeaturesDots>/div> button classfeatures-nav-btn idfeaturesNext>›/button> /div> /div> /div>/section>!-- CTA Section - İletişim Çağrısı -->section classcta-section idiletisim-cta> div classcta-content> h2 classcta-title>Hemen İletişime Geçin/h2> p classcta-description>Gümrük işlemleriniz için profesyonel destek almak istiyorsanız, bizimle iletişime geçin. Size en uygun çözümü birlikte bulalım./p> div classcta-buttons> a hrefiletisim.php classbtn-cta btn-cta-primary>İletişime Geçin/a> a hrefhizmetler.php classbtn-cta btn-cta-outline>Hizmetlerimiz/a> /div> /div>/section>!-- Regions Section - Footerın Üstünde -->section classregions-section idbolgeler> div classsection-container> h2 classsection-title>Hizmet Verdiğimiz Bölgeler/h2> p classsection-subtitle>Türkiye genelinde geniş hizmet ağımız ile yanınızdayız/p> div classregions-modern-container> div classregions-masonry> div classregion-modern-card active data-bolge-id1 data-bolge-adiGemlik Limanı data-enlem40.41670000 data-boylam29.11670000 data-adresGemport Limanı (Bursa - Gemlik) data-iletisim05322929882> !-- Harita Header --> div classregion-card-header> iframe srchttps://www.google.com/maps?q40.41670000,29.11670000&hltr&z15&outputembed classregion-card-map allowfullscreen loadinglazy referrerpolicyno-referrer-when-downgrade> /iframe> div classregion-card-overlay> h3 classregion-card-title-overlay>Gemlik Limanı/h3> /div> /div> !-- Card Body --> div classregion-card-body> div classregion-card-info> div classregion-card-info-item> span classregion-card-info-icon>📍/span> div classregion-card-info-text> strong>Adres/strong> Gemport Limanı (Bursa - Gemlik) /div> /div> div classregion-card-info-item> span classregion-card-info-icon>📞/span> div classregion-card-info-text> strong>İletişim/strong> 05322929882 /div> /div> /div> div classregion-card-actions> a hrefhttps://www.google.com/maps/dir/?api1&destination40.41670000,29.11670000 target_blank classregion-card-btn region-card-btn-primary> 🧭 Yol Tarifi /a> a hrefhttps://www.google.com/maps?q40.41670000,29.11670000 target_blank classregion-card-btn region-card-btn-secondary> 📍 Haritada Gör /a> /div> /div> /div> div classregion-modern-card data-bolge-id2 data-bolge-adiPendik Limanı data-enlem40.87420000 data-boylam29.24100000 data-adresPendik Limanı (İstanbul - Pendik) data-iletisim05322929882> !-- Harita Header --> div classregion-card-header> iframe srchttps://www.google.com/maps?q40.87420000,29.24100000&hltr&z15&outputembed classregion-card-map allowfullscreen loadinglazy referrerpolicyno-referrer-when-downgrade> /iframe> div classregion-card-overlay> h3 classregion-card-title-overlay>Pendik Limanı/h3> /div> /div> !-- Card Body --> div classregion-card-body> div classregion-card-info> div classregion-card-info-item> span classregion-card-info-icon>📍/span> div classregion-card-info-text> strong>Adres/strong> Pendik Limanı (İstanbul - Pendik) /div> /div> div classregion-card-info-item> span classregion-card-info-icon>📞/span> div classregion-card-info-text> strong>İletişim/strong> 05322929882 /div> /div> /div> div classregion-card-actions> a hrefhttps://www.google.com/maps/dir/?api1&destination40.87420000,29.24100000 target_blank classregion-card-btn region-card-btn-primary> 🧭 Yol Tarifi /a> a hrefhttps://www.google.com/maps?q40.87420000,29.24100000 target_blank classregion-card-btn region-card-btn-secondary> 📍 Haritada Gör /a> /div> /div> /div> div classregion-modern-card data-bolge-id3 data-bolge-adiYalova Limanı data-enlem40.65560000 data-boylam29.27470000 data-adresYalova Limanı (Yalova) data-iletisim05322929882> !-- Harita Header --> div classregion-card-header> iframe srchttps://www.google.com/maps?q40.65560000,29.27470000&hltr&z15&outputembed classregion-card-map allowfullscreen loadinglazy referrerpolicyno-referrer-when-downgrade> /iframe> div classregion-card-overlay> h3 classregion-card-title-overlay>Yalova Limanı/h3> /div> /div> !-- Card Body --> div classregion-card-body> div classregion-card-info> div classregion-card-info-item> span classregion-card-info-icon>📍/span> div classregion-card-info-text> strong>Adres/strong> Yalova Limanı (Yalova) /div> /div> div classregion-card-info-item> span classregion-card-info-icon>📞/span> div classregion-card-info-text> strong>İletişim/strong> 05322929882 /div> /div> /div> div classregion-card-actions> a hrefhttps://www.google.com/maps/dir/?api1&destination40.65560000,29.27470000 target_blank classregion-card-btn region-card-btn-primary> 🧭 Yol Tarifi /a> a hrefhttps://www.google.com/maps?q40.65560000,29.27470000 target_blank classregion-card-btn region-card-btn-secondary> 📍 Haritada Gör /a> /div> /div> /div> /div> /div> /div>/section>script>// Slider Functionality - Düzeltilmişlet currentSlide 0;let sliderInterval null;let isTransitioning false;const slides document.querySelectorAll(.slide);const dots document.querySelectorAll(.slider-dot);const totalSlides slides.length;function showSlide(index) { // Eğer geçiş devam ediyorsa bekle if (isTransitioning) return; // Geçerli index kontrolü if (index 0 || index > totalSlides) return; isTransitioning true; // Tüm slideları ve içeriklerini resetle slides.forEach((slide, i) > { slide.classList.remove(active); const content slide.querySelector(.slide-content); if (content && i ! index) { content.style.opacity 0; content.style.transform translateY(30px); } }); dots.forEach(dot > dot.classList.remove(active)); // Aktif slideı göster setTimeout(() > { slidesindex.classList.add(active); dotsindex.classList.add(active); // İçeriği animasyonla göster const activeContent slidesindex.querySelector(.slide-content); if (activeContent) { // Önce opacityyi sıfırla activeContent.style.opacity 0; activeContent.style.transform translateY(30px); // Sonra animasyonla göster setTimeout(() > { activeContent.style.opacity 1; activeContent.style.transform translateY(0); }, 50); } currentSlide index; isTransitioning false; }, 50);}function nextSlide() { if (isTransitioning) return; currentSlide (currentSlide + 1) % totalSlides; showSlide(currentSlide);}function prevSlide() { if (isTransitioning) return; currentSlide (currentSlide - 1 + totalSlides) % totalSlides; showSlide(currentSlide);}// Sliderı durdurfunction stopSlider() { if (sliderInterval) { clearInterval(sliderInterval); sliderInterval null; }}// Sliderı başlatfunction startSlider() { stopSlider(); sliderInterval setInterval(() > { if (!isTransitioning) { nextSlide(); } }, 6000); // 6 saniyede bir geçiş}// Event listeners - DOMContentLoaded içindedocument.addEventListener(DOMContentLoaded, function() { // İlk slideı göster ve içeriğini görünür yap if (slides.length > 0) { const firstSlide slides0; const firstContent firstSlide.querySelector(.slide-content); // İlk slideı aktif yap firstSlide.classList.add(active); dots0?.classList.add(active); // İlk slideın içeriğini hemen görünür yap if (firstContent) { firstContent.style.opacity 1; firstContent.style.transform translateY(0); } currentSlide 0; } // Event listeners const sliderNext document.getElementById(sliderNext); const sliderPrev document.getElementById(sliderPrev); if (sliderNext) { sliderNext.addEventListener(click, () > { stopSlider(); nextSlide(); startSlider(); }); } if (sliderPrev) { sliderPrev.addEventListener(click, () > { stopSlider(); prevSlide(); startSlider(); }); } // Dot navigation dots.forEach((dot, index) > { dot.addEventListener(click, () > { stopSlider(); showSlide(index); startSlider(); }); }); // Slidera hover olduğunda durdur const heroSlider document.querySelector(.hero-slider); if (heroSlider) { heroSlider.addEventListener(mouseenter, stopSlider); heroSlider.addEventListener(mouseleave, startSlider); } // Auto-play sliderı başlat startSlider();});// Services Carousel - Mobil Uyumluif (document.getElementById(servicesCarousel)) { let currentServiceIndex 0; const servicesCarousel document.getElementById(servicesCarousel); const serviceCards document.querySelectorAll(.service-card); const totalServices serviceCards.length; // Mobil için responsive servicesPerView function getServicesPerView() { if (window.innerWidth 768) { return 1; } else if (window.innerWidth 1024) { return 2; } else { return 3; } } let servicesPerView getServicesPerView(); let totalSlides Math.ceil(totalServices / servicesPerView); function updateServicesCarousel() { servicesPerView getServicesPerView(); totalSlides Math.ceil(totalServices / servicesPerView); // Eğer currentServiceIndex geçersizse, sıfırla if (currentServiceIndex > totalSlides) { currentServiceIndex totalSlides - 1; } const offset -currentServiceIndex * (100 / servicesPerView); servicesCarousel.style.transform `translateX(${offset}%)`; // Update dots const dots document.querySelectorAll(.services-dot); dots.forEach((dot, index) > { dot.classList.toggle(active, index currentServiceIndex); }); // Update nav buttons const prevBtn document.getElementById(servicesPrev); const nextBtn document.getElementById(servicesNext); if (prevBtn) prevBtn.disabled currentServiceIndex 0; if (nextBtn) nextBtn.disabled currentServiceIndex > totalSlides - 1; } // Create dots const servicesDotsContainer document.getElementById(servicesDots); if (servicesDotsContainer) { // Önce mevcut dotları temizle servicesDotsContainer.innerHTML ; for (let i 0; i totalSlides; i++) { const dot document.createElement(div); dot.className services-dot + (i 0 ? active : ); dot.addEventListener(click, () > { currentServiceIndex i; updateServicesCarousel(); }); servicesDotsContainer.appendChild(dot); } } // Nav buttons document.getElementById(servicesPrev)?.addEventListener(click, () > { if (currentServiceIndex > 0) { currentServiceIndex--; updateServicesCarousel(); } }); document.getElementById(servicesNext)?.addEventListener(click, () > { if (currentServiceIndex totalSlides - 1) { currentServiceIndex++; updateServicesCarousel(); } }); // Window resize için güncelle let resizeTimeout; window.addEventListener(resize, () > { clearTimeout(resizeTimeout); resizeTimeout setTimeout(() > { updateServicesCarousel(); }, 250); }); // Initialize updateServicesCarousel();}// Features Carousel - Mobil Uyumluif (document.getElementById(featuresCarousel)) { let currentFeatureIndex 0; const featuresCarousel document.getElementById(featuresCarousel); const featureCards document.querySelectorAll(.feature-card); const totalFeatures featureCards.length; // Mobil için responsive featuresPerView function getFeaturesPerView() { if (window.innerWidth 768) { return 1; } else if (window.innerWidth 1024) { return 2; } else { return 3; } } let featuresPerView getFeaturesPerView(); let totalFeatureSlides Math.ceil(totalFeatures / featuresPerView); function updateFeaturesCarousel() { featuresPerView getFeaturesPerView(); totalFeatureSlides Math.ceil(totalFeatures / featuresPerView); // Eğer currentFeatureIndex geçersizse, sıfırla if (currentFeatureIndex > totalFeatureSlides) { currentFeatureIndex totalFeatureSlides - 1; } const offset -currentFeatureIndex * (100 / featuresPerView); featuresCarousel.style.transform `translateX(${offset}%)`; // Update dots const dots document.querySelectorAll(.features-dot); dots.forEach((dot, index) > { dot.classList.toggle(active, index currentFeatureIndex); }); // Update nav buttons const prevBtn document.getElementById(featuresPrev); const nextBtn document.getElementById(featuresNext); if (prevBtn) prevBtn.disabled currentFeatureIndex 0; if (nextBtn) nextBtn.disabled currentFeatureIndex > totalFeatureSlides - 1; } // Create dots const featuresDotsContainer document.getElementById(featuresDots); if (featuresDotsContainer) { // Önce mevcut dotları temizle featuresDotsContainer.innerHTML ; for (let i 0; i totalFeatureSlides; i++) { const dot document.createElement(div); dot.className features-dot + (i 0 ? active : ); dot.addEventListener(click, () > { currentFeatureIndex i; updateFeaturesCarousel(); }); featuresDotsContainer.appendChild(dot); } } // Nav buttons document.getElementById(featuresPrev)?.addEventListener(click, () > { if (currentFeatureIndex > 0) { currentFeatureIndex--; updateFeaturesCarousel(); } }); document.getElementById(featuresNext)?.addEventListener(click, () > { if (currentFeatureIndex totalFeatureSlides - 1) { currentFeatureIndex++; updateFeaturesCarousel(); } }); // Window resize için güncelle let resizeTimeout; window.addEventListener(resize, () > { clearTimeout(resizeTimeout); resizeTimeout setTimeout(() > { updateFeaturesCarousel(); }, 250); }); // Initialize updateFeaturesCarousel();}// Modern Region Cards - Active Statedocument.querySelectorAll(.region-modern-card).forEach(card > { card.addEventListener(click, function() { // Remove active class from all cards document.querySelectorAll(.region-modern-card).forEach(c > c.classList.remove(active)); // Add active class to clicked card this.classList.add(active); // Smooth scroll to card this.scrollIntoView({ behavior: smooth, block: nearest }); });});// Statistics Counter Animation - İstatistik Sayı Animasyonufunction animateCounter(element, target, duration 2000) { const start 0; const increment target / (duration / 16); let current start; const timer setInterval(() > { current + increment; if (current > target) { element.textContent target; clearInterval(timer); } else { element.textContent Math.floor(current); } }, 16);}// Intersection Observer for Statisticsconst observerOptions { threshold: 0.5, rootMargin: 0px};const statsObserver new IntersectionObserver((entries) > { entries.forEach(entry > { if (entry.isIntersecting) { const statNumber entry.target.querySelector(.stat-number-modern); const countAttr entry.target.querySelector(.stat-number-modern)?.getAttribute(data-count); if (statNumber && countAttr && !statNumber.classList.contains(animated)) { const target parseInt(countAttr); statNumber.classList.add(animated); animateCounter(statNumber, target); } } });}, observerOptions);// Observe all stat cardsdocument.querySelectorAll(.stat-card-modern).forEach(card > { statsObserver.observe(card);});// Smooth scroll for anchor links (only when clicked, not on page load)// Prevent auto-scroll on page load with hashif (window.location.hash) { // Remove hash from URL without scrolling const hash window.location.hash; window.history.replaceState(null, null, window.location.pathname + window.location.search); // Scroll to element after a short delay (only if user clicked a link) setTimeout(() > { const target document.querySelector(hash); if (target) { target.scrollIntoView({ behavior: smooth, block: start }); } }, 100);}document.querySelectorAll(ahref^#).forEach(anchor > { anchor.addEventListener(click, function (e) { e.preventDefault(); const target document.querySelector(this.getAttribute(href)); if (target) { target.scrollIntoView({ behavior: smooth, block: start }); } });});/script> /main> footer classpublic-footer> div classfooter-container> div classfooter-grid> div classfooter-column> div classfooter-logo> img srclogo.png altTuğra Gümrük classfooter-logo-img> /div> p>Profesyonel gümrük hizmetleri ile yanınızdayız. İthalat, ihracat ve transit işlemlerinizde güvenilir çözüm ortağınız./p> /div> div classfooter-column> h4>Hızlı Linkler/h4> ul> li>a hrefindex.php>span classfooter-emoji>🏠/span> Ana Sayfa/a>/li> li>a hrefhizmetler.php>span classfooter-emoji>⚙️/span> Hizmetlerimiz/a>/li> li>a hrefhizmet-bolgeleri.php>span classfooter-emoji>📍/span> Hizmet Bölgeleri/a>/li> li>a hrefhakkimizda.php>span classfooter-emoji>🏢/span> Hakkımızda/a>/li> li>a hrefiletisim.php>span classfooter-emoji>📞/span> İletişim/a>/li> /ul> /div> div classfooter-column> h4>Hizmetlerimiz/h4> ul> li>a hrefhizmetler.php#transit>span classfooter-emoji>🚚/span> Transit İşlemleri/a>/li> li>a hrefhizmetler.php#ozet-beyan>span classfooter-emoji>📋/span> Özet Beyan/a>/li> li>a hrefhizmetler.php#teslim-alma>span classfooter-emoji>📦/span> Teslim Alma İşlemleri/a>/li> li>a hrefhizmetler.php#tir-tescil>span classfooter-emoji>🚛/span> Tır Tescil İşlemleri/a>/li> /ul> /div> div classfooter-column> h4>İletişim/h4> ul> li>span classfooter-emoji>📧/span> info@tugragumruk.com/li> li>span classfooter-emoji>📧/span> ithalat@tugragumruk.com/li> li>span classfooter-emoji>📧/span> ihracat@tugragumruk.com/li> li>span classfooter-emoji>📞/span> 0539 261 72 83/li> li>span classfooter-emoji>📍/span> Güzelyalı Mah. Yaban Sk. Gulender Apt. Blok No 5 İç Kapı No 1, Pendik, İstanbul/li> /ul> /div> /div> div classfooter-bottom> p>© 2026 Tuğra Gümrük. Tüm hakları saklıdır./p> p classfooter-powered> a hrefhttps://eutekno.com target_blank relnoopener noreferrer classfooter-brand> Powered by strong>EU Tekno/strong> /a> /p> /div> /div> !-- Chat Button in Footer --> div classfooter-chat-button-container> button classfooter-chat-button idfooterChatButton titleSohbet Başlat> 💬 /button> /div> /footer> style> .public-footer { background: #000000; color: white; padding: 3rem 0 1.5rem; margin-top: 0; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); } data-themedark .public-footer { background: #000000; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; } .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .footer-column h3, .footer-column h4 { margin: 0 0 1rem 0; font-size: 1.25rem; font-weight: 700; color: white !important; } .footer-column h4 { font-size: 1.1rem; color: white !important; } .footer-logo { margin-bottom: 1.5rem; } .footer-logo-img { height: 40px; width: auto; filter: brightness(0) invert(1); object-fit: contain; } .footer-column p { margin: 0 0 1rem 0; opacity: 0.9; line-height: 1.6; color: white !important; } .footer-column ul { list-style: none; padding: 0; margin: 0; } .footer-column ul li { margin-bottom: 0.75rem; color: white !important; } .footer-column ul li a { color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: all 0.3s ease; } .footer-column ul li a:hover { color: white; padding-left: 0.5rem; } /* Footer emoji ikonlarını siyah-beyaz yap */ .footer-emoji { display: inline-block; filter: grayscale(100%) brightness(0) invert(1); margin-right: 0.5rem; } .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; text-align: center; opacity: 0.8; } .footer-bottom p { margin: 0.5rem 0; color: white !important; } .footer-powered { display: flex; align-items: center; justify-content: center; font-size: 0.85rem; opacity: 0.6; } .footer-brand { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s ease; } .footer-brand:hover { color: rgba(255, 255, 255, 0.9); } .footer-brand strong { font-weight: 500; } /* Desktop View - Masaüstü Görünüm */ @media (min-width: 1025px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } } /* Tablet View - Tablet Görünüm */ @media (min-width: 769px) and (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } } /* Mobile View - Mobil Görünüm */ @media (max-width: 768px) { .public-footer { padding: 2.5rem 0 1rem; width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); } .footer-grid { grid-template-columns: 1fr; gap: 2rem; } .footer-container { padding: 0 1rem; } .footer-column h3, .footer-column h4 { font-size: 1.1rem; margin-bottom: 0.75rem; } .footer-column p { font-size: 0.95rem; } .footer-logo-img { height: 35px; } .footer-column ul li { margin-bottom: 0.625rem; font-size: 0.9rem; } .footer-bottom { padding-top: 1.25rem; } .footer-bottom p { font-size: 0.85rem; } .footer-powered { font-size: 0.75rem; } } /* Small Mobile View - Küçük Mobil Görünüm */ @media (max-width: 480px) { .public-footer { padding: 2rem 0 1rem; } .footer-container { padding: 0 0.75rem; } .footer-logo-img { height: 30px; } .footer-column h3, .footer-column h4 { font-size: 1rem; } .footer-column p { font-size: 0.9rem; } .footer-column ul li { font-size: 0.85rem; margin-bottom: 0.5rem; } .footer-bottom p { font-size: 0.8rem; } .footer-powered { font-size: 0.7rem; } } /* Footer Chat Button Container */ .footer-chat-button-container { position: fixed; bottom: 30px; left: 30px; z-index: 99999; } /* Footer Chat Button - Siyah */ .footer-chat-button { width: 60px; height: 60px; border-radius: 12px; background: #000000 !important; color: white !important; border: 2px solid rgba(255, 255, 255, 0.2) !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: all 0.3s ease; animation: pulse-chat-black 2s infinite; margin: 0; padding: 0; line-height: 1; } .footer-chat-button:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6); background: #1a1a1a !important; border-color: rgba(255, 255, 255, 0.4) !important; } @keyframes pulse-chat-black { 0%, 100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); } 50% { box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7); } } @media (max-width: 768px) { .footer-chat-button-container { bottom: 20px; left: 20px; } .footer-chat-button { width: 55px; height: 55px; font-size: 1.6rem; } } @media (max-width: 480px) { .footer-chat-button-container { bottom: 15px; left: 15px; } .footer-chat-button { width: 50px; height: 50px; font-size: 1.4rem; } } /* Public sayfalarda chat_box.phpdeki kırmızı butonu gizle */ body.public-page #chatButton, body.public-page .chat-button { display: none !important; visibility: hidden !important; } /* Public sayfalarda chat modalını siyah temaya çevir */ body.public-page .chat-modal { background: #1a1a1a !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important; } body.public-page .chat-modal-header { background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; color: white !important; } body.public-page .chat-modal-close { background: rgba(255, 255, 255, 0.1) !important; color: white !important; } body.public-page .chat-modal-close:hover { background: rgba(255, 255, 255, 0.2) !important; } body.public-page .chat-modal-body { background: #1a1a1a !important; color: #ffffff !important; } body.public-page .chat-modal .chat-back-btn { color: rgba(255, 255, 255, 0.7) !important; } body.public-page .chat-modal .chat-back-btn:hover { color: #ffffff !important; } body.public-page .chat-modal h4 { color: #ffffff !important; } body.public-page .chat-modal .chat-liman-item { background: #2a2a2a !important; border: 2px solid rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; } body.public-page .chat-modal .chat-liman-item:hover { border-color: rgba(255, 255, 255, 0.3) !important; background: #333333 !important; } body.public-page .chat-modal .chat-liman-item.selected { background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important; border-color: rgba(255, 255, 255, 0.3) !important; color: white !important; } body.public-page .chat-modal .chat-liman-item strong { color: #ffffff !important; } body.public-page .chat-modal .chat-user-item { background: #2a2a2a !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; } body.public-page .chat-modal .chat-user-item:hover { background: #333333 !important; border-color: rgba(255, 255, 255, 0.3) !important; } body.public-page .chat-modal .chat-user-name { color: #ffffff !important; } body.public-page .chat-modal .chat-user-role { color: rgba(255, 255, 255, 0.7) !important; } /* Online indicator - siyah temada görünür olmalı */ body.public-page .chat-modal .chat-online-indicator { background: #28a745 !important; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 0 0 4px rgba(40, 167, 69, 0.4), 0 0 8px rgba(40, 167, 69, 0.6) !important; width: 12px !important; height: 12px !important; border-radius: 50% !important; flex-shrink: 0 !important; display: block !important; visibility: visible !important; opacity: 1 !important; animation: pulse-online 2s infinite !important; } @keyframes pulse-online { 0%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 0 0 4px rgba(40, 167, 69, 0.4), 0 0 8px rgba(40, 167, 69, 0.6); } 50% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 0 6px rgba(40, 167, 69, 0.6), 0 0 12px rgba(40, 167, 69, 0.8); } } body.public-page .chat-modal .chat-message.received { background: #2a2a2a !important; color: #ffffff !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; } body.public-page .chat-modal .chat-message.sent { background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important; color: white !important; } body.public-page .chat-modal .chat-message-time { color: rgba(255, 255, 255, 0.6) !important; } body.public-page .chat-modal .chat-input-area { border-top: 1px solid rgba(255, 255, 255, 0.1) !important; } body.public-page .chat-modal .chat-input-form input { background: #2a2a2a !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; } body.public-page .chat-modal .chat-input-form input::placeholder { color: rgba(255, 255, 255, 0.5) !important; } body.public-page .chat-modal .chat-input-form input:focus { border-color: rgba(255, 255, 255, 0.3) !important; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important; } body.public-page .chat-modal .chat-input-form button { background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important; color: white !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; } body.public-page .chat-modal .chat-input-form button:hover { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important; } body.public-page .chat-modal .chat-end-btn { background: #2a2a2a !important; color: white !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; } body.public-page .chat-modal .chat-end-btn:hover { background: #333333 !important; } body.public-page .chat-modal .chat-liman-select::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2) !important; } body.public-page .chat-modal .chat-liman-select::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3) !important; } body.public-page .chat-modal .chat-messages::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2) !important; } body.public-page .chat-modal .chat-messages::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3) !important; } body.public-page .chat-modal .loading { color: rgba(255, 255, 255, 0.7) !important; } body.public-page .chat-modal .error-message { background: rgba(220, 53, 69, 0.2) !important; color: #ff6b6b !important; border: 1px solid rgba(220, 53, 69, 0.3) !important; } body.public-page .chat-modal label { color: #ffffff !important; } body.public-page .chat-modal inputtypetext { background: #2a2a2a !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; } body.public-page .chat-modal inputtypetext::placeholder { color: rgba(255, 255, 255, 0.5) !important; } body.public-page .chat-modal inputtypetext:focus { border-color: rgba(255, 255, 255, 0.3) !important; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important; } body.public-page .chat-modal buttontypesubmit { background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important; color: white !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; } body.public-page .chat-modal buttontypesubmit:hover { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important; } body.public-page .chat-modal .rating-textarea { background: #2a2a2a !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; } body.public-page .chat-modal .rating-textarea::placeholder { color: rgba(255, 255, 255, 0.5) !important; } body.public-page .chat-modal .rating-textarea:focus { border-color: rgba(255, 255, 255, 0.3) !important; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important; } body.public-page .chat-modal .rating-submit-btn { background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important; color: white !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; } body.public-page .chat-modal .rating-submit-btn:hover { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important; } body.public-page .chat-modal #ratingText { color: rgba(255, 255, 255, 0.7) !important; } body.public-page .chat-modal .chat-user-name-header { color: rgba(255, 255, 255, 0.9) !important; } body.public-page .chat-modal p { color: rgba(255, 255, 255, 0.8) !important; } /* Services section yazılarını koru - siyah tema sadece chat modalında */ body.public-page .services-section, body.public-page .services-section *, body.public-page .section-title, body.public-page .section-subtitle, body.public-page .service-title, body.public-page .service-description, body.public-page .service-card, body.public-page .service-card * { color: inherit !important; } body.public-page .services-section { background: white !important; } body.public-page .service-card { background: white !important; } body.public-page .section-title { color: #000000 !important; } body.public-page .section-subtitle { color: #6c757d !important; } body.public-page .service-title { color: #000000 !important; } body.public-page .service-description { color: #6c757d !important; } /* Public sayfalarda chat modal pozisyonu sol alta göre */ body.public-page .chat-modal { bottom: 100px !important; left: 30px !important; right: auto !important; } @media (max-width: 768px) { body.public-page .chat-modal { left: 10px !important; bottom: 80px !important; } } @media (max-width: 480px) { body.public-page .chat-modal { left: 10px !important; bottom: 70px !important; } } /* Inline styleları override et - sadece chat modal içinde */ body.public-page .chat-modal #stepGuestInfo h4, body.public-page .chat-modal #stepLiman h4, body.public-page .chat-modal #stepUser h4, body.public-page .chat-modal #stepRating h4 { color: #ffffff !important; } body.public-page .chat-modal #guestInfoForm label { color: #ffffff !important; } body.public-page .chat-modal #guestName, body.public-page .chat-modal #guestCompany { background: #2a2a2a !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; color: #ffffff !important; } body.public-page .chat-modal #guestName::placeholder, body.public-page .chat-modal #guestCompany::placeholder { color: rgba(255, 255, 255, 0.5) !important; } body.public-page .chat-modal #guestInfoForm buttontypesubmit { background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important; color: white !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; } body.public-page .chat-modal #guestInfoForm buttontypesubmit:hover { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important; } body.public-page .chat-modal #stepRating p { color: rgba(255, 255, 255, 0.8) !important; } body.public-page .chat-modal .chat-messages > divstyle*text-align { color: rgba(255, 255, 255, 0.7) !important; } /style> script srcassets/js/main.js>/script> !-- Chat Box (Modal only, button is in footer) --> script> // Public sayfa olduğunu işaretle (chat_box.phpdeki butonu gizlemek için) document.body.classList.add(public-page); /script> style> /* Chat Button - Kırmızı Kutu İçinde Beyaz İkon - SOL TARAFTA */ button.chat-button, #chatButton, .chat-button { position: fixed !important; bottom: 30px !important; left: 30px !important; right: auto !important; width: 60px !important; height: 60px !important; border-radius: 12px !important; background: #dc3545 !important; color: white !important; border: none !important; box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4) !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 1.8rem !important; z-index: 99999 !important; transition: all 0.3s ease !important; animation: pulse-chat 2s infinite !important; visibility: visible !important; opacity: 1 !important; margin: 0 !important; padding: 0 !important; line-height: 1 !important; } .chat-button:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(220, 53, 69, 0.6); background: #c82333; } @keyframes pulse-chat { 0%, 100% { box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4); } 50% { box-shadow: 0 4px 25px rgba(220, 53, 69, 0.7); } } /* Chat Modal - SOL TARAFTA */ .chat-modal { display: none !important; position: fixed !important; bottom: 100px !important; left: 30px !important; right: auto !important; width: 400px !important; max-width: 400px !important; height: 450px !important; max-height: 450px !important; background: white !important; border: 1px solid #dee2e6 !important; border-radius: 20px !important; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important; z-index: 99998 !important; overflow: hidden !important; animation: slideUp 0.3s ease !important; visibility: hidden !important; opacity: 0 !important; } .chat-modal.active { display: flex !important; flex-direction: column !important; visibility: visible !important; opacity: 1 !important; height: 450px !important; max-height: 450px !important; } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .chat-modal-header { padding: 1rem 1.5rem; border-bottom: 1px solid #dee2e6; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); color: white; flex-shrink: 0; min-height: fit-content; } .chat-modal-header h3 { margin: 0; font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .chat-user-name-header { font-size: 0.9rem; opacity: 0.9; font-weight: 400; } .chat-modal-close { background: rgba(255, 255, 255, 0.2); border: none; color: white; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: all 0.2s; } .chat-modal-close:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.1); } .chat-modal-body { flex: 1 1 0; overflow-y: auto; overflow-x: hidden; padding: 1rem; background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%); min-height: 0; max-height: 100%; display: flex; flex-direction: column; } .chat-step { display: none; height: 100%; max-height: 100%; overflow: hidden; flex-direction: column; } .chat-step.active { display: flex; flex-direction: column; height: 100%; max-height: 100%; min-height: 0; } .chat-back-btn { background: transparent; border: none; color: #6c757d; cursor: pointer; padding: 0.5rem 0; margin-bottom: 1rem; font-size: 0.9rem; transition: color 0.2s; } .chat-back-btn:hover { color: #dc3545; } .chat-liman-select { display: grid; gap: 0.75rem; max-height: 300px; overflow-y: auto; overflow-x: hidden; padding-right: 0.5rem; } .chat-liman-select::-webkit-scrollbar { width: 6px; } .chat-liman-select::-webkit-scrollbar-track { background: transparent; } .chat-liman-select::-webkit-scrollbar-thumb { background: #dee2e6; border-radius: 3px; } .chat-liman-select::-webkit-scrollbar-thumb:hover { background: #adb5bd; } .chat-liman-item { padding: 1rem; border: 2px solid #dee2e6; border-radius: 12px; cursor: pointer; transition: all 0.2s; background: white; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .chat-liman-item:hover { border-color: #dc3545; background: #fff5f5; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(220, 53, 69, 0.15); } .chat-liman-item.selected { border-color: #dc3545; background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); color: white; box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3); } .chat-users-list { display: grid; gap: 0.75rem; } .chat-user-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border: 1px solid #dee2e6; border-radius: 12px; cursor: pointer; transition: all 0.2s; background: white; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .chat-user-item:hover { background: #fff5f5; border-color: #dc3545; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(220, 53, 69, 0.15); } .chat-user-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .chat-user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; } .chat-user-info { flex: 1; min-width: 0; } .chat-user-name { font-weight: 600; color: #212529; } .chat-user-role { font-size: 0.85rem; color: #6c757d; } .chat-online-indicator { width: 12px; height: 12px; background: #28a745; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 0 0 4px rgba(40, 167, 69, 0.4), 0 0 8px rgba(40, 167, 69, 0.6); display: block; visibility: visible; opacity: 1; animation: pulse-online-chat 2s infinite; } @keyframes pulse-online-chat { 0%, 100% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 0 0 4px rgba(40, 167, 69, 0.4), 0 0 8px rgba(40, 167, 69, 0.6); } 50% { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 0 6px rgba(40, 167, 69, 0.6), 0 0 12px rgba(40, 167, 69, 0.8); } } .chat-conversation { display: flex; flex-direction: column; height: 100%; max-height: 100%; min-height: 0; overflow: hidden; } .chat-messages { flex: 1 1 0; overflow-y: auto; overflow-x: hidden; padding: 1rem 0; min-height: 0; max-height: 100%; display: flex; flex-direction: column; gap: 0.75rem; } .chat-messages::-webkit-scrollbar { width: 6px; } .chat-messages::-webkit-scrollbar-track { background: transparent; } .chat-messages::-webkit-scrollbar-thumb { background: #dee2e6; border-radius: 3px; } .chat-messages::-webkit-scrollbar-thumb:hover { background: #adb5bd; } .chat-message { padding: 0.75rem 1rem; border-radius: 12px; max-width: 80%; word-wrap: break-word; word-break: break-word; overflow-wrap: break-word; flex-shrink: 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .chat-message.sent { background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); color: white; align-self: flex-end; box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3); } .chat-message.received { background: white; color: #212529; border: 1px solid #dee2e6; align-self: flex-start; box-shadow: 0 2px 4px rgba(0,0,0,0.08); } .chat-message-time { font-size: 0.7rem; opacity: 0.7; margin-top: 0.25rem; } .chat-input-area { padding-top: 1rem; border-top: 1px solid #dee2e6; flex-shrink: 0; min-height: fit-content; } .chat-input-form { display: flex; gap: 0.5rem; } .chat-input-form input { flex: 1; padding: 0.75rem; border: 1px solid #dee2e6; border-radius: 8px; font-size: 0.9rem; transition: all 0.2s; } .chat-input-form input:focus { outline: none; border-color: #dc3545; box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1); } .chat-input-form button { padding: 0.75rem 1.5rem; background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; transition: all 0.2s; box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2); } .chat-input-form button:hover { background: linear-gradient(135deg, #c82333 0%, #bd2130 100%); box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3); transform: translateY(-1px); } .chat-end-btn { margin-top: 0.75rem; padding: 0.5rem 1rem; background: #6c757d; color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: all 0.2s; width: 100%; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .chat-end-btn:hover { background: #5a6268; box-shadow: 0 4px 8px rgba(0,0,0,0.15); transform: translateY(-1px); } .chat-rating-step { display: none; flex-direction: column; gap: 1rem; padding: 1rem 0; width: 100%; max-width: 100%; } .chat-rating-step.active { display: flex; } #stepRating { justify-content: center; align-items: center; padding: 1rem; } #stepRating > div { width: 100%; max-width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; } .star-rating { display: flex; gap: 0.5rem; justify-content: center; margin: 1rem 0; } .star { font-size: 2rem; color: #dee2e6; cursor: pointer; transition: all 0.2s; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1)); opacity: 0.6; } .star:hover { color: #ffc107; transform: scale(1.15); filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.4)); opacity: 0.8; } .star.active { color: #ffc107; transform: scale(1.15); filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.4)); opacity: 0.8; } .star.filled { color: #ffc107; filter: drop-shadow(0 4px 12px rgba(255, 193, 7, 0.6)); opacity: 1; transform: scale(1.1); } .rating-textarea { width: 100%; min-height: 80px; padding: 0.75rem; border: 1px solid #dee2e6; border-radius: 8px; font-size: 0.9rem; font-family: inherit; resize: vertical; transition: all 0.2s; } .rating-textarea:focus { outline: none; border-color: #dc3545; box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1); } .rating-submit-btn { padding: 0.75rem 1.5rem; background: linear-gradient(135deg, #28a745 0%, #218838 100%); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; transition: all 0.2s; box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2); } .rating-submit-btn:hover { background: linear-gradient(135deg, #218838 0%, #1e7e34 100%); box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3); transform: translateY(-1px); } .loading { text-align: center; padding: 2rem; color: #6c757d; } .error-message { padding: 1rem; background: #f8d7da; color: #721c24; border-radius: 8px; text-align: center; border: 1px solid #f5c6cb; } @media (max-width: 768px) { .chat-modal { width: 400px !important; max-width: 400px !important; height: 450px !important; max-height: 450px !important; left: 10px; right: auto; bottom: 80px; } .chat-modal.active { height: 450px !important; max-height: 450px !important; } .chat-button { left: 10px !important; bottom: 20px !important; } } @media (max-width: 450px) { .chat-modal { width: calc(100vw - 20px) !important; max-width: 400px !important; height: calc(100vh - 100px) !important; max-height: 450px !important; } .chat-modal.active { height: calc(100vh - 100px) !important; max-height: 450px !important; } }/style>!-- Chat Button -->button classchat-button idchatButton titleSohbet Başlat> 💬/button>!-- Chat Modal -->div classchat-modal idchatModal> div classchat-modal-header> div> h3>💬 Müşteri Sohbeti/h3> div classchat-user-name-header idchatUserNameHeader styledisplay: none;>/div> /div> button classchat-modal-close idchatClose>✕/button> /div> div classchat-modal-body> !-- Step 0: Müşteri Bilgileri --> div classchat-step active idstepGuestInfo> h4 stylemargin-bottom: 1rem; color: #212529;>Lütfen bilgilerinizi girin/h4> form idguestInfoForm onsubmitsubmitGuestInfo(event) styledisplay: flex; flex-direction: column; gap: 1rem;> div> label styledisplay: block; margin-bottom: 0.5rem; color: #212529; font-weight: 600;>Adınız Soyadınız */label> input typetext idguestName placeholderÖrn: Ahmet Yılmaz required stylewidth: 100%; padding: 0.75rem; border: 1px solid #dee2e6; border-radius: 8px; background: white; color: #212529; font-size: 0.9rem; > /div> div> label styledisplay: block; margin-bottom: 0.5rem; color: #212529; font-weight: 600;>Şirket Adı */label> input typetext idguestCompany placeholderÖrn: ABC Lojistik A.Ş. required stylewidth: 100%; padding: 0.75rem; border: 1px solid #dee2e6; border-radius: 8px; background: white; color: #212529; font-size: 0.9rem; > /div> button typesubmit stylepadding: 0.75rem 1.5rem; background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; transition: all 0.2s; box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2); > Devam Et → /button> /form> /div> !-- Step 1: Liman Seçimi --> div classchat-step idstepLiman> button classchat-back-btn onclickgoBackToGuestInfo()>← Geri/button> h4 stylemargin-bottom: 1rem; color: #212529;>Hangi liman ile ilgili?/h4> div classchat-liman-select idlimanList> div classloading>Yükleniyor.../div> /div> /div> !-- Step 2: Kullanıcı Seçimi --> div classchat-step idstepUser> button classchat-back-btn onclickgoBackToLiman()>← Geri/button> h4 stylemargin-bottom: 1rem; color: #212529;>Kullanıcı Seçin/h4> div classchat-users-list iduserList> div classloading>Yükleniyor.../div> /div> /div> !-- Step 3: Sohbet --> div classchat-step idstepChat> div classchat-conversation> button classchat-back-btn onclickgoBackToUser()>← Geri/button> div classchat-messages idchatMessages> div classloading>Yükleniyor.../div> /div> div classchat-input-area idchatInputArea> form classchat-input-form idchatForm onsubmitsendGuestMessage(event)> input typetext idchatInput placeholderMesajınızı yazın... required> button typesubmit>Gönder/button> /form> button classchat-end-btn onclickendChat() idchatEndBtn>Sohbeti Sonlandır/button> /div> /div> /div> !-- Step 4: Puan Verme --> div classchat-step idstepRating> div styledisplay: flex; flex-direction: column; gap: 1rem; height: 100%; justify-content: center; align-items: center; padding: 1rem;> h4 stylemargin-bottom: 0.5rem; color: #212529; text-align: center; font-size: 1.1rem;>Sohbeti Değerlendirin/h4> p styletext-align: center; color: #6c757d; font-size: 0.9rem; margin-bottom: 0.5rem;>Lütfen hizmet kalitesini değerlendirin/p> div classchat-rating-step active stylewidth: 100%; max-width: 100%; display: flex; flex-direction: column; gap: 1rem; align-items: stretch;> div classstar-rating idstarRating> span classstar data-rating1>⭐/span> span classstar data-rating2>⭐/span> span classstar data-rating3>⭐/span> span classstar data-rating4>⭐/span> span classstar data-rating5>⭐/span> /div> div styletext-align: center; color: #6c757d; font-size: 0.85rem; margin-top: -0.5rem; min-height: 1.2rem; idratingText>Puan seçin/div> textarea classrating-textarea idratingTextarea placeholderDeğerlendirmenizi yazın (isteğe bağlı)... stylewidth: 100%; >/textarea> button classrating-submit-btn onclicksubmitRating() idratingSubmitBtn stylewidth: 100%; margin-top: 0.5rem;>Puanı Gönder/button> /div> /div> /div> /div>/div>script> // Chat State - Global scopeta olmalı if (typeof window.chatState undefined) { window.chatState { limanId: null, limanAd: null, userId: null, userName: null, guestSessionId: null, guestName: null, guestCompany: null }; } // Utility Functions function escapeHtml(text) { const div document.createElement(div); div.textContent text; return div.innerHTML; } function formatTime(dateString) { const date new Date(dateString); const now new Date(); const diff now - date; const minutes Math.floor(diff / 60000); if (minutes 1) return Az önce; if (minutes 60) return minutes + dakika önce; const hours Math.floor(minutes / 60); if (hours 24) return hours + saat önce; const days Math.floor(hours / 24); if (days 7) return days + gün önce; return date.toLocaleDateString(tr-TR, { day: numeric, month: short, hour: 2-digit, minute: 2-digit }); } // Guest Session ID oluştur veya al function getGuestSessionId() { if (!window.chatState.guestSessionId) { let sessionId localStorage.getItem(guest_session_id); if (sessionId && sessionId.startsWith(guest_)) { localStorage.removeItem(guest_session_id); sessionId null; } if (!sessionId) { sessionId Date.now() + _ + Math.random().toString(36).substr(2, 9); localStorage.setItem(guest_session_id, sessionId); } window.chatState.guestSessionId sessionId; } return window.chatState.guestSessionId; } // Chat Modal Aç/Kapa function initChatButton() { const chatButton document.getElementById(chatButton); const chatModal document.getElementById(chatModal); const chatClose document.getElementById(chatClose); if (chatButton && chatModal) { chatButton.addEventListener(click, function(e) { e.preventDefault(); e.stopPropagation(); chatModal.classList.add(active); document.getElementById(stepGuestInfo).classList.add(active); document.getElementById(stepLiman).classList.remove(active); document.getElementById(stepUser).classList.remove(active); document.getElementById(stepChat).classList.remove(active); document.getElementById(stepRating).classList.remove(active); // Statei sıfırla window.chatState.userId null; window.chatState.userName null; if (typeof selectedRating ! undefined) selectedRating 0; const chatInputArea document.getElementById(chatInputArea); if (chatInputArea) chatInputArea.style.display block; const ratingTextarea document.getElementById(ratingTextarea); if (ratingTextarea) ratingTextarea.value ; if (typeof updateStarDisplay function) updateStarDisplay(); // Headerdan kullanıcı adını kaldır const userNameHeader document.getElementById(chatUserNameHeader); if (userNameHeader) { userNameHeader.style.display none; } }); } if (chatClose && chatModal) { chatClose.addEventListener(click, function(e) { e.preventDefault(); e.stopPropagation(); chatModal.classList.remove(active); }); } } // Müşteri Bilgileri Formu function submitGuestInfo(event) { event.preventDefault(); const guestName document.getElementById(guestName).value.trim(); const guestCompany document.getElementById(guestCompany).value.trim(); if (!guestName || !guestCompany) { alert(Lütfen tüm alanları doldurun!); return; } window.chatState.guestName guestName; window.chatState.guestCompany guestCompany; document.getElementById(stepGuestInfo).classList.remove(active); // Eğer skipLimanSelection işareti varsa ve pending user varsa, liman seçimini atla if (window.chatState.skipLimanSelection && window.chatState.pendingUserId) { // Direkt sohbete bağlan (liman seçimini atla) if (typeof window.connectToChatDirect function) { window.connectToChatDirect(window.chatState.pendingUserId, window.chatState.pendingUserName); window.chatState.skipLimanSelection false; } else { // Fallback: selectUser fonksiyonunu kullan if (typeof window.selectUser function) { window.selectUser(window.chatState.pendingUserId, window.chatState.pendingUserName, ); window.chatState.skipLimanSelection false; } else { // Normal akış document.getElementById(stepLiman).classList.add(active); loadLimanlar(); } } } else { // Normal akış - liman seçimine git document.getElementById(stepLiman).classList.add(active); loadLimanlar(); } } // Global fonksiyon window.submitGuestInfo submitGuestInfo; function goBackToGuestInfo() { document.getElementById(stepLiman).classList.remove(active); document.getElementById(stepGuestInfo).classList.add(active); window.chatState.limanId null; } // Limanları Yükle function loadLimanlar() { fetch(api/get_limanlar.php) .then(response > response.json()) .then(data > { if (data.success) { displayLimanlar(data.data); } else { document.getElementById(limanList).innerHTML div classerror-message>Hata: + data.message + /div>; } }) .catch(error > { console.error(Hata:, error); document.getElementById(limanList).innerHTML div classerror-message>Limanlar yüklenirken hata oluştu!/div>; }); } function displayLimanlar(limanlar) { const list document.getElementById(limanList); if (limanlar.length 0) { list.innerHTML div classerror-message>Liman bulunamadı!/div>; return; } let html ; limanlar.forEach(liman > { html + `div classchat-liman-item onclickselectLiman(${liman.id}, ${escapeHtml(liman.ad)})> strong>${escapeHtml(liman.ad)}/strong> /div>`; }); list.innerHTML html; } function selectLiman(limanId, limanAd) { window.chatState.limanId limanId; window.chatState.limanAd limanAd; document.querySelectorAll(.chat-liman-item).forEach(item > { item.classList.remove(selected); if (item.textContent.includes(limanAd)) { item.classList.add(selected); } }); setTimeout(() > { document.getElementById(stepLiman).classList.remove(active); document.getElementById(stepUser).classList.add(active); loadUsers(limanId); }, 300); } function goBackToLiman() { document.getElementById(stepUser).classList.remove(active); document.getElementById(stepLiman).classList.add(active); window.chatState.userId null; } // Kullanıcıları Yükle function loadUsers(limanId) { document.getElementById(userList).innerHTML div classloading>Yükleniyor.../div>; fetch(`api/get_online_users_by_liman.php?liman_id${limanId}`) .then(response > response.json()) .then(data > { if (data.success) { displayUsers(data.data); } else { document.getElementById(userList).innerHTML div classerror-message>Hata: + data.message + /div>; } }) .catch(error > { console.error(Hata:, error); document.getElementById(userList).innerHTML div classerror-message>Kullanıcılar yüklenirken hata oluştu!/div>; }); } function displayUsers(users) { const list document.getElementById(userList); if (users.length 0) { list.innerHTML div classerror-message>Bu limanda online kullanıcı bulunamadı!/div>; return; } let html ; users.forEach(user > { const ad user.ad || user.username; const avatar user.profil_resmi ? `img src${escapeHtml(user.profil_resmi)} alt${escapeHtml(ad)}>` : `span>${ad.charAt(0).toUpperCase()}/span>`; html + `div classchat-user-item onclickselectUser(${user.id}, ${escapeHtml(ad)}, ${escapeHtml(user.profil_resmi || )})> div classchat-user-avatar>${avatar}/div> div classchat-user-info> div classchat-user-name>${escapeHtml(ad)}/div> div classchat-user-role>${escapeHtml(user.role admin ? Yönetici : (user.role liman_yoneticisi ? Liman Yöneticisi : Kullanıcı))}/div> /div> div classchat-online-indicator>/div> /div>`; }); list.innerHTML html; } function selectUser(userId, userName, userAvatar) { window.chatState.userId userId; window.chatState.userName userName; document.getElementById(stepUser).classList.remove(active); document.getElementById(stepChat).classList.add(active); document.getElementById(stepRating).classList.remove(active); // Headerda kullanıcı adını göster const userNameHeader document.getElementById(chatUserNameHeader); if (userNameHeader) { userNameHeader.textContent `👤 ${userName}`; userNameHeader.style.display block; } loadMessages(); if (window.messageCheckInterval) { clearInterval(window.messageCheckInterval); } window.messageCheckInterval setInterval(loadMessages, 3000); } // Global fonksiyon - dışarıdan çağrılabilir window.selectUser selectUser; window.selectLiman selectLiman; function goBackToUser() { document.getElementById(stepChat).classList.remove(active); document.getElementById(stepRating).classList.remove(active); document.getElementById(stepUser).classList.add(active); // Headerdan kullanıcı adını kaldır const userNameHeader document.getElementById(chatUserNameHeader); if (userNameHeader) { userNameHeader.style.display none; } if (window.messageCheckInterval) { clearInterval(window.messageCheckInterval); } } // Sohbeti Sonlandır function endChat() { if (!confirm(Sohbeti sonlandırmak istediğinize emin misiniz?)) { return; } const guestSessionId getGuestSessionId(); fetch(api/end_chat.php, { method: POST, headers: { Content-Type: application/json }, body: JSON.stringify({ user_id: window.chatState.userId, guest_session_id: guestSessionId }) }) .then(response > response.json()) .then(data > { if (data.success) { // Mesaj gönderme alanını gizle document.getElementById(chatInputArea).style.display none; // Puan verme adımına geç document.getElementById(stepChat).classList.remove(active); document.getElementById(stepRating).classList.add(active); // Mesaj kontrolünü durdur if (window.messageCheckInterval) { clearInterval(window.messageCheckInterval); } } else { alert(Hata: + data.message); } }) .catch(error > { console.error(Hata:, error); alert(Sohbet sonlandırılırken hata oluştu!); }); } // Yıldız Puanlama if (typeof selectedRating undefined) { var selectedRating 0; } function initStarRating() { const stars document.querySelectorAll(.star); stars.forEach((star, index) > { star.addEventListener(click, function() { selectedRating index + 1; updateStarDisplay(); }); star.addEventListener(mouseenter, function() { highlightStars(index + 1); }); }); const starRating document.getElementById(starRating); if (starRating) { starRating.addEventListener(mouseleave, function() { updateStarDisplay(); }); } } function highlightStars(rating) { const stars document.querySelectorAll(.star); stars.forEach((star, index) > { if (index rating) { star.classList.add(active); } else { star.classList.remove(active); } }); } function updateStarDisplay() { const stars document.querySelectorAll(.star); const ratingText document.getElementById(ratingText); const ratingTexts Puan seçin, Çok Kötü, Kötü, Orta, İyi, Mükemmel; stars.forEach((star, index) > { star.classList.remove(active, filled); if (index selectedRating) { star.classList.add(filled); } }); if (ratingText) { ratingText.textContent ratingTextsselectedRating || Puan seçin; } } // Puan Gönder function submitRating() { if (selectedRating 0) { alert(Lütfen bir puan seçin!); return; } const aciklama document.getElementById(ratingTextarea).value.trim(); const guestSessionId getGuestSessionId(); const submitBtn document.getElementById(ratingSubmitBtn); submitBtn.disabled true; submitBtn.textContent Gönderiliyor...; fetch(api/submit_chat_rating.php, { method: POST, headers: { Content-Type: application/json }, body: JSON.stringify({ user_id: window.chatState.userId, guest_session_id: guestSessionId, guest_name: window.chatState.guestName, guest_company: window.chatState.guestCompany, puan: selectedRating, aciklama: aciklama }) }) .then(response > response.json()) .then(data > { submitBtn.disabled false; submitBtn.textContent Puanı Gönder; if (data.success) { alert(data.message); // Sohbet kutusunu kapat document.getElementById(chatModal).classList.remove(active); // Statei sıfırla window.chatState.userId null; window.chatState.userName null; selectedRating 0; document.getElementById(ratingTextarea).value ; document.getElementById(chatInputArea).style.display block; updateStarDisplay(); } else { alert(Hata: + data.message); } }) .catch(error > { console.error(Hata:, error); submitBtn.disabled false; submitBtn.textContent Puanı Gönder; alert(Puan gönderilirken hata oluştu!); }); } // Mesajları Yükle function loadMessages() { if (!window.chatState || !window.chatState.userId) { return; } const guestSessionId getGuestSessionId(); fetch(`api/get_guest_messages.php?user_id${window.chatState.userId}&guest_session_id${guestSessionId}`) .then(response > response.json()) .then(data > { if (data.success) { displayMessages(data.data); } }) .catch(error > console.error(Mesaj yükleme hatası:, error)); } // Global fonksiyonlar window.loadMessages loadMessages; function displayMessages(messages) { const container document.getElementById(chatMessages); if (messages.length 0) { container.innerHTML div styletext-align: center; color: #6c757d; padding: 2rem;>Henüz mesaj yok. İlk mesajı siz gönderin!/div>; return; } let html ; messages.forEach(msg > { const isGuest msg.gonderen_id null || msg.is_guest 1; const time formatTime(msg.created_at); html + `div classchat-message ${isGuest ? sent : received}> div>${escapeHtml(msg.mesaj)}/div> div classchat-message-time>${time}/div> /div>`; }); container.innerHTML html; // Scroll en alta requestAnimationFrame(() > { container.scrollTop container.scrollHeight; requestAnimationFrame(() > { container.scrollTop container.scrollHeight; }); }); } // Mesaj Gönder function sendGuestMessage(event) { event.preventDefault(); const input document.getElementById(chatInput); const mesaj input.value.trim(); if (!mesaj) return; const btn event.target.querySelector(buttontypesubmit); btn.disabled true; const guestSessionId getGuestSessionId(); fetch(api/send_guest_message.php, { method: POST, headers: { Content-Type: application/json }, body: JSON.stringify({ user_id: window.chatState.userId, mesaj: mesaj, guest_session_id: guestSessionId, guest_name: window.chatState.guestName, guest_company: window.chatState.guestCompany }) }) .then(response > response.json()) .then(data > { btn.disabled false; if (data.success) { input.value ; loadMessages(); } else { alert(Hata: + data.message); } }) .catch(error > { console.error(Hata:, error); btn.disabled false; alert(Mesaj gönderilirken hata oluştu!); }); } // DOM yüklendiğinde çalıştır function initChat() { initChatButton(); initStarRating(); } if (document.readyState loading) { document.addEventListener(DOMContentLoaded, initChat); } else { initChat(); } // jQuery varsa onunla da dene if (typeof jQuery ! undefined) { jQuery(document).ready(function($) { initChat(); }); }/script> script> // Footer chat buttonu chat modalını açsın document.addEventListener(DOMContentLoaded, function() { const footerChatButton document.getElementById(footerChatButton); const chatModal document.getElementById(chatModal); if (footerChatButton && chatModal) { footerChatButton.addEventListener(click, function(e) { e.preventDefault(); e.stopPropagation(); // Modalı aç chatModal.classList.add(active); const stepGuestInfo document.getElementById(stepGuestInfo); if (stepGuestInfo) { stepGuestInfo.classList.add(active); // Diğer stepleri kapat document.querySelectorAll(.chat-step).forEach(step > { if (step.id ! stepGuestInfo) { step.classList.remove(active); } }); } // Statei sıfırla if (typeof window.chatState ! undefined) { window.chatState.userId null; window.chatState.userName null; if (typeof selectedRating ! undefined) selectedRating 0; const chatInputArea document.getElementById(chatInputArea); if (chatInputArea) chatInputArea.style.display block; const ratingTextarea document.getElementById(ratingTextarea); if (ratingTextarea) ratingTextarea.value ; if (typeof updateStarDisplay function) updateStarDisplay(); // Headerdan kullanıcı adını kaldır const userNameHeader document.getElementById(chatUserNameHeader); if (userNameHeader) { userNameHeader.style.display none; } } }); } }); /script>/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]