300 lines
5.2 KiB
CSS
300 lines
5.2 KiB
CSS
/* Modern, impactful styling for Egypt travel website */
|
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url(background.jpg);
|
|
background-position: center;
|
|
background-size: cover;
|
|
background-attachment: fixed;
|
|
padding: 0 8%;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Enhanced navbar with modern styling */
|
|
.navbar {
|
|
height: 12%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.logo {
|
|
font-family: 'Playfair Display', serif;
|
|
font-weight: 700;
|
|
font-size: 2.5rem;
|
|
color: #FFD700; /* Gold color for luxury feel */
|
|
text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
|
|
letter-spacing: 1px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.logo:hover {
|
|
transform: scale(1.05);
|
|
text-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
|
|
}
|
|
|
|
.navbar i {
|
|
width: 40px;
|
|
height: 40px;
|
|
cursor: pointer;
|
|
margin-left: 20px;
|
|
color: white;
|
|
font-size: 1.5rem;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.navbar i:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
nav ul {
|
|
display: flex;
|
|
list-style: none;
|
|
}
|
|
|
|
nav ul li {
|
|
margin-left: 40px;
|
|
color: white;
|
|
font-size: 1.1rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
position: relative;
|
|
padding: 8px 16px;
|
|
border-radius: 25px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
nav ul li:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Modern hero section */
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 80vh;
|
|
gap: 40px;
|
|
}
|
|
|
|
.col:first-child {
|
|
flex: 1;
|
|
color: white;
|
|
animation: fadeInUp 1s ease;
|
|
}
|
|
|
|
.col:last-child {
|
|
flex: 1;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
animation: fadeIn 1.2s ease;
|
|
}
|
|
|
|
h1 {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 3.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
line-height: 1.2;
|
|
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
p {
|
|
font-size: 1.2rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 30px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Modern explore button */
|
|
.explore {
|
|
background: linear-gradient(135deg, #FF8C00 0%, #FF6B35 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 16px 40px;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
border-radius: 30px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.explore:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 10px 25px rgba(255, 107, 53, 0.6);
|
|
background: linear-gradient(135deg, #FF6B35 0%, #FF8C00 100%);
|
|
}
|
|
|
|
/* Modern card design */
|
|
.card {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
border-radius: 20px;
|
|
padding: 25px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
|
|
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-10px) scale(1.02);
|
|
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
|
|
background: white;
|
|
}
|
|
|
|
.card h5 {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
color: #2c3e50;
|
|
margin-bottom: 15px;
|
|
position: relative;
|
|
}
|
|
|
|
.card h5::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -8px;
|
|
left: 0;
|
|
width: 40px;
|
|
height: 3px;
|
|
background: linear-gradient(135deg, #FF8C00, #FF6B35);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.card p {
|
|
color: #555;
|
|
font-size: 0.95rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Responsive design */
|
|
@media (max-width: 1200px) {
|
|
h1 {
|
|
font-size: 2.8rem;
|
|
}
|
|
|
|
.row {
|
|
gap: 30px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.row {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
min-height: auto;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.col:last-child {
|
|
grid-template-columns: 1fr;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
nav ul li {
|
|
margin: 0 15px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 0 5%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.2rem;
|
|
}
|
|
|
|
p {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.explore {
|
|
padding: 14px 30px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.navbar {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
nav ul {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
nav ul li {
|
|
margin: 5px;
|
|
}
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(50px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* Additional modern touches */
|
|
body {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
.container::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
|
|
pointer-events: none;
|
|
} |