Timeless Watches - Legacy of Timekeeping Excellence
/* Base styles */
h1, h2, h3, h4, h5, h6 {
font-family: 'Playfair Display', serif;
}
body, p, span, a, div {
font-family: 'Merriweather', serif;
}
/* Section styling */
.watch-section {
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
padding: 5rem 1rem;
display: flex;
justify-content: center;
min-height: 700px;
position: relative;
}
.section-content-wrapper {
max-width: 1100px;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
}
/* Header styling */
.static-header-area {
text-align: center;
max-width: 800px;
padding: 0 1rem;
margin-bottom: 2rem;
}
.static-header-area h2 {
font-weight: 700;
font-size: 2.5rem;
color: #1a202c;
margin-bottom: 0.75rem;
line-height: 1.2;
}
.static-header-area p {
font-weight: 300;
font-size: 1.2rem;
color: #4a5568;
line-height: 1.6;
margin: 0 auto;
}
.accent {
font-weight: 700;
color: #a0522d;
font-style: italic;
}
/* Animation container */
.animation-container {
position: relative;
width: 600px;
height: 600px;
margin: 1rem auto;
}
/* Central display */
.central-display-area {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 280px;
min-height: 160px;
background: white;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
padding: 1.5rem;
text-align: center;
z-index: 10;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transition: all 0.5s ease;
}
#dynamic-title {
font-size: 1.4rem;
font-weight: 700;
color: #2d3748;
margin-bottom: 0.5rem;
}
#dynamic-description {
font-size: 1rem;
color: #4a5568;
line-height: 1.5;
}
/* Animated items */
.animated-item {
position: absolute;
width: 70px;
height: 70px;
border-radius: 50%;
background: white;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: all 0.3s ease;
z-index: 1;
left: 265px;
top: 265px;
}
.animated-item .emoji-icon {
font-size: 2.2rem;
transition: transform 0.3s ease;
}
.animated-item:hover {
transform: scale(1.15);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
z-index: 2;
}
.animated-item:hover .emoji-icon {
transform: rotate(15deg);
}
.animated-item.highlighted {
background: #f8f0e5;
box-shadow: 0 8px 20px rgba(160, 82, 45, 0.2);
}
/* Circular motion animation */
@keyframes circular-orbit {
0% { transform: rotate(0deg) translateX(200px) rotate(0deg); }
100% { transform: rotate(360deg) translateX(200px) rotate(-360deg); }
}
/* Responsive adjustments */
@media (max-width: 1024px) {
.animation-container {
width: 550px;
height: 550px;
}
.animated-item {
left: 240px;
top: 240px;
}
@keyframes circular-orbit {
0% { transform: rotate(0deg) translateX(180px) rotate(0deg); }
100% { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}
}
@media (max-width: 768px) {
.static-header-area h2 {
font-size: 2rem;
}
.static-header-area p {
font-size: 1.1rem;
}
.animation-container {
width: 450px;
height: 450px;
}
.central-display-area {
width: 240px;
min-height: 140px;
padding: 1.2rem;
}
.animated-item {
width: 60px;
height: 60px;
left: 195px;
top: 195px;
}
@keyframes circular-orbit {
0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}
#dynamic-title {
font-size: 1.2rem;
}
#dynamic-description {
font-size: 0.9rem;
}
}
@media (max-width: 480px) {
.watch-section {
padding: 3rem 0.5rem;
min-height: 600px;
}
.static-header-area h2 {
font-size: 1.8rem;
}
.static-header-area p {
font-size: 1rem;
}
.animation-container {
width: 320px;
height: 320px;
}
.central-display-area {
width: 200px;
min-height: 120px;
padding: 1rem;
}
.animated-item {
width: 50px;
height: 50px;
left: 135px;
top: 135px;
}
@keyframes circular-orbit {
0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}
.animated-item .emoji-icon {
font-size: 1.8rem;
}
#dynamic-title {
font-size: 1.1rem;
}
#dynamic-description {
font-size: 0.85rem;
}
}
40+ Years of Legacy
Four decades of trusted timekeeping excellence.
🕰️
✨
👑
🤝
🔍
🌐
document.addEventListener('DOMContentLoaded', () => {
const container = document.getElementById('animationContainer');
const items = document.querySelectorAll('.animated-item');
const title = document.getElementById('dynamic-title');
const desc = document.getElementById('dynamic-description');
const data = [
{
title: '40-Year Legacy',
desc: 'Four decades of trusted timekeeping excellence.'
},
{
title: 'Timeless Craftsmanship',
desc: 'Quality that stands the test of time.'
},
{
title: 'Luxury Collection',
desc: 'Elegant timepieces for special occasions.'
},
{
title: 'Trusted Relationships',
desc: 'Building connections beyond transactions.'
},
{
title: 'Authenticity Guaranteed',
desc: 'Genuine quality you can rely on.'
},
{
title: 'For Every Lifestyle',
desc: 'From daily wear to luxury statements.'
}
];
function setupCircularMotion() {
const duration = 30;
items.forEach((item, index) => {
item.style.animation = `circular-orbit ${duration}s linear infinite`;
item.style.animationDelay = `-${(index / items.length) * duration}s`;
});
}
function updateContent(index) {
title.textContent = data[index].title;
desc.textContent = data[index].desc;
items.forEach(item => item.classList.remove('highlighted'));
items[index].classList.add('highlighted');
}
let currentIndex = 0;
const rotateInterval = setInterval(() => {
currentIndex = (currentIndex + 1) % items.length;
updateContent(currentIndex);
}, 3000);
items.forEach(item => {
item.addEventListener('click', () => {
clearInterval(rotateInterval);
updateContent(parseInt(item.dataset.index));
// Restart automatic rotation after 10 seconds
setTimeout(() => {
rotateInterval = setInterval(() => {
currentIndex = (currentIndex + 1) % items.length;
updateContent(currentIndex);
}, 3000);
}, 10000);
});
});
setupCircularMotion();
updateContent(0);
// Handle window resize
window.addEventListener('resize', () => {
setupCircularMotion();
});
});