/* ===== index.css ===== */
/* Homepage-specific styles for GPGW Global World – modern, engaging, and responsive */

/* ---------- TRUST BAR ---------- */
.trust-bar {
    background: var(--deep-blue);
    color: var(--gold);
    padding: 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow-x: auto;
    white-space: nowrap;
}
.trust-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.trust-bar span {
    display: inline-block;
}
.trust-bar span:not(:last-child)::after {
    content: "•";
    margin-left: 1rem;
    color: rgba(255,255,255,0.5);
}
@media (max-width: 768px) {
    .trust-bar .container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    .trust-bar span:not(:last-child)::after {
        content: "";
        margin-left: 0;
    }
}

/* ---------- ABOUT PREVIEW ---------- */
.about-preview {
    background: var(--white);
}
.about-preview img {
    width: 100%;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.about-preview img:hover {
    transform: scale(1.02);
}
.about-preview .btn-outline {
    margin-top: 1rem;
}

/* ---------- SERVICES PREVIEW ---------- */
.services-preview {
    background: var(--light-gray);
}
.services-preview .card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.services-preview .card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}
.services-preview .btn-wa {
    background: #25D366;
    color: white;
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}
.services-preview .btn-wa:hover {
    background: #128C7E;
    transform: translateY(-2px);
}
.services-preview .btn-text {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ---------- FEATURED PROJECTS ---------- */
.featured-projects .project-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.featured-projects .project-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
.featured-projects .project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}
.featured-projects .project-card:hover img {
    transform: scale(1.05);
}
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    transition: var(--transition);
}
.project-info h3 {
    color: white;
    margin-bottom: 0.25rem;
}
.project-info p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

/* ---------- WHY CHOOSE US ---------- */
.why-choose-us {
    background: var(--light-gray);
}
.why-choose-us .benefits-list {
    list-style: none;
    padding: 0;
}
.why-choose-us .benefits-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.why-choose-us .benefits-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
}
.why-choose-us img {
    width: 100%;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
}

/* ---------- VIDEO SHOWCASE ---------- */
.video-showcase {
    background: var(--light-gray);
}
.video-showcase h2 {
    margin-bottom: 2rem;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 100%;
}
.video-container {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.video-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Responsive YouTube embeds */
.youtube-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    background: #000;
}
.youtube-wrapper iframe {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Standard landscape (16:9) */
.youtube-wide {
    aspect-ratio: 16 / 9;
}

/* YouTube Shorts / portrait (9:16) */
.youtube-short {
    aspect-ratio: 9 / 16;
    max-height: 70vh;      /* Prevents it from becoming too tall on large screens */
    margin: 0 auto;
}

.video-caption {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .youtube-short {
        max-height: 50vh;
    }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    background: var(--white);
}
.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
}
.testimonial-card span {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--gold);
}

/* ---------- CALL TO ACTION ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--deep-blue), var(--deep-blue-light));
    color: var(--white);
    text-align: center;
}
.cta-section h2 {
    color: var(--white);
}
.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}
.cta-section .btn-gold {
    background: var(--gold);
    color: var(--deep-blue);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}
.cta-section .btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ---------- SCROLL REVEAL (for elements with class .reveal) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- ADDITIONAL RESPONSIVE TWEAKS ---------- */
@media (max-width: 768px) {
    .about-preview .grid-2 {
        gap: 2rem;
    }
    .about-preview .grid-2 > div:first-child {
        order: 2;
    }
    .about-preview .grid-2 > div:last-child {
        order: 1;
    }
    .why-choose-us .grid-2 {
        gap: 2rem;
    }
    .why-choose-us .grid-2 > div:first-child {
        order: 2;
    }
    .why-choose-us .grid-2 > div:last-child {
        order: 1;
    }
    .featured-projects .project-card img {
        height: 220px;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
}