Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
280 changes: 212 additions & 68 deletions static/css/home.css
Original file line number Diff line number Diff line change
@@ -1,118 +1,262 @@
/* HERO SECTION */
/* CSS Variables */
:root {
--golden-primary: #FFD700;
--golden-secondary: #B8860B;
--golden-deep: #704214;
--golden-gradient: linear-gradient(135deg, var(--golden-primary), var(--golden-secondary));
--glass-bg: rgba(255, 255, 255, 0.1);
--card-shadow: 0 8px 32px rgba(255, 215, 0, 0.15);
}

/* Hero Section */
.hero {
min-height: 100vh;
position: relative;
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
var(--golden-gradient);
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
padding: 80px;
background: #efdca6;
padding: 0 10%;
overflow: hidden;
}

.hero-left {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
padding-right: 5rem;
z-index: 2;
}

.hero-text {
max-width: 50%;
.tagline {
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: rgba(255,215,0,0.1);
border-radius: 20px;
margin-bottom: 1.5rem;
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
}

.hero-text h1 {
font-size: 2.8rem;
margin-bottom: 20px;
.hero h1 {
font-size: 3.5rem;
background: var(--golden-gradient);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 1.5rem;
line-height: 1.2;
}

.hero-text p {
font-size: 1.2rem;
margin-bottom: 20px;
color: #444;
.hero-description {
color: #fff;
font-size: 1.1rem;
margin-bottom: 2rem;
line-height: 1.6;
opacity: 0.9;
}

.buttons a {
display: inline-block;
padding: 12px 24px;
margin-right: 15px;
font-size: 1rem;
text-decoration: none;
border-radius: 6px;
transition: background 0.3s;
.hero-buttons {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
gap: 1rem;
}

.btn-primary {
background: #e2be09;
color: white;
padding: 1rem 2rem;
background: var(--golden-gradient);
border: none;
border-radius: 30px;
color: #000;
font-weight: bold;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
will-change: transform;
}

.btn-primary:hover {
background: #0056b3;
.btn-primary:hover,
.btn-primary:focus-visible {
-webkit-transform: translateY(-3px);
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(255,215,0,0.3);
}

.btn-secondary {
background: #e7eaed;
color: #333;
padding: 1rem 2rem;
background: transparent;
border: 2px solid var(--golden-primary);
border-radius: 30px;
color: var(--golden-primary);
font-weight: bold;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}

.btn-secondary:hover {
background: #0056b3;
color: white;
.btn-secondary:hover,
.btn-secondary:focus-visible {
background: rgba(255,215,0,0.1);
-webkit-transform: translateY(-3px);
transform: translateY(-3px);
}

.hero-image img {
max-width: 420px;
border-radius: 10px;
.hero-right {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
position: relative;
z-index: 1;
}

/* FEATURES SECTION */
.features-section {
text-align: center;
padding: 80px 20px;
margin: 60px auto;
max-width: 1500px;
background: transparent; /* 🚀 keep section background fully transparent */
.hero-right img {
width: 100%;
border-radius: 20px;
box-shadow: 0 0 30px rgba(255,215,0,0.2);
-webkit-animation: float 3s ease-in-out infinite;
animation: float 3s ease-in-out infinite;
-webkit-transform: translateZ(0);
transform: translateZ(0);
}

.features-section h2 {
color: #d88c0d;
font-size: 2.8rem;
margin-bottom: 15px;
/* Features Section */
.features-section {
padding: 5rem 10%;
background: #0a0a0a;
position: relative;
overflow: hidden;
}

.features-subtitle {
font-size: 1.1rem;
color: #333;
max-width: 700px;
margin: 0 auto 40px auto;
.features-section h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
background: var(--golden-gradient);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 25px;
justify-content: center;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}

.feature-card {
background: rgba(255, 255, 255, 0.2); /* semi-transparent glass */
background: var(--glass-bg);
padding: 2rem;
border-radius: 15px;
padding: 30px 20px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
backdrop-filter: blur(12px); /* frosted glass */
border: 1px solid rgba(255,255,255,0.3);
border: 1px solid rgba(255,215,0,0.1);
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
text-align: center;
position: relative;
overflow: hidden;
will-change: transform;
}

.feature-card:hover {
transform: scale(1.07);
box-shadow: 0 8px 30px rgba(21, 16, 16, 0.2);
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
border-color: var(--golden-primary);
box-shadow: 0 15px 30px rgba(255,215,0,0.2);
}

.feature-icon {
font-size: 2.5rem;
margin-bottom: 15px;
margin-bottom: 1rem;
background: var(--golden-gradient);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-transition: transform 0.3s ease;
transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
-webkit-transform: scale(1.2);
transform: scale(1.2);
}

/* Animations */
@-webkit-keyframes float {
0% { -webkit-transform: translateY(0); }
50% { -webkit-transform: translateY(-20px); }
100% { -webkit-transform: translateY(0); }
}

@keyframes float {
0% { transform: translateY(0); }
50% { transform: translateY(-20px); }
100% { transform: translateY(0); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
.hero-right img,
.feature-card,
.feature-icon {
-webkit-animation: none !important;
animation: none !important;
-webkit-transition: none !important;
transition: none !important;
}
}

/* Responsive Design */
@media (max-width: 1024px) {
.hero {
padding: 0 5%;
}

.hero h1 {
font-size: 3rem;
}
}

@media (max-width: 768px) {
.hero {
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
text-align: center;
padding: 5rem 5%;
}

.hero-left {
padding-right: 0;
margin-bottom: 3rem;
}

.hero h1 {
font-size: 2.5rem;
}

.hero-buttons {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}

.feature-card h3 {
margin-bottom: 10px;
font-size: 1.3rem;
color: #111;
.features-grid {
grid-template-columns: 1fr;
}
}

.feature-card p {
font-size: 0.95rem;
color: #444;
@media (max-width: 480px) {
.hero-buttons {
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
}
Loading