import{r as v,j as a,H as w,B as p,C as g,a as u,t as y}from"./index-DdrMvM2x.js";import{u as H,F as N,a as r,b as i,c as d,d as n,e as l,T as q,t as k,o as z,s as c}from"./textarea-Befwi7Pr.js";import{I as x}from"./input-DTSCX7ya.js";import{S as C}from"./SEO-Eni3cDPa.js";import{m as t}from"./proxy-wZh3VcnY.js";import{P as b}from"./phone-8ezyQir0.js";import{L as S}from"./loader-circle-UOilDOaP.js";const F=z({name:c().min(2,"Name must be at least 2 characters"),propertyAddress:c().min(5,"Please enter a valid property address"),email:c().email("Please enter a valid email address"),phoneNumber:c().min(10,"Please enter a valid phone number"),projectDescription:c().min(10,"Please provide more details about your project (at least 10 characters)")});function V(){const[o,f]=v.useState(!1),s=H({resolver:k(F),defaultValues:{name:"",propertyAddress:"",email:"",phoneNumber:"",projectDescription:""}}),P=async e=>{f(!0);try{const h=`
        <h2>New Construction Loan Inquiry</h2>
        <p><strong>Name:</strong> ${e.name}</p>
        <p><strong>Property Address:</strong> ${e.propertyAddress}</p>
        <p><strong>Email:</strong> ${e.email}</p>
        <p><strong>Phone Number:</strong> ${e.phoneNumber}</p>
        <p><strong>Project Description:</strong></p>
        <p>${e.projectDescription}</p>
      `,{error:j}=await window.ezsite.apis.sendEmail({from:"Construction Loan Website <noreply@website.com>",to:["rgomez@jumboconstructionloans.com"],subject:`New Loan Inquiry from ${e.name}`,html:h});if(j)throw j;y({title:"Success! 🎉",description:"Your inquiry has been submitted. We'll contact you shortly!",duration:5e3}),s.reset()}catch(h){console.error("Error submitting form:",h),y({title:"Submission Failed",description:"There was an error submitting your form. Please try calling us directly.",variant:"destructive",duration:5e3})}finally{f(!1)}},m={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}};return a.jsxs(a.Fragment,{children:[a.jsx(C,{title:"Residential Construction Loans | Premier Construction Loans",description:"Get expert construction loan financing for your dream home. 40+ years experience in residential construction lending. Fast approvals, competitive rates. Call 800-325-1809 for free consultation.",keywords:"construction loans, residential construction financing, home construction loans, construction mortgage, building loans, construction to permanent loans, lot loans",ogType:"website",ogImage:"https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1200&h=630&fit=crop",showOrgSchema:!0,"data-id":"1cm6hsghw","data-path":"src/pages/HomePage.tsx"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"Organization",name:"Premier Construction Loans",url:"https://www.jumboconstructionloans.com",telephone:"800-325-1809",description:"Expert residential construction lending solutions with 40+ years of experience.",areaServed:"US"},{"@type":"WebSite",name:"Premier Construction Loans",url:"https://www.jumboconstructionloans.com",description:"Residential construction loan financing for your dream home."}]})},"data-id":"0uyxxxt7r","data-path":"src/pages/HomePage.tsx"}),a.jsxs("main",{id:"main-content",className:"min-h-screen bg-gradient-to-b from-slate-50 to-white","data-id":"xdehau2b6","data-path":"src/pages/HomePage.tsx",children:[a.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden bg-gradient-to-br from-blue-600 via-blue-700 to-blue-800","aria-labelledby":"hero-heading","data-id":"cq4tt0nvi","data-path":"src/pages/HomePage.tsx",children:[a.jsx("div",{className:"container mx-auto px-4 py-20","data-id":"as1om5ohv","data-path":"src/pages/HomePage.tsx",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center max-w-7xl mx-auto","data-id":"curh3euki","data-path":"src/pages/HomePage.tsx",children:[a.jsxs(t.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{duration:.8},className:"text-left","data-id":"bfxo6xqtf","data-path":"src/pages/HomePage.tsx",children:[a.jsx(t.div,{initial:{scale:.9},animate:{scale:1},transition:{duration:.5,delay:.2},"data-id":"ceihqul1f","data-path":"src/pages/HomePage.tsx",children:a.jsx(w,{className:"w-16 h-16 mb-6 text-teal-300","data-id":"jijzuj4xk","data-path":"src/pages/HomePage.tsx"})}),a.jsxs(t.h1,{id:"hero-heading",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-4xl md:text-6xl font-bold text-white mb-6 leading-tight drop-shadow-2xl","data-id":"rt6l9xj9m","data-path":"src/pages/HomePage.tsx",children:["Build Your Dream Home",a.jsx("br",{"data-id":"bijze2u9o","data-path":"src/pages/HomePage.tsx"}),a.jsx("span",{className:"text-teal-300","data-id":"pb43fjur5","data-path":"src/pages/HomePage.tsx",children:"With Confidence"})]}),a.jsx("p",{className:"text-lg md:text-xl text-blue-100 mb-8","data-id":"inuxr7yto","data-path":"src/pages/HomePage.tsx",children:"Expert residential construction lending solutions tailored to your project. From land acquisition to final build-out, we're with you every step of the way."}),a.jsxs("div",{className:"bg-white/10 backdrop-blur-sm rounded-2xl p-6 mb-8 border border-white/20","data-id":"lob4j9v8r","data-path":"src/pages/HomePage.tsx",children:[a.jsx("p",{className:"text-blue-200 text-sm mb-2","data-id":"l3i1ovy9d","data-path":"src/pages/HomePage.tsx",children:"Call us for free consultation"}),a.jsxs("a",{href:"tel:800-325-1809",className:"text-3xl md:text-4xl font-bold text-white hover:text-teal-300 transition-colors inline-flex items-center gap-3","data-id":"cl754bcam","data-path":"src/pages/HomePage.tsx",children:[a.jsx(b,{className:"w-8 h-8","data-id":"h2mt64qi4","data-path":"src/pages/HomePage.tsx"}),"800-325-1809"]})]}),a.jsx(p,{size:"lg",className:"bg-teal-500 hover:bg-teal-600 text-white px-8 py-6 text-lg rounded-full shadow-2xl transform hover:scale-105 transition-all duration-300",onClick:()=>window.location.href="tel:800-325-1809","data-id":"fe8bsnze7","data-path":"src/pages/HomePage.tsx",children:"Get Started Today"})]}),a.jsx(t.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},className:"relative mt-8 md:mt-0","data-id":"fp7a2h4zg","data-path":"src/pages/HomePage.tsx",children:a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-2xl aspect-[4/3]","data-id":"y9o5hali0","data-path":"src/pages/HomePage.tsx",children:a.jsx("img",{src:"https://newoaks.s3.us-west-1.amazonaws.com/NewOaks/5500/5a4444ee-8d04-445c-a328-a6af71e605c2.jpeg",alt:"Dream Home Construction",className:"w-full h-full object-cover",loading:"lazy",width:"400",height:"300","data-id":"usvsjht51","data-path":"src/pages/HomePage.tsx"})})})]})}),a.jsx(t.div,{animate:{y:[0,10,0]},transition:{duration:2,repeat:1/0},className:"absolute bottom-10 left-1/2 transform -translate-x-1/2 text-white","data-id":"kfv9l2b3c","data-path":"src/pages/HomePage.tsx",children:a.jsxs("div",{className:"flex flex-col items-center gap-2","data-id":"ygevwao40","data-path":"src/pages/HomePage.tsx",children:[a.jsx("span",{className:"text-sm","data-id":"rgw0tgmm3","data-path":"src/pages/HomePage.tsx",children:"Scroll to explore"}),a.jsx("div",{className:"w-6 h-10 border-2 border-white rounded-full flex items-start justify-center p-2","data-id":"wb1sff5vg","data-path":"src/pages/HomePage.tsx",children:a.jsx(t.div,{animate:{y:[0,12,0]},transition:{duration:1.5,repeat:1/0},className:"w-1.5 h-1.5 bg-white rounded-full","data-id":"u32r4dvg4","data-path":"src/pages/HomePage.tsx"})})]})})]}),a.jsx(t.section,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:m,className:"py-20 px-4 bg-gradient-to-br from-slate-50 to-blue-50","data-id":"nqg5xxepd","data-path":"src/pages/HomePage.tsx",children:a.jsx("div",{className:"max-w-6xl mx-auto","data-id":"janqzstip","data-path":"src/pages/HomePage.tsx",children:a.jsxs("div",{className:"text-center mb-12","data-id":"51cc9x68z","data-path":"src/pages/HomePage.tsx",children:[a.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-slate-800 mb-4","data-id":"uslx67usb","data-path":"src/pages/HomePage.tsx",children:"Have Questions About Construction Loans?"}),a.jsx("p",{className:"text-xl text-slate-600 max-w-2xl mx-auto mb-8","data-id":"fvssq270l","data-path":"src/pages/HomePage.tsx",children:"We've answered over 200 frequently asked questions to help you understand every aspect of construction financing."}),a.jsx(p,{size:"lg",className:"bg-gradient-to-r from-blue-600 to-teal-600 hover:from-blue-700 hover:to-teal-700 text-white px-8 py-6 text-lg rounded-full shadow-lg transform hover:scale-105 transition-all",onClick:()=>window.location.href="/faq","data-id":"s0kzk5eil","data-path":"src/pages/HomePage.tsx",children:"View Complete FAQ"})]})})}),a.jsx(t.section,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:m,className:"py-20 px-4 bg-white","data-id":"ggkqc4y9i","data-path":"src/pages/HomePage.tsx",children:a.jsxs("div",{className:"max-w-6xl mx-auto","data-id":"aa9j0t8hn","data-path":"src/pages/HomePage.tsx",children:[a.jsxs("div",{className:"text-center mb-12","data-id":"tn3b6o3ou","data-path":"src/pages/HomePage.tsx",children:[a.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-slate-800 mb-4","data-id":"okpng8gkw","data-path":"src/pages/HomePage.tsx",children:"The 3 Biggest Construction Loan Mistakes"}),a.jsx("p",{className:"text-xl text-slate-600 max-w-2xl mx-auto","data-id":"fa5zluf05","data-path":"src/pages/HomePage.tsx",children:"Watch this quick video to understand our streamlined construction loan process"})]}),a.jsx(g,{className:"overflow-hidden shadow-2xl border-0 bg-gradient-to-br from-blue-50 to-teal-50","data-id":"n23qnuuhg","data-path":"src/pages/HomePage.tsx",children:a.jsx(u,{className:"p-0","data-id":"odozts66r","data-path":"src/pages/HomePage.tsx",children:a.jsx("div",{style:{position:"relative",overflow:"hidden",aspectRatio:"1920/1080"},"data-id":"snya6ryc7","data-path":"src/pages/HomePage.tsx",children:a.jsx("iframe",{src:"https://share.synthesia.io/embeds/videos/5873c377-2dc1-4879-94d9-854e26d1e064",loading:"lazy",title:"Synthesia video player - Nationwide Construction Loans",allowFullScreen:!0,allow:"encrypted-media; fullscreen; microphone;",style:{position:"absolute",width:"100%",height:"100%",top:0,left:0,border:"none",padding:0,margin:0,overflow:"hidden"},"data-id":"98p2jj0dd","data-path":"src/pages/HomePage.tsx"})})})})]})}),a.jsx(t.section,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:m,className:"py-20 px-4 bg-gradient-to-br from-slate-50 to-blue-50","data-id":"08zxntzbm","data-path":"src/pages/HomePage.tsx",children:a.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"9pd1h65uw","data-path":"src/pages/HomePage.tsx",children:[a.jsxs("div",{className:"text-center mb-12","data-id":"7wmhqpdh1","data-path":"src/pages/HomePage.tsx",children:[a.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-slate-800 mb-4","data-id":"8b797f884","data-path":"src/pages/HomePage.tsx",children:"Tell Us About Your Project"}),a.jsx("p",{className:"text-xl text-slate-600","data-id":"v4aa4kmhv","data-path":"src/pages/HomePage.tsx",children:"Share your details and receive my Construction Loan Inside Secrets Ebook."})]}),a.jsx(g,{className:"shadow-2xl border-0 bg-white","data-id":"oskwz7u2s","data-path":"src/pages/HomePage.tsx",children:a.jsxs(u,{className:"p-8 md:p-12","data-id":"7nsk083xu","data-path":"src/pages/HomePage.tsx",children:[a.jsx("div",{className:"flex justify-center mb-8","data-id":"z7d5fvmkv","data-path":"src/pages/HomePage.tsx",children:a.jsxs("div",{className:"relative group","data-id":"q0qtyiloh","data-path":"src/pages/HomePage.tsx",children:[a.jsx("img",{src:"https://newoaks.s3.us-west-1.amazonaws.com/NewOaks/5500/dc58d00a-afbd-47c7-8bc8-02c14fff0909.jpeg",alt:"Construction Loan Inside Secrets Ebook",className:"w-48 md:w-56 h-auto rounded-lg shadow-xl transform transition-transform duration-300 group-hover:scale-105",loading:"lazy",width:"400",height:"192","data-id":"bc0ctcd5h","data-path":"src/pages/HomePage.tsx"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-blue-900/20 to-transparent rounded-lg opacity-0 group-hover:opacity-100 transition-opacity duration-300","data-id":"2y5krmui8","data-path":"src/pages/HomePage.tsx"})]})}),a.jsx(N,{...s,"data-id":"xc6ra3z6u","data-path":"src/pages/HomePage.tsx",children:a.jsxs("form",{onSubmit:s.handleSubmit(P),className:"space-y-6","data-id":"6w6rc8qf1","data-path":"src/pages/HomePage.tsx",children:[a.jsx(r,{control:s.control,name:"name",render:({field:e})=>a.jsxs(i,{"data-id":"bx2ui3r4d","data-path":"src/pages/HomePage.tsx",children:[a.jsx(d,{className:"text-base font-semibold text-slate-700","data-id":"8i55em0fs","data-path":"src/pages/HomePage.tsx",children:"Your Name"}),a.jsx(n,{"data-id":"fetglip3m","data-path":"src/pages/HomePage.tsx",children:a.jsx(x,{placeholder:"John Smith",...e,disabled:o,className:"h-12 text-base","data-id":"ltsyzp5kx","data-path":"src/pages/HomePage.tsx"})}),a.jsx(l,{"data-id":"awbmm6x83","data-path":"src/pages/HomePage.tsx"})]}),"data-id":"vvhpyygvp","data-path":"src/pages/HomePage.tsx"}),a.jsx(r,{control:s.control,name:"propertyAddress",render:({field:e})=>a.jsxs(i,{"data-id":"0vp9qem3e","data-path":"src/pages/HomePage.tsx",children:[a.jsx(d,{className:"text-base font-semibold text-slate-700","data-id":"aeuxqpprr","data-path":"src/pages/HomePage.tsx",children:"Property Address"}),a.jsx(n,{"data-id":"bgmvl17zg","data-path":"src/pages/HomePage.tsx",children:a.jsx(x,{placeholder:"123 Main Street, City, State",...e,disabled:o,className:"h-12 text-base","data-id":"behdo7pgy","data-path":"src/pages/HomePage.tsx"})}),a.jsx(l,{"data-id":"3dzfbrg3x","data-path":"src/pages/HomePage.tsx"})]}),"data-id":"p6rpbvneh","data-path":"src/pages/HomePage.tsx"}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-6","data-id":"ayhy1xaqf","data-path":"src/pages/HomePage.tsx",children:[a.jsx(r,{control:s.control,name:"email",render:({field:e})=>a.jsxs(i,{"data-id":"9azpacqfm","data-path":"src/pages/HomePage.tsx",children:[a.jsx(d,{className:"text-base font-semibold text-slate-700","data-id":"ykh97tylr","data-path":"src/pages/HomePage.tsx",children:"Email"}),a.jsx(n,{"data-id":"tundq1rnh","data-path":"src/pages/HomePage.tsx",children:a.jsx(x,{type:"email",placeholder:"john@example.com",...e,disabled:o,className:"h-12 text-base","data-id":"el5taqkka","data-path":"src/pages/HomePage.tsx"})}),a.jsx(l,{"data-id":"ct9o8c1ax","data-path":"src/pages/HomePage.tsx"})]}),"data-id":"31tfz2gy1","data-path":"src/pages/HomePage.tsx"}),a.jsx(r,{control:s.control,name:"phoneNumber",render:({field:e})=>a.jsxs(i,{"data-id":"vqdqyi9v8","data-path":"src/pages/HomePage.tsx",children:[a.jsx(d,{className:"text-base font-semibold text-slate-700","data-id":"jrzglqf0o","data-path":"src/pages/HomePage.tsx",children:"Phone Number"}),a.jsx(n,{"data-id":"b411rdmgn","data-path":"src/pages/HomePage.tsx",children:a.jsx(x,{type:"tel",placeholder:"(555) 123-4567",...e,disabled:o,className:"h-12 text-base","data-id":"qx341e4ki","data-path":"src/pages/HomePage.tsx"})}),a.jsx(l,{"data-id":"iw991k425","data-path":"src/pages/HomePage.tsx"})]}),"data-id":"763ywc7zx","data-path":"src/pages/HomePage.tsx"})]}),a.jsx(r,{control:s.control,name:"projectDescription",render:({field:e})=>a.jsxs(i,{"data-id":"7og5p08sc","data-path":"src/pages/HomePage.tsx",children:[a.jsx(d,{className:"peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-base font-semibold text-slate-700","data-id":"8f7fr3mnu","data-path":"src/pages/HomePage.tsx",children:"Describe Your Project Goals and or Concerns"}),a.jsx(n,{"data-id":"3qt82rmat","data-path":"src/pages/HomePage.tsx",children:a.jsx(q,{placeholder:"Tell us about your construction project, timeline, budget, and any specific concerns or questions you have...",className:"min-h-[150px] text-base resize-none",...e,disabled:o,"data-id":"zbvaapyqo","data-path":"src/pages/HomePage.tsx"})}),a.jsx(l,{"data-id":"dmi7vymdr","data-path":"src/pages/HomePage.tsx"})]}),"data-id":"ox3yfqqf8","data-path":"src/pages/HomePage.tsx"}),a.jsx(p,{type:"submit",size:"lg",disabled:o,className:"w-full h-14 text-lg bg-gradient-to-r from-blue-600 to-teal-600 hover:from-blue-700 hover:to-teal-700 text-white font-semibold rounded-xl shadow-lg transform hover:scale-[1.02] transition-all duration-300","data-id":"pvwxu1m5w","data-path":"src/pages/HomePage.tsx",children:o?a.jsxs(a.Fragment,{children:[a.jsx(S,{className:"mr-2 h-5 w-5 animate-spin","data-id":"86u8r4aba","data-path":"src/pages/HomePage.tsx"}),"Sending..."]}):"Submit Your Inquiry"}),a.jsx("p",{className:"text-center text-sm text-slate-500 mt-4","data-id":"7oq41dn0t","data-path":"src/pages/HomePage.tsx",children:"We respect your privacy and will never share your information"})]})})]})})]})}),a.jsx(t.section,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:m,className:"py-20 px-4 bg-gradient-to-br from-blue-900 via-blue-800 to-teal-900 text-white","data-id":"8dx0kav3k","data-path":"src/pages/HomePage.tsx",children:a.jsxs("div",{className:"max-w-4xl mx-auto text-center","data-id":"fymovq5xb","data-path":"src/pages/HomePage.tsx",children:[a.jsx("h2",{className:"text-4xl md:text-5xl font-bold mb-6","data-id":"2n5fz7fmb","data-path":"src/pages/HomePage.tsx",children:"Ready to Get Started?"}),a.jsx("p",{className:"text-xl md:text-2xl text-blue-100 mb-8 max-w-2xl mx-auto","data-id":"5kp8tongs","data-path":"src/pages/HomePage.tsx",children:"Take advantage of our 40 plus years of construction project and loan expertise & speak with our construction lending experts and get free advice."}),a.jsx(g,{className:"bg-white/10 backdrop-blur-lg border-white/20 shadow-2xl","data-id":"b8bwpu3bo","data-path":"src/pages/HomePage.tsx",children:a.jsxs(u,{className:"p-8 md:p-12","data-id":"r38u2qbm6","data-path":"src/pages/HomePage.tsx",children:[a.jsx(b,{className:"w-16 h-16 mx-auto mb-6 text-teal-300","data-id":"vpehb0mpk","data-path":"src/pages/HomePage.tsx"}),a.jsxs("div",{className:"mb-6","data-id":"vzqvoxnom","data-path":"src/pages/HomePage.tsx",children:[a.jsx("p",{className:"text-lg text-blue-200 mb-2","data-id":"z4dnz4oqg","data-path":"src/pages/HomePage.tsx",children:"Call us now for free consultation"}),a.jsx("a",{href:"tel:800-325-1809",className:"text-5xl md:text-6xl font-bold text-white hover:text-teal-300 transition-colors inline-block","aria-label":"Call us at 800-325-1809","data-id":"yzndn4gc1","data-path":"src/pages/HomePage.tsx",children:"800-325-1809"})]}),a.jsxs(p,{size:"lg",className:"bg-teal-500 hover:bg-teal-600 text-white px-8 py-6 text-lg rounded-full shadow-xl transform hover:scale-105 transition-all",onClick:()=>window.location.href="tel:800-325-1809","aria-label":"Call us now at 800-325-1809","data-id":"hyyzlgu3l","data-path":"src/pages/HomePage.tsx",children:[a.jsx(b,{className:"w-5 h-5 mr-2","aria-hidden":"true","data-id":"mkmy33lsk","data-path":"src/pages/HomePage.tsx"}),"Call Now"]}),a.jsx("p",{className:"mt-6 text-blue-200","data-id":"6ezwufqd9","data-path":"src/pages/HomePage.tsx",children:"Available Monday - Friday, 8am - 6pm PST"})]})})]})}),a.jsx("footer",{className:"bg-slate-900 text-white py-12 px-4","data-id":"ilnxh3y6c","data-path":"src/pages/HomePage.tsx",children:a.jsxs("div",{className:"max-w-6xl mx-auto text-center","data-id":"sj8eevy2u","data-path":"src/pages/HomePage.tsx",children:[a.jsx(w,{className:"w-12 h-12 mx-auto mb-4 text-teal-400","data-id":"d4dsiep10","data-path":"src/pages/HomePage.tsx"}),a.jsx("p",{className:"text-slate-400 mb-2","data-id":"b36rvhhcw","data-path":"src/pages/HomePage.tsx",children:"© 2024 Construction Lending Solutions. All rights reserved."}),a.jsx("p",{className:"text-slate-500 text-sm","data-id":"j55q32392","data-path":"src/pages/HomePage.tsx",children:"Professional residential construction financing"})]})})]})]})}export{V as default};