init
This commit is contained in:
@@ -0,0 +1,475 @@
|
||||
/* views/productPages/productMain/productMain.css */
|
||||
/* GENERAL STYLES */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Ensure visited links don't turn purple */
|
||||
a:visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Optional: Keep hover state consistent */
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Optional: Keep active state consistent */
|
||||
a:active {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* PRODUCT PAGE SPECIFIC STYLES */
|
||||
/* Additional styles for symbol placeholders */
|
||||
.product-image-placeholder {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
background-color: #f5f5f5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 80px;
|
||||
color: #30875f;
|
||||
}
|
||||
|
||||
.shop-product-card .product-image {
|
||||
position: relative;
|
||||
height: 200px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.symbol-hero {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
background-color: #30875f;
|
||||
color: white;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 40px 20px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.symbol-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 30px;
|
||||
margin-bottom: 30px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.symbol-container i {
|
||||
font-size: 60px;
|
||||
opacity: 0.7;
|
||||
transition: all 0.3s ease;
|
||||
animation: float 5s infinite ease-in-out;
|
||||
}
|
||||
|
||||
.symbol-container i:nth-child(1) {
|
||||
animation-delay: 0s;
|
||||
}
|
||||
.symbol-container i:nth-child(2) {
|
||||
animation-delay: 0.5s;
|
||||
}
|
||||
.symbol-container i:nth-child(3) {
|
||||
animation-delay: 1s;
|
||||
}
|
||||
.symbol-container i:nth-child(4) {
|
||||
animation-delay: 1.5s;
|
||||
}
|
||||
.symbol-container i:nth-child(5) {
|
||||
animation-delay: 2s;
|
||||
}
|
||||
|
||||
@keyframes float {
|
||||
0%,
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-15px);
|
||||
}
|
||||
}
|
||||
|
||||
.symbol-container i:hover {
|
||||
opacity: 1;
|
||||
transform: scale(1.2);
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.hero-text h1 {
|
||||
font-size: 48px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.hero-text p {
|
||||
font-size: 20px;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.product-categories {
|
||||
padding: 60px 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.category-tabs {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 40px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.category-tab {
|
||||
padding: 15px 30px;
|
||||
background: none;
|
||||
border: none;
|
||||
border-bottom: 3px solid transparent;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.category-tab:hover {
|
||||
color: #e84e0f;
|
||||
}
|
||||
|
||||
.category-tab.active {
|
||||
color: #e84e0f;
|
||||
border-bottom: 3px solid #e84e0f;
|
||||
}
|
||||
|
||||
.category-tab i {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.category-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.category-content.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.product-card {
|
||||
display: flex;
|
||||
margin-bottom: 30px;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.product-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.product-icon {
|
||||
width: 100px;
|
||||
min-width: 100px;
|
||||
height: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #f5f5f5;
|
||||
color: #30875f;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.product-info {
|
||||
flex: 1;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.product-info h3 {
|
||||
color: #30875f;
|
||||
margin-bottom: 15px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.product-info p {
|
||||
line-height: 1.6;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.contact-cta {
|
||||
background-color: #30875f;
|
||||
color: white;
|
||||
padding: 60px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.contact-cta h2 {
|
||||
font-size: 32px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.contact-cta p {
|
||||
font-size: 18px;
|
||||
margin-bottom: 30px;
|
||||
max-width: 700px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.cta-button {
|
||||
display: inline-block;
|
||||
background-color: #e84e0f;
|
||||
color: white;
|
||||
padding: 15px 40px;
|
||||
border-radius: 30px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.cta-button:hover {
|
||||
background-color: #d0450d;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* NEW SHOP STYLES */
|
||||
.shop-title {
|
||||
font-size: 28px;
|
||||
color: #30875f;
|
||||
margin-bottom: 30px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.shop-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
|
||||
gap: 30px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.shop-product-card {
|
||||
border: 1px solid #eee;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||||
transition: all 0.3s ease;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.shop-product-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.product-image {
|
||||
position: relative;
|
||||
height: 250px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.product-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.5s ease;
|
||||
}
|
||||
|
||||
.shop-product-card:hover .product-image img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.product-badge {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
background-color: #e84e0f;
|
||||
color: white;
|
||||
padding: 5px 15px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.shop-product-info {
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.shop-product-info h3 {
|
||||
font-size: 22px;
|
||||
margin-bottom: 15px;
|
||||
color: #30875f;
|
||||
}
|
||||
|
||||
.product-description {
|
||||
color: #666;
|
||||
margin-bottom: 20px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.product-features {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.product-features span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.product-features i {
|
||||
color: #30875f;
|
||||
}
|
||||
|
||||
.product-link {
|
||||
display: inline-block;
|
||||
background-color: #30875f;
|
||||
color: white !important;
|
||||
padding: 12px 25px;
|
||||
border-radius: 25px;
|
||||
font-weight: bold;
|
||||
transition: all 0.3s ease;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.product-link:hover {
|
||||
background-color: #e84e0f;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.other-products {
|
||||
background-color: #f9f9f9;
|
||||
padding: 30px;
|
||||
border-radius: 10px;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.other-products h3 {
|
||||
color: #30875f;
|
||||
font-size: 22px;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.service-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.service-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
padding: 15px;
|
||||
background-color: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.service-item:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.service-item i {
|
||||
font-size: 24px;
|
||||
color: #e84e0f;
|
||||
}
|
||||
|
||||
.service-item p {
|
||||
font-size: 14px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
/* Responsive styles */
|
||||
@media (max-width: 768px) {
|
||||
.symbol-hero {
|
||||
height: auto;
|
||||
padding: 30px 20px;
|
||||
}
|
||||
|
||||
.symbol-container i {
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.hero-text h1 {
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
.hero-text p {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.category-tabs {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.category-tab {
|
||||
border-bottom: none;
|
||||
border-left: 3px solid transparent;
|
||||
text-align: left;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.category-tab.active {
|
||||
border-bottom: none;
|
||||
border-left: 3px solid #e84e0f;
|
||||
}
|
||||
|
||||
.product-card {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.product-icon {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.shop-container {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.service-list {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.product-image {
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.shop-product-info h3 {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user