/* =========================
   CSS RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #0f172a;
  --secondary-dark: #111827;
  --accent-gold: #f5c56b;
  --light-bg: #f8fafc;
  --text-dark: #0f172a;
  --text-light: #e5e7eb;
  --muted-text: #94a3b8;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.7;
}

/* =========================
   LAYOUT
========================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   HEADER / NAV
========================= */
.header {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.logo span {
  color: var(--accent-gold);
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-gold);
}

/* =========================
   BUTTONS
========================= */
.btn {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--primary-dark);
  border: none;
}

.btn-primary:hover {
  background: #eab84f;
}

/* =========================
   HERO
========================= */
.hero {
  background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
  padding: 5rem 0;
  color: #fff;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted-text);
  margin-bottom: 1.5rem;
}

.hero-image img {
  width: 100%;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.dark {
  background: var(--secondary-dark);
  color: #fff;
}

/* =========================
   SERVICES / CARDS
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.card {
  background: #ffffff;
  padding: 2.2rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* =========================
   ABOUT
========================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about img {
  width: 100%;
  border-radius: 16px;
}

/* =========================
   PORTFOLIO
========================= */
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.portfolio img {
  width: 100%;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.portfolio img:hover {
  transform: scale(1.03);
}

/* =========================
   CTA
========================= */
.cta {
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.cta p {
  color: var(--muted-text);
  margin: 0.8rem 0 1.5rem;
}

/* =========================
   CONTACT
========================= */
.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.contact input,
.contact textarea {
  margin-bottom: 1.2rem;
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 1.2rem;
  background: var(--primary-dark);
  color: var(--muted-text);
  font-size: 0.85rem;
}
