riseup-squad22/src/assets/css/hospital.css
2025-12-04 21:37:25 -03:00

483 lines
8.6 KiB
CSS

/* ======== CONFIGURAÇÕES GERAIS ======== */
body{
margin: 0;
padding: 0 !important;
font-family: 'Poppins', sans-serif;
scroll-behavior: smooth;
background-color: #f9fbfc;
color: #333;
}
.hospital-container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
h1, h2, h3, h4 {
color: #003366;
margin-bottom: 0.5rem;
}
p {
line-height: 1.6;
color: #555;
}
/* ======== HEADER ======== */
.hospital-landing-header {
position: fixed;
top: 0;
width: 100%;
background: linear-gradient(135deg, #004a99, #0077cc);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
z-index: 1000;
transition: all 0.3s ease-in-out;
}
.hospital-header-content {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 0;
}
.hospital-logo-area {
display: flex;
align-items: center;
gap: 0.6rem;
margin-left: -200px;
}
.hospital-logo-area img {
width: 44px;
height: 44px;
filter: brightness(0) invert(1);
}
.hospital-logo-area h1 {
font-size: 1.6rem;
font-weight: 600;
color: #ffffff;
}
.hospital-nav-links {
display: flex;
align-items: center;
gap: 2rem;
}
.hospital-nav-links a {
text-decoration: none;
color: #ffffff;
font-weight: 500;
position: relative;
transition: 0.3s ease;
}
.hospital-nav-links a::after {
content: "";
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: #ffffff;
transition: width 0.3s ease;
}
.hospital-nav-links a:hover::after {
width: 100%;
}
.hospital-btn-login {
display: inline-block;
padding: 0.6rem 1.4rem;
background-color: #ffffff !important;
color: #0077cc !important;
border-radius: 30px;
font-weight: 600;
text-decoration: none;
border: 2px solid #0077cc;
transition: all 0.3s ease;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.hospital-btn-login:hover {
transform: translateY(-2px);
}
.hospital-landing-header.scrolled {
background: linear-gradient(135deg, #003d80, #0065b3);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
/* ======== HERO ======== */
.hospital-hero-bg-section {
position: relative;
height: 75vh;
background-image: url("/img/pexels-mart-production-7088498.jpg");
background-repeat: no-repeat;
background-position: center top;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.hospital-hero-bg-content {
position: relative;
text-align: center;
color: white;
background: rgba(0, 0, 0, 0.4);
padding: 2rem 3rem;
border-radius: 12px;
max-width: 700px;
}
.hospital-hero-bg-content h1 {
font-size: 2.8rem;
font-weight: 700;
margin-bottom: 1rem;
}
.hospital-hero-bg-content p {
font-size: 1.2rem;
line-height: 1.6;
}
/* ======== SOBRE ======== */
.hospital-about-section {
padding: 5rem 0;
background: #fff;
}
.hospital-about-content {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 2rem;
}
.hospital-about-image {
flex: 1;
}
.hospital-about-image img {
width: 100%;
border-radius: 16px;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.hospital-about-text {
flex: 1;
min-width: 300px;
}
.hospital-about-highlights {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-top: 1rem;
}
.hospital-about-highlights div {
background: #e6f2ff;
color: #005fa3;
padding: 0.5rem 1rem;
border-radius: 8px;
font-weight: 500;
}
/* ======== ESPECIALIDADES ======== */
.hospital-specialities-section {
background: #f5faff;
padding: 5rem 0;
text-align: center;
}
.hospital-section-header h3 {
font-size: 2rem;
}
.hospital-specialities-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
margin-top: 3rem;
}
.hospital-speciality-card {
background: white;
padding: 1.5rem;
border-radius: 12px;
width: 180px;
text-align: center;
transition: 0.3s;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.hospital-speciality-card img {
width: 80px;
height: 80px;
margin-bottom: 1rem;
}
.hospital-speciality-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
/* ======== MÉDICO GIGANTE ======== */
.hospital-doctor-highlight-section {
background: #fff;
padding: 6rem 0 8rem;
overflow: hidden;
}
.hospital-doctor-highlight {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 4rem;
}
.hospital-doctor-image {
flex: 1;
text-align: center;
}
.hospital-doctor-image img {
width: 100%;
max-width: 520px;
height: auto;
object-fit: contain;
filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}
.hospital-doctor-text {
flex: 1;
min-width: 300px;
}
.hospital-doctor-text h3 {
font-size: 2rem;
color: #003366;
margin-bottom: 1rem;
}
.hospital-doctor-text p {
color: #555;
margin-bottom: 2rem;
max-width: 500px;
}
/* ======== CONTATO ======== */
.hospital-contact-section {
background: linear-gradient(135deg, #e9f5ff, #f5faff);
padding: 6rem 0;
}
.hospital-contact-wrapper {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
gap: 3rem;
}
.hospital-contact-info {
flex: 1;
min-width: 300px;
}
.hospital-contact-cards {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.hospital-contact-item {
display: flex;
align-items: center;
background: white;
padding: 1rem 1.5rem;
border-radius: 12px;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
gap: 1rem;
}
.hospital-contact-form {
flex: 1;
min-width: 300px;
background: white;
padding: 2rem;
border-radius: 16px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.hospital-contact-form input,
.hospital-contact-form textarea {
width: 100%;
padding: 0.8rem;
margin-bottom: 1rem;
border: 1px solid #d0d7de;
border-radius: 8px;
font-size: 1rem;
}
.hospital-contact-form button {
width: 100%;
font-weight: 600;
}
/* ======== FOOTER ======== */
.hospital-landing-footer {
background: linear-gradient(135deg, #002b5c, #004c99);
color: white;
text-align: center;
padding: 3rem 0 2rem;
}
.hospital-footer-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.hospital-footer-socials {
display: flex;
gap: 1.2rem;
}
.hospital-footer-socials a {
color: white;
font-size: 1.4rem;
transition: 0.3s;
}
.hospital-footer-logo img {
width: 36px;
height: 36px;
filter: brightness(0) invert(1);
}
/* ==========================================================
RESPONSIVIDADE
========================================================== */
/* --- Navbar responsiva --- */
@media (max-width: 768px) {
.hospital-header-content {
flex-direction: column;
gap: 1rem;
padding: 1rem 0.5rem;
}
.hospital-logo-area {
margin-left: 0;
justify-content: center;
}
.hospital-nav-links {
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
}
.hospital-btn-login {
padding: 0.5rem 1rem;
}
}
/* --- Hero responsivo --- */
@media (max-width: 768px) {
.hospital-hero-bg-section {
height: 55vh;
background-position: center;
}
.hospital-hero-bg-content h1 {
font-size: 2rem;
}
.hospital-hero-bg-content p {
font-size: 1rem;
}
}
/* --- Médico gigante responsivo --- */
@media (max-width: 768px) {
.hospital-doctor-highlight {
flex-direction: column;
text-align: center;
}
.hospital-doctor-image img {
max-width: 300px;
}
}
/* --- Responsividade geral --- */
@media (max-width: 768px) {
.hospital-about-content,
.hospital-contact-wrapper {
flex-direction: column;
}
}
a.hospital-btn-login,
a.hospital-btn-login:link,
a.hospital-btn-login:visited,
button.hospital-btn-login {
display: inline-block !important;
padding: 0.6rem 1.4rem !important;
background-color: #ffffff !important;
color: #0077cc !important;
border-radius: 30px !important;
font-weight: 600 !important;
text-decoration: none !important;
border: 2px solid #0077cc !important;
transition: all 0.3s ease !important;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}
a.hospital-btn-login:hover,
button.hospital-btn-login:hover {
transform: translateY(-2px) !important;
}
a.hospital-btn-primary,
button.hospital-btn-primary,
input[type="submit"].hospital-btn-primary {
display: inline-block !important;
background: #0077cc !important;
color: #ffffff !important;
padding: 0.8rem 1.5rem !important;
border-radius: 6px !important;
font-weight: 500 !important;
text-decoration: none !important;
border: none !important;
}
a.hospital-btn-primary:hover,
button.hospital-btn-primary:hover {
background: #005fa3 !important;
}
.btn.hospital-btn-login,
.btn.hospital-btn-primary,
button.btn.hospital-btn-login {
background: unset !important;
color: unset !important;
}