@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&display=swap");

:root {
  --brandLight: #f8f9fa;
  --brandDark: #121212;
  --brandRed: #a30e2b;
  --textMuted: #4b5563;
  --textLight: #9ca3af;
  --white: #ffffff;
  --navHeight: 90px;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Urbanist", sans-serif;
  background: var(--brandLight);
  color: var(--brandDark);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  margin: 0;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  /* max-w-6xl approx */
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.block {
  display: block;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.font-bold {
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

.text-2xl {
  font-size: 1.5rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* COLORS & TYPOGRAPHY */
.highlight {
  color: var(--brandRed);
}

.logo-accent {
  color: var(--brandRed);
}

.italic {
  font-style: italic;
}

.text-gray {
  color: var(--textLight);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.subtitle {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 500;
  color: var(--textMuted);
}

.small-label {
  font-size: .85rem;
  letter-spacing: .28em;
  font-weight: 800;
  /* Increased weight */
  text-transform: uppercase;
}

p {
  color: var(--textMuted);
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* LAYOUT */
.section-padding {
  padding: 5rem 1.5rem;
}

@media(min-width: 768px) {
  .section-padding {
    padding: 7rem 6rem;
  }
}

.bg-white {
  background: var(--white);
}

.bg-light {
  background: #f9fafb;
}

.grid-2-col {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media(min-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.grid-3-col {
  display: grid;
  gap: 3rem;
}

@media(min-width: 768px) {
  .grid-3-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* NAVIGATION */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #f3f4f6;
  z-index: 1000;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--navHeight);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .main-nav {
    padding: 0 6rem;
  }
}

.logo {
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a:not(.btn-nav) {
  color: var(--brandDark);
  text-decoration: none;
  transition: color 0.3s;
}

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

.btn-nav {
  background: var(--brandDark);
  color: white;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-nav:hover {
  background: #333;
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navHeight);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .hero-section {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

.hero-content {
  width: 100%;
  max-width: 72rem;
  margin: 0;
}

.hero-item {
  /* Animation hooks usually */
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--brandRed);
  color: white;
  padding: 1.1em 2.5em;
  /* Adjusted padding */
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background: #85001f;
  transform: translateY(-2px);
}

/* ABOUT SECTION */
.profile-image {
  border-radius: 0.25rem;
  filter: grayscale(100%);
  transition: filter 0.3s;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

@media(min-width: 768px) {
  .profile-image {
    max-width: 380px;
  }
}

.profile-image:hover {
  filter: grayscale(0%);
}

/* METHOD SECTION */
.method-card {
  padding: 1rem 0;
}

.method-card h3 {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* PORTFOLIO SECTION */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-arrows {
  display: flex;
  gap: 0.75rem;
}

.nav-arrow-btn {
  border: 1px solid #d1d5db;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
  color: var(--brandDark);
  font-size: 1.2rem;
  line-height: 1;
}

.nav-arrow-btn:hover {
  border-color: var(--brandRed);
  color: var(--brandRed);
}

.work-card {
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card:hover {
  border-color: var(--brandRed);
  transform: translateY(-4px);
}

.work-card img {
  transition: transform .6s;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-card div {
  padding: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* CONTACT SECTION */
.contact-section {
  padding: 5rem 1.5rem;
  background: black;
  color: white;
}

.contact-section a {
  color: var(--white);
  text-decoration: underline;
}

@media(min-width: 768px) {
  .contact-section {
    padding: 7rem 6rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem 0;
  /* Updated padding as requested */
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: inherit;
  transition: border-color 0.3s;
  border-radius: 0;
  /* Reset for some browsers */
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
  outline: none;
  border-color: var(--brandRed);
}

.btn-submit {
  width: 100%;
  background: var(--brandRed);
  color: white;
  padding: 1.25rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 1rem;
}

.btn-submit:hover {
  background: #85001f;
}

/* FOOTER */
.main-footer {
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: black;
  color: #6b7280;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* SOCIAL ICONS */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 24px;
  height: 24px;
  transition: color .3s;
  color: black;
}

.social-icon:hover {
  color: var(--brandRed);
}

/* PORTFOLIO CAROUSEL FIX */
.portfolio-track {
  display: flex;
  gap: 2rem;
  will-change: transform;
}

.work-card {
  min-width: 100%;
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, border-color 0.3s;
}

@media (min-width: 768px) {
  .work-card {
    min-width: calc(50% - 1rem);
  }
}

.work-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}

.work-card:hover .work-card-img {
  transform: scale(1.05);
}

.work-card-info {
  padding: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* FORM VALIDATION */
.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.error-message {
  color: #ff6b6b;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  min-height: 1.25rem;
  display: block;
}

.form-input.invalid {
  border-color: #ff6b6b;
}

.form-input.valid {
  border-color: #4ade80;
}