/* Flags Styling - Matching USA ratio for both flags */

/* USA flag original ratio: 2560:1348 = 1.9:1 (approximately) */
/* RVN flag will be stretched to match this ratio */

/* Container for flags */
.ceremony-flags,
.hero-flags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 20px 0;
}

/* Base flag styling */
.flag-icon {
    display: inline-block !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* Set dimensions based on USA flag ratio (1.9:1) */
/* Width 76px, Height 40px maintains this ratio */
.ceremony-flags .flag-icon,
.hero-flags .flag-icon {
    width: 76px !important;
    height: 40px !important;
}

/* RVN flag - stretch to match USA dimensions */
.flag-rvn {
    object-fit: fill !important; /* This will stretch/distort to exact dimensions */
}

/* USA flag - maintain original aspect ratio */
.flag-usa {
    object-fit: contain !important; /* This keeps proper proportions */
}

/* Hover effect */
.flag-icon:hover {
    transform: scale(1.1);
}

/* Footer flags if used - smaller but same ratio */
.footer-flags .flag-icon {
    width: 57px !important;
    height: 30px !important;
}

.footer-flags .flag-rvn {
    object-fit: fill !important;
}

.footer-flags .flag-usa {
    object-fit: contain !important;
}

/* Mobile adjustments - maintain ratio */
@media (max-width: 768px) {
    .ceremony-flags .flag-icon,
    .hero-flags .flag-icon {
        width: 57px !important;  /* 1.9:1 ratio */
        height: 30px !important;
    }
    
    .ceremony-flags,
    .hero-flags {
        gap: 20px;
    }
}

/* Ensure images fill their containers properly */
.flag-icon img {
    width: 100%;
    height: 100%;
}
