:root {
    --color-bg-start: #ffecd2; /* Soft peach */
    --color-bg-end: #fcb69f;   /* Warmer peach/lavender hint */
    --color-primary: #4A0E4E;  /* Deep purple */
    --color-primary-hover: #67136d;
    --color-card-bg: #ffffff;
    --color-text-main: #4A0E4E;
    --color-text-muted: #735075;
    
    --radius-card: 24px;
    --radius-button: 100px;
    --radius-app-bar: 32px;
    
    --shadow-card: 0 10px 30px rgba(74, 14, 78, 0.08);
    --shadow-app-bar: 0 -5px 20px rgba(74, 14, 78, 0.05);
    
    --font-main: 'Nunito', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    /* Soft modern mesh-like gradient background */
    background: linear-gradient(135deg, var(--color-bg-start) 0%, var(--color-bg-end) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

/* Layout */
.content-wrapper {
    width: 100%;
    max-width: 600px; /* Kept narrow for mobile-first feel even on desktop */
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Card Base */
.card {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

/* Hero Section */
.hero-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid var(--color-card-bg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card h1 {
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-button);
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Services (Horizontal Scroll) */
.services-card {
    overflow: hidden; /* Hide outer scrollbar if any */
}

.horizontal-scroll-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem; /* Space for scrollbar */
    scroll-snap-type: x mandatory;
    /* Hide scrollbar for webkit */
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}
.horizontal-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.service-item {
    flex: 0 0 75%; /* take up 75% of the container width to hint at more items */
    background: rgba(74, 14, 78, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    scroll-snap-align: center;
    border: 1px solid rgba(74, 14, 78, 0.05);
}

.service-item h3 {
    font-size: 1.25rem;
}

.service-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.service-item i {
    color: var(--color-primary);
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(74, 14, 78, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text-main);
    background-color: #faf9fb;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* App Bar */
.bottom-spacer {
    height: 100px; /* Ensure content isn't hidden behind the app bar */
}

.app-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    z-index: 1000;
    pointer-events: none; /* Let clicks pass through the container */
}

.app-bar-inner {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 500px;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-app-bar);
    box-shadow: var(--shadow-app-bar);
    pointer-events: auto; /* Re-enable clicks for the bar itself */
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.nav-item i {
    width: 24px;
    height: 24px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--color-primary);
}

/* Desktop enhancements */
@media (min-width: 768px) {
    .content-wrapper {
        padding: 4rem 1rem;
        gap: 2rem;
    }
    
    .app-bar {
        bottom: 1rem; /* Slightly float on desktop */
    }
}

/* Elm St Digital Return Badge */
.elm-st-return-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #111827;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 50px;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.elm-st-return-badge:hover {
  background-color: #374151;
  transform: translateY(-2px);
}
