/* homepage.css - Specific styles for the homepage of Serenity Jets & Drones */

/* Hero Section */
.hero-parallax {
    height: 100vh;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    z-index: 102;
}

/* Push main content down to start after hero */
main {
    position: relative;
    z-index: 999;
    margin-top: 100vh;
    background: #0a1423; /* Ensure background color */
}

.hero-content {
    width: 90%;
    max-width: 800px;
    text-align: center;
    z-index: 3;
    position: relative;
    /* Centered vertically and horizontally */
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--color-platinum);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-gold);
    color: var(--color-black);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    background: var(--color-blue-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Quick Quote Form */
.quick-quote-form.compact {
    position: relative;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    background: rgba(25, 35, 58, 0.85);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 300px;
    max-width: 90%;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.quick-quote-form.compact label {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.quick-quote-form.compact select,
.quick-quote-form.compact button {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: none;
    margin-bottom: 0.5rem;
}

.quick-quote-form.compact select {
    background: var(--color-white);
    color: var(--color-navy);
}

.quick-quote-form.compact button {
    background: var(--color-gold);
    color: var(--color-navy);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-quote-form.compact button:hover {
    background: var(--color-blue-accent);
    color: var(--color-white);
}

/* Quick Links / Services */
.quick-links {
    padding: 4rem 0;
}

.quick-link {
    background: var(--color-navy);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.quick-link i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.quick-link h3 {
    color: var(--color-platinum);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.quick-link p {
    margin-bottom: 1.5rem;
    color: var(--color-platinum);
    opacity: 0.8;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: rgba(10, 20, 35, 0.5);
    border-radius: 10px;
    margin: 2rem auto;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-platinum);
}

.testimonial-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-controls button {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-controls button:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.testimonial-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0.5rem;
    -ms-overflow-style: none;
    /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}

.testimonial-carousel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari and Opera */
}

.testimonial {
    scroll-snap-align: center;
    flex: 0 0 300px;
    background: rgba(25, 35, 58, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--color-gold);
}

.testimonial .name {
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.testimonial .text {
    font-style: italic;
    color: var(--color-platinum);
}

/* Certifications / Partners */
.certifications {
    padding: 4rem 0;
}

.certifications h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.badge {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
}

.badge img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--color-gold);
    padding: 5px;
}

.badge span {
    font-weight: 600;
    color: var(--color-platinum);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .quick-quote-form.compact {
        width: 95%;
        max-width: 400px;
        margin-top: 1.5rem;
    }

    .testimonial {
        flex: 0 0 250px;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .badge-list {
        gap: 2rem;
    }

    .badge {
        width: 140px;
    }

    .badge img {
        width: 80px;
        height: 80px;
    }
}