:root {
  --color-bg-main: #FAF9F6;
  --color-bg-card: #EFECE5;
  --color-text-main: #1A1A1A;
  --color-text-muted: #4A4A4A;
  --color-accent: #C5A880;
  --color-footer-bg: #1A1A1A;
  --color-footer-text: #FFFFFF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-main);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.navbar .logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: bold;
}
.navbar .nav-links a {
  margin: 0 15px;
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.3s;
}
.navbar .nav-links a:hover {
  color: var(--color-accent);
}
.btn-primary {
  padding: 10px 24px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Hero / Section */
.section-header {
  text-align: center;
  margin: 60px 0 40px;
}
.section-header h2 {
  font-size: 42px;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 0 20px;
}
.service-card {
  background-color: var(--color-bg-card);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
}
.service-card .icon {
  font-size: 40px;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}
.service-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.service-card .deliverables {
  text-align: center;
  font-size: 13px;
}
.service-card .deliverables strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-text-main);
}
.service-card ul {
  list-style: none;
  color: var(--color-text-muted);
}
.service-card ul li {
  margin-bottom: 5px;
}

/* Footer */
footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 60px 20px 20px;
  border-top: 5px solid var(--color-accent);
}
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 14px;
}
.footer-col p, .footer-col a {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 10px;
  display: block;
}
.newsletter input {
  padding: 10px;
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  border-radius: 4px 0 0 4px;
  outline: none;
}
.newsletter button {
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 12px;
  color: #888;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr !important; }
    .footer-container { flex-direction: column; }
    .nav-links { display: none; /* Can be toggled with JS later */ }
    
    /* home.php overrides */
    div[style*="repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
    div[style*="repeat(4, 1fr)"] { grid-template-columns: 1fr !important; }
    div[style*="display: flex; justify-content: space-between; max-width: 1000px;"] { flex-direction: column; gap: 40px; }
    div[style*="display: flex; justify-content: space-around;"] { flex-direction: column; gap: 30px; }
    
    /* contact.php overrides */
    div[style*="display: flex; gap: 40px;"] { flex-direction: column; }
}
