/* GLS-Inspired Color Palette */
:root {
    --primary-color: #00a651; /* GLS Green */
    --secondary-color: #00a0a0; /* Turquoise */
    --accent-color: #808080; /* Gray */
    --background-color: #f0f0f0;
    --text-color: #333;
    --white: #fff;
    --shadow: rgba(0,0,0,0.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Beta Banner */
.beta-banner {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 10px;
    font-weight: bold;
    animation: fadeIn 1s ease-in;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 0 20px var(--shadow);
    animation: fadeIn 1s ease-in 0.5s both;
}

section {
    margin-bottom: 40px;
    animation: slideIn 1s ease-out both;
}

section:nth-child(odd) {
    animation-delay: 0.2s;
}

section:nth-child(even) {
    animation-delay: 0.4s;
}

/* Tracking Form */
.tracking-form {
    text-align: center;
    margin-bottom: 40px;
}

.tracking-form h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tracking-form input {
    padding: 15px;
    width: 300px;
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.tracking-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.tracking-form button {
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
}

.tracking-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    text-align: center;
}

.services h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow);
}

.service-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: var(--white);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Status Timeline (for tracking.php) */
.status-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.status-step {
    text-align: center;
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.status-step.past {
    opacity: 0.6;
    filter: grayscale(50%) blur(0.5px);
    background-color: rgba(0, 160, 160, 0.1);
}

.status-step.current {
    font-size: 1.5em;
    color: var(--primary-color);
    font-weight: bold;
    background-color: rgba(0, 166, 81, 0.1);
    border: 2px solid var(--primary-color);
}

.status-step.future {
    opacity: 0.7;
    background-color: rgba(128, 128, 128, 0.1);
}

.dots {
    font-size: 1.5em;
    color: var(--accent-color);
    margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .tracking-form input {
        width: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .status-timeline {
        flex-direction: column;
    }

    .status-step {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .tracking-form input {
        width: 200px;
    }

    .cta-button {
        padding: 12px 24px;
    }
}
