mirror of
https://github.com/marcogll/gloria_app.git
synced 2026-03-15 14:24:44 +00:00
ajuste de docu
This commit is contained in:
879
mockup/styles.css
Normal file
879
mockup/styles.css
Normal file
@@ -0,0 +1,879 @@
|
||||
:root {
|
||||
/* Color Palette */
|
||||
--color-primary: #340649;
|
||||
--color-primary-rgb: 52, 6, 73;
|
||||
--color-secondary: #67486a;
|
||||
--color-background: #f9f6e9;
|
||||
--color-accent: #c8a668;
|
||||
--color-accent-rgb: 200, 166, 104;
|
||||
--color-white: #ffffff;
|
||||
--color-text-dark: #340649;
|
||||
--color-text-light: #f9f6e9;
|
||||
--color-text-muted: #67486a;
|
||||
|
||||
/* Typography */
|
||||
--font-display: "Playfair Display", serif;
|
||||
--font-body: "Fira Code", monospace;
|
||||
|
||||
/* Spacing */
|
||||
--spacing-container: 1200px;
|
||||
--spacing-section: 6rem;
|
||||
--spacing-mobile: 1.5rem;
|
||||
|
||||
/* Effects */
|
||||
--shadow-card: 0 8px 32px rgba(52, 6, 73, 0.05);
|
||||
--shadow-hover: 0 12px 48px rgba(52, 6, 73, 0.1);
|
||||
--radius-button: 50px;
|
||||
--radius-card: 16px;
|
||||
--transition: 0.3s ease;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--font-body);
|
||||
background-color: var(--color-background);
|
||||
color: var(--color-text-dark);
|
||||
line-height: 1.6;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-display);
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
/* Fade In Animation */
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(30px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.fade-in {
|
||||
opacity: 0;
|
||||
transform: translateY(30px);
|
||||
transition: opacity 0.6s ease, transform 0.6s ease;
|
||||
}
|
||||
|
||||
.fade-in.visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: var(--spacing-container);
|
||||
margin: 0 auto;
|
||||
padding: 0 var(--spacing-mobile);
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
padding: 1rem 0;
|
||||
background-color: rgba(249, 246, 233, 0.9);
|
||||
backdrop-filter: blur(10px);
|
||||
z-index: 1000;
|
||||
border-bottom: 1px solid rgba(103, 72, 106, 0.1);
|
||||
}
|
||||
|
||||
.header-inner {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-family: var(--font-display);
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
/* Hide hamburger on desktop */
|
||||
.menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav ul {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.nav a {
|
||||
text-decoration: none;
|
||||
color: var(--color-text-dark);
|
||||
font-weight: 500;
|
||||
transition: color var(--transition);
|
||||
position: relative;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.nav a::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
width: 0;
|
||||
height: 2px;
|
||||
background-color: var(--color-accent);
|
||||
transition: width 0.3s ease, left 0.3s ease;
|
||||
}
|
||||
|
||||
.nav a:hover::after,
|
||||
.nav a.active::after {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.nav a:hover {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
.hero {
|
||||
padding: 8rem 0 5rem;
|
||||
min-height: 90vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background-color: var(--color-primary);
|
||||
background: linear-gradient(135deg, #340649 0%, #4a0e5f 100%);
|
||||
}
|
||||
|
||||
.hero::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -20%;
|
||||
right: -10%;
|
||||
width: 50vw;
|
||||
height: 50vw;
|
||||
background: radial-gradient(
|
||||
circle,
|
||||
rgba(103, 72, 106, 0.3) 0%,
|
||||
rgba(52, 6, 73, 0) 70%
|
||||
);
|
||||
border-radius: 50%;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.hero-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 4rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.hero-content h1 {
|
||||
font-size: 3.5rem;
|
||||
margin-bottom: 1rem;
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.hero-content p {
|
||||
font-size: 1.25rem;
|
||||
color: rgba(249, 246, 233, 0.9);
|
||||
margin-bottom: 2rem;
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.hero-image {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hero-image img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 24px 24px 0 24px;
|
||||
box-shadow: 20px 20px 0 var(--color-accent);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 0.8rem 2rem;
|
||||
border-radius: var(--radius-button);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: var(--transition);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: var(--color-accent);
|
||||
color: var(--color-white);
|
||||
border: 2px solid var(--color-accent);
|
||||
box-shadow: 0 4px 12px rgba(200, 166, 104, 0.3);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 16px rgba(200, 166, 104, 0.4);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: transparent;
|
||||
color: #67486A;
|
||||
border: 2px solid #67486A;
|
||||
}
|
||||
|
||||
/* Specific for Hero section dark background */
|
||||
.hero .btn-secondary {
|
||||
color: var(--color-white);
|
||||
border-color: var(--color-white);
|
||||
}
|
||||
|
||||
.hero .btn-secondary:hover {
|
||||
background-color: var(--color-white);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: #67486A;
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
/* About Section */
|
||||
.section-about {
|
||||
padding: var(--spacing-section) 0;
|
||||
background-color: var(--color-white);
|
||||
}
|
||||
|
||||
.about-content {
|
||||
display: flex;
|
||||
gap: 3rem;
|
||||
align-items: center;
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.about-image {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.about-image img {
|
||||
width: 100%;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 8px 24px rgba(52, 6, 73, 0.1);
|
||||
}
|
||||
|
||||
.about-text {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.about-text p {
|
||||
font-size: 1.1rem;
|
||||
color: var(--color-secondary);
|
||||
margin-bottom: 1.5rem;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.about-actions {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
/* Services */
|
||||
.section-services {
|
||||
padding: var(--spacing-section) 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
text-align: center;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.section-title h2 {
|
||||
font-size: 2.5rem;
|
||||
color: var(--color-primary);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.services-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.service-card {
|
||||
background: var(--color-white);
|
||||
padding: 2.5rem;
|
||||
border-radius: var(--radius-card);
|
||||
border-top: 4px solid var(--color-accent);
|
||||
box-shadow: var(--shadow-card);
|
||||
transition: var(--transition);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.service-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: var(--shadow-hover);
|
||||
}
|
||||
|
||||
.service-card h3 {
|
||||
color: var(--color-primary);
|
||||
margin-bottom: 1rem;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.service-card p {
|
||||
color: var(--color-secondary);
|
||||
}
|
||||
|
||||
/* Testimonials */
|
||||
.section-testimonials {
|
||||
padding: var(--spacing-section) 0;
|
||||
background-color: var(--color-primary);
|
||||
background: linear-gradient(135deg, #340649 0%, #4a0e5f 100%);
|
||||
}
|
||||
|
||||
.testimonial-card {
|
||||
text-align: center;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.testimonial-quote {
|
||||
font-family: var(--font-display);
|
||||
font-size: 1.5rem;
|
||||
font-style: italic;
|
||||
color: var(--color-text-light);
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.testimonial-author {
|
||||
color: var(--color-accent);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.section-testimonials .section-title h2 {
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
/* Carousel Styles */
|
||||
.carousel-container {
|
||||
position: relative;
|
||||
height: 300px;
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.carousel-track-container {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.carousel-track {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
position: relative;
|
||||
height: 100%;
|
||||
transition: transform 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
.carousel-slide {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.carousel-btn {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--color-accent);
|
||||
font-size: 2.5rem;
|
||||
cursor: pointer;
|
||||
z-index: 10;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.carousel-btn:hover {
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.carousel-btn.prev {
|
||||
left: -60px;
|
||||
}
|
||||
|
||||
.carousel-btn.next {
|
||||
right: -60px;
|
||||
}
|
||||
|
||||
.carousel-nav {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 10px 0;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.carousel-indicator {
|
||||
border: none;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.carousel-indicator.current-slide {
|
||||
background: var(--color-accent);
|
||||
}
|
||||
|
||||
/* Contact Form Section */
|
||||
.section-contact {
|
||||
padding: var(--spacing-section) 0;
|
||||
}
|
||||
|
||||
.contact-form-container {
|
||||
display: grid;
|
||||
grid-template-columns: 3fr 2fr;
|
||||
gap: 3rem;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.contact-form {
|
||||
background: var(--color-background);
|
||||
padding: 2rem;
|
||||
border-radius: var(--radius-card);
|
||||
box-shadow: var(--shadow-card);
|
||||
border: 1px solid rgba(103, 72, 106, 0.1);
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
display: block;
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.form-group input,
|
||||
.form-group textarea {
|
||||
width: 100%;
|
||||
padding: 0.8rem 1rem;
|
||||
border: 1px solid rgba(103, 72, 106, 0.2);
|
||||
border-radius: 8px;
|
||||
background-color: white;
|
||||
font-family: var(--font-body);
|
||||
font-size: 1rem;
|
||||
transition: border-color 0.3s ease;
|
||||
}
|
||||
|
||||
.form-group input:focus,
|
||||
.form-group textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-accent);
|
||||
box-shadow: 0 0 0 3px rgba(200, 166, 104, 0.1);
|
||||
}
|
||||
|
||||
.contact-info-cards {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.info-card {
|
||||
background: var(--color-background);
|
||||
padding: 1.5rem;
|
||||
border-radius: var(--radius-card);
|
||||
border-left: 4px solid var(--color-accent);
|
||||
}
|
||||
|
||||
.info-card h3 {
|
||||
font-size: 1.2rem;
|
||||
color: var(--color-primary);
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.info-card p {
|
||||
color: var(--color-secondary);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
background-color: var(--color-primary);
|
||||
color: var(--color-text-light);
|
||||
padding: 4rem 0 2rem;
|
||||
}
|
||||
|
||||
.footer-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 3rem;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.footer-col h4 {
|
||||
color: var(--color-accent);
|
||||
margin-bottom: 1.5rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.footer-col ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.footer-col li {
|
||||
margin-bottom: 0.8rem;
|
||||
}
|
||||
|
||||
.footer-col a {
|
||||
color: var(--color-text-light);
|
||||
text-decoration: none;
|
||||
opacity: 0.8;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.footer-col a:hover {
|
||||
opacity: 1;
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
text-align: center;
|
||||
padding-top: 2rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
font-size: 0.9rem;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
/* Tablet Responsive */
|
||||
@media (max-width: 1024px) {
|
||||
.hero-grid {
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.hero-content h1 {
|
||||
font-size: 2.8rem;
|
||||
}
|
||||
|
||||
.services-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.footer-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.contact-form-container {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Responsive */
|
||||
@media (max-width: 768px) {
|
||||
:root {
|
||||
--spacing-section: 3rem;
|
||||
}
|
||||
|
||||
/* Fix for Contact Form on Mobile */
|
||||
.contact-form-container {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.contact-form {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.header-inner {
|
||||
position: relative;
|
||||
justify-content: space-between; /* Ensure logo and menu are pushed apart */
|
||||
}
|
||||
|
||||
/* Hamburger Menu Button */
|
||||
.menu-toggle {
|
||||
margin-right: -10px; /* Adjust visual alignment with container padding */
|
||||
}
|
||||
|
||||
.nav {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%; /* Ensure full width */
|
||||
background-color: var(--color-background);
|
||||
padding: 1rem;
|
||||
box-shadow: 0 4px 12px rgba(52, 6, 73, 0.1);
|
||||
border-radius: 0 0 16px 16px;
|
||||
z-index: 1000; /* Ensure menu is above other content */
|
||||
}
|
||||
|
||||
.nav.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.nav ul {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.nav a::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 6rem 0 3rem;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.hero-grid {
|
||||
grid-template-columns: 1fr;
|
||||
text-align: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.hero-image {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.hero-content h1 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.hero-content p {
|
||||
font-size: 1rem;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.hero-image img {
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
||||
max-width: 280px;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.section-title h2 {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.services-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.service-card {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.service-card img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.testimonial-quote {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.footer-grid {
|
||||
grid-template-columns: 1fr;
|
||||
text-align: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
/* About Section Mobile */
|
||||
.about-content {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-image {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.about-image img {
|
||||
max-width: 280px;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.about-text {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.about-actions {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.about-actions .btn {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Hamburger Menu Button */
|
||||
.menu-toggle {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
cursor: pointer;
|
||||
padding: 10px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
z-index: 1001;
|
||||
order: 3;
|
||||
}
|
||||
|
||||
.menu-toggle span {
|
||||
display: block;
|
||||
width: 28px;
|
||||
height: 2px;
|
||||
background-color: var(--color-primary);
|
||||
border-radius: 2px;
|
||||
transition: all 0.3s ease;
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
/* Animated X when active */
|
||||
.menu-toggle.active span:nth-child(1) {
|
||||
transform: rotate(45deg) translate(6px, 6px);
|
||||
}
|
||||
|
||||
.menu-toggle.active span:nth-child(2) {
|
||||
opacity: 0;
|
||||
transform: scaleX(0);
|
||||
}
|
||||
|
||||
.menu-toggle.active span:nth-child(3) {
|
||||
transform: rotate(-45deg) translate(6px, -6px);
|
||||
}
|
||||
|
||||
/* Hide CTA button on mobile header */
|
||||
.header-cta {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav.active {
|
||||
display: block;
|
||||
animation: slideDown 0.3s ease;
|
||||
}
|
||||
|
||||
@keyframes slideDown {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.nav ul {
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.nav li {
|
||||
border-bottom: 1px solid rgba(103, 72, 106, 0.1);
|
||||
}
|
||||
|
||||
.nav li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.nav a {
|
||||
display: block;
|
||||
padding: 1rem;
|
||||
font-size: 1.1rem;
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
|
||||
.nav a:hover {
|
||||
background-color: rgba(200, 166, 104, 0.1);
|
||||
}
|
||||
|
||||
/* Add CTA inside mobile menu */
|
||||
.nav ul::after {
|
||||
content: 'Agendar';
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 1rem 2rem;
|
||||
margin: 1rem;
|
||||
background-color: var(--color-accent);
|
||||
color: white;
|
||||
border-radius: var(--radius-button);
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
/* Small Mobile */
|
||||
@media (max-width: 480px) {
|
||||
.container {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.hero-content h1 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.hero-actions .btn {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user