Update insulation brand pages (Armaflex, Aeroflex, Maxflex)

- Added 3 new brand pages: armflex.astro, aeroflex.astro, maxflex.astro
- Updated hero images with product photos from 3t-insulation.com
- Enhanced content with product specifications and benefits
- Added standard certifications (FM Approved, UL 94, GREENGUARD)
- Added product gallery sections
- Shortened menu names to brand only (Armaflex, Aeroflex, Maxflex)
- Removed old ฉนวนหุ้มท่อ.astro page
- Updated Header and BaseLayout navigation
- Downloaded product images for all 3 brands
This commit is contained in:
Kunthawat Greethong
2026-05-22 12:50:17 +07:00
parent 5219cf8f72
commit 882fa7f819
643 changed files with 21612 additions and 816 deletions

View File

@@ -64,7 +64,565 @@
}
}
/* Animations */
/* ============================================
SCROLL-TRIGGERED ANIMATIONS
============================================ */
/* Base state for scroll animations */
[data-animate] {
opacity: 0;
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* Animation variants */
[data-animate="fade-up"] {
transform: translateY(30px);
}
[data-animate="fade-down"] {
transform: translateY(-30px);
}
[data-animate="fade-left"] {
transform: translateX(30px);
}
[data-animate="fade-right"] {
transform: translateX(-30px);
}
[data-animate="scale-in"] {
transform: scale(0.9);
}
[data-animate="zoom-in"] {
transform: scale(0.8);
}
/* Animation triggered state */
[data-animate].is-visible {
opacity: 1;
transform: translate(0) scale(1);
}
/* Stagger delays for children */
[data-animate-stagger] > * {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
[data-animate-stagger].is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0ms; }
[data-animate-stagger].is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 100ms; }
[data-animate-stagger].is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 200ms; }
[data-animate-stagger].is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 300ms; }
[data-animate-stagger].is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 400ms; }
[data-animate-stagger].is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 500ms; }
[data-animate-stagger].is-visible > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 600ms; }
[data-animate-stagger].is-visible > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 700ms; }
/* ============================================
TEXT ANIMATIONS
============================================ */
/* Text reveal animation */
[data-text-reveal] {
overflow: hidden;
}
[data-text-reveal] span {
display: inline-block;
transform: translateY(100%);
animation: text-reveal 0.8s ease-out forwards;
}
@keyframes text-reveal {
to {
transform: translateY(0);
}
}
/* Character by character reveal */
.char-reveal span {
opacity: 0;
animation: char-fade-in 0.3s ease-out forwards;
}
@keyframes char-fade-in {
to {
opacity: 1;
}
}
/* Word reveal */
.word-reveal span {
opacity: 0;
margin-right: 0.3em;
}
.word-reveal span {
animation: word-slide-up 0.5s ease-out forwards;
}
@keyframes word-slide-up {
from {
opacity: 0;
transform: translateY(100%);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ============================================
GRADIENT ANIMATIONS
============================================ */
@keyframes gradient-shift {
0%, 100% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
}
@keyframes gradient-flow {
0% {
background-position: 0% 0%;
}
50% {
background-position: 100% 100%;
}
100% {
background-position: 0% 0%;
}
}
.animate-gradient {
background-size: 200% 200%;
animation: gradient-shift 8s ease infinite;
}
.animate-gradient-flow {
background-size: 300% 300%;
animation: gradient-flow 15s ease infinite;
}
/* Animated mesh gradient */
@keyframes mesh-move-1 {
0%, 100% { transform: translate(0, 0) scale(1); }
25% { transform: translate(2%, 3%) scale(1.05); }
50% { transform: translate(5%, 0%) scale(1.1); }
75% { transform: translate(0%, 2%) scale(1.02); }
}
@keyframes mesh-move-2 {
0%, 100% { transform: translate(0, 0) scale(1); }
25% { transform: translate(-3%, 2%) scale(1.08); }
50% { transform: translate(-1%, 5%) scale(1.03); }
75% { transform: translate(2%, 1%) scale(1.06); }
}
@keyframes mesh-move-3 {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(4%, -2%) scale(1.04); }
66% { transform: translate(-2%, 4%) scale(1.07); }
}
@keyframes grid-drift {
0% { transform: translate(0, 0); }
25% { transform: translate(5px, 5px); }
50% { transform: translate(0, 10px); }
75% { transform: translate(-5px, 5px); }
100% { transform: translate(0, 0); }
}
@keyframes wave-morph {
0%, 100% {
d: path("M0,150 Q360,50 720,150 T1440,150 L1440,300 L0,300 Z");
}
50% {
d: path("M0,180 Q360,80 720,180 T1440,180 L1440,300 L0,300 Z");
}
}
.animate-mesh-1 {
animation: mesh-move-1 20s ease-in-out infinite;
}
.animate-mesh-2 {
animation: mesh-move-2 25s ease-in-out infinite;
}
.animate-mesh-3 {
animation: mesh-mesh-3 18s ease-in-out infinite;
}
/* ============================================
FLOAT & ORB ANIMATIONS
============================================ */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
}
@keyframes float-slow {
0%, 100% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes float-reverse {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(15px); }
}
@keyframes orb-drift {
0%, 100% {
transform: translate(0, 0) scale(1);
opacity: 0.3;
}
33% {
transform: translate(30px, -30px) scale(1.1);
opacity: 0.5;
}
66% {
transform: translate(-20px, 20px) scale(0.95);
opacity: 0.25;
}
}
@keyframes orb-drift-2 {
0%, 100% {
transform: translate(0, 0) scale(1);
opacity: 0.25;
}
33% {
transform: translate(-40px, 25px) scale(1.08);
opacity: 0.4;
}
66% {
transform: translate(25px, -15px) scale(0.98);
opacity: 0.2;
}
}
@keyframes pulse-glow {
0%, 100% {
box-shadow: 0 0 20px rgba(45, 106, 79, 0.3);
}
50% {
box-shadow: 0 0 40px rgba(45, 106, 79, 0.6);
}
}
.animate-float {
animation: float 4s ease-in-out infinite;
}
.animate-float-slow {
animation: float-slow 6s ease-in-out infinite;
}
.animate-float-reverse {
animation: float-reverse 4s ease-in-out infinite;
}
.animate-float-delayed-1 {
animation: float 4s ease-in-out infinite;
animation-delay: 0.5s;
}
.animate-float-delayed-2 {
animation: float 4s ease-in-out infinite;
animation-delay: 1s;
}
.animate-float-delayed-3 {
animation: float 4s ease-in-out infinite;
animation-delay: 1.5s;
}
.animate-orb-1 {
animation: orb-drift 10s ease-in-out infinite;
}
.animate-orb-2 {
animation: orb-drift-2 12s ease-in-out infinite;
}
.animate-pulse-glow {
animation: pulse-glow 3s ease-in-out infinite;
}
/* ============================================
CARD EFFECTS
============================================ */
/* 3D Tilt Effect */
.tilt-card {
transform-style: preserve-3d;
transition: transform 0.3s ease-out;
}
.tilt-card-inner {
transform: translateZ(30px);
transition: transform 0.3s ease-out;
}
/* Hover lift effect */
.hover-lift {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
/* Image hover zoom with reveal */
.img-hover {
overflow: hidden;
}
.img-hover img,
.img-hover .img-overlay {
transition: transform 0.5s ease, opacity 0.5s ease;
}
.img-hover:hover img {
transform: scale(1.1);
}
.img-hover .img-overlay {
opacity: 0;
}
.img-hover:hover .img-overlay {
opacity: 1;
}
/* Card shine effect on hover */
.card-shine {
position: relative;
overflow: hidden;
}
.card-shine::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.2),
transparent
);
transition: left 0.5s ease;
}
.card-shine:hover::before {
left: 100%;
}
/* ============================================
GLASSMORPHISM
============================================ */
.glass {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.glass-strong {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.25);
}
.glass-dark {
background: rgba(0, 0, 0, 0.2);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* ============================================
MAGNETIC BUTTON EFFECT
============================================ */
.magnetic-btn {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
transition: transform 0.15s ease-out;
}
/* ============================================
PARALLAX UTILITIES
============================================ */
.parallax-container {
perspective: 1px;
overflow-x: hidden;
overflow-y: auto;
}
.parallax-slow {
transform: translateZ(-1px) scale(2);
}
.parallax-slower {
transform: translateZ(-2px) scale(3);
}
.parallax-faster {
transform: translateZ(0.5px) scale(0.75);
}
/* ============================================
COUNTER ANIMATION
============================================ */
.counter {
display: inline-block;
font-variant-numeric: tabular-nums;
}
/* ============================================
PAGE TRANSITIONS
============================================ */
.page-transition-enter {
opacity: 0;
transform: translateY(20px);
}
.page-transition-enter-active {
opacity: 1;
transform: translateY(0);
transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.page-transition-exit {
opacity: 1;
}
.page-transition-exit-active {
opacity: 0;
transition: opacity 0.3s ease-in;
}
/* ============================================
SKELETON LOADING
============================================ */
@keyframes skeleton-shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
.skeleton {
background: linear-gradient(
90deg,
#f0f0f0 25%,
#e0e0e0 50%,
#f0f0f0 75%
);
background-size: 200% 100%;
animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
/* ============================================
BUTTON EFFECTS
============================================ */
.btn-shimmer {
position: relative;
overflow: hidden;
}
.btn-shimmer::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.3),
transparent
);
transition: left 0.6s ease;
}
.btn-shimmer:hover::after {
left: 100%;
}
/* Ripple effect */
.ripple {
position: relative;
overflow: hidden;
}
.ripple-effect {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
transform: scale(0);
animation: ripple-animation 0.6s linear;
pointer-events: none;
}
@keyframes ripple-animation {
to {
transform: scale(4);
opacity: 0;
}
}
/* ============================================
SCROLL INDICATORS
============================================ */
@keyframes scroll-indicator {
0% {
opacity: 0;
transform: translateY(-100%);
}
50% {
opacity: 1;
}
100% {
opacity: 0;
transform: translateY(100%);
}
}
.scroll-indicator {
animation: scroll-indicator 2s ease-in-out infinite;
}
/* ============================================
ENTRANCE ANIMATIONS
============================================ */
@keyframes fadeIn {
from {
opacity: 0;
@@ -87,93 +645,63 @@
}
}
@keyframes float {
0%, 100% {
transform: translateY(0px);
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes bounceIn {
0% {
opacity: 0;
transform: scale(0.3);
}
50% {
transform: translateY(-10px);
transform: scale(1.05);
}
}
@keyframes orb-drift {
0%, 100% {
transform: translate(0, 0) scale(1);
opacity: 0.3;
70% {
transform: scale(0.9);
}
33% {
transform: translate(20px, -20px) scale(1.1);
opacity: 0.4;
100% {
opacity: 1;
transform: scale(1);
}
66% {
transform: translate(-10px, 10px) scale(0.95);
opacity: 0.25;
}
}
@keyframes orb-drift-2 {
0%, 100% {
transform: translate(0, 0) scale(1);
opacity: 0.25;
}
33% {
transform: translate(-25px, 15px) scale(1.05);
opacity: 0.35;
}
66% {
transform: translate(15px, -10px) scale(0.98);
opacity: 0.2;
}
}
@keyframes orb-drift-3 {
0%, 100% {
transform: translate(-50%, -50%) scale(1);
opacity: 0.15;
}
50% {
transform: translate(-45%, -55%) scale(1.1);
opacity: 0.25;
}
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
.animate-float-delayed-1 {
animation: float 3s ease-in-out infinite;
animation-delay: 0.5s;
}
.animate-float-delayed-2 {
animation: float 3s ease-in-out infinite;
animation-delay: 1s;
}
.animate-float-delayed-3 {
animation: float 3s ease-in-out infinite;
animation-delay: 1.5s;
}
.animate-orb-1 {
animation: orb-drift 8s ease-in-out infinite;
}
.animate-orb-2 {
animation: orb-drift-2 10s ease-in-out infinite;
}
.animate-orb-3 {
animation: orb-drift-3 12s ease-in-out infinite;
}
.animate-fade-in {
animation: fadeIn 0.3s ease-out forwards;
animation: fadeIn 0.5s ease-out forwards;
}
.animate-zoom-in {
animation: zoomIn 0.3s ease-out forwards;
animation: zoomIn 0.4s ease-out forwards;
}
.animate-slide-left {
animation: slideInLeft 0.5s ease-out forwards;
}
.animate-slide-right {
animation: slideInRight 0.5s ease-out forwards;
}
.animate-bounce-in {
animation: bounceIn 0.6s ease-out forwards;
}
/* Stagger animations for grids */
@@ -190,16 +718,136 @@
.stagger-container > *:nth-child(6) { animation-delay: 250ms; }
.stagger-container > *:nth-child(7) { animation-delay: 300ms; }
.stagger-container > *:nth-child(8) { animation-delay: 350ms; }
.stagger-container > *:nth-child(9) { animation-delay: 400ms; }
.stagger-container > *:nth-child(10) { animation-delay: 450ms; }
.stagger-container > *:nth-child(11) { animation-delay: 500ms; }
.stagger-container > *:nth-child(12) { animation-delay: 550ms; }
/* Image hover zoom */
.img-hover {
@apply overflow-hidden;
/* ============================================
BENTO GRID UTILITIES
============================================ */
.bento-grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 1rem;
}
.img-hover img {
@apply transition-transform duration-300 ease-out;
.bento-item {
border-radius: var(--radius-2xl);
overflow: hidden;
}
.img-hover:hover img {
@apply scale-105;
.bento-1 { grid-column: span 1; }
.bento-2 { grid-column: span 2; }
.bento-3 { grid-column: span 3; }
.bento-4 { grid-column: span 4; }
.bento-5 { grid-column: span 5; }
.bento-6 { grid-column: span 6; }
.bento-7 { grid-column: span 7; }
.bento-8 { grid-column: span 8; }
.bento-9 { grid-column: span 9; }
.bento-10 { grid-column: span 10; }
.bento-11 { grid-column: span 11; }
.bento-12 { grid-column: span 12; }
.bento-row-2 { grid-row: span 2; }
.bento-row-3 { grid-row: span 3; }
/* ============================================
REDUCED MOTION SUPPORT
============================================ */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
[data-animate] {
opacity: 1;
transform: none;
}
[data-animate-stagger] > * {
opacity: 1;
transform: none;
}
}
/* ============================================
CUSTOM CURSOR (optional)
============================================ */
.cursor-grow {
cursor: pointer;
transition: transform 0.2s ease;
}
.cursor-grow:hover {
transform: scale(1.1);
}
/* ============================================
IMAGE REVEAL ON SCROLL
============================================ */
.img-reveal {
position: relative;
overflow: hidden;
}
.img-reveal::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: currentColor;
transform-origin: left;
transition: transform 0.6s ease-out;
}
.img-reveal.is-visible::before {
transform: scaleX(0);
}
.img-reveal img {
transform: scale(1.2);
transition: transform 0.6s ease-out;
}
.img-reveal.is-visible img {
transform: scale(1);
}
/* ============================================
NAVIGATION LINK STYLES
============================================ */
.nav-link {
position: relative;
padding: 0.25rem 0;
}
.nav-underline {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, #2d6a4f, #e35c1c);
transform: scaleX(0);
transform-origin: right;
transition: transform 0.3s ease-out;
}
.nav-link:hover .nav-underline {
transform: scaleX(1);
transform-origin: left;
}