/* Global font family */
* {
  font-family: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Additional style moved from FixedAssetTransfer.html --- */
.success-metric-bg ul {
  list-style: disc inside;
  padding-left: 2.5rem !important;
}
/* --- FixedAssetTransfer.html styles moved from inline --- */
.project-hero {
  text-align: center;
  padding: 1rem 1rem 1rem 1rem;
}
.project-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #6c63ff;
  margin-bottom: 0.5rem;
}
.project-meta {
  color: #3d2c8d;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.project-intro {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: #444;
  font-size: 1.15rem;
}
.project-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 2rem 2rem;
}
.section-title {
  color: #6c63ff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.subsection-title {
  color: #3d2c8d;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.subsection-title.large {
  font-size: 1.3rem;
}
.main-text {
  color: #111;
  font-size: 1rem;
  margin-bottom: 2rem;
}
.main-text.small {
  font-size: 0.97rem;
}
.main-list {
  color: #111;
  font-size: 0.97rem;
  margin-bottom: 2rem;
  list-style: disc inside;
  padding-left: 2.5rem;
}
.floated-list {
  float: left;
  width: calc(100% - 170px);
  min-width: 180px;
}
.designs-gallery {
  margin: 2rem 0;
  text-align: center;
}
.note {
  color: #3d2c8d;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 2rem;
}
.success-metric-bg {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: 12px;
}
.success-metric-img-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  max-width: 320px;
  height: 100%;
  object-fit: contain;
  opacity: 0.10;
  z-index: 1;
  pointer-events: none;
  border-radius: 0 12px 12px 0;
}
.success-metric-list {
  position: relative;
  z-index: 2;
  color: #111;
  font-size: 1rem;
  background: transparent;
  float: none;
  width: auto;
  min-width: 180px;
  list-style: disc inside;
  padding: 0 2rem 0 2.5rem;
}
.logo a:visited, .logo a:active, .logo a:focus {
  text-decoration: none !important;
  color: inherit;
}
/* Remove underline from logo link */
.logo a {
  text-decoration: none !important;
  color: inherit;
}
body {
  font-family: 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

/* Remove shadows and borders from all images */
img {
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Specifically target project images to override inline styles */
.project-content img,
.figma-frame-section img,
.designs-gallery img,
div[style] img {
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Ultra-specific targeting for Amazon Pay images with inline styles */
img[style*="border-radius"],
img[style*="box-shadow"] {
  box-shadow: none !important;
  border-radius: 0 !important;
}

header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
}
.logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: inherit;
  outline: none;
}

.logo a:hover, .logo a:focus {
  text-decoration: none;
  color: #6c63ff;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #6c63ff;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #222;
  border-radius: 2px;
}
section#home.hero {
  padding: 6rem 2rem 4rem 2rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Hero section - simple single column layout */
section#home.hero .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.hero h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6c63ff;
  margin-bottom: 1.2rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.social-links a {
  color: #6c63ff;
  font-size: 1.5rem;
  transition: color 0.2s;
}
.social-links a:hover {
  color: #222;
}
.work {
  background: #f7f7fa;
  padding: 4rem 2rem;
}
.work h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.work-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(108,99,255,0.07);
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: #222;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.work-card:hover {
  box-shadow: 0 6px 24px rgba(108,99,255,0.13);
  transform: translateY(-4px) scale(1.02);
}
.work-title {
  font-size: 1.2rem;
  font-weight: 700;
}
.work-meta {
  color: #6c63ff;
  font-size: 0.95rem;
  font-weight: 700;
}
.work-desc {
  font-size: 1rem;
  color: #444;
}
.about {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.about p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.companies {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  font-size: 1rem;
  color: #6c63ff;
  font-weight: 700;
}
.contact {
  background: #f7f7fa;
  padding: 4rem 2rem 3rem 2rem;
  text-align: center;
}
.contact h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}
.email-link {
  display: inline-block;
  font-size: 1.1rem;
  color: #6c63ff;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1.2rem;
  transition: color 0.2s;
}
.email-link:hover {
  color: #222;
}
footer {
  background: #fff;
  text-align: center;
  padding: 1.2rem 0 1.5rem 0;
  color: #aaa;
  font-size: 1rem;
  border-top: 1px solid #eee;
}

/* Force desktop mode on all devices */
html {
  min-width: 1200px;
}

body {
  min-width: 1200px;
  overflow-x: auto;
}

/* Override mobile styles to maintain desktop layout */
@media (max-width: 700px) {
  /* Force desktop navigation layout */
  .navbar {
    flex-direction: row;
    padding: 1rem 2rem;
    min-width: 1200px;
  }
  
  .nav-links {
    display: flex !important;
    position: static !important;
    background: transparent !important;
    flex-direction: row !important;
    width: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  
  .hamburger {
    display: none !important;
  }
  
  /* Force desktop layout for all content */
  .project-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
    min-width: 800px;
  }
  
  section#home.hero {
    padding: 4rem 2rem !important;
    min-width: 1200px !important;
  }
  
  .work-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    min-width: 800px;
  }
  
  /* Ensure text remains readable but layout stays desktop */
  .work-card {
    min-width: 300px;
  }
  
  /* Responsive font scaling for mobile screens */
  html .hero h1 {
    font-size: 2.2rem !important;
  }
  
  html .hero h2 {
    font-size: 1.2rem !important;
  }
  
  html .hero p {
    font-size: 0.95rem !important;
  }
  
  html .work h2 {
    font-size: 1.8rem !important;
  }
  
  html .about h2 {
    font-size: 1.8rem !important;
  }
  
  html .about p {
    font-size: 0.95rem !important;
  }
  
  html .section-title {
    font-size: 1.4rem !important;
  }
  
  html .project-title {
    font-size: 1.8rem !important;
  }
  
  html .work-title {
    font-size: 1.1rem !important;
  }
  
  html .work-meta {
    font-size: 0.85rem !important;
  }
  
  html .work-desc {
    font-size: 0.9rem !important;
  }
  
  html .main-text {
    font-size: 0.9rem !important;
  }
  
  html .project-intro {
    font-size: 0.95rem !important;
  }
  
  html .subsection-title {
    font-size: 0.95rem !important;
  }
  
  html .subsection-title.large {
    font-size: 1.05rem !important;
  }
  
  /* Override any inline styles with higher specificity */
  html body .figma-frame-section h2 {
    font-size: 1.4rem !important;
  }
  
  html body .figma-frame-section p {
    font-size: 0.9rem !important;
  }
  
  html body .figma-frame-section h3 {
    font-size: 1.1rem !important;
  }
  
  html body .figma-frame-section h4 {
    font-size: 1rem !important;
  }
  
  /* Override Amazon Pay project inline styles specifically */
  html body p[style*="font-size:18px"] {
    font-size: 0.9rem !important;
  }
  
  html body p[style*="font-size:20px"] {
    font-size: 1rem !important;
  }
  
  html body h3[style*="font-size:28px"] {
    font-size: 1.4rem !important;
  }
  
  html body h3[style*="font-size:32px"] {
    font-size: 1.5rem !important;
  }
  
  html body h3[style*="font-size:24px"] {
    font-size: 1.2rem !important;
  }
  
  html body h4[style*="font-size:20px"] {
    font-size: 1rem !important;
  }
  
  html body div[style*="font-size:18px"] {
    font-size: 0.9rem !important;
  }
  
  html body div[style*="font-size:16px"] {
    font-size: 0.85rem !important;
  }
  
  html body div[style*="font-size:14px"] {
    font-size: 0.8rem !important;
  }
}

/* Additional responsive font scaling for very small screens */
@media (max-width: 480px) {
  html .hero h1 {
    font-size: 1.8rem !important;
  }
  
  html .hero h2 {
    font-size: 1rem !important;
  }
  
  html .hero p {
    font-size: 0.85rem !important;
  }
  
  html .work h2 {
    font-size: 1.5rem !important;
  }
  
  html .about h2 {
    font-size: 1.5rem !important;
  }
  
  html .about p {
    font-size: 0.85rem !important;
  }
  
  html .section-title {
    font-size: 1.2rem !important;
  }
  
  html .project-title {
    font-size: 1.5rem !important;
  }
  
  html .work-title {
    font-size: 1rem !important;
  }
  
  html .work-meta {
    font-size: 0.75rem !important;
  }
  
  html .work-desc {
    font-size: 0.8rem !important;
  }
  
  html .main-text {
    font-size: 0.8rem !important;
  }
  
  html .project-intro {
    font-size: 0.85rem !important;
  }
  
  /* Override Amazon Pay project specific styles */
  html body .figma-frame-section h2 {
    font-size: 1.2rem !important;
  }
  
  html body .figma-frame-section p {
    font-size: 0.8rem !important;
  }
  
  html body .figma-frame-section h3 {
    font-size: 1rem !important;
  }
  
  html body .figma-frame-section h4 {
    font-size: 0.9rem !important;
  }
  
  /* Override inline styles for very small screens */
  html body p[style*="font-size:18px"] {
    font-size: 0.8rem !important;
  }
  
  html body p[style*="font-size:20px"] {
    font-size: 0.85rem !important;
  }
  
  html body h3[style*="font-size:28px"] {
    font-size: 1.2rem !important;
  }
  
  html body h3[style*="font-size:32px"] {
    font-size: 1.3rem !important;
  }
  
  html body h3[style*="font-size:24px"] {
    font-size: 1rem !important;
  }
  
  html body h4[style*="font-size:20px"] {
    font-size: 0.9rem !important;
  }
  
  html body div[style*="font-size:18px"] {
    font-size: 0.8rem !important;
  }
  
  html body div[style*="font-size:16px"] {
    font-size: 0.75rem !important;
  }
  
  html body div[style*="font-size:14px"] {
    font-size: 0.7rem !important;
  }
}
