/* LiveCanvas Custom CSS */
/* Paste this into your LiveCanvas Custom CSS section */

/* Mobile-first base styles */
:root {
  --primary-color: #ff3366;
  --primary-dark: #e62d5a;
  --primary-light: #ff5c85;
  --secondary-color: #1a365d;
  --secondary-dark: #153450;
  --accent-gray: #2c3e50;
  --text-dark: #1a202c;
  --text-muted: #4a5568;
  --bg-light: #f7fafc;
  --spacing-unit: 1rem;
}

/* Brand Accent Sections - Coral Background */
.brand-accent-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  position: relative;
}

.brand-accent-section h2,
.brand-accent-section h3,
.brand-accent-section h4,
.brand-accent-section .display-5,
.brand-accent-section .h3,
.brand-accent-section .h4,
.brand-accent-section .h5 {
  color: #ffffff;
}

.brand-accent-section .lead,
.brand-accent-section p {
  color: rgba(255, 255, 255, 0.95);
}

.brand-accent-section .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

.brand-accent-section .badge.bg-primary {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.brand-accent-section strong {
  color: #ffffff;
}

/* Hero Section - Full Background Image (desktop only) */
.hero-section {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

/* Hero background image - desktop only (hidden on mobile for better performance and readability) */
@media (min-width: 992px) {
  .hero-section {
    /* Fallback for older browsers */
    background-image: url('images/corporate-headshot-hero-background.jpg');
    /* Prefer modern, smaller WebP where supported */
    background-image: image-set(
      url('images/corporate-headshot-hero-background.webp') type("image/webp"),
      url('images/corporate-headshot-hero-background.jpg') type("image/jpeg")
    );
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
}

/* Gradient overlay - desktop only (mobile has no background image) */
@media (min-width: 992px) {
  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 0;
  }
}

/* Mobile: simple background color instead of gradient overlay */
@media (max-width: 991px) {
  .hero-section {
    background-color: #ffffff;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

/* Desktop - Subject on right, text on left */
@media (min-width: 992px) {
  .hero-section {
    min-height: 650px;
    background-position: 60% 15%;
  }
  
  .hero-section::before {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.90) 45%, rgba(255, 255, 255, 0.2) 100%) !important;
  }
}

/* 2K Resolution - Adjust background position to show eyes */
@media (min-width: 1920px) and (max-width: 2561px) {
  .hero-section {
    background-position: 60% 10% !important;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section {
    min-height: 550px;
  }
  
  .hero-content {
    max-width: 100%;
    padding-top: 2rem;
  }
  
  .hero-headline br.d-lg-none {
    display: block;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
  }
  
  .hero-content {
    max-width: 100%;
    padding-top: 2rem;
  }
  
  .hero-headline br.d-lg-none {
    display: block;
  }
  
  .hero-section .display-3 {
    font-size: 2.25rem;
    line-height: 1.3;
  }
  
  .hero-section .h3 {
    font-size: 1.25rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  .hero-section .btn {
    width: auto;
    padding: 0.75rem 2rem;
    display: inline-block;
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .hero-section .display-3 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero-section .btn {
    width: auto;
    padding: 0.75rem 2rem;
    display: inline-block;
  }
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .hero-image-sample {
    max-width: 240px;
    margin-top: 2rem;
  }
  
  .hero-section .display-3 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-section .h3 {
    font-size: 1.25rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  .hero-section .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
}

@media (min-width: 992px) {
  .hero-image-sample {
    max-width: 320px;
  }
}

/* Section Spacing */
.py-lg-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* Benefit Cards */
.benefit-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(255, 51, 102, 0.1);
}

.benefit-icon {
  line-height: 1;
}

.benefit-icon .bg-primary {
  background-color: rgba(255, 51, 102, 0.1) !important;
}

.benefit-icon .text-primary {
  color: var(--primary-color) !important;
}

/* Process Steps */
.process-step {
  padding: 1rem;
}

.step-number {
  display: flex;
  justify-content: center;
}

.step-number .badge.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Feature Highlights */
.feature-highlight {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(255, 51, 102, 0.15) !important;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card > button,
.service-card > .d-flex.flex-column {
  margin-top: auto;
  flex-shrink: 0; /* Don't shrink button */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(255, 51, 102, 0.15) !important;
}

.service-card .text-primary {
  color: var(--primary-color) !important;
}

/* Align service card content baselines */
.service-card > h3 {
  min-height: 3rem; /* Consistent title height */
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-end;
}

.service-card > p.text-muted,
.service-card > p:not(.h5) {
  min-height: 5rem; /* Consistent description height - accommodates longest description */
  margin-bottom: 1rem;
}

.service-card > ul.list-unstyled {
  min-height: 10rem; /* Consistent list height - accommodates 5 items */
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.service-card > p.h5 {
  margin-bottom: 1rem;
  min-height: 2.5rem; /* Consistent price height */
  display: flex;
  align-items: center;
}

/* Portfolio Section */
.portfolio-section {
  background-color: var(--bg-light);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
}

/* Prevent layout shift for portfolio images */
.portfolio-item picture,
.portfolio-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 1;
}

.portfolio-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 51, 102, 0) 0%, rgba(255, 51, 102, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image-wrapper img {
  transform: scale(1.05);
}

.portfolio-overlay-content {
  width: 100%;
}

/* Addon Items - Old Design (kept for backwards compatibility) */
.addon-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .addon-item {
    min-width: 150px;
    max-width: 200px;
  }
}

.addon-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Addons Section - New Clean Design */
.addon-feature {
  transition: transform 0.3s ease;
}

.addon-feature:hover {
  transform: translateY(-3px);
}

.addon-feature .bg-primary.bg-opacity-10 {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.addon-feature:hover .bg-primary.bg-opacity-10 {
  transform: scale(1.1);
  background-color: rgba(255, 51, 102, 0.15) !important;
}

/* About Section */
.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 55% 50%; /* Adjust if needed - same as hero image */
}

/* Bio Details - Personal but Professional */
.bio-details {
  max-width: 600px;
  margin: 0 auto;
}

.bio-detail-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: padding-left 0.2s ease;
}

.bio-detail-item:last-child {
  border-bottom: none;
}

.bio-detail-item:hover {
  padding-left: 0.5rem;
}

.bio-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 100px;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.bio-value {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}

@media (max-width: 576px) {
  .bio-detail-item {
    flex-direction: column;
    padding: 0.875rem 0;
  }
  
  .bio-label {
    margin-right: 0;
    margin-bottom: 0.25rem;
    min-width: auto;
  }
  
  .bio-value {
    min-width: auto;
  }
  
  .bio-detail-item:hover {
    padding-left: 0;
  }
}

/* FAQ Accordion */
.accordion-item {
  background-color: #ffffff;
  border: 1px solid #dee2e6 !important;
}

.accordion-button {
  font-weight: 500;
  color: var(--text-dark);
  background-color: #ffffff;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--bg-light);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 51, 102, 0.25);
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a202c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff3366'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.25rem;
  color: var(--text-muted);
}

/* Footer */
.footer-section {
  background-color: var(--secondary-color) !important;
}

.footer-section a:hover {
  color: var(--primary-light) !important;
  text-decoration: underline !important;
}

.footer-section .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 600;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .display-3 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .h3 {
    font-size: 1.5rem;
  }
}

/* Spacing Utilities for Mobile */
@media (max-width: 576px) {
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .py-lg-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2.5rem !important;
  }
}

/* Skip Link for Accessibility */
.visually-hidden-focusable {
  position: absolute;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-100%);
  transition: transform 0.2s;
}

.visually-hidden-focusable:focus {
  transform: translateY(0);
}

/* Image Responsiveness */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image Optimization */
img[loading="lazy"] {
  content-visibility: auto;
}

/* Smooth Scrolling (respects user preference) */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Link Styling */
a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-color);
  opacity: 0.9;
}

a.text-white-50:hover {
  color: var(--primary-light) !important;
}

/* Button Enhancements */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 0.25rem 0.5rem rgba(255, 51, 102, 0.3);
}

.btn-primary:active,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 0.25rem rgba(255, 51, 102, 0.25);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0.25rem 0.5rem rgba(255, 51, 102, 0.3);
}

.btn:active {
  transform: translateY(0);
}

/* Bootstrap Overrides */
.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

/* Text Selection */
::selection {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
.accordion-button:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Remove default focus for mouse users, keep for keyboard */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid #000000;
  }
  
  .accordion-button {
    border: 1px solid #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Trust Signals Section */
.trust-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.trust-icon {
  transition: transform 0.3s ease;
}

.trust-card:hover .trust-icon {
  transform: scale(1.1);
}

/* ROI Section */
.roi-card {
  transition: transform 0.3s ease;
}

.roi-card:hover {
  transform: translateY(-5px);
}

.roi-icon {
  color: #ffffff;
  transition: transform 0.3s ease;
}

.roi-card:hover .roi-icon {
  transform: scale(1.1);
}

/* Enterprise Scale Section */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.scale-features .feature-list .d-flex {
  transition: transform 0.3s ease;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.scale-features .feature-list .d-flex:hover {
  background-color: rgba(255, 255, 255, 0.5);
  transform: translateX(5px);
}

/* Social Proof Section */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
  line-height: 1;
}

.case-study-highlight {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.case-study-highlight:hover {
  transform: translateX(5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced Enterprise Service Card */
.service-card.bg-primary {
  position: relative;
  overflow: hidden;
}

.service-card.bg-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.service-card.bg-primary .list-unstyled li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-card.bg-primary .list-unstyled li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Hero Section Enhancements */
.hero-content .btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

.hero-content .small i {
  margin-right: 0.25rem;
}

/* Floating Book Now Button */
.floating-book-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 0.5rem 1.5rem rgba(255, 51, 102, 0.4) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  white-space: nowrap;
}

.floating-book-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0.75rem 2rem rgba(255, 51, 102, 0.5) !important;
}

.floating-book-btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* Responsive adjustments for floating button */
@media (max-width: 768px) {
  .floating-book-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .floating-book-btn i {
    margin-right: 0.5rem !important;
  }
}

@media (max-width: 576px) {
  .floating-book-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Google Places Autocomplete Dropdown - Ensure it appears above modals */
.pac-container {
  z-index: 1060 !important; /* Bootstrap modal is 1055, so this needs to be higher */
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 0.25rem;
  background-color: #ffffff;
}

/* Ensure modal allows dropdown to overflow */
.modal {
  overflow: visible !important;
}

.modal-body {
  overflow: visible !important;
}

.pac-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover,
.pac-item-selected {
  background-color: rgba(255, 51, 102, 0.1);
}

.pac-icon {
  margin-right: 0.75rem;
}

