255 lines
4.5 KiB
CSS
255 lines
4.5 KiB
CSS
.main {
|
|
background-color: var(--color-dark);
|
|
color: var(--color-text-light);
|
|
min-height: 100vh;
|
|
background-color: #f5e6d3;
|
|
}
|
|
|
|
.hero {
|
|
padding: 200px 0px;
|
|
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/hero-2.png');
|
|
background-size: cover;
|
|
background-position: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.heroContent {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.heroTitle {
|
|
font-family: var(--font-playfair);
|
|
font-size: var(--hero-title-size);
|
|
color: #f5e6d3;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.breadcrumb {
|
|
font-size: var(--body-size);
|
|
color: var(--color-paragraph);
|
|
font-family: var(--font-lato);
|
|
}
|
|
|
|
.breadcrumb a {
|
|
color: #fff;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.breadcrumb a:hover {
|
|
color: var(--color-gold);
|
|
}
|
|
|
|
/* Section Heading Styles */
|
|
.sectionHeading {
|
|
padding: 80px 20px 40px;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.smallHeading {
|
|
font-size: var(--small-text-size);
|
|
color: var(--color-paragraph);
|
|
font-family: var(--font-lato);
|
|
font-weight: 600;
|
|
letter-spacing: 2px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.mainHeading {
|
|
font-family: var(--font-playfair);
|
|
font-size: var(--main-heading-size);
|
|
color: #5d4037;
|
|
line-height: 1.3;
|
|
font-weight: 700;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.description {
|
|
font-size: var(--body-size);
|
|
color: var(--color-paragraph);
|
|
line-height: 1.8;
|
|
font-family: var(--font-lato);
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section {
|
|
padding: 0px 10px;
|
|
padding-bottom: 80px;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1.5rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.tab {
|
|
background: transparent;
|
|
border: 2px solid #b07c4b;
|
|
color: var(--color-paragraph);
|
|
padding: 12px 30px;
|
|
font-size: var(--body-size);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-family: var(--font-lato);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
font-weight: 600;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.tab:hover,
|
|
.activeTab {
|
|
background-color: #c49c5c;
|
|
color: #F5E6D3;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.imageWrapper {
|
|
position: relative;
|
|
aspect-ratio: 4/3;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
border: 2px solid #b07c4b;
|
|
}
|
|
|
|
.image {
|
|
object-fit: cover;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.imageWrapper:hover .image {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(58, 12, 8, 0.7);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.imageWrapper:hover .overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.viewText {
|
|
color: var(--color-paragraph);
|
|
font-size: var(--body-size);
|
|
border: 2px solid #b07c4b;
|
|
padding: 0.5rem 1.5rem;
|
|
font-family: var(--font-lato);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
/* Lightbox */
|
|
.lightbox {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.95);
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.lightboxContent {
|
|
position: relative;
|
|
width: 90%;
|
|
height: 80%;
|
|
max-width: 1000px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.lightboxImageWrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.closeBtn {
|
|
position: absolute;
|
|
top: -40px;
|
|
right: 0;
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-paragraph);
|
|
font-size: calc(var(--hero-title-size) * 0.7);
|
|
cursor: pointer;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.closeBtn:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
.navBtn {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: rgba(197, 160, 89, 0.2);
|
|
border: 2px solid #b07c4b;
|
|
color: var(--color-paragraph);
|
|
font-size: calc(var(--main-heading-size) * 0.9);
|
|
padding: 1rem;
|
|
cursor: pointer;
|
|
z-index: 10;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.navBtn:hover {
|
|
background: rgba(197, 160, 89, 0.5);
|
|
color: #fff;
|
|
}
|
|
|
|
.prevBtn {
|
|
left: -60px;
|
|
}
|
|
|
|
.nextBtn {
|
|
right: -60px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero {
|
|
padding: 200px 0;
|
|
}
|
|
|
|
.prevBtn {
|
|
left: 10px;
|
|
}
|
|
|
|
.nextBtn {
|
|
right: 10px;
|
|
}
|
|
|
|
.tabs {
|
|
flex-wrap: wrap;
|
|
}
|
|
} |