/* ==========================================
   DB Technology Services — bolella.com
   Warm, modern, professional consulting page
   ========================================== */

:root {
  /* Colors - Deeper & More Vibrant */
  --bg-dark: #0a0f1d;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --color-gold: #fbbf24;
  --color-gold-light: #fcd34d;
  --color-gold-glow: rgba(251, 191, 36, 0.2);
  --color-navy: #1e293b;
  --color-navy-deep: #0f172a;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Shape */
  --radius: 20px;
  --transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================
   Reset & Base
   ========================================== */

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Texture / Subtle Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(30, 41, 59, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.05) 0%, transparent 50%);
  z-index: -1;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
}

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

/* ==========================================
   Hero
   ========================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(10, 15, 29, 0.8), rgba(10, 15, 29, 0.9)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.1);
  transition: transform 2s ease-out;
}

.hero:hover .hero-background {
  transform: scale(1.05);
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.hero-photo-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 2.5rem;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), transparent, var(--color-gold-light));
  box-shadow: 0 0 30px var(--color-gold-glow);
}

.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-dark);
}

.hero-name {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-company {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-location {
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ==========================================
   Glass Cards
   ========================================== */

.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-gold);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(251, 191, 36, 0.3);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.intro-card {
  max-width: 800px;
  margin: 0 auto;
}

.intro-card p {
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.8;
}

/* ==========================================
   Services Grid
   ========================================== */

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

.service-card {
  padding: 2.5rem;
  text-align: center;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.service-card p {
  color: var(--text-secondary);
}

/* ==========================================
   Credentials
   ========================================== */

.credentials-container {
  max-width: 800px;
  margin: 0 auto;
}

.credential-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-gold);
  transition: var(--transition);
}

.credential-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(10px);
}

.credential-item strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-gold);
  font-family: var(--font-heading);
}

.credential-item p {
  color: var(--text-secondary);
}

/* ==========================================
   Contact Section
   ========================================== */

.contact-section {
  text-align: center;
}

.contact-card {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8));
}

.contact-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-gold);
  color: var(--bg-dark);
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  margin-top: 2rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn:hover {
  background: var(--color-gold-light);
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--color-gold-glow);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  padding: 4rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid var(--glass-border);
}

/* ==========================================
   Animations
   ========================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero-name { font-size: 3.5rem; }
  .section { padding: 60px 0; }
  .glass-card { padding: 2rem; }
}
