38936-vm/static/css/custom.css
2026-03-02 15:46:47 +00:00

174 lines
3.2 KiB
CSS

/* Custom Tokens */
:root {
--primary-color: #1A237E; /* Deep Indigo */
--secondary-color: #03A9F4; /* Sky Blue */
--accent-color: #FF5722; /* Vibrant Orange */
--bg-color: #F5F5F5;
--text-color: #333;
--card-bg: rgba(255, 255, 255, 0.85);
}
/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Roboto:wght@300;400;500&display=swap');
body {
font-family: 'Roboto', sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .nav-link {
font-family: 'Poppins', sans-serif;
font-weight: 600;
}
/* Hero Section */
.hero-section {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
padding: 100px 0;
color: white;
position: relative;
overflow: hidden;
}
.hero-section::after {
content: '';
position: absolute;
top: -10%;
right: -5%;
width: 300px;
height: 300px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
filter: blur(50px);
}
.hero-section::before {
content: '';
position: absolute;
bottom: -10%;
left: -5%;
width: 400px;
height: 400px;
background: rgba(255, 255, 255, 0.05);
border-radius: 50%;
filter: blur(80px);
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 20px;
text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.hero-subtitle {
font-size: 1.25rem;
opacity: 0.9;
max-width: 600px;
}
/* Glassmorphism Cards */
.deal-card {
background: var(--card-bg);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.deal-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.deal-img {
height: 200px;
object-fit: cover;
width: 100%;
}
.deal-body {
padding: 25px;
}
.deal-badge {
background: var(--accent-color);
color: white;
padding: 5px 12px;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 600;
display: inline-block;
margin-bottom: 10px;
}
.price-tag {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
}
.old-price {
text-decoration: line-through;
color: #888;
font-size: 0.9rem;
margin-right: 8px;
}
/* Buttons */
.btn-primary {
background-color: var(--primary-color);
border: none;
padding: 12px 30px;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s;
}
.btn-primary:hover {
background-color: #0d124d;
transform: scale(1.05);
}
.btn-accent {
background-color: var(--accent-color);
color: white;
border: none;
padding: 12px 30px;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s;
}
.btn-accent:hover {
background-color: #e64a19;
color: white;
transform: scale(1.05);
}
/* Navbar */
.navbar {
background: white !important;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
padding: 15px 0;
}
.navbar-brand {
font-weight: 700;
color: var(--primary-color) !important;
font-size: 1.5rem;
}
.nav-link {
color: #555 !important;
margin: 0 10px;
}
.nav-link:hover {
color: var(--primary-color) !important;
}