Files
rari/css/style.css
Raitraut d2ecf10c33 init
2026-03-13 11:20:16 +01:00

736 lines
10 KiB
CSS

/* ===== 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;
}
}