/* 18-19 Creative Agency – Base Styles */

:root {
  --bg: #0f0e0c;
  --bg-alt: #151411;
  --accent: #ff7a32;
  --accent-soft: #ffb27a;
  --text-main: #f6f3ee;
  --text-muted: #b7afa4;
  --card-bg: #1f1b16;
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.45);
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, #ff7a32, #ffb27a);
  color: #1b130c;
  font-weight: 600;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-nav {
  padding-inline: 1.2rem;
  font-size: 0.86rem;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 5, 0.96),
    rgba(10, 8, 5, 0.78),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a:not(.btn):hover {
  color: var(--text-main);
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(120deg, #ff7a32, #ffb27a);
  transition: width 0.25s ease;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.22rem;
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 999px;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-gradient {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 215, 173, 0.6), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 122, 50, 0.7), transparent 60%),
    radial-gradient(circle at 20% 100%, rgba(255, 178, 122, 0.7), transparent 55%);
  opacity: 0.6;
  filter: blur(1px);
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(0, 0, 0, 0.6), transparent 55%);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-text h1 span {
  background: linear-gradient(120deg, #fff4e6, #ffb27a);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-tags {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.hero-tags span {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(15, 10, 6, 0.8);
}

/* Hero right column */

.hero-showcase {
  display: grid;
  gap: 1.2rem;
}

.hero-card {
  background: rgba(15, 10, 6, 0.92);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
  margin-bottom: 0.4rem;
}

.hero-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.hero-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-grid h2 {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.about-grid p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-cards {
  display: grid;
  gap: 1rem;
}

.about-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-soft);
}

.about-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.about-card p,
.about-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.values-card ul {
  padding-left: 1.1rem;
  margin: 0.35rem 0 0;
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0 0,
    rgba(255, 122, 50, 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* PORTFOLIO */

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  padding: 0.35rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-main);
}

.filter-btn.active {
  background: linear-gradient(120deg, #ff7a32, #ffb27a);
  color: #1b130c;
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.portfolio-item {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.portfolio-thumb {
  height: 150px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* TEMP: simple gradient placeholders – replace with real images later */
.portfolio-thumb-1,
.portfolio-thumb-2,
.portfolio-thumb-3,
.portfolio-thumb-4,
.portfolio-thumb-5,
.portfolio-thumb-6,
.portfolio-thumb-7,
.portfolio-thumb-8,
.portfolio-thumb-9,
.portfolio-thumb-10,
.portfolio-thumb-11,
.portfolio-thumb-12 {
  background-image: radial-gradient(circle at 0 0, #ffb27a, transparent 60%),
    radial-gradient(circle at 100% 100%, #ff7a32, #1b130c);
}

.portfolio-body {
  padding: 1rem 1.2rem 1.2rem;
}

.portfolio-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
  margin-bottom: 0.3rem;
}

.portfolio-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.portfolio-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* CLIENTS */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.client-card {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
  background-color: rgba(0, 0, 0, 0.35);
}

/* CONTACT */

.contact-section {
  background: radial-gradient(circle at 0 0, rgba(255, 178, 122, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 122, 50, 0.22), transparent 55%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-grid h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.contact-grid p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
  font-size: 0.9rem;
}

.contact-info li {
  margin-bottom: 0.35rem;
}

/* Form */

.contact-form {
  background-color: rgba(15, 10, 6, 0.92);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.6rem 1.6rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(10, 7, 4, 0.92);
  color: var(--text-main);
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 122, 50, 0.5);
}

.contact-form textarea {
  resize: vertical;
}

.form-btn {
  width: 100%;
  margin-top: 0.2rem;
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.3rem 0 1.6rem;
  background-color: #0b0907;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-small {
  opacity: 0.8;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-showcase {
    order: -1;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: rgba(10, 8, 5, 0.98);
    flex-direction: column;
    padding: 0.8rem 1.5rem 1rem;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.22s ease;
  }

  .nav-links.open {
    transform: translateY(0%);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-bottom: 3.7rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

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