:root {
  --heading-color: #ae8625;
  --body-color: #cfcbbf;
  --card-bg: #1b1c1d;
  --accent-yellow: #eee27d;
  --dark-bg: #0d0d09;
  --gold-gradient: linear-gradient(
    132deg,
    #866f2d 5%,
    #f7ef8a 45%,
    #ae8625 85%
  );
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", sans-serif;
  background-color: #1d1c18;
  background-image: url("../images/background.png");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--body-color);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Prata", serif;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-dark {
  background: var(--dark-bg);
}

.card-yellow {
  background: var(--accent-yellow);
  color: #1b1c1d;
}

.card-yellow h2,
.card-yellow h3,
.card-yellow h4 {
  color: #1b1c1d;
}

.card-yellow p {
  color: #333;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Hero section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 80vh;
  padding: 2rem 0;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #1b1c1d;
}

.btn-primary:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* Service boxes */
.service-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.service-box .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
}

.service-box .icon img {
  width: 100%;
  height: 100%;
  filter: invert(59%) sepia(50%) saturate(456%) hue-rotate(8deg) brightness(95%)
    contrast(88%);
}

/* Feature list */
.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li::before {
  content: "•";
  color: var(--heading-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Process steps */
.process-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1b1c1d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

/* Image cards */
.image-card {
  border-radius: 12px;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.image-card-content {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--heading-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}

/* Note box */
.note-box {
  background: rgba(174, 134, 37, 0.1);
  border: 1px solid var(--heading-color);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.note-box-dark {
  background: rgba(27, 28, 29, 0.8);
  border: 1px solid #333;
}

/* Form styles */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #333;
  border-radius: 8px;
  background: #2a2a2a;
  color: var(--body-color);
  font-family: inherit;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Outline boxes */
.outline-box {
  border-left: 4px solid var(--accent-yellow);
  padding: 1rem;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

/* Highlight text */
.highlight {
  background: var(--accent-yellow);
  color: #1b1c1d;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

/* Sections spacing */
section {
  padding: 3rem 0;
}

/* Navigation placeholder */
nav {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  background: rgba(27, 28, 29, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
}

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

.logo {
  font-family: "Prata", serif;
  font-size: 1.5rem;
  color: var(--heading-color);
}

/* Footer */
footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 2rem;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: var(--body-color);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.modal-content {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 2rem auto;
  animation: modalSlideIn 0.3s ease;
}

.modal-content h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.modal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--heading-color);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: transform 0.2s ease;
}

.modal-close:hover {
  transform: scale(1.1);
}

.modal-content h2 {
  word-break: keep-all;
  hyphens: none;
}

@media (max-width: 480px) {
  .modal-content h2 {
    font-size: 1.5rem;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image styling */
.rounded-img {
  border-radius: 12px;
}

.full-img {
  width: 100%;
  height: auto;
}
