/* PREMIUM AESTHETIC SURGERY WEBSITE - Estética Medellín */

/* ------ Custom Properties ------ */
:root {
  --deep-green: #12312B;
  --accent-green: #2D5016;
  --sage-green: #4a6741;
  --cream: #F8F4EB;
  --warm-cream: #faf9f6;
  --charcoal: #2D2A26;
  --soft-gray: #626e81;
  --light-gray: #f4f4f4;
  --white: #ffffff;
  --gold: #c9a96e;
  
  --shadow-light: 0 10px 40px rgba(45, 42, 38, 0.1);
  --shadow-medium: 0 20px 60px rgba(45, 42, 38, 0.15);
  --shadow-heavy: 0 30px 80px rgba(45, 42, 38, 0.2);
}

/* ------ Reset & Typography ------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 { font-size: 3.5rem; font-weight: 200; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--soft-gray);
}

/* ------ Layout & Containers ------ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-sm { padding: 4rem 0; }
.section-lg { padding: 8rem 0; }

/* ------ Navigation ------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(248, 244, 235, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(248, 244, 235, 0.98);
  box-shadow: var(--shadow-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo a {
  font-size: 1.5rem;
  color: var(--deep-green);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 1px;
}

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

.nav-menu a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a:hover {
  color: var(--deep-green);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--deep-green);
  transition: width 0.3s ease;
}

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

.language-switcher {
  display: flex;
  gap: 0.5rem;
}

.language-switcher a {
  padding: 0.5rem 1rem;
  color: var(--soft-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 20px;
}

.language-switcher .active {
  background: var(--deep-green);
  color: var(--white);
}

/* ------ Hero Section ------ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--cream) 0%, var(--warm-cream) 50%, var(--white) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: var(--deep-green);
  transform: rotate(15deg);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 40%;
  height: 80%;
  background: var(--sage-green);
  transform: rotate(-12deg);
  z-index: 1;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  font-weight: 200;
}

.hero h2 {
  font-size: 1.5rem;
  color: var(--sage-green);
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 500px;
}

/* ------ Buttons ------ */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--deep-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--deep-green);
  border: 2px solid var(--deep-green);
}

.btn-outline:hover {
  background: var(--deep-green);
  color: var(--white);
}

/* ------ Section with Geometric Elements ------ */
.section-geometric {
  position: relative;
  overflow: hidden;
}

.section-geometric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light-gray);
  z-index: -1;
}

.geometric-shape {
  position: absolute;
  background: var(--deep-green);
  z-index: 1;
}

.geometric-shape.top-right {
  top: -10%;
  right: -5%;
  width: 30%;
  height: 60%;
  transform: rotate(25deg);
}

.geometric-shape.bottom-left {
  bottom: -15%;
  left: -8%;
  width: 25%;
  height: 50%;
  background: var(--sage-green);
  transform: rotate(-20deg);
  opacity: 0.9;
}

/* ------ Content Cards ------ */
.content-card {
  background: var(--white);
  padding: 3rem;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--deep-green);
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.content-card:hover::before {
  transform: scaleY(1);
}

/* ------ Services Grid ------ */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--deep-green), var(--sage-green));
  transition: left 0.4s ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card h3 {
  color: var(--deep-green);
  margin-bottom: 1.5rem;
}

/* ------ Image-Text Combinations ------ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 6rem 0;
}

.split-content {
  position: relative;
  z-index: 2;
}

.split-image {
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.split-image:hover img {
  transform: scale(1.05);
}

.split-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--deep-green);
  z-index: -1;
}

/* ------ Contact Section ------ */
.contact {
  background: var(--deep-green);
  color: var(--white);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.05);
  transform: skew(-15deg);
  transform-origin: top;
}

.contact h2,
.contact h3 {
  color: var(--white);
}

.contact p {
  color: rgba(255,255,255,0.9);
}

.contact-form {
  background: rgba(255,255,255,0.1);
  padding: 3rem;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cream);
  background: rgba(255,255,255,0.15);
}

/* ------ Footer ------ */
footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 3rem 0;
  text-align: center;
}

/* ------ Responsive Design ------ */
@media (max-width: 768px) {
  body { padding-top: 80px; }
  
  .hero::before,
  .hero::after {
    display: none;
  }
  
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .split-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 4rem 0; }
  
  .content-card,
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  h1 { font-size: 2rem; }
}

/* ------ Animations ------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in {
  animation: slideInLeft 0.8s ease-out;
}