@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f4f4;
  color: #222;
}

.public-header {
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.container-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-text {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: #e5e5e5;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.3s;
}

.nav-link:hover {
  background: rgba(255,255,255,0.15);
}

.profile-menu {
  position: relative;
  display: inline-block;
  padding: 6px;
  cursor: pointer;
  z-index: 10000;
}

.profile-menu i {
  font-size: 32px;
  color: white;
  transition: color 0.3s;
}

.profile-menu:hover i {
  color: #ffb13d;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 0;
  right: 0;
  background: #222;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  min-width: 160px;
  z-index: 9999;
}

.profile-menu:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}

.dropdown a:hover {
  background: #333;
}

.socials {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.socials a {
  color: #ffb13d;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s;
}

.socials a:hover {
  color: #ff7a18;
}

.signup-btn {
  background: linear-gradient(90deg, #ffb13d, #ff7a18);
  box-shadow: 0 4px 10px rgba(255,121,30,0.25);
  padding: 8px 14px;
  border-radius: 8px;
  color: #111;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s;
}

.signup-btn:hover {
  transform: scale(1.05);
}

.phone-link {
  color: white;
  text-decoration: none;
  background: linear-gradient(90deg, #333, #555);
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: bold;
}

.phone-text {
  font-size: 0.9rem;
}

.section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  padding: 60px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-family: 'Trebuchet MS', sans-serif;
  font-weight: 800;
  color: #ffb13d;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #111;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card .icon {
  font-size: 40px;
  color: #ff7a18;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffb13d;
}

.card p {
  color: #eee;
  font-size: 0.95rem;
  font-weight: 700;
}

@media(max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.prices {
  background: #000;
  padding: 60px 20px;
  color: white;
}

.price-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: linear-gradient(90deg, #ffb13d, #ff7a18);
  color: #111;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 121, 30, 0.4);
  transition: transform 0.3s;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 800;
  color: #000;
}

.price-card .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}

.price-card p {
  font-weight: 700;
  color: #222;
}

@media(max-width: 900px) {
  .price-table { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 600px) {
  .price-table { grid-template-columns: 1fr; }
}

.hero {
  position: relative;
  height: 85vh;
  background: url('../img/gym.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #000;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn:hover {
  background: #333;
}

.contact-container {
  max-width: 600px;
  margin: 60px auto;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-container h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #000;
}

.contact-form label {
  display: block;
  margin: 12px 0 6px;
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form select:focus {
  border: 1px solid #000;
  outline: none;
}

.contact-form .btn {
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
}

.public-footer {
  background: #000;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.footer-links-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.footer-links-vertical a {
  color: #ffb13d;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

.footer-links-vertical a:hover {
  color: #ff7a18;
  text-decoration: underline;
}

#servicios.section {
  background: #000;
  color: white;
}

#servicios h2 {
  color: #ffb13d;
}

.video-placeholder {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  background: #111;
  border: 2px dashed #ffb13d;
  margin: 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb13d;
  font-weight: bold;
  text-align: center;
}

.admin-header {
  background: #000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  max-height: 50px;
  font-weight: 900;
  font-size: 1.6rem;
  color: #ffb13d;
}

.admin-nav {
  display: flex;
  gap: 16px;
}

.admin-nav a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.25s;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: #ff7a18;
  color: black;
}

.logout {
  color: #ffb13d;
  font-size: 1.4rem;
}

.content {
  padding: 40px;
}

.grid {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.item {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}

.item:hover {
  transform: translateY(-5px);
}

.item i {
  font-size: 40px;
  color: #ff7a18;
  margin-bottom: 10px;
}

.item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.item-link:visited,
.item-link:hover,
.item-link:active {
    text-decoration: none;
    color: #333;
}

.error-box {
  max-width: 500px;
  margin: 100px auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
}

.error-box h1 {
  font-size: 3rem;
  color: #ff7a18;
  margin-bottom: 20px;
}

.error-box p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

.wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 1140px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.container {
  position: relative;
  width: 100%;
  max-width: 800px;
  display: flex;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  overflow: hidden;
}

.login .col-left,
.login .col-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 30px;
}

.login .col-left {
  width: 50%;
  background: #ffb13d;
  color: #000;
  align-items: center;
  text-align: center;
}

.login .col-left h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.login .col-left .btn {
  background: #000;
  color: #ffb13d;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.login .col-left .btn:hover {
  background: #333;
  color: #ffb13d;
}

.login .col-right {
  width: 50%;
  background: #000;
  color: #fff;
}

.login .login-form h2 {
  color: #ffb13d;
  font-size: 2rem;
  margin-bottom: 30px;
}

.login .login-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #fff;
}

.login .login-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #222;
  color: #fff;
}

.login .login-form input:focus {
  border-color: #ffb13d;
  outline: none;
}

.login .login-form input[type=submit],
.login .login-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #ffb13d;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.login .login-form input[type=submit]:hover,
.login .login-form button:hover {
  background: #e6a700;
}

.login .login-form a {
  color: #ffb13d;
  text-decoration: none;
}

.login .login-form a:hover {
  text-decoration: underline;
}

.google-btn{
    border: 1px solid #000000;
    border-radius: 20%;
    display: inline-flex;
    justify-content: center;
    margin: 0 3px;
    width: 40px;
    align-items: center;
    height: 40px;
    background-color: #000000;
      color: #ffb13d
}

.google-btn:hover{
    background-color: #474747;
    transition: 0.5s;
}

@media(max-width: 900px) {
  .container {
    flex-direction: column;
  }
  .login .col-left,
  .login .col-right {
    width: 100%;
    padding: 30px;
  }
}

@media(max-width: 850px) {
  .phone-text { display: none; }
  .signup-btn { padding: 8px 10px; font-size: 0.85rem; }
}