* {
  -webkit-tap-highlight-color: transparent;
}

a, button {
  outline: none !important;
  box-shadow: none !important;
}

a:focus, button:focus,
a:active, button:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
}

body {
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
/* menu scroll fix */
.menu{
  overflow-y:auto;
}

/* safe area (iphone notch) */
body{
  padding-bottom: env(safe-area-inset-bottom);
}
/* ================= LOADER ================= */
#loader {
  background: radial-gradient(circle, #000, #111);
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-size: 24px;
  color: #ff9900;
  transition: 0.5s;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid #222;
  border-top: 5px solid #ff9900;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ================= NAV ================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.menu {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 15px;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    padding: 15px;
    border-radius: 12px;
    width: 180px;
    z-index: 9999;
  }

  .menu.active {
    display: flex;
  }

  .burger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: white;
  }
}
nav.scrolled {
  background: #000;
  box-shadow: 0 5px 20px rgba(255,153,0,0.3);
}

.logo {
  color: #ff9900;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: .3s;
}

nav a:hover {
  color: #ff9900;
}

/* ================= HERO ================= */
header {
  min-height: 100vh;
  padding: clamp(20px, 5vw, 80px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

header video {
  opacity: 0.6;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transform: scale(1.1);
  filter: brightness(0.7);
}

header::after,
header::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

header::after {
  background: rgba(0,0,0,0.5);
}

header::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.9));
}

header div {
  position: relative;
  z-index: 2;
}

header h1 {
  font-size: 60px;
  text-shadow: 0 0 25px #ff9900;
  color: #ffcc66;
}

header p {
  margin-top: 15px;
  font-size: 24px;
}

/* ================= CONTAINER ================= */
.container {
  width: min(95%, 1200px);
  margin: 80px auto;
}

/* ================= BUTTON ================= */
.btn {
  background: linear-gradient(45deg,#ff9900,#ffcc66);
  color: #000;
  padding: 15px 35px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  transition: .3s;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(255,153,0,0.4);
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px #ff9900;
}

/* ================= GLASS ================= */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 30px;
  margin: 15px 0;
  text-align: center;
  transition: .3s;
}

.glass:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(255,153,0,0.4);
}

.glass i {
  font-size: 40px;
  color: #ff9900;
  margin-bottom: 10px;
}

/* ================= FEATURES ================= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* ================= PORTFOLIO ================= */
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: clamp(250px, 30vw, 400px);
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.item:hover img {
  transform: scale(1.1);
}

.item::after {
  content: "Ko‘rish";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffcc66;
  font-weight: 600;
  opacity: 0;
  transition: .3s;
}

.item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #ff9900;
}

.item:hover::after {
  opacity: 1;
}

.item-text {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  width: 100%;
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

/* ================= REVIEW ================= */
.review {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-left: 5px solid #ff9900;
  margin-top: 20px;
  border-radius: 3px;
  font-style: italic;
}

.review:hover {
  transform: scale(1.03);
}

.review-top {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.review-top img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* ================= CONTACT ================= */
.contact {
  background: rgba(255,255,255,0.05);
  padding: 50px;
  text-align: center;
  border-radius: 15px;
  margin-top: 50px;
  box-shadow: 0 0 35px rgba(255,153,0,0.3);
}

input {
  padding: 15px;
  margin: 12px;
  width: 100%;
  max-width: 400px;
  background: #222;
  border: none;
  color: #fff;
  border-radius: 8px;
}

input:focus {
  outline: none;
  border: 1px solid #ff9900;
}

/* ================= FLOAT ================= */
.float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  transition: .3s;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 25px;
  background: #000;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  header h1 { font-size: 36px; }
  header p { font-size: 18px; }

  .menu { display: none; }

  .burger { display: block; }

  .menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #000;
    padding: 15px;
    width: 200px;
  }
}
#contact {
display: flex;
justify-content: center;
align-items: center;
padding: 60px 20px;
background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
}

.contact-box {
width: 100%;
max-width: 400px;
padding: 30px;
border-radius: 20px;

background: rgba(0, 0, 0, 0.1);
backdrop-filter: blur(12px);

box-shadow: 0 0 30px rgba(255, 204, 0, 0.2);
text-align: center;
}
.sub {
color: #aaa;
font-size: 14px;
margin-bottom: 25px;
}
.form-group {
position: relative;
margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 12px;
background: transparent;
border: 1px solid #333;
border-radius: 10px;
color: #fff;
outline: none;
font-size: 14px;
}

.form-group label {
position: absolute;
left: 12px;
top: 12px;
color: #777;
font-size: 13px;
transition: 0.3s;
pointer-events: none;
background: #111;
padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
top: -8px;
font-size: 11px;
color: #ffcc00;
}

.send-btn {
width: 100%;
padding: 12px;
border: none;
border-radius: 12px;
background: #ffcc00;
color: #000;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
}

.send-btn:hover {
background: #ffd633;
transform: scale(1.03);
}

  
