* { margin: 0; padding: 0; box-sizing: border-box; } html, body { margin: 0; padding: 0; background: none !important; overflow: hidden; height: 100%; width: 100%; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } #container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: transparent; border-radius: 20px; padding: 0; width: 420px; min-height: 500px; z-index: 9999; overflow: visible; animation: slideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); } @keyframes slideIn { from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } } #form-section { padding: 40px 30px; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%), linear-gradient(135deg, #2c3e50 0%, #a51309 25%, #2c3e50 50%, #140555 100%); border-radius: 20px; margin: 0; position: relative; box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15), 0 3px 10px rgba(0,0,0,0.05); border: 1px solid rgba(102, 126, 234, 0.1); } label { display: block; margin-bottom: 12px; color: #ffffff; font-weight: 600; font-size: 15px; position: relative; padding-left: 35px; } label::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; } label:nth-of-type(1)::after { content: '👤'; position: absolute; left: 3px; top: 40%; transform: translateY(-40%); font-size: 14px; } label:nth-of-type(2)::after { content: '💼'; position: absolute; left: 3px; top: 40%; transform: translateY(-40%); font-size: 14px; } label:nth-of-type(3)::after { content: '📞'; position: absolute; left: 3px; top: 40%; transform: translateY(-40%); font-size: 14px; } label:nth-of-type(4)::after { content: '🏢'; position: absolute; left: 3px; top: 40%; transform: translateY(-40%); font-size: 14px; } label:nth-of-type(5)::after { content: '💳'; position: absolute; left: 3px; top: 40%; transform: translateY(-40%); font-size: 14px; } .dropdown-container { position: relative; margin-bottom: 25px; } .dropdown-selected { width: 100%; padding: 18px 20px; border-radius: 15px; border: 2px solid transparent; background: linear-gradient(145deg, #ffffff, #f8faff); font-size: 16px; color: #4a5568; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .dropdown-selected:hover { box-shadow: 0 6px 20px rgba(102, 126, 234, 0.12); transform: translateY(-1px); border: 2px solid #b794f6; } .dropdown-selected.active { border: 2px solid #667eea; box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15), 0 0 0 4px rgba(102, 126, 234, 0.1); transform: translateY(-3px); } .dropdown-arrow { transition: transform 0.3s ease; color: #667eea; font-weight: bold; } .dropdown-selected.active .dropdown-arrow { transform: rotate(180deg); } .dropdown-options { position: absolute; top: 100%; left: 0; right: 0; background: linear-gradient(145deg, #ffffff, #f8faff); border-radius: 15px; box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2); border: 2px solid rgba(102, 126, 234, 0.1); z-index: 1000; max-height: 0; overflow-y: auto; overflow-x: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); transform: translateY(-10px); opacity: 0; outline: none; } .dropdown-options.show { max-height: 200px; transform: translateY(5px); opacity: 1; } .dropdown-options::-webkit-scrollbar { width: 8px; } .dropdown-options::-webkit-scrollbar-track { background: rgba(102, 126, 234, 0.1); border-radius: 4px; margin: 5px 0; } .dropdown-options::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 4px; min-height: 20px; } .dropdown-options::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #764ba2, #667eea); } .dropdown-options { scrollbar-width: thin; scrollbar-color: #667eea rgba(102, 126, 234, 0.1); } .dropdown-option { padding: 12px 20px; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: all 0.3s ease; border-bottom: 1px solid rgba(102, 126, 234, 0.1); min-height: 48px; } .dropdown-option:last-child { border-bottom: none; border-radius: 0 0 15px 15px; } .dropdown-option:first-child { border-radius: 15px 15px 0 0; } .dropdown-option:hover { background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1)); transform: translateX(5px); color: #667eea; } .option-icon { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; box-shadow: 0 1px 3px rgba(0,0,0,0.1); background: rgba(255,255,255,0.8); padding: 2px; } .dropdown-option span { font-weight: 500; color: #4a5568; } .dropdown-option:hover span { color: #667eea; font-weight: 600; } input[type="text"] { width: 100%; padding: 18px 20px; margin-bottom: 25px; border-radius: 15px; border: 2px solid transparent; background: linear-gradient(145deg, #ffffff, #f8faff); font-size: 16px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); color: #4a5568; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08); position: relative; } input[type="text"]:focus { outline: none; background: linear-gradient(145deg, #ffffff, #f0f4ff); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15), 0 0 0 4px rgba(102, 126, 234, 0.1); transform: translateY(-3px); border: 2px solid #667eea; } input[type="text"]:hover { box-shadow: 0 6px 20px rgba(102, 126, 234, 0.12); transform: translateY(-1px); border: 2px solid #b794f6; } .button-group { display: flex; gap: 15px; justify-content: center; margin-top: 30px; } button { padding: 15px 30px; cursor: pointer; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; transition: all 0.3s ease; position: relative; overflow: hidden; min-width: 120px; } button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.6s; } button:hover::before { left: 100%; } #saveBtn { background: linear-gradient(135deg, #667eea, #764ba2); color: white; box-shadow: 0 8px 15px rgba(102, 126, 234, 0.3); } #saveBtn:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(102, 126, 234, 0.4); } #closeBtn { background: linear-gradient(135deg, #ff6b6b, #ee5a52); color: white; box-shadow: 0 8px 15px rgba(255, 107, 107, 0.3); } #closeBtn:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(255, 107, 107, 0.4); } .business-card { background: url('businesscard.png') no-repeat center center / cover; padding: 35px; color: white; position: relative; overflow: visible; margin: 25px 0; border-radius: 15px; animation: cardFloat 6s ease-in-out infinite; } .business-card::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%); pointer-events: none; animation: shimmer 4s ease-in-out infinite; } .card-header { display: flex; align-items: center; margin-bottom: 25px; } #logo-img { width: 90px; height: 90px; background-position: center; background-repeat: no-repeat; background-size: cover; margin-right: 25px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; overflow: hidden; } @keyframes logoGlow { 0%, 100% { box-shadow: 0 8px 20px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.1); } 50% { box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.2); } } .card-info h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; margin-left: -30px; } .card-info .position { font-size: 17px; color: rgba(255,255,255,0.95); font-weight: 500; font-style: italic; text-shadow: 0 1px 5px rgba(0,0,0,0.2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; margin-left: -30px; } .card-details { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); } .contact-item { display: flex; align-items: center; margin-bottom: 15px; font-size: 17px; padding: 12px 20px; background: rgba(255,255,255,0.1); border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); transition: all 0.3s ease; } .contact-item:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); } .contact-item::before { content: '📞'; margin-right: 15px; font-size: 20px; animation: phoneRing 2s ease-in-out infinite; } @keyframes phoneRing { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } } #closeCardBtn { background: linear-gradient(135deg, #11998e, #38ef7d); color: white; box-shadow: 0 8px 15px rgba(17, 153, 142, 0.3); margin: 20px auto 0; display: block; } #closeCardBtn:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(17, 153, 142, 0.4); } @media (max-width: 480px) { #container { width: 90%; } #form-section, #card-section { margin: 0; padding: 30px 20px; } .button-group { flex-direction: column; } button { width: 100%; } } /* Loading animasyonu tamamen kaldırıldı */ /* Form validasyon animasyonu */ @keyframes shake { 0%, 20%, 40%, 60%, 80%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } }