Antalya-Restaurant/src/app/about/about.module.css
2025-11-26 22:58:15 +07:00

646 lines
10 KiB
CSS

.main {
background-color: var(--color-dark);
color: var(--color-text-light);
min-height: 100vh;
}
.hero {
padding: 10rem 2rem;
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/hero-1.png');
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.heroContent {
max-width: 800px;
}
.heroTitle {
font-family: var(--font-playfair);
font-size: 4rem;
color: var(--color-gold);
margin-bottom: 1rem;
text-transform: uppercase;
letter-spacing: 2px;
}
.breadcrumb {
font-size: 1.1rem;
color: #c49c5c;
font-family: var(--font-lato);
}
.breadcrumb a {
color: #fff;
transition: color 0.3s;
}
.breadcrumb a:hover {
color: var(--color-gold);
}
.section {
padding: 80px 20px;
background-color: #f5e6d3;
}
.featuresSection {
background-color: #3a0c08;
background-image: url('/images/section-bg.jpg');
background-size: cover;
background-position: center;
}
.testimonialsSection {
background-color: #3a0c08;
background-image: url('/images/about-testimonial-bg.jpg');
background-size: cover;
background-position: center;
background-repeat: repeat;
}
.container {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 4rem;
flex-wrap: wrap;
}
.textBlock {
flex: 1;
min-width: 300px;
}
.imageBlock {
flex: 1;
min-width: 300px;
display: flex;
justify-content: center;
}
.sectionTitle {
font-family: var(--font-playfair);
font-size: 3rem;
color: #5d4037;
margin-bottom: 1.5rem;
text-transform: uppercase;
letter-spacing: 2px;
}
.sectionTitleCenter {
font-family: var(--font-playfair);
font-size: 3.5rem;
color: #c49c5c;
margin-bottom: 3rem;
text-align: center;
text-transform: uppercase;
letter-spacing: 2px;
}
.text {
font-size: 1.1rem;
line-height: 1.8;
/* color: #5d4037; */
margin-bottom: 1.5rem;
opacity: 0.9;
font-family: var(--font-lato);
}
.image {
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
max-width: 100%;
height: auto;
border: 2px solid #b07c4b
}
.menuButton {
display: inline-block;
padding: 15px 40px;
border: 2px solid #b07c4b;
color: #c49c5c;
font-family: var(--font-lato);
font-size: 1.1rem;
text-transform: uppercase;
text-decoration: none;
transition: all 0.3s ease;
background: transparent;
letter-spacing: 1px;
margin-top: 1rem;
}
.menuButton:hover {
background-color: #c49c5c;
color: #000;
}
/* Features Section */
.featuresGrid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 3rem;
max-width: 1200px;
margin: 0 auto;
}
.featureCard {
background-color: #F5E6D3;
padding: 2.5rem 2rem;
text-align: center;
border: 2px solid #b07c4b;
transition: transform 0.3s ease;
}
.featureCard:hover {
transform: translateY(-10px);
}
.featureImageWrapper {
position: relative;
width: 100%;
height: 200px;
margin-bottom: 1.5rem;
border-radius: 8px;
overflow: hidden;
border: 2px solid #b07c4b;
}
.featureImage {
object-fit: cover;
}
.featureTitle {
font-family: var(--font-playfair);
font-size: 1.8rem;
color: #3e2723;
margin-bottom: 1rem;
font-weight: 600;
}
.featureDesc {
font-family: var(--font-lato);
font-size: 1rem;
color: #5d4037;
line-height: 1.6;
}
/* Testimonials Slider */
.testimonialSlider {
display: flex;
align-items: center;
justify-content: center;
gap: 2rem;
max-width: 900px;
margin: 0 auto;
position: relative;
}
.sliderBtn {
background: transparent;
border: 2px solid #b07c4b;
color: #c49c5c;
font-size: 2.5rem;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s;
flex-shrink: 0;
}
.sliderBtn:hover {
background-color: #c49c5c;
color: #000;
}
.testimonialCard {
background-color: #F5E6D3;
padding: 3rem 2.5rem;
border: 2px solid #b07c4b;
display: flex;
flex-direction: column;
gap: 2rem;
flex: 1;
min-height: 300px;
}
.testimonialText {
font-family: var(--font-lato);
font-size: 1.3rem;
color: #5d4037;
line-height: 1.8;
font-style: italic;
text-align: center;
}
.testimonialAuthor {
display: flex;
align-items: center;
justify-content: center;
gap: 1.5rem;
}
.authorImageWrapper {
position: relative;
width: 70px;
height: 70px;
border-radius: 50%;
overflow: hidden;
border: 3px solid #c49c5c;
flex-shrink: 0;
}
.authorImage {
object-fit: cover;
}
.authorInfo {
display: flex;
flex-direction: column;
text-align: left;
}
.authorName {
font-family: var(--font-playfair);
font-size: 1.2rem;
color: #3e2723;
font-weight: 600;
}
.authorRole {
font-family: var(--font-lato);
font-size: 0.95rem;
color: #836839;
}
.sliderDots {
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 2rem;
}
.dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: transparent;
border: 2px solid #b07c4b;
cursor: pointer;
transition: all 0.3s;
padding: 0;
}
.dot:hover,
.activeDot {
background-color: #c49c5c;
}
/* Call to Action Section */
.ctaSection {
padding: 5rem 2rem;
background-size: cover;
background-position: center;
position: relative;
text-align: center;
}
.ctaOverlay {
position: relative;
z-index: 2;
background: rgba(58, 12, 8, 0.9);
padding: 4rem 2rem;
max-width: 800px;
margin: 0 auto;
border: 2px solid #b07c4b
}
.ctaTitle {
font-family: var(--font-playfair);
font-size: 3rem;
color: #c49c5c;
margin-bottom: 1rem;
text-transform: uppercase;
letter-spacing: 2px;
}
.ctaSubtitle {
font-family: var(--font-lato);
font-size: 1.3rem;
color: #F5E6D3;
margin-bottom: 2rem;
}
.ctaButton {
display: inline-block;
padding: 15px 40px;
border: 2px solid #b07c4b;
color: #c49c5c;
font-family: var(--font-lato);
font-size: 1.1rem;
text-transform: uppercase;
text-decoration: none;
transition: all 0.3s ease;
background: transparent;
letter-spacing: 1px;
}
.ctaButton:hover {
background-color: #c49c5c;
color: #000;
}
@media (max-width: 1024px) {
.featuresGrid {
grid-template-columns: 1fr;
}
.testimonialSlider {
flex-direction: column;
}
.sliderBtn {
order: 2;
}
.testimonialCard {
order: 1;
}
.faqContainer {
grid-template-columns: 1fr;
gap: 3rem;
}
.faqImageBlock {
min-height: 400px;
}
}
@media (max-width: 768px) {
.heroTitle {
font-size: 3rem;
}
.container {
flex-direction: column;
gap: 2rem;
}
.section {
padding: 60px 10px;
}
.sectionTitleCenter {
font-size: 2rem;
}
.ctaSubtitle {
font-size: 14px;
}
.ctaTitle {
font-size: 22px;
}
.sliderBtn {
width: 40px;
height: 40px;
font-size: 2rem;
}
.faqSection {
padding: 60px 20px;
}
.faqTitle {
font-size: 2rem;
}
.faqSubtitle {
font-size: 1rem;
}
.faqQuestion {
padding: 1.2rem 1.5rem;
font-size: 1rem;
}
.faqAnswer {
padding: 1.2rem 1.5rem;
}
.faqImageBlock {
min-height: 300px;
}
.ctaButton {
display: inline-block;
padding: 12px 20px;
border: 2px solid #b07c4b;
color: #c49c5c;
font-family: var(--font-lato);
font-size: 12px;
text-transform: uppercase;
text-decoration: none;
transition: all 0.3s ease;
background: transparent;
letter-spacing: 1px;
}
}
/* FAQ Section Styles */
.faqSection {
padding: 80px 20px;
background-color: #F5E6D3;
}
.faqContainer {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: start;
}
.faqImageBlock {
position: relative;
width: 100%;
height: 100%;
/* min-height: 600px; */
}
.faqImage {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.faqContentBlock {
display: flex;
flex-direction: column;
gap: 2rem;
}
.faqTitle {
font-family: var(--font-playfair);
font-size: 2.5rem;
color: #5d4037;
margin-bottom: 0.5rem;
}
.faqSubtitle {
font-family: var(--font-lato);
font-size: 1.1rem;
color: #836839;
line-height: 1.6;
margin-bottom: 1rem;
}
.faqAccordion {
display: flex;
flex-direction: column;
gap: 1rem;
}
.faqItem {
background: #fff;
border: 2px solid #b07c4b;
border-radius: 8px;
overflow: hidden;
transition: all 0.3s ease;
}
.faqItem:hover {
box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}
.faqQuestion {
width: 100%;
padding: 1.5rem 2rem;
background: transparent;
border: none;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
font-family: var(--font-lato);
font-size: 1.1rem;
font-weight: 600;
color: #5d4037;
text-align: left;
transition: all 0.3s ease;
}
.faqQuestion:hover {
background-color: #c49c5c;
}
.faqQuestionActive {
background-color: #c49c5c;
color: #fff;
}
.faqIcon {
font-size: 1.5rem;
font-weight: bold;
color: #c49c5c;
transition: transform 0.3s ease;
flex-shrink: 0;
margin-left: 1rem;
}
.faqQuestionActive .faqIcon {
color: #fff;
transform: rotate(180deg);
}
.faqAnswer {
padding: 1.5rem 2rem;
border-top: 1px solid #e0d5c7;
animation: slideDown 0.3s ease;
}
.faqAnswer p {
font-family: var(--font-lato);
font-size: 1rem;
color: #5d4037;
line-height: 1.8;
margin: 0;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 500px) {
.faqContainer {
display: flex;
flex-direction: column !important;
align-items: center;
width: 100%;
gap: 1.5rem;
}
/* Image should come to top */
.faqImageBlock {
width: 100% !important;
order: -1;
/* ⬅⬅ THIS moves image to the top */
}
.faqImage {
width: 100% !important;
height: auto !important;
object-fit: cover !important;
border-radius: 12px;
border: 2px solid #b07c4b
}
.ctaButton {
display: inline-block;
padding: 12px 20px;
border: 2px solid #b07c4b;
color: #c49c5c;
font-family: var(--font-lato);
font-size: 12px;
text-transform: uppercase;
text-decoration: none;
transition: all 0.3s ease;
background: transparent;
letter-spacing: 1px;
}
/* FAQ Text */
.faqContent {
width: 100% !important;
padding: 0 1rem;
text-align: left;
}
/* Accordion full width */
.accordionWrapper {
width: 100% !important;
padding: 0 1rem;
}
}