*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;line-height:1.6;background:#fff}#root,.app{min-height:100vh;display:flex;flex-direction:column}.container{max-width:1200px;margin:0 auto;padding:0 20px;width:100%}.header{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;position:relative;top:auto;z-index:2;border-bottom:none;padding:1rem 0}.nav{display:flex;justify-content:space-between;align-items:center;padding:1rem 0}.logo{display:flex;align-items:center;gap:.6rem;font-size:1.35rem;font-weight:700;color:#1e293b}.logo img{height:42px;width:auto}.nav-links{display:flex;gap:2rem}.nav-links a{text-decoration:none;color:#333;font-weight:500;transition:color .3s}.nav-links a:hover{color:#2563eb}.header .logo{color:#f8fafc}.header .nav-links a{color:#e2e8f0}.header .nav-links a:hover{color:#fff}.hero{position:relative;height:55vh;min-height:380px;overflow:hidden;display:flex;align-items:center}.hero-video{position:absolute;top:50%;left:50%;width:100%;height:100%;object-fit:cover;transform:translate(-50%,-50%);z-index:-2}.hero-overlay{position:relative;width:100%;height:100%;background:linear-gradient(120deg,#060b26d9,#0f172a59);color:#fff;display:flex;flex-direction:column;justify-content:space-between;text-align:center;padding:1.5rem 0 4rem}.hero-overlay:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:35%;background:linear-gradient(180deg,#f8fafc00,#fff);pointer-events:none}.hero-header{width:100%}.hero-content-wrapper{flex:1;display:flex;align-items:center;justify-content:center}.hero-content h1{font-size:3rem;margin-bottom:1rem;font-weight:700}.hero-subtitle{font-size:1.25rem;margin-bottom:0;color:#ffffffd9}.cta-button{background:#2563eb;color:#fff;border:none;padding:1rem 2.5rem;font-size:1.1rem;font-weight:600;border-radius:50px;cursor:pointer;transition:transform .3s,box-shadow .3s}.cta-button:hover{transform:translateY(-2px);box-shadow:0 10px 25px #0003}.cars-section{padding:5rem 0;background:#fff}.section-title{text-align:center;font-size:2.5rem;margin-bottom:2rem;color:#1a1a1a}.search-container{max-width:600px;margin:0 auto 3rem;padding:0 20px}.search-bar{width:100%;padding:1rem 1.5rem;font-size:1rem;border:2px solid #ddd;border-radius:50px;outline:none;transition:border-color .3s,box-shadow .3s;font-family:inherit}.search-bar:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.search-bar::placeholder{color:#999}.cars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}.car-card{background:#fff;border-radius:14px;padding:1.1rem;text-align:center;box-shadow:0 6px 16px #0f172a14;transition:transform .2s,box-shadow .2s;cursor:pointer}.car-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px #00000026}.car-card:focus-visible{outline:3px solid #2563eb;outline-offset:4px}.car-image{width:100%;min-height:120px;border-radius:12px;background:#f8fafc;display:flex;align-items:center;justify-content:center;margin-bottom:.6rem;overflow:hidden}.car-image.emoji span{font-size:3.5rem}.car-photo{width:100%;height:100%;object-fit:contain;background:#fff}.car-card h3{font-size:1.5rem;margin-bottom:.5rem;color:#1a1a1a}.car-header{display:flex;justify-content:center;gap:.6rem;align-items:baseline;flex-wrap:wrap;margin-bottom:.35rem}.car-year{font-size:1rem;color:#2563eb;font-weight:600}.car-description{color:#5b6475;margin-bottom:.75rem;min-height:40px;line-height:1.5;font-size:.9rem}.car-meta{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1.5rem}.car-meta span{background:#f1f5f9;color:#475569;font-size:.85rem;padding:.25rem .7rem;border-radius:999px}.car-card p{color:#666;margin-bottom:1rem}.car-price{font-size:1.25rem;font-weight:700;color:#2563eb}.no-results{grid-column:1 / -1;text-align:center;padding:3rem;color:#666;font-size:1.1rem}.about-section{padding:5rem 0;background:#fff}.about-content{max-width:800px;margin:0 auto}.about-content>p{font-size:1.1rem;line-height:1.8;color:#555;margin-bottom:3rem;text-align:center}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-top:2rem}.feature{text-align:center;padding:1.5rem}.feature h3{color:#2563eb;margin-bottom:.5rem;font-size:1.2rem}.feature p{color:#666}.contact-section{padding:5rem 0;background:#fff}.contact-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:3rem;max-width:1000px;margin:0 auto}.contact-info{display:flex;flex-direction:column;gap:2rem}.contact-item h3{color:#2563eb;margin-bottom:.5rem;font-size:1.2rem}.contact-item p{color:#666}.contact-form{display:flex;flex-direction:column;gap:1rem}.contact-form input,.contact-form textarea{padding:1rem;border:1px solid #ddd;border-radius:8px;font-size:1rem;font-family:inherit;transition:border-color .3s}.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:#2563eb}.submit-button{background:#2563eb;color:#fff;border:none;padding:1rem 2rem;font-size:1rem;font-weight:600;border-radius:8px;cursor:pointer;transition:background .3s}.submit-button:hover{background:#1d4ed8}.footer{background:#fff;color:#1a1a1a;text-align:center;padding:2rem 0;margin-top:auto;border-top:1px solid #e5e7eb}.footer-content{display:flex;flex-direction:column;align-items:center;gap:.75rem}.footer-logo{display:flex;align-items:center;gap:.6rem;font-weight:600}.footer-logo img{height:36px}.car-modal-overlay{position:fixed;inset:0;background:#0f172aa6;display:flex;justify-content:center;align-items:center;padding:1.5rem;z-index:999}.car-modal{background:#fff;border-radius:20px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;padding:2rem;position:relative;box-shadow:0 30px 60px #0f172a40}.modal-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#475569}.modal-header{display:flex;align-items:baseline;gap:.75rem;margin-bottom:1rem}.modal-header span{color:#2563eb;font-weight:600}.modal-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:1.5rem}.modal-gallery img{width:100%;height:180px;object-fit:contain;background:#f8fafc;border-radius:12px}.modal-description{line-height:1.8;color:#475569;margin-bottom:1.5rem}.modal-meta{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.modal-meta span{background:#eef2ff;color:#4338ca;padding:.4rem .9rem;border-radius:999px;font-weight:600}.modal-price{font-size:1.5rem;font-weight:700;color:#2563eb}.admin-page{min-height:100vh;background:#f8fafc;color:#0f172a}.admin-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:2rem 0}.admin-header-content{max-width:1100px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.admin-header-actions{display:flex;align-items:center;gap:1rem}.admin-user{display:flex;flex-direction:column;align-items:flex-end;color:#1f2937;font-size:.9rem}.admin-user span{font-weight:600}.admin-header-text{flex:1;min-width:200px;color:#475569}.admin-main{max-width:1100px;margin:2rem auto;padding:0 20px 4rem;display:flex;flex-direction:column;gap:2rem}.admin-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 15px 35px #0f172a14;border:1px solid #e2e8f0}.admin-card-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.admin-link-btn{background:none;border:none;color:#2563eb;cursor:pointer;font-weight:600}.admin-alert{padding:.85rem 1.25rem;border-radius:8px;margin-bottom:1.5rem}.admin-alert-success{background:#ecfdf5;color:#047857}.admin-alert-error{background:#fef2f2;color:#b91c1c}.admin-form label{display:flex;flex-direction:column;gap:.4rem;font-weight:600;color:#0f172a}.admin-form input,.admin-form textarea,.admin-form select{padding:.85rem 1rem;border-radius:10px;border:1px solid #d1d5db;font-size:1rem;font-family:inherit}.image-preview-grid{margin-top:.75rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.image-preview{display:flex;flex-direction:column;gap:.4rem}.image-preview img{width:160px;height:120px;object-fit:cover;border-radius:10px;border:1px solid #e2e8f0}.image-preview button{align-self:flex-start;padding:.2rem .4rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;margin-bottom:1.5rem}.admin-submit-btn{margin-top:1rem;align-self:flex-start}.admin-card table{width:100%;border-collapse:collapse;font-size:.95rem}.admin-card th,.admin-card td{text-align:left;padding:1rem .5rem;border-bottom:1px solid #e2e8f0;vertical-align:top}.admin-table{overflow-x:auto}.table-title{display:flex;gap:.75rem}.table-thumb{width:48px;height:48px;object-fit:cover;border-radius:8px}.table-title p{margin:.2rem 0 0;color:#64748b}.car-emoji{font-size:1.5rem}.admin-actions{display:flex;gap:.5rem}.admin-actions button{background:none;border:none;cursor:pointer;font-weight:600;color:#2563eb}.admin-actions .danger{color:#dc2626}.admin-count{color:#475569;font-weight:600}@media(max-width:1200px){.cars-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.cars-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cars-grid{grid-template-columns:1fr}}@media(max-width:768px){.admin-header-content{flex-direction:column;align-items:flex-start}.admin-header-actions{flex-direction:column;align-items:flex-start;width:100%}.admin-user{align-items:flex-start}.admin-card{padding:1.5rem}.admin-card th,.admin-card td{padding:.75rem .3rem}}@media(max-width:768px){.nav{flex-direction:column;gap:1rem}.nav-links{gap:1rem}.hero-content h1{font-size:2rem}.hero{height:50vh;min-height:320px}.section-title{font-size:2rem}.contact-content{grid-template-columns:1fr}.footer-content{text-align:center}}
