customer-riverside/web/modules/custom/riverside_pt/templates/riverside-pt-home.html.twig

59 lines
4.4 KiB
Twig
Raw Normal View History

2026-05-16 10:45:33 -08:00
<section class="relative bg-[#aac6c6] min-h-[560px]">
2026-05-16 11:14:44 -08:00
{# Box 1: Image — full-bleed on mobile, offset on sm+ #}
2026-05-16 10:45:33 -08:00
<div class="absolute inset-0 flex">
2026-05-16 11:14:44 -08:00
<div class="hidden sm:block sm:basis-[8%] sm:grow-[2]"></div>
<div class="basis-full sm:basis-[58%] sm:grow self-stretch">
<img src="/modules/custom/riverside_pt/images/hero.jpg" alt="" class="w-full h-full object-cover object-center" />
2026-05-16 10:45:33 -08:00
</div>
2026-05-16 11:14:44 -08:00
<div class="hidden sm:block sm:basis-[34%] sm:grow-[2]"></div>
2026-05-16 10:45:33 -08:00
</div>
2026-05-16 11:14:44 -08:00
{# Gradient overlay on mobile so text stays readable over the image #}
<div class="absolute inset-0 bg-gradient-to-t from-black/60 via-black/30 to-transparent sm:hidden"></div>
2026-05-16 10:45:33 -08:00
{# Box 2: Text — spacer 50% | text 38% | spacer 12% #}
2026-05-16 11:14:44 -08:00
<div class="relative flex min-h-[560px] py-8">
<div class="hidden sm:block sm:basis-[50%] sm:grow-[2]"></div>
<div class="basis-full sm:basis-[38%] sm:grow flex flex-col justify-end sm:justify-center px-6 sm:px-0 pb-10 sm:pb-0 py-16 gap-6">
2026-05-16 10:45:33 -08:00
<h1 class="text-[clamp(2rem,3.5vw,3.25rem)] font-serif font-normal text-white leading-tight">Restore your strength.<br>Reclaim your life.</h1>
<p class="text-white/80 text-lg leading-relaxed">Every new patient starts with a comprehensive diagnostic assessment. From there we build a personalized plan that may include sports rehabilitation, pre- or post-surgical recovery, or neurological physical therapy.</p>
<div class="flex gap-4 flex-wrap">
2026-05-16 11:14:44 -08:00
<a href="/schedule" class="w-full sm:w-auto text-center px-8 py-3 bg-[#4a7a8a] text-white text-sm font-medium no-underline transition-colors hover:bg-[#3a6a7a]">Book An Appointment</a>
<a href="/services" class="hidden sm:inline-block px-8 py-3 border border-white/60 text-white text-sm font-medium no-underline transition-colors hover:bg-white/10">View Our Services</a>
2026-05-16 10:45:33 -08:00
</div>
</div>
2026-05-16 11:14:44 -08:00
<div class="hidden sm:block sm:basis-[12%] sm:grow-[2]"></div>
2026-05-16 10:45:33 -08:00
</div>
</section>
<section class="py-16 px-6 bg-gray-100">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold text-blue-900 mb-1.5">Bringing Relief</h2>
<p class="text-[17px] text-gray-500">Our wide range of services</p>
</div>
<div class="grid grid-cols-[repeat(auto-fit,minmax(220px,1fr))] gap-6 max-w-[1040px] mx-auto">
<div class="flex flex-col gap-3 border border-gray-200 rounded-lg p-6 bg-white">
<h3 class="text-[17px] font-semibold text-gray-900">Diagnostic Evaluation</h3>
<p class="text-[15px] text-gray-500 leading-relaxed flex-1">Comprehensive assessment to identify the root cause of your pain and build a personalized recovery plan.</p>
<a href="/services" class="inline-block px-4 py-2 text-[14px] text-blue-500 border border-blue-500 rounded no-underline transition-colors hover:bg-blue-500 hover:text-white">More Info</a>
</div>
<div class="flex flex-col gap-3 border border-gray-200 rounded-lg p-6 bg-white">
<h3 class="text-[17px] font-semibold text-gray-900">Sports Rehabilitation</h3>
<p class="text-[15px] text-gray-500 leading-relaxed flex-1">Targeted programs to help athletes recover from injury and return to peak performance safely.</p>
<a href="/services" class="inline-block px-4 py-2 text-[14px] text-blue-500 border border-blue-500 rounded no-underline transition-colors hover:bg-blue-500 hover:text-white">More Info</a>
</div>
<div class="flex flex-col gap-3 border border-gray-200 rounded-lg p-6 bg-white">
<h3 class="text-[17px] font-semibold text-gray-900">Pre/Post-Surgical Rehab</h3>
<p class="text-[15px] text-gray-500 leading-relaxed flex-1">Expert care before and after surgery to maximize recovery outcomes and restore full function.</p>
<a href="/services" class="inline-block px-4 py-2 text-[14px] text-blue-500 border border-blue-500 rounded no-underline transition-colors hover:bg-blue-500 hover:text-white">More Info</a>
</div>
<div class="flex flex-col gap-3 border border-gray-200 rounded-lg p-6 bg-white">
<h3 class="text-[17px] font-semibold text-gray-900">Neurological Physical Therapy</h3>
<p class="text-[15px] text-gray-500 leading-relaxed flex-1">Specialized therapy for nervous system conditions, helping you regain strength and independence.</p>
<a href="/services" class="inline-block px-4 py-2 text-[14px] text-blue-500 border border-blue-500 rounded no-underline transition-colors hover:bg-blue-500 hover:text-white">More Info</a>
</div>
</div>
</section>