/*
Theme Name: Farmacia Del Pozo Brand Theme
Author: Assistant
Description: Custom theme for Farmacia Del Pozo recreating Figma Design 3.
Version: 1.0
*/

:root {
  --primary: #0066cc;
  --secondary: #00b4d8;
  --accent: #ff6b6b;
  --dark: #1a1a1a;
  --gray: #666666;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--gray);
  line-height: 1.6;
  background: var(--light-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-items {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  text-align: right;
}

.contact-info .phone {
  font-weight: bold;
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('https://farmaciadelpozo.com/wp-content/uploads/2026/03/hero_pharmacy_bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 120px 5% 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  padding: 4rem;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,102,204,0.1);
  border: 1px solid rgba(255,255,255,0.8);
}

.top-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.btn-group {
  display: flex;
  gap: 1.25rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(0,102,204,0.3);
}

.btn-primary:hover {
  background: #0052a3;
  transform: translateY(-2px);
  color: var(--white);
}

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

.btn-outline:hover {
  background: rgba(0,102,204,0.05);
}

.stats-row {
  margin-top: 3rem;
  display: flex;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features */
.features {
  padding: 7rem 5%;
  background: var(--white);
  text-align: center;
}

.features .section-title {
  margin-bottom: 4rem;
}

.features .section-title span {
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.9rem;
}

.features .section-title h2 {
  font-size: 3rem;
  margin-top: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 3rem 2rem;
  background: var(--light-bg);
  border-radius: 24px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: var(--white);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(0,102,204,0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Services */
.services {
  padding: 7rem 5%;
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.service-image {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 3rem;
}

.service-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 3rem; }
  .features-grid, .services-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 2.5rem; }
  .stats-row { flex-direction: column; gap: 1.5rem; }
}
