init
This commit is contained in:
7
.claude/settings.local.json
Normal file
7
.claude/settings.local.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"allow": [
|
||||||
|
"WebFetch(domain:www.raricenter.com)"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
735
css/style.css
Normal file
735
css/style.css
Normal file
@@ -0,0 +1,735 @@
|
|||||||
|
/* ===== Reset & Base ===== */
|
||||||
|
*, *::before, *::after {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'Inter', sans-serif;
|
||||||
|
color: #2D2D2D;
|
||||||
|
background-color: #F4EFE8;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
max-width: 1140px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
padding: 80px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-title {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 2rem;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-subtitle {
|
||||||
|
text-align: center;
|
||||||
|
color: #666;
|
||||||
|
margin-bottom: 48px;
|
||||||
|
max-width: 560px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 14px 32px;
|
||||||
|
border-radius: 8px;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 1rem;
|
||||||
|
cursor: pointer;
|
||||||
|
border: none;
|
||||||
|
transition: background-color .2s, transform .15s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
background-color: #0E756F;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover {
|
||||||
|
background-color: #0a5e59;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-outline {
|
||||||
|
background: transparent;
|
||||||
|
border: 2px solid #0E756F;
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-outline:hover {
|
||||||
|
background-color: #0E756F;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Header ===== */
|
||||||
|
.header {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
background: rgba(244, 239, 232, .95);
|
||||||
|
backdrop-filter: blur(8px);
|
||||||
|
z-index: 1000;
|
||||||
|
border-bottom: 1px solid rgba(0,0,0,.06);
|
||||||
|
}
|
||||||
|
|
||||||
|
.header .container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: 72px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links a {
|
||||||
|
font-size: .95rem;
|
||||||
|
font-weight: 500;
|
||||||
|
transition: color .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-links a:hover {
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-cta {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hamburger {
|
||||||
|
display: none;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 5px;
|
||||||
|
cursor: pointer;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hamburger span {
|
||||||
|
display: block;
|
||||||
|
width: 26px;
|
||||||
|
height: 3px;
|
||||||
|
background: #2D2D2D;
|
||||||
|
border-radius: 2px;
|
||||||
|
transition: transform .3s, opacity .3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Hero ===== */
|
||||||
|
.hero {
|
||||||
|
padding-top: 140px;
|
||||||
|
padding-bottom: 80px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero h1 {
|
||||||
|
font-size: 2.8rem;
|
||||||
|
line-height: 1.2;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
color: #2D2D2D;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero h1 span {
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero p {
|
||||||
|
font-size: 1.15rem;
|
||||||
|
color: #555;
|
||||||
|
max-width: 600px;
|
||||||
|
margin: 0 auto 36px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-stats {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 48px;
|
||||||
|
margin-top: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-stats .stat {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-stats .stat-number {
|
||||||
|
font-size: 2rem;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-stats .stat-label {
|
||||||
|
font-size: .9rem;
|
||||||
|
color: #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Services ===== */
|
||||||
|
.services {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.services-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
gap: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-card {
|
||||||
|
background: #F4EFE8;
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 32px 24px;
|
||||||
|
text-align: center;
|
||||||
|
transition: transform .2s, box-shadow .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-card:hover {
|
||||||
|
transform: translateY(-4px);
|
||||||
|
box-shadow: 0 8px 24px rgba(0,0,0,.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-icon {
|
||||||
|
font-size: 2.4rem;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-card h3 {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-card p {
|
||||||
|
font-size: .9rem;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Psychologists ===== */
|
||||||
|
.psychologists-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
gap: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologist-card {
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 12px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 4px 16px rgba(0,0,0,.06);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologist-card img {
|
||||||
|
width: 100%;
|
||||||
|
height: 280px;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologist-info {
|
||||||
|
padding: 24px;
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologist-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 12px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologist-header h3 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.badge {
|
||||||
|
display: inline-block;
|
||||||
|
background: #e0f2f1;
|
||||||
|
color: #0E756F;
|
||||||
|
font-size: .75rem;
|
||||||
|
font-weight: 600;
|
||||||
|
padding: 4px 10px;
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologist-tags {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 8px;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag {
|
||||||
|
background: #F4EFE8;
|
||||||
|
font-size: .8rem;
|
||||||
|
padding: 4px 12px;
|
||||||
|
border-radius: 20px;
|
||||||
|
color: #555;
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologist-exp {
|
||||||
|
font-size: .85rem;
|
||||||
|
color: #888;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologist-bio {
|
||||||
|
font-size: .9rem;
|
||||||
|
color: #555;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologist-info .btn {
|
||||||
|
align-self: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Pricing ===== */
|
||||||
|
.pricing {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
gap: 24px;
|
||||||
|
align-items: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card {
|
||||||
|
background: #F4EFE8;
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 36px 28px;
|
||||||
|
text-align: center;
|
||||||
|
position: relative;
|
||||||
|
transition: transform .2s, box-shadow .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card:hover {
|
||||||
|
transform: translateY(-4px);
|
||||||
|
box-shadow: 0 8px 24px rgba(0,0,0,.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured {
|
||||||
|
background: #0E756F;
|
||||||
|
color: #fff;
|
||||||
|
transform: scale(1.04);
|
||||||
|
box-shadow: 0 12px 32px rgba(14,117,111,.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured:hover {
|
||||||
|
transform: scale(1.04) translateY(-4px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured .pricing-price {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured .pricing-features li {
|
||||||
|
color: rgba(255,255,255,.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured .btn {
|
||||||
|
background: #fff;
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured .btn:hover {
|
||||||
|
background: #e0f2f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-label {
|
||||||
|
font-size: .8rem;
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured .pricing-label {
|
||||||
|
color: rgba(255,255,255,.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
.recommended-badge {
|
||||||
|
position: absolute;
|
||||||
|
top: -14px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
background: #F4A261;
|
||||||
|
color: #fff;
|
||||||
|
font-size: .75rem;
|
||||||
|
font-weight: 700;
|
||||||
|
padding: 4px 16px;
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-name {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
font-weight: 700;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-price {
|
||||||
|
font-size: 2.2rem;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #0E756F;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-period {
|
||||||
|
font-size: .85rem;
|
||||||
|
color: #888;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured .pricing-period {
|
||||||
|
color: rgba(255,255,255,.6);
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-features {
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-features li {
|
||||||
|
padding: 6px 0;
|
||||||
|
font-size: .9rem;
|
||||||
|
color: #555;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-features li::before {
|
||||||
|
content: '✓';
|
||||||
|
color: #0E756F;
|
||||||
|
font-weight: 700;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured .pricing-features li::before {
|
||||||
|
color: #a7f3d0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Contact ===== */
|
||||||
|
.contact-wrapper {
|
||||||
|
max-width: 640px;
|
||||||
|
margin: 0 auto;
|
||||||
|
background: #fff;
|
||||||
|
padding: 40px;
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 4px 16px rgba(0,0,0,.06);
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group label {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: .9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group input,
|
||||||
|
.form-group select,
|
||||||
|
.form-group textarea {
|
||||||
|
width: 100%;
|
||||||
|
padding: 12px 14px;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 8px;
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: .95rem;
|
||||||
|
transition: border-color .2s;
|
||||||
|
background: #fafaf8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group input:focus,
|
||||||
|
.form-group select:focus,
|
||||||
|
.form-group textarea:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group textarea {
|
||||||
|
resize: vertical;
|
||||||
|
min-height: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-row {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-submit {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-submit .btn {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-success {
|
||||||
|
display: none;
|
||||||
|
text-align: center;
|
||||||
|
padding: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-success .checkmark {
|
||||||
|
font-size: 3rem;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-success h3 {
|
||||||
|
color: #0E756F;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-success p {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-error {
|
||||||
|
color: #d32f2f;
|
||||||
|
font-size: .8rem;
|
||||||
|
margin-top: 4px;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Footer ===== */
|
||||||
|
.footer {
|
||||||
|
background: #2D2D2D;
|
||||||
|
color: #ccc;
|
||||||
|
padding: 60px 0 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 2fr 1fr 1fr;
|
||||||
|
gap: 40px;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-brand .logo {
|
||||||
|
color: #fff;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-brand p {
|
||||||
|
font-size: .9rem;
|
||||||
|
color: #999;
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer h4 {
|
||||||
|
color: #fff;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links a {
|
||||||
|
display: block;
|
||||||
|
color: #999;
|
||||||
|
font-size: .9rem;
|
||||||
|
padding: 4px 0;
|
||||||
|
transition: color .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-links a:hover {
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-contact p {
|
||||||
|
font-size: .9rem;
|
||||||
|
color: #999;
|
||||||
|
padding: 4px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-social {
|
||||||
|
display: flex;
|
||||||
|
gap: 12px;
|
||||||
|
margin-top: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-social a {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
background: #3a3a3a;
|
||||||
|
border-radius: 50%;
|
||||||
|
color: #ccc;
|
||||||
|
font-size: .85rem;
|
||||||
|
transition: background .2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-social a:hover {
|
||||||
|
background: #0E756F;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-bottom {
|
||||||
|
border-top: 1px solid #3a3a3a;
|
||||||
|
padding-top: 20px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: .8rem;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Mobile Nav Overlay ===== */
|
||||||
|
.mobile-nav {
|
||||||
|
display: none;
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
background: rgba(244,239,232,.98);
|
||||||
|
z-index: 999;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-nav.active {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-nav a {
|
||||||
|
font-size: 1.4rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-nav a:hover {
|
||||||
|
color: #0E756F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-nav-close {
|
||||||
|
position: absolute;
|
||||||
|
top: 24px;
|
||||||
|
right: 24px;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
font-size: 2rem;
|
||||||
|
cursor: pointer;
|
||||||
|
color: #2D2D2D;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Responsive ===== */
|
||||||
|
@media (max-width: 960px) {
|
||||||
|
.nav-links {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hamburger {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero h1 {
|
||||||
|
font-size: 2.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.services-grid {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
|
||||||
|
.psychologists-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
max-width: 400px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured {
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pricing-card.featured:hover {
|
||||||
|
transform: translateY(-4px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
gap: 32px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
section {
|
||||||
|
padding: 56px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero {
|
||||||
|
padding-top: 110px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero h1 {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-stats {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.services-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-row {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contact-wrapper {
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section-title {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
334
index.html
Normal file
334
index.html
Normal file
@@ -0,0 +1,334 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="cs">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Rari Center — Psychologická péče online</title>
|
||||||
|
<meta name="description" content="Online psychologická péče s odborníky. Individuální i párová terapie, podpora při úzkostech, depresích a dalších obtížích.">
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="css/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Header -->
|
||||||
|
<header class="header">
|
||||||
|
<div class="container">
|
||||||
|
<a href="#" class="logo">Rari Center</a>
|
||||||
|
<nav class="nav-links">
|
||||||
|
<a href="#sluzby">Služby</a>
|
||||||
|
<a href="#psychologove">Psychologové</a>
|
||||||
|
<a href="#cenik">Ceník</a>
|
||||||
|
<a href="#kontakt">Kontakt</a>
|
||||||
|
<a href="#psychologove" class="btn btn-primary nav-cta">Vybrat psychologa</a>
|
||||||
|
</nav>
|
||||||
|
<button class="hamburger" id="hamburger" aria-label="Menu">
|
||||||
|
<span></span><span></span><span></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<!-- Mobile Nav -->
|
||||||
|
<div class="mobile-nav" id="mobileNav">
|
||||||
|
<button class="mobile-nav-close" id="mobileNavClose" aria-label="Zavřít">×</button>
|
||||||
|
<a href="#sluzby">Služby</a>
|
||||||
|
<a href="#psychologove">Psychologové</a>
|
||||||
|
<a href="#cenik">Ceník</a>
|
||||||
|
<a href="#kontakt">Kontakt</a>
|
||||||
|
<a href="#psychologove" class="btn btn-primary">Vybrat psychologa</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Hero -->
|
||||||
|
<section class="hero">
|
||||||
|
<div class="container">
|
||||||
|
<h1>Vaše cesta k lepšímu<br><span>duševnímu zdraví</span></h1>
|
||||||
|
<p>Profesionální psychologická péče online. Spojíme vás s odborníkem, který vám pomůže překonat životní výzvy z pohodlí domova.</p>
|
||||||
|
<a href="#psychologove" class="btn btn-primary">Najít svého psychologa</a>
|
||||||
|
<div class="hero-stats">
|
||||||
|
<div class="stat">
|
||||||
|
<div class="stat-number">500+</div>
|
||||||
|
<div class="stat-label">spokojených klientů</div>
|
||||||
|
</div>
|
||||||
|
<div class="stat">
|
||||||
|
<div class="stat-number">97%</div>
|
||||||
|
<div class="stat-label">pozitivních recenzí</div>
|
||||||
|
</div>
|
||||||
|
<div class="stat">
|
||||||
|
<div class="stat-number">4</div>
|
||||||
|
<div class="stat-label">odborníci</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Services -->
|
||||||
|
<section class="services" id="sluzby">
|
||||||
|
<div class="container">
|
||||||
|
<h2 class="section-title">Naše služby</h2>
|
||||||
|
<p class="section-subtitle">Nabízíme komplexní psychologickou podporu přizpůsobenou vašim potřebám.</p>
|
||||||
|
<div class="services-grid">
|
||||||
|
<div class="service-card">
|
||||||
|
<div class="service-icon">🧠</div>
|
||||||
|
<h3>Individuální terapie</h3>
|
||||||
|
<p>Osobní sezení zaměřená na vaše konkrétní potřeby a cíle v bezpečném prostředí.</p>
|
||||||
|
</div>
|
||||||
|
<div class="service-card">
|
||||||
|
<div class="service-icon">💑</div>
|
||||||
|
<h3>Párová terapie</h3>
|
||||||
|
<p>Pomozte svému vztahu překonat krizi a zlepšit vzájemnou komunikaci.</p>
|
||||||
|
</div>
|
||||||
|
<div class="service-card">
|
||||||
|
<div class="service-icon">🍽️</div>
|
||||||
|
<h3>Poruchy příjmu potravy</h3>
|
||||||
|
<p>Specializovaná péče pro ty, kteří bojují s anorexií, bulimií či přejídáním.</p>
|
||||||
|
</div>
|
||||||
|
<div class="service-card">
|
||||||
|
<div class="service-icon">🌧️</div>
|
||||||
|
<h3>Deprese a úzkost</h3>
|
||||||
|
<p>Efektivní strategie pro zvládání depresivních stavů a úzkostných poruch.</p>
|
||||||
|
</div>
|
||||||
|
<div class="service-card">
|
||||||
|
<div class="service-icon">🪞</div>
|
||||||
|
<h3>Sebehodnocení</h3>
|
||||||
|
<p>Budujte zdravé sebevědomí a naučte se vnímat svou hodnotu.</p>
|
||||||
|
</div>
|
||||||
|
<div class="service-card">
|
||||||
|
<div class="service-icon">⚡</div>
|
||||||
|
<h3>Panické ataky</h3>
|
||||||
|
<p>Naučte se rozpoznat spouštěče a získejte nástroje pro zvládání paniky.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Psychologists -->
|
||||||
|
<section class="psychologists" id="psychologove">
|
||||||
|
<div class="container">
|
||||||
|
<h2 class="section-title">Naši psychologové</h2>
|
||||||
|
<p class="section-subtitle">Tým zkušených odborníků připravených vám pomoci na vaší cestě.</p>
|
||||||
|
<div class="psychologists-grid">
|
||||||
|
|
||||||
|
<div class="psychologist-card">
|
||||||
|
<img src="https://images.unsplash.com/photo-1559839734-2b71ea197ec2?w=600&h=400&fit=crop&crop=face" alt="Mgr. Tereza Nováková">
|
||||||
|
<div class="psychologist-info">
|
||||||
|
<div class="psychologist-header">
|
||||||
|
<h3>Mgr. Tereza Nováková</h3>
|
||||||
|
<span class="badge">Senior psycholog</span>
|
||||||
|
</div>
|
||||||
|
<div class="psychologist-tags">
|
||||||
|
<span class="tag">Deprese</span>
|
||||||
|
<span class="tag">Úzkosti</span>
|
||||||
|
<span class="tag">Sebehodnocení</span>
|
||||||
|
</div>
|
||||||
|
<p class="psychologist-exp">12 let praxe</p>
|
||||||
|
<p class="psychologist-bio">Specializuji se na kognitivně-behaviorální terapii. Pomáhám klientům najít cestu z depresí a úzkostných stavů. Věřím, že každý si zaslouží žít plnohodnotný život.</p>
|
||||||
|
<a href="#kontakt" class="btn btn-primary">Objednat se</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="psychologist-card">
|
||||||
|
<img src="https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?w=600&h=400&fit=crop&crop=face" alt="PhDr. Martin Dvořák">
|
||||||
|
<div class="psychologist-info">
|
||||||
|
<div class="psychologist-header">
|
||||||
|
<h3>PhDr. Martin Dvořák</h3>
|
||||||
|
<span class="badge">Vedoucí terapeut</span>
|
||||||
|
</div>
|
||||||
|
<div class="psychologist-tags">
|
||||||
|
<span class="tag">Párová terapie</span>
|
||||||
|
<span class="tag">Komunikace</span>
|
||||||
|
<span class="tag">Krize</span>
|
||||||
|
</div>
|
||||||
|
<p class="psychologist-exp">15 let praxe</p>
|
||||||
|
<p class="psychologist-bio">Věnuji se párové a rodinné terapii. Pomáhám párům obnovit důvěru a zlepšit komunikaci. Každý vztah stojí za to, aby o něj člověk bojoval.</p>
|
||||||
|
<a href="#kontakt" class="btn btn-primary">Objednat se</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="psychologist-card">
|
||||||
|
<img src="https://images.unsplash.com/photo-1594824476967-48c8b964ac31?w=600&h=400&fit=crop&crop=face" alt="Mgr. Karolína Procházková">
|
||||||
|
<div class="psychologist-info">
|
||||||
|
<div class="psychologist-header">
|
||||||
|
<h3>Mgr. Karolína Procházková</h3>
|
||||||
|
<span class="badge">Specialistka</span>
|
||||||
|
</div>
|
||||||
|
<div class="psychologist-tags">
|
||||||
|
<span class="tag">Poruchy příjmu potravy</span>
|
||||||
|
<span class="tag">Sebepojetí</span>
|
||||||
|
</div>
|
||||||
|
<p class="psychologist-exp">8 let praxe</p>
|
||||||
|
<p class="psychologist-bio">Zaměřuji se na poruchy příjmu potravy a problémy se sebepojetím. Společně najdeme zdravý vztah k jídlu i k sobě samé. Pracuji s empatií a bez odsuzování.</p>
|
||||||
|
<a href="#kontakt" class="btn btn-primary">Objednat se</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="psychologist-card">
|
||||||
|
<img src="https://images.unsplash.com/photo-1582750433449-648ed127bb54?w=600&h=400&fit=crop&crop=face" alt="PhDr. Jan Svoboda, Ph.D.">
|
||||||
|
<div class="psychologist-info">
|
||||||
|
<div class="psychologist-header">
|
||||||
|
<h3>PhDr. Jan Svoboda, Ph.D.</h3>
|
||||||
|
<span class="badge">Klinický psycholog</span>
|
||||||
|
</div>
|
||||||
|
<div class="psychologist-tags">
|
||||||
|
<span class="tag">Panické ataky</span>
|
||||||
|
<span class="tag">PTSD</span>
|
||||||
|
<span class="tag">Stres</span>
|
||||||
|
</div>
|
||||||
|
<p class="psychologist-exp">18 let praxe</p>
|
||||||
|
<p class="psychologist-bio">Jako klinický psycholog se zaměřuji na panické poruchy a posttraumatický stres. Využívám kombinaci osvědčených terapeutických přístupů pro dosažení trvalých výsledků.</p>
|
||||||
|
<a href="#kontakt" class="btn btn-primary">Objednat se</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Pricing -->
|
||||||
|
<section class="pricing" id="cenik">
|
||||||
|
<div class="container">
|
||||||
|
<h2 class="section-title">Ceník</h2>
|
||||||
|
<p class="section-subtitle">Vyberte si plán, který nejlépe vyhovuje vašim potřebám.</p>
|
||||||
|
<div class="pricing-grid">
|
||||||
|
|
||||||
|
<div class="pricing-card">
|
||||||
|
<p class="pricing-label">Základ</p>
|
||||||
|
<h3 class="pricing-name">Základní</h3>
|
||||||
|
<div class="pricing-price">2 500 Kč</div>
|
||||||
|
<p class="pricing-period">měsíčně</p>
|
||||||
|
<ul class="pricing-features">
|
||||||
|
<li>4 online konzultace</li>
|
||||||
|
<li>Délka sezení 50 minut</li>
|
||||||
|
<li>Rezervace přes formulář</li>
|
||||||
|
<li>E-mailová podpora</li>
|
||||||
|
</ul>
|
||||||
|
<a href="#kontakt" class="btn btn-outline">Vybrat plán</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="pricing-card featured">
|
||||||
|
<div class="recommended-badge">Doporučujeme</div>
|
||||||
|
<p class="pricing-label">Nejoblíbenější</p>
|
||||||
|
<h3 class="pricing-name">Standard</h3>
|
||||||
|
<div class="pricing-price">3 200 Kč</div>
|
||||||
|
<p class="pricing-period">měsíčně</p>
|
||||||
|
<ul class="pricing-features">
|
||||||
|
<li>4 online konzultace</li>
|
||||||
|
<li>Délka sezení 50 minut</li>
|
||||||
|
<li>Denní textová podpora</li>
|
||||||
|
<li>Prioritní rezervace</li>
|
||||||
|
<li>Pracovní listy a cvičení</li>
|
||||||
|
</ul>
|
||||||
|
<a href="#kontakt" class="btn btn-primary">Vybrat plán</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="pricing-card">
|
||||||
|
<p class="pricing-label">Pro náročné</p>
|
||||||
|
<h3 class="pricing-name">Premium</h3>
|
||||||
|
<div class="pricing-price">4 100 Kč</div>
|
||||||
|
<p class="pricing-period">měsíčně</p>
|
||||||
|
<ul class="pricing-features">
|
||||||
|
<li>Neomezené konzultace</li>
|
||||||
|
<li>Neomezená textová podpora</li>
|
||||||
|
<li>Exkluzivní materiály</li>
|
||||||
|
<li>Prioritní terapeut</li>
|
||||||
|
<li>Krizová linka 24/7</li>
|
||||||
|
</ul>
|
||||||
|
<a href="#kontakt" class="btn btn-outline">Vybrat plán</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Contact -->
|
||||||
|
<section class="contact" id="kontakt">
|
||||||
|
<div class="container">
|
||||||
|
<h2 class="section-title">Kontaktujte nás</h2>
|
||||||
|
<p class="section-subtitle">Vyplňte formulář a ozveme se vám do 24 hodin.</p>
|
||||||
|
<div class="contact-wrapper">
|
||||||
|
<form id="contactForm" novalidate>
|
||||||
|
<div class="form-row">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="formName">Jméno a příjmení</label>
|
||||||
|
<input type="text" id="formName" placeholder="Jan Novák">
|
||||||
|
<div class="form-error"></div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="formEmail">E-mail</label>
|
||||||
|
<input type="email" id="formEmail" placeholder="jan@email.cz">
|
||||||
|
<div class="form-error"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-row">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="formPhone">Telefon</label>
|
||||||
|
<input type="tel" id="formPhone" placeholder="+420 123 456 789">
|
||||||
|
<div class="form-error"></div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="formPsychologist">Preferovaný psycholog</label>
|
||||||
|
<select id="formPsychologist">
|
||||||
|
<option value="">— Vyberte —</option>
|
||||||
|
<option value="novakova">Mgr. Tereza Nováková</option>
|
||||||
|
<option value="dvorak">PhDr. Martin Dvořák</option>
|
||||||
|
<option value="prochazkova">Mgr. Karolína Procházková</option>
|
||||||
|
<option value="svoboda">PhDr. Jan Svoboda, Ph.D.</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="formMessage">Zpráva</label>
|
||||||
|
<textarea id="formMessage" placeholder="Popište nám, s čím vám můžeme pomoci..."></textarea>
|
||||||
|
<div class="form-error"></div>
|
||||||
|
</div>
|
||||||
|
<div class="form-submit">
|
||||||
|
<button type="submit" class="btn btn-primary">Odeslat</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<div class="form-success" id="formSuccess">
|
||||||
|
<div class="checkmark">✅</div>
|
||||||
|
<h3>Děkujeme za vaši zprávu!</h3>
|
||||||
|
<p>Ozveme se vám co nejdříve. Obvykle do 24 hodin.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Footer -->
|
||||||
|
<footer class="footer">
|
||||||
|
<div class="container">
|
||||||
|
<div class="footer-grid">
|
||||||
|
<div class="footer-brand">
|
||||||
|
<a href="#" class="logo">Rari Center</a>
|
||||||
|
<p>Profesionální online psychologická péče. Pomáháme vám na cestě k lepšímu duševnímu zdraví.</p>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h4>Rychlé odkazy</h4>
|
||||||
|
<div class="footer-links">
|
||||||
|
<a href="#sluzby">Služby</a>
|
||||||
|
<a href="#psychologove">Psychologové</a>
|
||||||
|
<a href="#cenik">Ceník</a>
|
||||||
|
<a href="#kontakt">Kontakt</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h4>Kontakt</h4>
|
||||||
|
<div class="footer-contact">
|
||||||
|
<p>info@raricenter.cz</p>
|
||||||
|
<p>+420 222 333 444</p>
|
||||||
|
</div>
|
||||||
|
<div class="footer-social">
|
||||||
|
<a href="#" aria-label="Instagram">IG</a>
|
||||||
|
<a href="#" aria-label="Facebook">FB</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer-bottom">
|
||||||
|
© 2026 Rari Center. Všechna práva vyhrazena.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<script src="js/main.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
98
js/main.js
Normal file
98
js/main.js
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
// ===== Mobile Menu =====
|
||||||
|
const hamburger = document.getElementById('hamburger');
|
||||||
|
const mobileNav = document.getElementById('mobileNav');
|
||||||
|
const mobileNavClose = document.getElementById('mobileNavClose');
|
||||||
|
const mobileNavLinks = mobileNav.querySelectorAll('a');
|
||||||
|
|
||||||
|
hamburger.addEventListener('click', () => {
|
||||||
|
mobileNav.classList.add('active');
|
||||||
|
document.body.style.overflow = 'hidden';
|
||||||
|
});
|
||||||
|
|
||||||
|
mobileNavClose.addEventListener('click', closeMobileNav);
|
||||||
|
|
||||||
|
mobileNavLinks.forEach(link => {
|
||||||
|
link.addEventListener('click', closeMobileNav);
|
||||||
|
});
|
||||||
|
|
||||||
|
function closeMobileNav() {
|
||||||
|
mobileNav.classList.remove('active');
|
||||||
|
document.body.style.overflow = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===== Contact Form =====
|
||||||
|
const contactForm = document.getElementById('contactForm');
|
||||||
|
const formSuccess = document.getElementById('formSuccess');
|
||||||
|
|
||||||
|
contactForm.addEventListener('submit', (e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
// Clear previous errors
|
||||||
|
document.querySelectorAll('.form-error').forEach(el => el.style.display = 'none');
|
||||||
|
|
||||||
|
const name = document.getElementById('formName');
|
||||||
|
const email = document.getElementById('formEmail');
|
||||||
|
const phone = document.getElementById('formPhone');
|
||||||
|
const message = document.getElementById('formMessage');
|
||||||
|
|
||||||
|
let valid = true;
|
||||||
|
|
||||||
|
if (!name.value.trim()) {
|
||||||
|
showError(name, 'Prosím vyplňte své jméno');
|
||||||
|
valid = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!email.value.trim() || !isValidEmail(email.value)) {
|
||||||
|
showError(email, 'Prosím zadejte platný e-mail');
|
||||||
|
valid = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!phone.value.trim()) {
|
||||||
|
showError(phone, 'Prosím zadejte telefonní číslo');
|
||||||
|
valid = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!message.value.trim()) {
|
||||||
|
showError(message, 'Prosím napište zprávu');
|
||||||
|
valid = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!valid) return;
|
||||||
|
|
||||||
|
// Hide form, show success
|
||||||
|
contactForm.style.display = 'none';
|
||||||
|
formSuccess.style.display = 'block';
|
||||||
|
});
|
||||||
|
|
||||||
|
function showError(input, msg) {
|
||||||
|
const errorEl = input.parentElement.querySelector('.form-error');
|
||||||
|
if (errorEl) {
|
||||||
|
errorEl.textContent = msg;
|
||||||
|
errorEl.style.display = 'block';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function isValidEmail(email) {
|
||||||
|
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===== Smooth Scroll for "Objednat se" buttons =====
|
||||||
|
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
||||||
|
anchor.addEventListener('click', (e) => {
|
||||||
|
const target = document.querySelector(anchor.getAttribute('href'));
|
||||||
|
if (target) {
|
||||||
|
e.preventDefault();
|
||||||
|
target.scrollIntoView({ behavior: 'smooth' });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// ===== Header shadow on scroll =====
|
||||||
|
const header = document.querySelector('.header');
|
||||||
|
window.addEventListener('scroll', () => {
|
||||||
|
if (window.scrollY > 10) {
|
||||||
|
header.style.boxShadow = '0 2px 12px rgba(0,0,0,.08)';
|
||||||
|
} else {
|
||||||
|
header.style.boxShadow = 'none';
|
||||||
|
}
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user