/* ============================================ I Cabs — Premium Taxi Booking Website Color Theme: Yellow (#FFD700), Black, White ============================================ */ :root { --yellow: #FFD700; --yellow-dark: #E6C200; --yellow-light: #FFF3B0; --black: #0A0A0A; --black-soft: #1A1A1A; --gray-900: #222; --gray-700: #444; --gray-500: #777; --gray-300: #CCC; --gray-100: #F5F5F5; --white: #FFFFFF; --shadow: 0 4px 24px rgba(0, 0, 0, 0.08); --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.15); --radius: 12px; --radius-lg: 20px; --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); --header-h: 72px; --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; font-size: 16px; } body { font-family: var(--font); color: var(--gray-900); background: var(--white); line-height: 1.6; overflow-x: hidden; } img { max-width: 100%; height: auto; display: block; } a { text-decoration: none; color: inherit; transition: color var(--transition); } ul { list-style: none; } button, input, select, textarea { font-family: inherit; font-size: inherit; } .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .section { padding: 80px 0; } .section--dark { background: var(--black); color: var(--white); } .section--gray { background: var(--gray-100); } .section__header { text-align: center; margin-bottom: 48px; } .section__header--light .section__title { color: var(--white); } .section__header--light .section__desc { color: rgba(255,255,255,0.7); } .section__tag { display: inline-block; background: var(--yellow-light); color: var(--black); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 16px; border-radius: 50px; margin-bottom: 12px; } .section--dark .section__tag { background: var(--yellow); } .section__title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: var(--black); margin-bottom: 12px; line-height: 1.2; } .section__desc { font-size: 1.05rem; color: var(--gray-500); max-width: 560px; margin: 0 auto; } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border: 2px solid transparent; border-radius: 50px; cursor: pointer; transition: all var(--transition); white-space: nowrap; } .btn--primary { background: var(--yellow); color: var(--black); border-color: var(--yellow); } .btn--primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 215, 0, 0.35); } .btn--outline { background: transparent; color: var(--white); border-color: var(--white); } .btn--outline:hover { background: var(--white); color: var(--black); } .btn--sm { padding: 10px 22px; font-size: 0.875rem; } .btn--lg { padding: 16px 36px; font-size: 1rem; } .btn--block { width: 100%; } .btn--whatsapp { background: #25D366; color: var(--white); border-color: #25D366; } .btn--whatsapp:hover { background: #1da851; transform: translateY(-2px); } .btn--email { background: var(--black); color: var(--white); border-color: var(--black); } .btn--email:hover { background: var(--gray-900); transform: translateY(-2px); } .btn--telegram { background: #0088cc; color: var(--white); border-color: #0088cc; } .btn--telegram:hover { background: #006daa; transform: translateY(-2px); } /* Header */ .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h); background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 215, 0, 0.15); transition: box-shadow var(--transition); } .header.scrolled { box-shadow: var(--shadow-lg); } .header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; } .logo { display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: 1.5rem; } .logo__icon { background: var(--yellow); color: var(--black); width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; } .logo__text { color: var(--white); } .nav__list { display: flex; gap: 32px; } .nav__link { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.9375rem; position: relative; } .nav__link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--yellow); transition: width var(--transition); } .nav__link:hover, .nav__link.active { color: var(--yellow); } .nav__link:hover::after, .nav__link.active::after { width: 100%; } .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; } .hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; } .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .hamburger.active span:nth-child(2) { opacity: 0; } .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } /* Hero */ .hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.65) 50%, rgba(10,10,10,0.82) 100%), url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?w=1920&h=1080&fit=crop&q=80') center/cover no-repeat; padding-top: var(--header-h); } .hero__overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(255,215,0,0.08) 0%, transparent 60%); pointer-events: none; } .hero__content { position: relative; text-align: center; padding: 60px 20px 80px; max-width: 860px; } .hero__badge { display: inline-block; background: rgba(255,215,0,0.15); border: 1px solid rgba(255,215,0,0.4); color: var(--yellow); font-size: 0.8125rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 8px 20px; border-radius: 50px; margin-bottom: 24px; } .hero__title { font-size: clamp(2rem, 5.5vw, 3.75rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 20px; } .hero__subtitle { font-size: clamp(1rem, 2.5vw, 1.25rem); color: rgba(255,255,255,0.8); margin-bottom: 36px; } .hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; } .hero__stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; } .hero__stat { text-align: center; color: var(--white); } .hero__stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--yellow); } .hero__stat span { font-size: 0.8125rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; } .hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; } .hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--yellow), transparent); animation: scrollPulse 2s ease-in-out infinite; } @keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } } /* Animations */ .fade-up { animation: fadeUp 0.8s ease both; } .fade-up:nth-child(1) { animation-delay: 0.1s; } .fade-up:nth-child(2) { animation-delay: 0.25s; } .fade-up:nth-child(3) { animation-delay: 0.4s; } .fade-up:nth-child(4) { animation-delay: 0.55s; } .fade-up:nth-child(5) { animation-delay: 0.7s; } @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @media (prefers-reduced-motion: reduce) { .fade-up { animation: none; opacity: 1; transform: none; } } .reveal { opacity: 1; transform: none; } html.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; } html.js .reveal.visible { opacity: 1; transform: translateY(0); } @media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } } /* Booking Form */ .booking { background: var(--gray-100); } .booking__grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; } .booking__form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; } .form-row--3 { grid-template-columns: repeat(3, 1fr); } .form-group { margin-bottom: 20px; } .form-row .form-group { margin-bottom: 0; } .form-group label { display: block; font-weight: 600; font-size: 0.875rem; color: var(--black); margin-bottom: 8px; } .form-group small { display: block; font-size: 0.75rem; color: var(--gray-500); margin-top: 4px; } .input-wrap { position: relative; } .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--gray-500); pointer-events: none; } .input-wrap input, .input-wrap select { width: 100%; padding: 14px 14px 14px 44px; border: 2px solid var(--gray-300); border-radius: var(--radius); background: var(--white); color: var(--black); transition: border-color var(--transition), box-shadow var(--transition); appearance: none; } .input-wrap select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; } .input-wrap input:focus, .input-wrap select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2); } .input-wrap input.error, .input-wrap select.error { border-color: #e53935; } .trip-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .trip-type input { display: none; } .trip-type__box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 2px solid var(--gray-300); border-radius: var(--radius); font-size: 0.8125rem; font-weight: 600; text-align: center; cursor: pointer; transition: all var(--transition); } .trip-type__box svg { width: 24px; height: 24px; color: var(--gray-500); } .trip-type input:checked + .trip-type__box { border-color: var(--yellow); background: var(--yellow-light); color: var(--black); } .trip-type input:checked + .trip-type__box svg { color: var(--black); } .trip-type__box:hover { border-color: var(--yellow); } /* Fare Panel */ .fare-panel { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); box-shadow: var(--shadow-lg); } .fare-panel__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; } .fare-panel__header h3 { font-size: 1.125rem; font-weight: 700; } .fare-panel__admin-btn { background: rgba(255,215,0,0.15); border: 1px solid rgba(255,215,0,0.3); color: var(--yellow); width: 36px; height: 36px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); } .fare-panel__admin-btn:hover { background: rgba(255,215,0,0.25); } .fare-panel__total { background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%); color: var(--black); border-radius: var(--radius); padding: 20px; text-align: center; margin-bottom: 24px; } .fare-panel__label { display: block; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; } .fare-panel__amount { display: block; font-size: 2.25rem; font-weight: 800; line-height: 1.2; } .fare-breakdown li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.875rem; color: rgba(255,255,255,0.75); } .fare-breakdown li span:last-child { font-weight: 600; color: var(--white); } .fare-breakdown__vehicle { color: var(--yellow) !important; } .fare-panel__note { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 16px; line-height: 1.5; } /* Routes */ .routes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; } .route-card { display: flex; align-items: center; gap: 16px; background: var(--black-soft); border: 1px solid rgba(255,215,0,0.15); border-radius: var(--radius); padding: 24px; cursor: pointer; transition: all var(--transition); } .route-card:hover { border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(255, 215, 0, 0.12); } .route-card__icon { flex-shrink: 0; width: 48px; height: 48px; background: rgba(255,215,0,0.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--yellow); } .route-card__icon svg { width: 22px; height: 22px; } .route-card__content h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; } .route-card__content p { font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; } .route-card__price { font-size: 0.875rem; font-weight: 700; color: var(--yellow); } /* Fleet */ .fleet__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; } .fleet-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); border: 2px solid transparent; } .fleet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); } .fleet-card.selected { border-color: var(--yellow); } .fleet-card__image { position: relative; height: 200px; overflow: hidden; } .fleet-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .fleet-card:hover .fleet-card__image img { transform: scale(1.06); } .fleet-card__badge { position: absolute; top: 12px; right: 12px; background: var(--yellow); color: var(--black); font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 12px; border-radius: 50px; } .fleet-card__body { padding: 24px; } .fleet-card__body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; } .fleet-card__capacity { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--gray-500); margin-bottom: 16px; } .fleet-card__features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; } .fleet-card__features li { background: var(--gray-100); font-size: 0.75rem; font-weight: 500; padding: 4px 12px; border-radius: 50px; color: var(--gray-700); } .fleet-card__footer { display: flex; align-items: center; justify-content: space-between; } .fleet-card__price { font-weight: 700; color: var(--black); font-size: 0.9375rem; } /* Why Choose Us */ .why__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; } .why-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); transition: transform var(--transition); } .why-card:hover { transform: translateY(-4px); } .why-card__icon { width: 64px; height: 64px; background: var(--yellow-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--black); } .why-card__icon svg { width: 28px; height: 28px; } .why-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 10px; } .why-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; } /* Contact */ .contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } .contact__desc { color: var(--gray-500); margin-bottom: 32px; font-size: 1.05rem; } .contact__items { display: flex; flex-direction: column; gap: 20px; } .contact__item { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--gray-100); border-radius: var(--radius); transition: background var(--transition); } .contact__item:hover { background: var(--yellow-light); } .contact__item-icon { width: 48px; height: 48px; background: var(--yellow); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .contact__item-icon svg { width: 22px; height: 22px; color: var(--black); } .contact__item strong { display: block; font-size: 0.8125rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; } .contact__item span { font-weight: 600; color: var(--black); } .contact__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 360px; } .contact__map iframe { width: 100%; height: 100%; border: 0; } /* Footer */ .footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 64px 0 0; } .footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); } .footer__brand p { font-size: 0.875rem; line-height: 1.7; margin: 16px 0 24px; } .footer__social { display: flex; gap: 12px; } .footer__social a { width: 40px; height: 40px; background: rgba(255,255,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); transition: all var(--transition); } .footer__social a:hover { background: var(--yellow); color: var(--black); transform: translateY(-2px); } .footer__social svg { width: 18px; height: 18px; } .footer__links h4 { color: var(--white); font-size: 0.9375rem; font-weight: 700; margin-bottom: 20px; } .footer__links li { margin-bottom: 10px; } .footer__links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); } .footer__links a:hover { color: var(--yellow); } .footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.8125rem; flex-wrap: wrap; gap: 8px; } /* Modal */ .modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition); } .modal.open { opacity: 1; visibility: visible; } .modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); } .modal__content { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 32px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; transform: translateY(20px) scale(0.97); transition: transform var(--transition); box-shadow: var(--shadow-lg); } .modal.open .modal__content { transform: translateY(0) scale(1); } .modal__content--summary { max-width: 520px; text-align: center; } .modal__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; } .modal__header h3 { font-size: 1.25rem; font-weight: 700; } .modal__close { background: var(--gray-100); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--gray-700); transition: background var(--transition); } .modal__close:hover { background: var(--gray-300); } .modal__divider { border: none; border-top: 1px solid var(--gray-300); margin: 20px 0; } .modal__section-title { font-weight: 700; font-size: 0.875rem; margin-bottom: 16px; color: var(--gray-700); } .modal .form-group input { width: 100%; padding: 12px 14px; border: 2px solid var(--gray-300); border-radius: var(--radius); transition: border-color var(--transition); } .modal .form-group input:focus { outline: none; border-color: var(--yellow); } /* Summary */ .summary__icon { width: 72px; height: 72px; background: #E8F5E9; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; color: #2E7D32; } .summary__icon svg { width: 36px; height: 36px; } .summary__body { text-align: left; background: var(--gray-100); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; font-size: 0.875rem; line-height: 1.8; } .summary__body dt { font-weight: 600; color: var(--gray-500); display: inline; } .summary__body dd { display: inline; color: var(--black); margin: 0 0 8px 0; } .summary__body dd::after { content: '\A'; white-space: pre; } .summary__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; } .summary__actions .btn { width: 100%; padding: 14px; } .summary__note { font-size: 0.8125rem; color: var(--gray-500); } /* Toast */ .toast { position: fixed; bottom: 24px; right: 24px; background: var(--black); color: var(--white); padding: 14px 24px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 3000; transform: translateY(100px); opacity: 0; transition: all var(--transition); border-left: 4px solid var(--yellow); max-width: 360px; } .toast.show { transform: translateY(0); opacity: 1; } .toast.error { border-left-color: #e53935; } .toast.success { border-left-color: #43A047; } /* Responsive */ @media (max-width: 1024px) { .booking__grid { grid-template-columns: 1fr; } .fare-panel { position: static; } .footer__grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 768px) { .section { padding: 60px 0; } .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--black); padding: 24px; transform: translateY(-120%); opacity: 0; transition: all var(--transition); border-bottom: 1px solid rgba(255,215,0,0.15); } .nav.open { transform: translateY(0); opacity: 1; } .nav__list { flex-direction: column; gap: 0; } .nav__link { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); } .hamburger { display: flex; } .header__cta { display: none; } .form-row, .form-row--3 { grid-template-columns: 1fr; } .trip-types { grid-template-columns: repeat(2, 1fr); } .booking__form { padding: 24px; } .contact__grid { grid-template-columns: 1fr; } .contact__map { height: 280px; } .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; text-align: center; } .hero__stats { gap: 24px; } } @media (max-width: 480px) { .trip-types { grid-template-columns: 1fr 1fr; } .hero__actions { flex-direction: column; align-items: center; } .hero__actions .btn { width: 100%; max-width: 280px; } }