/* ══════════════════════════════════════════════════════════════════
   FABRÍCIO LYEDHER — PERSONAL LANDING PAGE
   CSS STYLE SHEET — PREMIUM & TRUSTWORTHY DESIGN SYSTEM
   ══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
  --primary-color: #0f4c28;      /* Deep Forest Green (Trust & Environment) */
  --primary-light: #166c3a;
  --secondary-color: #c5a059;    /* Muted Gold (Medals, Honors & Excellence) */
  --secondary-hover: #b08d4b;
  --dark-color: #0f172a;         /* Slate Blue / Deep Navy */
  --light-color: #f8fafc;        /* Cool Slate White */
  --card-bg: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --success-color: #10b981;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(15, 76, 40, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════ BASE STYLES ═══════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* ═══════════════════ CONTAINER ═══════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 76, 40, 0.3);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 40, 0.4);
}

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

.btn-secondary:hover {
  background: rgba(15, 76, 40, 0.05);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* ═══════════════════ HEADER / NAV ═══════════════════ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(15, 76, 40, 0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition);
}

header.scrolled .nav-wrapper {
  height: 70px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

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

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

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

/* ═══════════════════ HERO SECTION ═══════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: radial-gradient(circle at 80% 20%, rgba(15, 76, 40, 0.05) 0%, rgba(248, 250, 252, 1) 70%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern.png') opacity(0.02); /* Clean decorative pattern if any */
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 76, 40, 0.08);
  border: 1px solid rgba(15, 76, 40, 0.15);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-badge i {
  color: var(--secondary-color);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.hero-title span {
  color: var(--primary-color);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-container {
  width: 380px;
  height: 380px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-decor-1 {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 140px;
  height: 140px;
  border-radius: var(--border-radius-md);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  border: 1px solid rgba(15, 76, 40, 0.1);
}

.hero-img-decor-1 span.num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.hero-img-decor-1 span.txt {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-img-decor-2 {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  border: 2px solid var(--secondary-color);
  z-index: 1;
  pointer-events: none;
}

/* ═══════════════════ SECTION HEADERS ═══════════════════ */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title-text {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-color);
}

.section-header p {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ═══════════════════ ABOUT SECTION ═══════════════════ */
.about {
  background-color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.about-feature {
  background: var(--light-color);
  padding: 20px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-summary {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-paragraph {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Info badge lists */
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.badge-item {
  background: #f1f5f9;
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ═══════════════════ SERVICES SECTION ═══════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 76, 40, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 76, 40, 0.08);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(15, 76, 40, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: #fff;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ═══════════════════ HONORS / MEDALS ═══════════════════ */
.honors {
  background-color: var(--dark-color);
  color: #fff;
  overflow: hidden;
}

.honors .section-title-text, .honors h3, .honors h4 {
  color: #fff;
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.medal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.medal-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--secondary-color);
}

.medal-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.medal-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.medal-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.medal-tag {
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: auto;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* ═══════════════════ GALLERY ═══════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  aspect-ratio: 4 / 3;
  border: 4px solid #fff;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ═══════════════════ CONTACT SECTION ═══════════════════ */
.contact {
  background-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--light-color);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 76, 40, 0.05);
}

.contact-info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--primary-color);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-method i {
  font-size: 1.3rem;
  color: var(--primary-color);
  background: rgba(15, 76, 40, 0.08);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark-color);
}

.contact-method p, .contact-method a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.contact-method a:hover {
  color: var(--primary-color);
}

.verification-notice {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  display: flex;
  gap: 10px;
}

.verification-notice i {
  color: var(--success-color);
  font-size: 1rem;
}

/* Contact Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-group input, .form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid #e2e8f0;
  background: var(--light-color);
  transition: var(--transition);
  color: var(--text-primary);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 76, 40, 0.1);
}

.contact-form button {
  grid-column: span 2;
  justify-self: flex-start;
  margin-top: 10px;
}

/* ═══════════════════ FOOTER ═══════════════════ */
footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ═══════════════════ LEGAL PAGES STYLING (PRIVACY/TERMS) ═══════════════════ */
.legal-page {
  padding-top: 140px;
  background-color: #fff;
  min-height: 100vh;
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 40px;
  display: block;
}

.legal-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--dark-color);
  margin: 40px 0 20px;
}

.legal-content p {
  margin-bottom: 20px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ═══════════════════ RESPONSIVE BREAKPOINTS ═══════════════════ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 24px;
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-badge {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    margin: 0 auto 30px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-img-container {
    width: 320px;
    height: 320px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
  }

  .hero-img-container {
    width: 260px;
    height: 260px;
  }

  .hero-img-decor-1 {
    width: 100px;
    height: 100px;
    padding: 10px;
    bottom: -10px;
    left: -10px;
  }

  .hero-img-decor-1 span.num {
    font-size: 1.3rem;
  }

  .hero-img-decor-1 span.txt {
    font-size: 0.65rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .contact-form button {
    width: 100%;
  }
}
