gen-e9h1pbfp / assets /css /styles.css
demonsom's picture
Upload folder using huggingface_hub
99638a9 verified
/* Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: #333;
overflow-x: hidden;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header Styles */
.header {
background: #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 20px;
}
.nav__logo {
color: #2563eb;
font-weight: 700;
font-size: 1.5rem;
}
.nav__menu {
display: flex;
list-style: none;
gap: 2rem;
}
.nav__link {
text-decoration: none;
color: #333;
font-weight: 500;
transition: color 0.3s ease;
}
.nav__link:hover {
color: #2563eb;
}
.nav__toggle {
display: none;
flex-direction: column;
cursor: pointer;
}
.nav__hamburger {
width: 25px;
height: 3px;
background: #333;
margin: 3px 0;
transition: 0.3s;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 120px 0 80px;
position: relative;
overflow: hidden;
}
.hero__content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.hero__title {
font-size: 3.5rem;
font-weight: 700;
line-height: 1.2;
margin-bottom: 1.5rem;
}
.hero__description {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0.9;
}
.hero__buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.hero__image {
display: flex;
justify-content: center;
align-items: center;
}
.hero__graphic {
position: relative;
width: 400px;
height: 300px;
}
.hero__world-map {
width: 100%;
height: 100%;
background: rgba(255,255,255,0.1);
border-radius: 50%;
position: relative;
overflow: hidden;
}
.hero__shipping-icons {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.shipping-icon {
position: absolute;
width: 40px;
height: 40px;
background: rgba(255,255,255,0.2);
border-radius: 50%;
animation: float 6s ease-in-out infinite;
}
.shipping-icon.ship {
top: 20%;
left: 30%;
animation-delay: 0s;
}
.shipping-icon.plane {
top: 50%;
right: 25%;
animation-delay: 2s;
}
.shipping-icon.truck {
bottom: 20%;
left: 40%;
animation-delay: 4s;
}
.hero__built-with {
position: absolute;
top: 20px;
right: 20px;
}
.hero__built-with a {
color: rgba(255,255,255,0.8);
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s ease;
}
.hero__built-with a:hover {
color: white;
}
/* Button Styles */
.btn {
padding: 12px 24px;
border: none;
border-radius: 8px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
}
.btn--primary {
background: #2563eb;
color: white;
}
.btn--primary:hover {
background: #1d4ed8;
transform: translateY(-2px);
}
.btn--secondary {
background: transparent;
color: white;
border: 2px solid white;
}
.btn--secondary:hover {
background: white;
color: #2563eb;
}
/* Services Section */
.services {
padding: 80px 0;
background: #f8fafc;
}
.services__title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #1e293b;
}
.services__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}
.service-card {
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.service-card__icon {
width: 80px;
height: 80px;
margin: 0 auto 1.5rem;
border-radius: 50%;
background: #e0f2fe;
position: relative;
}
.service-card__icon.air::before {
content: "✈️";
font-size: 2rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.service-card__icon.sea::before {
content: "🚢";
font-size: 2rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.service-card__icon.land::before {
content: "🚚";
font-size: 2rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.service-card__icon.express::before {
content: "⚡";
font-size: 2rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.service-card__title {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #1e293b;
}
.service-card__description {
color: #64748b;
margin-bottom: 1.5rem;
}
.service-card__btn {
background: #2563eb;
color: white;
border: none;
padding: 10px 20px;
border-radius: 6px;
cursor: pointer;
transition: background 0.3s ease;
}
.service-card__btn:hover {
background: #1d4ed8;
}
/* Tracking Section */
.tracking {
padding: 80px 0;
background: white;
}
.tracking__title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #1e293b;
}
.tracking__form {
display: flex;
max-width: 500px;
margin: 0 auto;
gap: 1rem;
}
.tracking__input {
flex: 1;
padding: 12px 16px;
border: 2px solid #e2e8f0;
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.3s ease;
}
.tracking__input:focus {
outline: none;
border-color: #2563eb;
}
.tracking__btn {
background: #2563eb;
color: white;
border: none;
padding: 12px 24px;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: background 0.3s ease;
}
.tracking__btn:hover {
background: #1d4ed8;
}
.tracking__result {
max-width: 600px;
margin: 2rem auto 0;
padding: 1.5rem;
background: #f1f5f9;
border-radius: 8px;
display: none;
}
/* Contact Section */
.contact {
padding: 80px 0;
background: #f8fafc;
}
.contact__title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #1e293b;
}
.contact__content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
}
.contact__info {
display: flex;
flex-direction: column;
gap: 2rem;
}
.contact__item h3 {
color: #1e293b;
margin-bottom: 0.5rem;
}
.contact__item p