This commit is contained in:
2025-09-12 14:34:29 +00:00
parent 141f4948fe
commit 4df044c9c5
7 changed files with 519 additions and 27 deletions
+206 -11
View File
@@ -1,4 +1,3 @@
/* Global Styles */
* {
margin: 0;
padding: 0;
@@ -13,7 +12,6 @@ body {
background-image: linear-gradient(to bottom, #faf0e6 0%, #f5e1c4 100%);
}
/* Header Styles */
header {
background-color: #8b4513;
color: white;
@@ -40,7 +38,6 @@ header {
opacity: 0.7;
}
/* Navigation Styles */
.main-nav ul {
list-style: none;
display: flex;
@@ -61,7 +58,6 @@ header {
background-color: #daa520;
}
/* Main Content Styles */
main {
max-width: 1000px;
margin: 0 auto;
@@ -76,7 +72,6 @@ section {
box-shadow: 0 3px 10px rgba(139, 69, 19, 0.1);
}
/* Hero Section */
.banner {
text-align: center;
background-color: #daa520;
@@ -94,7 +89,6 @@ section {
font-style: italic;
}
/* Introduction Section */
.introduction h2 {
color: #8b4513;
font-size: 32px;
@@ -109,7 +103,6 @@ section {
line-height: 1.8;
}
/* Services Section */
.services h2 {
color: #8b4513;
font-size: 32px;
@@ -136,7 +129,6 @@ section {
color: #8b4513;
}
/* Footer Styles */
footer {
background-color: #8b4513;
color: white;
@@ -157,7 +149,6 @@ footer a:hover {
text-decoration: underline;
}
/* Contact Page Styles */
.contact-details {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
@@ -234,7 +225,6 @@ footer a:hover {
background-color: #daa520;
}
/* About Page Styles */
.story-origins,
.story-mission,
.story-team {
@@ -261,7 +251,203 @@ footer a:hover {
margin-bottom: 15px;
}
/* Responsive Design */
/* Image Gallery Styles */
.tea-gallery {
margin-top: 40px;
text-align: center;
}
.tea-gallery h3 {
color: #8b4513;
font-size: 28px;
margin-bottom: 25px;
}
.gallery-container {
max-width: 800px;
margin: 0 auto;
}
.gallery-main {
position: relative;
margin-bottom: 20px;
}
#gallery-image {
width: 100%;
max-height: 400px;
object-fit: cover;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}
.gallery-controls {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
display: flex;
justify-content: space-between;
padding: 0 20px;
pointer-events: none;
}
.gallery-btn {
background-color: rgba(139, 69, 19, 0.9);
color: white;
border: 2px solid #daa520;
font-size: 24px;
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
transition: all 0.3s ease;
pointer-events: all;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.gallery-btn:hover {
background-color: #daa520;
color: #5d4037;
transform: scale(1.1);
}
.gallery-btn:active {
transform: scale(0.95);
}
.gallery-thumbnails {
display: flex;
justify-content: center;
gap: 15px;
margin-bottom: 15px;
}
.thumbnail {
width: 80px;
height: 60px;
object-fit: cover;
border-radius: 5px;
cursor: pointer;
opacity: 0.7;
transition: opacity 0.3s, transform 0.3s;
border: 2px solid transparent;
}
.thumbnail:hover,
.thumbnail.active {
opacity: 1;
transform: scale(1.1);
border-color: #daa520;
}
.gallery-caption {
font-style: italic;
color: #8b4513;
font-size: 16px;
margin-top: 10px;
}
/* FAQ Section Styles */
.faq-section {
margin-top: 40px;
}
.faq-section h3 {
color: #8b4513;
font-size: 28px;
margin-bottom: 25px;
text-align: center;
}
.faq-item {
background-color: #f5e1c4;
margin-bottom: 15px;
border-radius: 8px;
overflow: hidden;
border-left: 5px solid #daa520;
}
.faq-question {
background-color: #8b4513;
color: white;
padding: 15px 20px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: background-color 0.3s;
}
.faq-question:hover {
background-color: #daa520;
}
.faq-question h4 {
margin: 0;
font-size: 18px;
}
.faq-toggle {
font-size: 20px;
transition: transform 0.3s;
}
.faq-answer {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease, padding 0.3s ease;
background-color: #fffaf0;
}
.faq-answer.active {
padding: 20px;
max-height: 200px;
}
.faq-toggle.active {
transform: rotate(45deg);
}
/* Form Validation Styles */
.error-message {
color: #d32f2f;
font-size: 14px;
margin-top: 5px;
display: block;
}
.form-group.error input,
.form-group.error textarea {
border-color: #d32f2f;
}
.form-group.success input,
.form-group.success textarea {
border-color: #4caf50;
}
/* Skip link for accessibility */
.skip-link {
position: absolute;
top: -40px;
left: 0;
background: #8b4513;
color: white;
padding: 8px;
text-decoration: none;
border-radius: 0 0 5px 0;
transition: top 0.3s;
}
.skip-link:focus {
top: 0;
}
@media (max-width: 768px) {
.main-nav ul {
flex-direction: column;
@@ -284,4 +470,13 @@ footer a:hover {
.values-list {
grid-template-columns: 1fr;
}
.gallery-thumbnails {
flex-wrap: wrap;
}
.thumbnail {
width: 60px;
height: 45px;
}
}