body {
  background: #0f172a;
  color: white;
  font-family: Arial;
  text-align: center;
}

h1 {
  margin-top: 20px;
}

.form {
  margin: 20px;
}

input {
  padding: 10px;
  margin: 5px;
  border-radius: 8px;
  border: none;
}

button {
  padding: 10px 20px;
  background: #22c55e;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* HERO */
.hero {
  height: 300px;
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e");

  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 32px;
  margin: 0;
}

.hero p {
  opacity: 0.8;
}

/* SEARCH */
#search {
  padding: 12px;
  width: 250px;
  border-radius: 10px;
  border: none;
  margin-top: 20px;
}

/* GRID */
#masters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding: 15px;
}

/* CARD */
.card {
  background: rgba(30, 41, 59, 0.9);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  transition: 0.2s;

  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card:hover {
  transform: translateY(-3px);
}

.card h3 {
  margin: 0;
  font-size: 16px;
}

.card p {
  color: white;
  opacity: 0.9;
  margin: 5px 0;
}

/* BUTTONS */
.card a {
  text-decoration: none;
  font-weight: bold;
}

.map-btn {
  display: block;
  background: #3b82f6;
  padding: 8px;
  border-radius: 10px;
  color: white;
  margin-top: 6px;
  border: none;
  cursor: pointer;
}

.map-btn:hover {
  background: #2563eb;
}

.call-btn {
  display: block;
  background: #22c55e;
  padding: 8px;
  border-radius: 10px;
  color: white;
  margin-top: 6px;
  text-align: center;
}

/* MAP */
.map {
  display: none;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
}

.map iframe {
  border: none;
  border-radius: 12px;
}

/* 📱 MOBILE */
@media (max-width: 600px) {

  body {
    text-align: left;
  }

  h1 {
    font-size: 20px;
    padding: 10px;
  }

  .form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
  }

  input {
    width: 100%;
    box-sizing: border-box;
  }

  #search {
    width: 90%;
    margin: 10px auto;
    display: block;
  }

  #masters {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .card {
    width: 100%;
    border-radius: 14px;
    padding: 12px;
  }

  .map-btn,
  .call-btn {
    font-size: 14px;
    padding: 10px;
  }

  .hero {
    height: 200px;
  }

  .hero h1 {
    font-size: 18px;
  }
}

/* TOUCH FIX */
* {
  -webkit-tap-highlight-color: transparent;
}

button, a {
  touch-action: manipulation;
}

body {
  user-select: none;
}

/* LANGUAGE */
.lang-switch {
  position: absolute;
  top: 10px;
  right: 10px;
}

.lang-switch button {
  margin: 2px;
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}