/* Estilos para The Profile Clinic */

/* Variables de colores */
:root {
  --color-beige: #d2b8a4;
  --color-beige-light: #f0e6da;
  --color-beige-dark: #b39b87;
  --color-text: #4a4a4a;
  --color-text-light: #ffffff;
  --primary-color: #4a7c59;
  --secondary-color: #6fa8dc;
  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Montserrat', sans-serif;
}

/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--color-text);
  background-color: var(--color-beige-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-beige-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 1px solid var(--color-text);
  border-radius: 2px;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-text);
  color: var(--color-beige-light);
}

.btn-primary {
  background-color: var(--color-beige);
  border-color: var(--color-beige);
  color: var(--color-text);
}

.btn-primary:hover {
  background-color: var(--color-beige-dark);
  border-color: var(--color-beige-dark);
}

/* Header y navegación */
header {
  background-color: var(--color-beige);
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--color-text-light);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-transform: lowercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -3px;
  left: 0;
  background-color: var(--color-text-light);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-text-light);
}

/* Hero section */
.hero {
  background-color: var(--color-beige);
  padding: 10rem 0 6rem;
  text-align: center;
}

.hero h1 {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hero-btn {
  margin-top: 2rem;
  border-color: var(--color-text-light);
  color: var(--color-text-light);
}

.hero-btn:hover {
  background-color: var(--color-text-light);
  color: var(--color-beige);
}

/* Secciones */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Sobre nosotros */
.about {
  background-color: var(--color-beige-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about-img {
  flex: 1;
  min-width: 300px;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  flex: 1;
  padding: 2rem;
  min-width: 300px;
}

/* Tratamientos */
.treatments {
  background-color: var(--color-beige-light);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.treatment-card {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.treatment-img {
  height: 200px;
  overflow: hidden;
}

.treatment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.treatment-card:hover .treatment-img img {
  transform: scale(1.05);
}

.treatment-content {
  padding: 1.5rem;
  text-align: center;
}

.treatment-content h3 {
  margin-bottom: 1rem;
}

/* Resultados */
.results {
  background-color: var(--color-beige);
  color: var(--color-text-light);
  text-align: center;
}

/* Contacto */
.contact {
  background-color: var(--color-beige-light);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: var(--font-secondary);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-beige);
}

/* Footer */
footer {
  background-color: var(--color-beige-dark);
  color: var(--color-text-light);
  padding: 3rem 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--color-text-light);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  list-style: none;
  margin-top: 1rem;
}

.social-links li {
  margin-right: 1rem;
}

.social-links a {
  color: var(--color-text-light);
  font-size: 1.2rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Media queries */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--color-beige);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    margin: 1.5rem 0;
  }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .about {
    flex-direction: column;
  }
  
  .about-img, .about-content {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Estilos para el logotipo */
.logo-img {
  height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-right: 0.5rem;
}

/* Ajustes para el header cuando se hace scroll */
header.scrolled .logo-img {
  height: 50px;
}

/* Responsive para el logotipo */
@media (max-width: 768px) {
  .logo-img {
    height: 50px;
    max-width: 180px;
  }
  
  header.scrolled .logo-img {
    height: 45px;
  }
}

@media (max-width: 576px) {
  .logo-img {
    height: 45px;
    max-width: 150px;
  }
  
  header.scrolled .logo-img {
    height: 40px;
  }
}

