/* 
 * Adherio Theme Main Stylesheet
 * Incorporates Tailwind utilities manually for requested McKinsey-style, typography-first design.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --color-navy: #0B2B57;
  --color-gold: #C7A75B;
  --color-gold-hover: #b39347;
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-400: #9CA3AF;
  --color-gray-600: #4B5563;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Base resets */
* { box-sizing: border-box; }
body { 
  margin: 0; 
  font-family: var(--font-sans); 
  color: var(--color-gray-800); 
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-serif); 
  color: var(--color-navy); 
  font-weight: 700;
  margin-top: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Utility Classes (Tailwind-like) */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Colors & Backgrounds */
.bg-navy { background-color: var(--color-navy); }
.bg-white { background-color: var(--color-white); }
.bg-gray-50 { background-color: var(--color-gray-50); }
.bg-gray-900 { background-color: var(--color-gray-900); }
.text-white { color: var(--color-white); }
.text-navy { color: var(--color-navy); }
.text-gold { color: var(--color-gold); }

/* Typography */
.font-sans { font-family: var(--font-sans); }
.font-serif { font-family: var(--font-serif); }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }

/* Components */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.button.primary {
  background-color: var(--color-gold);
  color: var(--color-navy);
}
.button.primary:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
}
.button.secondary {
  background-color: transparent;
  border: 1px solid var(--color-gray-200);
  color: var(--color-navy);
}
.button.secondary:hover {
  background-color: var(--color-gray-50);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid var(--color-gray-200);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.site-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
}
.main-navigation menu, .main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}
.main-navigation a {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-gray-800);
}
.main-navigation a:hover {
  color: var(--color-gold);
}

/* Hero */
.hero {
  padding: 6rem 0;
}

/* Footer */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 2fr; }
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
  transition: transform 0.2s;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Animations */
.hover-elevation:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Responsive Grid helpers for basic setup - using standard breakpoints */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gap-8 { gap: 2rem; }
  .gap-12 { gap: 3rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
}
