
:root {
  /* Brand Colors */
  --color-dark: #0f172a;    /* Slate 900 */
  --color-primary: #1e3a8a; /* Blue 900 */
  --color-accent: #2563eb;  /* Blue 600 */
  --color-light: #f8fafc;   /* Slate 50 */
  --color-white: #ffffff;
  --color-text: #334155;    /* Slate 700 */
  --color-text-light: #64748b; /* Slate 500 */
  
  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;
  --border-radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-light);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: transform 0.2s, background-color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-whatsapp {
  background-color: #16a34a;
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp:hover {
  background-color: #15803d;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* REVERTED LOGO STYLE - CLEAN & SIMPLE */
.logo-icon {
  color: var(--color-primary); /* Blue 900 */
  font-size: 2.5rem; /* Large icon */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 800;
  color: var(--color-dark);
  font-size: 1.125rem;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark); /* Fallback color */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; /* Ensure no repeat */
  margin-top: var(--nav-height);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-dark), rgba(15, 23, 42, 0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 900px;
}

/* Force white text in Hero */
.hero h1, 
.hero p,
.hero .hero-subtitle {
  color: #ffffff !important;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-top: 1rem;
  font-weight: 300;
}

/* Cards & Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-top: 4px solid transparent;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-primary { border-color: var(--color-primary); }
.card-accent { border-color: var(--color-accent); }

/* About Page Specifics */
.profile-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--color-primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #cbd5e1;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 1.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--color-accent);
  border-radius: 50%;
  border: 4px solid var(--color-light);
}

/* Services Page Specifics */
.service-card {
  overflow: hidden;
}

.service-icon-box {
  background: var(--color-primary);
  padding: 2rem;
  display: flex;
  justify-content: center;
  transition: background 0.3s;
}

.service-card:hover .service-icon-box {
  background: var(--color-accent);
}

.service-icon-box i {
  font-size: 3rem;
  color: white;
}

/* Contact Page Specifics */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.contact-icon {
  background: var(--color-primary);
  color: white;
  padding: 0.75rem;
  border-radius: 50%;
  display: flex;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: #94a3b8;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid #1e293b;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-social-section {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: #cbd5e1;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.social-link:hover {
  background-color: var(--color-accent);
  color: white;
  transform: translateY(-3px);
}

/* Style specifically for the X SVG icon to match text color behavior */
.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 900;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-link {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .nav-link:hover {
    background-color: var(--color-light);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
